/srv/irclogs.ubuntu.com/2016/04/30/#ubuntu-server.txt

AndyWojoHi, is openstack getting a repo/ppa on 16.04?01:49
sarnoldI suspect it will once the 'n' series is out; before that, maybe not?01:50
=== athairus is now known as afkthairus
mispphey everybody, i have a problem setting a default gateway for lxd containers. anyone has a suggestion how to make this happen without involving host file /etc/network/interfaces? (i set ip addresses using systemd-networkd)10:31
misppi'd like to have set up like this: http://s32.postimg.org/nqfehky51/Screenshot_20160430_124201.png but somehow the gateway doesnt get set within the container (i also want to avoid NAT)10:43
misppsettings for lxd bridge are set with init10:45
misppit's ubuntu 16.04 server10:45
=== Deliants is now known as Deliant
=== mani is now known as Guest32166
=== jml_ is now known as jml
=== daker_ is now known as daker
daum_hey guys i have a ubuntu 14.04 server which has two interfaces one public and one private, both are static ips configured like this: http://pastebin.com/h1Zx0QJ0 .  when i try to ping outside networks it seems to be going over only the internal one, so the destination is unreachable.  Any ideas how to fix that?14:59
patdk-lapwhy did you define two gateways?15:02
patdk-lapwhy is your netmask screwed up?15:03
daum_patdk-lap, two gateways since one is for the internal network (10.0.0.X) then the other is our public network?15:03
patdk-lapheh?15:07
patdk-lapdo you know what a gateay is?15:07
patdk-lapyou can only have 1 gateway15:07
patdk-lapunless you are an absolute expert, and know exactly how much you are breaking things by adding more than one15:07
daum_that i am not, but i thought i'd need one for each interface?15:09
patdk-lapkindof like a car15:10
patdk-lapyou can have many people inside it15:10
patdk-lapbut only ONE should be driving at a time15:10
daum_so basically we have a private internal only network which we have a bunch of 10.0.0.XXX ips on one of the nics, then on the other nic we have public ips15:10
daum_so how would you suggest the file should look for that?15:11
patdk-lapchange netmask to 255.255.255.015:11
patdk-lapremove gateway line15:11
daum_then ifdown em2  and em1 and ifup them both?15:12
patdk-lapno, you should only be touching em215:12
daum_so i did ifdown em2 and ifup em2, after switching that netmask to 255.255.255.0 and commenting out the gateway, and now get destination unreachable on the private and public, both trying with ips they should be able to ping15:14
patdk-lapyou didn't touch the gateway on em1?15:14
daum_nope15:14
daum_route isn't showing it though15:14
patdk-lapmaybe ifdown em1 also15:15
patdk-lapto fix the gateay15:15
daum_says em1 isn't configured15:15
patdk-lapthen you did something to break your config you aren't showing15:15
patdk-lapdoes em1 and em2 actually both exist?15:15
daum_yes15:16
daum_let me restart the server15:16
daum_ok so now the public internet works fine but private is unreachable15:19
patdk-lapwhat does, ifconfig em2 show?15:20
daum_http://i.imgur.com/Nt3fpIR.png15:22
patdk-lapwhat are you attempting to ping?15:22
daum_10.0.0.19515:22
daum_alright weird15:22
daum_it just started to work fine15:23
daum_so i guess we're all set15:23
daum_thank you15:23
patdk-lapprobably stp on your switch15:23
daum_so any idea why we have a total of 13 other servers that have pretty much my same original config except different ips15:24
daum_but they work fine. was that just pure luck?15:24
patdk-lapyes, depends on the order the nics turn up15:24
daum_with the dual gateway and netmask set to 255.0.0.015:24
patdk-lapand the gateways are defined15:24
daum_ah15:24
daum_good to know15:24
daum_thank you so much15:24
patdk-lapbut sounds like it's probably more complex15:25
patdk-lapthey only ever talk to 10.0.0.x internally?15:25
patdk-lapno vpn's or any other reason it would need to talk to 10.0.0.1?15:25
daum_yep15:25
daum_they just talk to each other over the 10.0.0.XX15:25
patdk-lapya, should be safe then15:25
patdk-lapif you had a vpn or something on 10.0.0.115:26
patdk-lapthen you would need to add a route so it knows how to get there15:26
daum_ah15:26
daum_thanks for your help15:27
daum_appreciate it!15:27
=== afkthairus is now known as athairus
nashantHey, I'm trying to ssh in to a new install and it's failing. auth.log says authentication failure and failed password. The password is correct and ssh works fine from localhost17:25
nashantAny ideas?17:25
=== mohammad is now known as linuxlove
linuxlovehello18:00
linuxlovethis is my configuration file at /etc/apache2/sites-available/dahliaco.com.conf18:05
linuxlovehttp://pastebin.com/BwGiJ8TN18:06
linuxlovei did a2ensite dahliaco.com in terminal also18:07
Sling..and?18:08
linuxlovebut i cant see index.html contents at /var/www/html when i browse dahliaco.com18:08
Slingwhat happens instead?18:08
linuxlovei have another domain khoonehbazar.ir and its configuration is at /etc/apache2/sites-available/laravel.example.com.conf18:09
linuxloveits point is at /var/www/html/laravel/public18:10
linuxloveand i see welcome page for khoonehbazar.ir when i browse dahliaco.com18:10
Slingwhat is the output of apache2ctl -S18:11
linuxlovehttp://pastebin.com/qy17gRNi18:12
linuxlovewhat is problem ?18:12
Slingwhy do you have the docroot for khoonehbazar.ir inside the docroot for dahliaco.com? why is the default vhost still enabled? why do you have 'laravel.example.com' as ServerName for the khoonehbazar.ir vhost?18:13
thesheff17quick question if anyone knows...any reason vim 16.04 doesn't have python support compiled in?  I see people installing vim-gnome but this seems overkill especially on the server edition of ubuntu18:13
linuxloveSling, it is in sites-avalable18:14
Slingalso why do you enable htaccess files if you have access to the main config? and why don't you set 'Require all granted' in the virtualhosts so the permissions are OK?18:14
linuxlovewhat should i do now to solve problem18:14
Slinglinuxlove: you should first clean up your setup18:14
Slinglinuxlove: it doesn't matter that it's in sites-available, those are ignored unless they are enabled (and by enabled I mean a symlink to the config exists in sites-enabled)18:15
Slingand since it shows up in apache2ctl -S, it's enabled18:15
Slingso far with the info given, I can't explain why you would see khoonehbazar.ir when browsing to dahliaco.com18:15
linuxlovethen is configuration for dahliaco.com wrong?18:16
Slingplease first read trough the questions I asked18:16
Slingand fix your configuration18:16
Slingthen we can look at solving a problem18:16
Slingif you don't understand your own configuration, then you won't be able to fix problems :)18:17
linuxloveSling, i did configuration from a website http://tecadmin.net/install-laravel-framework-on-ubuntu/18:18
linuxloveit is what i did18:18
Slinglinuxlove: that's a horrible howto18:18
Slingit uses mod_php which nobody should be using anymore, it sets 777 permissions18:19
linuxlovewhat should i do now?18:19
SlingI already told you a few times.18:19
linuxloveSling, you say i have to clean settings ?18:19
Slingare you going to answer everything with a question?18:19
linuxlovei am confused and i dont know how can i fix18:20
Slingyou blindly copied some tutorial, even keeping the laravel.example.com hostname in place, and now you expect it to be magically fixed18:20
linuxlovei just did from that website18:20
Slinglearn about what you're doing18:20
Slingread the documentation18:20
Slingnot some random website18:20
Slingsetting up public webservers is not trivial18:21
Slingyou should not be managing websites if this is all voodoo to you18:21
linuxloveSling, you are right18:21
linuxlovebut it was first page that i saw on google18:22
linuxloveSling, just give me a reference please18:23
linuxlovei need to fix18:23
Slingscroll back, read the things I said18:23
Slingif you don't understand, look them up in the apache httpd documentation18:23
Slingif you still don't understand, feel free to ask18:24
linuxloveSling, okay i am reading them18:24
linuxloveSling, my project for dahliaco.com is on /home/mohammad/Documents/simple and when i run localhost:8000 i see my project for dahliaco.com18:39
linuxlovemy configuration for dahliaco.com on /etc/apache2/sites-available/dahliaco.com.conf is http://pastebin.com/rGz0JvFr18:41
linuxloveSling, php artisan serv18:42
linuxloveLaravel development server started on http://localhost:8000/18:42
linuxloveSling, what is my wrong now ?18:42
linuxloveSling, ?18:44
linuxloveexcuse me that i repeat your name18:44
linuxloveanyone?19:36
linuxloveplease help19:36
Simon-on a 15.10 VM, the ethernet device was named eth0; on a new 16.04 VM the ethernet device is named ens1; where is this configured? the device name didn't change when upgrading from 15.10 to 16.04 so it must be configured somewhere or affected by installed packages20:16
bekksSimon-: Thats due to systemd, get used to it :)20:22
Simon-that doesn't answer my question20:25
mikedep333Hi. In the past, I was told to discuss issues with cloud images here. The xenial vagrant box is failing to work with vagrant altogether due to shared folders not working. https://bugs.launchpad.net/cloud-images/+bug/156598520:26
ubottuLaunchpad bug 1565985 in cloud-images "vagrant vb ubuntu/xenial64 cannot mount synced folders" [Undecided,New]20:26
mikedep333It looks like the current xenial approach is to only install the vboxsf & vboxguest kernel modules without installing the rest of the guest additions. Based on my research, that cannot work.20:28
Simon-it seems that /etc/systemd/network/50-virtio-kernel-names.link is created on upgrade and disables unpredictable network device names20:28
=== not_phunyguy is now known as phunyguy
=== not_phunyguy is now known as phunyguy
borthi, i've got fluxbox running on a vnc server on a headless ubuntu 16.04 server but can't get everything to work.22:41
bortfor example, thunar is no showing icons (i installed all kind of *-icon-theme packages). in addition, firefox crashes when i want save a file or go to file->open. i guess because thunar is not registered as the default file manager.22:43
borti get "(firefox:13867): GLib-GIO-ERROR **: No GSettings schemas are installed on the system"22:44
mikedep333bort, I've run firefox on 14.04 on icewm on X2Go. X2Go does have more session handling logic than VNC does, but I doubt you need to start anything to start firefox.22:46
mikedep333I think that error is a red herring.22:46
mikedep333or its representative of gsettings not being installed, which means you need to install some packages.22:46
bortfirefox is running fine, it's just when i trigger a file-dialog22:46
bortsomething is not working correctly with gtk and thunar22:47
mikedep333oh, I hear you22:47
borti've got gsettings-desktop-schemas installed22:47
mikedep333thunar isn't invoked for the file -> open dialog22:47
mikedep333it's just GTK22:47
bortyeah, but also update-alternatives doesn't mention thunar what so ever. no entry for file-manager or anything like it like x-www-browser for firefox22:48
mikedep333the file manager is an XDG association I think.22:48
mikedep333For example set Thunar as the default file browser just run:22:50
mikedep333xdg-mime default Thunar.desktop inode/directory22:50
bortthanks. i ran that command but it didn't help. i'm not familiar with this xdg stuff, only used it once to rename my user dirs. when i run xdg-settings --list , i only get default-url-scheme-handler and default-web-browser. i guess something is not working22:54
jvwjgamesDoes anyone know how to fix a kernel panic22:57
borti'll give it a go tomorrow. thanks mikedep33323:06
mikedep333np23:12
rstarmerstokachu: tried conjure-up on a larger machine (well, larger VM) running on KVM.  it just sits in allocating mode.23:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!