/srv/irclogs.ubuntu.com/2014/03/19/#ubuntu-server.txt

=== thumper-afk is now known as thumper
=== cppCzar_ is now known as cppCzar
lordievaderGood morning.06:14
rostamhi i am trying to install two instances of ubuntu on a same disk. Is this possible? thx06:53
lordievaderrostam: Dualboot of Ubuntu, sure it's possible :)06:56
rostamlordievader,  is this possible using preseed file (automated) ?06:57
lordievaderrostam: Hmm, never done that. Perhaps someone else here can answer that?06:58
Tazmainhi all what would be better unity or xubuntu to install on a ubuntu server ?07:09
=== airtonix_ is now known as airtonix
haridasHi,08:37
haridasI'm checking whether the Ubuntu server 12.04 will be compatible with the old HP HP-UX p018cg1 B.11.11 U 9000/800 machine ?08:38
TazmainHi all, I have a ubuntu-raring-minimal install, on a server ( dont ask, didnt install it) how do i configure xorg or startx to launch xubuntu ?08:39
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
caribouTazmain: you may want to try tasksel, there is a Xubundu desktop task defined09:20
Tazmaincaribou, xubuntu is defined there09:21
jamespagehallyn, turns out devstack still installs 'kvm' not 'qemu-kvm' - dosaboy is going to propose a change for that09:22
caribouTazmain: at least I can see a "Xubuntu desktop" task when I run tasksel09:22
Tazmaincaribou, well I can see that as well. it is selected.09:22
cariboujamespage: I have a few requests to implement modification of sysctl kernel parameters in charms09:23
cariboujamespage: what would be the best approach to implementing this :  modify each openstack charm or provide some kind of subordinate charm ?09:23
jamespagecaribou, context?09:23
caribouTazmain: then it looks like the xubuntu packages have been installed09:23
jamespagei.e. which charm - might make a difference09:23
jamespageinfact this is the neutron-gateway charm right?09:24
Tazmaincaribou, but I cant start it09:24
cariboujamespage: yeah, one of them is for the quantum^c^c^c^c^c^c^c neutron charm09:24
caribouTazmain: then the problem might be somewhere else09:25
jamespagecaribou, and are the changes specific to that charm?09:25
jamespageif so then I don't see a problem with having that charm set them - it could be done optionally via confi09:25
jamespageg09:25
Tazmaincaribou, how can I specify what session to start , I think lightdm is installed.09:25
cariboujamespage: well, for this one the change is net.ipv4.neigh.default.gc_thresh* but I can imagine that down the road some other parameters might need tweaking09:26
jamespagecaribou, OK - but as we learn about those we should be updating the charm09:26
jamespagecaribou, I'd recommend making the change direct in neutron-gateway - would the same thing be recommended on compute nodes?09:26
caribouTazmain: you may want to try 'start lightdm', indeed09:27
Tazmaincaribou, have that running,but when I go to it, with vnc or intel remote managed console i get failed to start session "gnome"09:28
cariboujamespage: so you would not go for some *generic* way of changing any of the sysctl parameters ?09:28
caribouTazmain: then it's a GUI issue, it's out of my area of expertise09:28
caribouTazmain: you may want to ask in #ubuntu-desktop or some similar room09:29
Tazmaincaribou, I will do that thank you09:29
jamespagecaribou, I think I would probably write some sort of helper to twiddle sysctl knobs09:30
jamespageso other charms can re-use it09:30
jamespagerather than use a subordinate09:30
cariboujamespage: yeah, that's what I had in mind : make it generic enough so anyone can use it09:31
Tazmaincaribou, regarding users and groups, the ubuntu server guide is really limited on that, is there another guide somewhere ?09:57
hxmhi10:51
hxmhow to run a cron every few seconds?10:52
hxm*/<seconds>?10:52
shwaiilHi11:19
shwaiilQ: I'm running 12.04 as a virtual server on virtualbox. There was a power surge, now it doesn't boot can't find the Fs. I'd like to run the liveCD, but the liveCD I've got is the desktop 12.04 and it's not running in low graphics mode.11:20
shwaiilThat's the only version of liveCD available ? or for server version there's a different one ?11:20
shwaiilThanks11:20
jamespagehallyn, stgraber: could we get the libvirt pending acceptance for precise-proposed into proposed? this issue is causing quite a bit of headache upstream in openstack11:24
cfhowlettshwaiil, desktop, server, and mini iso's are available11:24
jamespagehallyn, stgraber: please :-)11:25
shwaiilcfhowlett: thanks for lookINg! I'm not really finding the server livecd version though if there's such a thing11:26
cfhowlettshwaiil, I don't think server has a LIVE option ...11:27
shwaiiloh ok11:27
_rubenah bugger, that'll teach me .. upgraded one of my vms from precise to trusty without creating a snapshot, result: a non-booting vm :)11:52
_rubenseems to fail at grub already11:53
cfhowlett!trusty|_ruben,11:53
ubottu_ruben,: Ubuntu 14.04 (Trusty Tahr) will be the 20th release of Ubuntu.  See the announcement at http://www.markshuttleworth.com/archives/1295 for more info. support in #ubuntu+111:53
jamespagebug 12345611:56
uvirtbotLaunchpad bug 123456 in xine-lib "podcast crashes amarok" [Undecided,Fix released] https://launchpad.net/bugs/12345611:56
jamespageoh - hello uvirtbot!11:56
jamespagethanks soren11:56
=== ilhami5 is now known as ilhami
=== alai_afk is now known as alai
shwaiilQ: Any tips or advice on how to solve ? VFS: cannot open root device "mapper/ubuntu--server-root" or unknown-block(0,0): error -613:39
shwaiilI can successfully mount /dev/mapper/ubuntu--server-root /foo13:39
jamespagehallyn, re bug 1291321 - do you think we should have an expectable to be able to live migrate instances from 12.04 to 14.04?13:40
uvirtbotLaunchpad bug 1291321 in qemu "migration fails between 12.04 Precise and 14.04 Trusty" [High,Confirmed] https://launchpad.net/bugs/129132113:40
codepython777has anyone setup an imap server here?13:40
codepython777I had a few questions about postfix+imap13:40
dwarderare there repos with the latest stable LAMP for ubuntu 13.1013:50
dwarderi.e. latest stable mysql php apache213:51
rbasaktych0: for bug 1284652, does DEBIAN_FRONTEND=noninteractive not work? Or are you unable to do this in your case?13:54
uvirtbotLaunchpad bug 1284652 in maas "maas/installation-note could (should?) be echoed to the CLI, not a debconf note" [High,Confirmed] https://launchpad.net/bugs/128465213:55
shwaiilI've got a boot problem and I don't know how to fix it13:56
shwaiilhttp://paste.ubuntu.com/7119904/13:56
shwaiilMounting failed:   mount: unknown filesystem type ''13:57
shwaiilBoot sector type:  Unknown13:57
shwaiilis there a way to fix this ?13:57
shwaiilmy server is running as a virtual server through virtual box13:57
shwaiilI'm currently running the liveCD13:57
shwaiilAny help would be appreciated, as I don't know what to do13:57
cfhowlettshwaiil, are you installed?13:58
shwaiilcfhowlett: thanks for looking! my server was running fine till today, last night there was a power surge13:58
shwaiilthis morning I opened virtual box and tried to load my ubuntu image and it gets stuck13:58
shwaiilit's a long error but this is what I got "VFS: cannot open root device "mapper/ubuntu--server-root" or unknown-block(0,0): error -6"13:59
shwaiilI can do mount /dev/mapper/ubuntu--server-root /foo'13:59
shwaiiland ls /dev/mapper13:59
shwaiilreturns ubuntu--server-root and ubuntu--server-swap_113:59
cfhowlettand your suppressor was - out to lunch?  sorry, had to poke you.  anyway, your actual hardware could be damaged or your host or guest OS could be scrambled.  reinstallation time, perhaps?14:02
=== marcoceppi is now known as marcoceppi-mobil
shwaiilcfhowlett: so there's no way to fix this ?14:03
cfhowlettshwaiil, I don't run server enough to claim expertise.  I HAVE experienced a surge.  complete OS reinstall was the only fix but YMMV.14:04
rbasaklamont: any news on bug 1288823 please?14:06
uvirtbotLaunchpad bug 1288823 in bind9 "Trusty bind9 RRL " [High,Triaged] https://launchpad.net/bugs/128882314:06
hallynjamespage: nothing i can do about acceptance into libvirt-proposed14:20
jamespagehallyn, yeah - that's why i was pinging stgraber14:21
jamespage(kinda CC'ing you)14:21
hallynjamespage: migration is never guaranteed between versions, but the goal is usually for it to work when moving forward (and never backward)14:21
hallynI'm juggling a few balls, still thinking about that one.  It seems to me since we can detect this in qemu, we should be able to fix it14:22
stgraberjamespage: let me see what I can do14:25
jamespagestgraber, ta14:27
stgraberaccepted into proposed14:27
smoserhallyn, i'm sure i'm just being stupid14:37
smoserwhat am i doing wrong: http://paste.ubuntu.com/7120099/14:37
hallynsmoser: you need some subuids bc you're not doing it as root14:38
hallyndid you mean to sudo?14:38
hallynif not, then 'usermod -v 100000-200000 -w 100000-200000 smoser'14:38
hallynoh, maybe you do have them but you just need a lxc config file14:38
hallyncheck /etc/subuid for a smoser entry14:38
smoseryou're right. i dont have them.14:39
hallynthen add 'lxc.id_map = u 0 150000 10000' and 'lxc.id_map = g 0 150000 10000' to14:39
smoseri actually *meant* to sudo, but didn't. then realized i hadn't and thought ... shouldnt this work ?14:39
smosermaybe it'd be nice to inform me of that when i'm dumb :)14:39
hallynok, you'll still need a config file at ~/.config/lxc/default.conf14:39
hallynbut no cirrus probaby wont work,14:39
hallynas it will probably try to create devices.  not sure14:39
Obsdarkhey oh14:44
Obsdarki have some problems, i download the 12.04 version from the official site and also manage to fix the internet connection for a static ip (i think)14:45
Obsdarkmy problem is i can't make it download the install components14:45
Obsdarki'm trying to install it through USB stick in a notebook (ver 32x)14:46
Obsdarkthanks in advance14:46
Obsdarkhey oh i have some problems, i download the 12.04 version from the official site and also manage to fix the internet connection for a static ip (i think) my problem is i can't make it download the install components i'm trying to install it through USB stick in a notebook (ver 32x) thanks in advance14:48
Obsdarkanyone?14:49
Obsdarki'm a noob ubuntu (and linux) user but i manage to make a CentOS work, if that's help at all14:49
=== marcoceppi-mobil is now known as marcoceppi
groggsterHi! I am thinking about applying for a job as a sysadm at Canonical... I am looking for another sysadm working there to explain a few things to me before I do so. Is this the right channel?14:55
cfhowlettgroggster, nope14:56
cfhowlett!canonical14:56
ubottuCanonical Ltd. is committed to the development, distribution and promotion of open source software products, and to providing tools and support to the open source community. It is the driving force behind the Ubuntu, Kubuntu, Xubuntu, and Edubuntu Operating Systems. Canonical's website is at http://www.canonical.com/14:56
groggstercfhowlett: Okay, thanks!14:58
shwaiilQ: how to expand the /boot partition I've got at 100% on ubuntu 12.04 lts ?14:59
cfhowlett!gparted|shwaiil,15:00
ubottushwaiil,: gparted is a !GTK/!Gnome !GUI partitioning program. Type « sudo apt-get install gparted » in a console to install it - A GParted "live" CD is available at http://gparted.sourceforge.net/livecd.php15:00
cfhowlettshwaiil, run gparted and resize the partitions is one option OR you could clear out your old kernels which are probably clogging your /boot15:00
shwaiilcfhowlett:  clear old kernels, ok I'll do that15:01
=== marcoceppi is now known as marco-traveling
pmatulis3in an lxc container i do not have cli tab completion for when using sudo (sudo apt-ge<TAB>).  how do i rectify?15:15
pmatulis3default shell is /bin/bash for default user 'ubuntu'15:16
rbasakpmatulis3: do you have bash-completion installed in there?15:21
pmatulis3rbasak: yes, it works for non-sudo15:26
RoyKpmatulis3: sudo -i :P15:34
pmatulis3RoyK: bzzt15:37
RoyK:)15:37
=== cmagina-away is now known as cmagina
shreddingI'm learning init.d, many of the preinstalled scripts have "set -e"15:42
shreddingwhat is it meaning?15:42
shreddingDoes it mean, whenever an error occurs in the scripts, it terminated?15:42
lazyPowershredding: yep. on first error, terminate output15:43
lazyPowerer, terminate execution15:43
shreddingokay15:43
shreddingI'm investigating why a service (solr) is not started.15:43
shreddingATM it's not starting.15:43
shreddingWhat are my debug options?15:43
shreddingThe script is running if i run /etc/init.d/solr start15:44
shreddingI run sudo update-rc.d solr defaults15:44
shreddingit's not working and i now do not know how to investigate.15:45
raj__if my domain name is "www.mydomain.com", what could likely be my unqualified hostname & FQDN ?15:46
shwaiilQ: My Ubuntu 12.04 LTS is running under virtual box. After a system crash, I've noticed that the adapter name turned eth0 to en0, not sure why! So, for this reason, my virtualmachine is not available on the network. I know about the interfaces file but not sure what to do. Any hints ? Thank you!15:46
=== ABC-XYZ_ is now known as ABC-XYZ
rbasakshwaiil: look up biosdevname to understand why you get en0. You could either just change eth0->en0 in /etc/network/interfaces, or disable biosdevname and stick to eth0.16:23
shwaiilrbasak: thanks for looking! biosdevname16:26
shwaiilhumm ok16:26
RoyKwith iostat, does tps show actual iops? the numbers I get seem rather high for those 5900rpm drives I'm using in this box16:36
ilhami5Anybody here?16:49
ilhami5I am reinstalling Ubuntu Server and I get this...16:49
ilhami5Network configuration failed..16:49
ilhami5Your network is probably not using DHCP16:50
ilhami5and some more.16:50
rbasakjamespage: http://metadata.ftp-master.debian.org/changelogs/main/g/golang/unstable_changelog - looks like we want to merge or cherry-pick golang (2:1.2.1-2). The bug suggests that docker is impacted.17:15
jamespagerbasak, +1 yes17:15
jamespagerbasak, and we should look at syncing docker.io again17:16
=== Mez_ is now known as Mez
=== cmagina is now known as cmagina-away
jamespagerbasak, I poked at the lxc/networking stuff in 1.17.5 of juju-core with trusty; its broken on the bootstrap node but not on other nodes17:31
jamespagebug 127114417:31
uvirtbotLaunchpad bug 1271144 in juju-core "br0 not brought up by cloud-init script with MAAS provider" [Critical,Triaged] https://launchpad.net/bugs/127114417:31
jamespageroge is working on it17:31
rbasakjamespage: maybe he could stop calling "networking restart" while he's at it?17:34
rbasakIt sounds like a very related issue to me.17:35
jamespagerbasak, well for the bootstrap node its an ordering thing17:35
jamespagerbasak, if you drop in a do ifdown && ifup it gets fixed17:35
jamespagerbasak, what was the other bug reference?17:35
rbasakjamespage: https://bugs.launchpad.net/juju-core/+bug/124828317:35
uvirtbotLaunchpad bug 1248283 in juju-core "juju userdata should not restart networking" [High,Triaged]17:35
=== cmagina-away is now known as cmagina
jamespagerbasak, ta17:36
ilhami6I need some serious help. I have installed Ubuntu VM on Hyper-V but can't get it connected to the internet17:39
=== cmagina is now known as cmagina-away
=== cmagina-away is now known as cmagina
pmatulisilhami6: check the guest's network card, does it exist?  does it have an IP address?17:57
ilhami6I only see: lo and virbr017:57
ilhami6where is eth0?17:57
ilhami6it's not there?17:58
pmatulisilhami6: so *get* it there17:58
ilhami6how?17:58
pmatulisilhami6: see what card windows is emulating17:58
ilhami6hey wait.17:58
pmatulisilhami6: you may need to change it so linux can deal with it17:58
ilhami62 sec17:58
Havenstanceso if im setting up a server with 4 nics, I want one to be internet facing and share with the other 3 on different subnets. Is there a tutorial that covers this somewhere?17:59
HavenstanceI had one im following but its only for a 2 nic setup. refers to eth_safe & Eth bad with safe being  eth0 and bad being eth118:00
Havenstancecould i just assume i follow the setup for the 1st eth_bad being eth 1 and then duplicate the config for eth 2 and 3 being the same as eth 1?18:01
Havenstancecuz tbh i'd like to config this as eth0 being internet facing and eth 1, 2, and 3 being intranet facing and have the server be DHCP18:02
Havenstancefor all 318:02
rbasaksmoser: please can you subscribe ~ubuntu-server to docker.io?18:02
ilhami6THERE IS A PROBLEM. I cannot set my Wireless NIC as my external switch?18:02
ilhami6it gives me an error18:02
smoserrbasak, done18:05
rbasakThanks!18:05
=== Ryan_ is now known as rylinaux
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
balloonsjcastro, ping18:28
balloonsperhaps someone else then :) I'm curious why,  nmcli con add is missing from nmcli. Specifically, how would you recommend configuring a network connection on a server? Not use networkmanager?18:33
Havenstanceim trying to figure out how to do that as well. 4 nics one internet facing 3 internal facing ints assign others dhcp18:35
sarnoldHavenstance: do you want to LACP those nics together into 'one' interface? or do you want that machine to have three different internal IPs?18:36
Havenstancesarnold, whatever I have to do to make it work at this point18:37
sarnoldHavenstance: LACP would require a smartish switch -- so it's beyond my experience :) -- but it would give the ability to treat it as 'one' IP and different traffic from different hosts would be routed to which port based on some hashing function. it sounds slick.18:39
rbasakballoons: the usual way to configure networking on a server is via /etc/network/interfaces. No Network Manager.18:40
parallel21I second LACP. I don't generally see an advantage to having two separate ip's for one machine18:42
jrwrenif you don't have fancy switches, you can bridge two nics18:46
jrwrenthen assign 1 ip to the bridge. then connect the two nics to two different switches in teh data center.18:46
jrwrennow you can suffer a switch outage and your services on that IP stays up18:46
balloonsrbasak, thank you..18:50
RoyKparallel21: LACP is fine, but severa interfaces with different IPs can be good for iscsi multipath if that's what he's doing18:53
RoyKs/severa/several/18:53
RoyKjrwren: if you're in a datacentre, the switches will probably support LACP18:54
RoyKa datacentre with dumb switches seem like a rather dumb idea to me18:54
ilhami6RoyK I still havent solved the issue18:57
ilhami6can you not help?18:57
RoyKilhami6: what was the issue?18:57
ilhami6no internet connection on guest OS18:58
ilhami6Ubuntu VM18:58
RoyKbridge or nat? and what hypervisor?18:58
ilhami6I don't know how to configure this. I have tried everything.18:58
ilhami6I am using Hyper-V18:58
ilhami6bridge18:58
RoyKI haven't used hyper-v in a while18:58
ilhami6I even asked in Windows. Worst channel ever.18:58
RoyKbut guess they'll say "ubuntu isn't supported"18:59
ilhami6I think it's a Windows issue though18:59
ilhami6:D18:59
RoyKI had a few vm's on ubuntu on hyper-v in my last job18:59
ilhami6but I think you can handle it18:59
RoyKnetworking worked well until it was stressed, then it just cut off18:59
ilhami6yeah but this isn't even stressed :D18:59
RoyKI ended up setting up a kvm cluster for linux vm's18:59
RoyKless hazzle19:00
ilhami6I am going to stress my server later if I ever set it up19:00
ilhami6so you have some tricks? :D19:00
ilhami6I am not talking about magic btw hehe19:01
RoyKyeah, the trick was not to use hyper-v :P19:01
ilhami6yeah indeed I will not do that in the future.19:01
ilhami6but I want to solve this.19:01
RoyKusing ESXi in this job19:01
RoyK200ish VMs, mostly linux, all distros work well19:01
ilhami6:D19:02
ilhami6But RoyK do you think we can solve this?19:02
ilhami6I set up a bridge19:02
ilhami6it says it's connected19:02
RoyKa bridge on linux?19:03
ilhami6no no on the host(Windows)19:03
ilhami6WIth the internal and external virtual switch19:03
RoyKdoes it work with linux VMs?19:03
RoyKguess it's a hyper-v config issue19:04
ilhami6it sucks19:05
ilhami6so much19:05
RoyKilhami6: imho hyper-v works well if configured correctly, apart from the network issues :P19:06
RoyKmost systems need to configured well to work19:06
ilhami6dude I have been trying all day19:06
ilhami6:S19:06
ilhami6:(19:06
ilhami6I am dying19:06
RoyKcan't help you with hyper-v, man19:07
ilhami6nobody can :D19:07
ilhami6I am on my own.19:07
RoyKagain, does it work with windows VMs?19:07
ilhami6haven't tried with Windows VMs19:07
ilhami6and I can't. :) I dont have any Windows CD?19:08
ilhami6but RoyK I can tell you it has worked before.19:09
ilhami6with Ubuntu19:09
ilhami6then something got messed up19:09
raubSo, from what I read in the update-ca-certificates man page, if I add/delete a cert to   /usr/share/ca-certificates. How can I verify if it has been added/deleted once I run update-ca-certificates.19:11
raubs/s. H/s, h/19:12
RoyKilhami6: try a new vm19:15
ilhami6RoyK can two VMs conflict with each other?19:16
ilhami6like Hyper-V with Virtual Box?19:16
RoyKhardly19:16
RoyKbut why run both?19:16
ilhami6I have both installed19:16
ilhami6just asking if they could conflict19:16
RoyKilhami6: anyway - these questions aren't really related to ubuntu server if that's only the guest os19:16
=== Ursinha is now known as Ursinha-afk
pmatulisilhami6: i've used hyper-v no problem, but like i said before, i had to change what network adapter it offered to its guests19:26
pmatulisilhami6: there was also some BIOS setting, i can't remember what that was, just google 'hyper-v bios'19:29
=== Ursinha-afk is now known as Ursinha
MartynAfternoon all :)19:44
cyphermoxballoons: indeed, don't use NetworkManager on server.20:12
balloonsour redhat brethren seem to support / enable this, so this is from where the question arose. I appreciate the clarification. seems like debian never implemented the same bits20:14
bekksballoons: To answer your initial question: on a server, I'd manually configure the network using /etc/network/interfaces21:04
=== cmagina is now known as cmagina-away
=== cmagina-away is now known as cmagina
OverandAwe, libvirt doesnt' seem to have hot-resize support for disks?22:27
Overandmaybe i'm misreading - curious if anyone has experience with it22:27
=== cmagina is now known as cmagina-away

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