[01:28] <hallyn> adam_g: any chance you'd be able to test the fix for bug 1393548 ?
[01:29] <adam_g> hallyn, as soon as i can, sure
[01:29] <adam_g> sorry i missed the bugmail
[01:30] <hallyn> adam_g: cool, thanks
[02:38] <adam_g> hallyn, verification-done
[08:36] <lordievader> Good morning.
[08:38] <hallyn> adam_g: thanks!
[09:19] <cocoa117> for ubuntu server 14.04, is there a way to allow official CD to get its preseeding file on a server (web or TFTP), so i can customise it
[09:21] <cocoa117> or in other word, to do unattended CD installation without customise the CD
[14:31] <designbybeck__> Upstart? is that still around? or did systemd replace that?
[14:32] <rbasak> We're hoping to switch to systemd this cycle. 14.04 was released in April last year. It uses Upstart.
[14:32] <designbybeck__> gotcha
[14:33] <designbybeck__> had a coworker taking a class...and they were using Upstart
[14:33] <designbybeck__> or learning about it
[14:33] <rbasak> Might as well. It's in the LTS which will be around for over four years from now.
[14:33] <designbybeck__> good poing rbasak
[14:33] <designbybeck__> point
[15:17] <ifohancroft> Hello guys. I have an HP Workstation I think it is Z600. It has Ubuntu Server 14.04.1 LTS Installed and if I leave it in the office overnight I thought it shuts itself down. Only recently I've found out that is sort of goes to sleep or something. The servers in the other room are also running Ubuntu Server the same version but this doesn't seem to happen to them. I checked the logs in /var/log/
[15:17] <ifohancroft> and nothing seems unusual. How can I prevent it from going to sleep?
[15:17] <ifohancroft> What might be causing it to go to sleep?
[15:19] <RoyK> ifohancroft: check the logs
[15:19] <RoyK> ifohancroft: AFAIK that shouldn't happen
[15:19] <RoyK> ifohancroft: unless there's a thermal shutdown or something
[15:19] <ifohancroft> I guess it could be. It is warmer in the room it is.
[15:19] <ifohancroft> Are there any logs besides those in /var/log that I should check? I've checked those in /var/log and nothing seems unusual
[15:21] <RoyK> ifohancroft: do you have mcelog installed?
[15:21] <ifohancroft> let me check
[15:21] <ifohancroft> No. Should I install it?
[15:21] <RoyK> mce is machine check exception
[15:21] <RoyK> mcelog helps you log that to syslog
[15:21] <RoyK> which is a jolly good thing
[15:22] <RoyK> well, syslog or some file
[15:22] <RoyK> iirc default is to log to a file
[15:38] <hadifarn_> can I use munin nginx plugin to monitor vhost bandwidth usage? did anyone use it for that matter?
[15:38] <hadifarn_> should I install it on the same server?
[15:39] <ifohancroft> So now I just wait and if it happens again I check the mcelog file?
[15:50] <RoyK> hadifarn_: you can run munin on the same machine, yes
[15:50] <RoyK> hadifarn_: but I don't remember if the munin plugin for nginx monitors bandwidth use
[15:50] <hadifarn_> RoyK: apparently it does. not sure how I can use it on my app (which is built with php)
[15:51] <hadifarn_> I'm not sure munin has an API for that RoyK
[15:52] <RoyK> if the traffic travels through nginx, it shouldn't be a problem
[15:52] <RoyK> meaning, unless the php thing opens connections on its own, it should work fine
[16:28] <rbasak> jamespage: are you planning to merge dovecot?
[16:28] <jamespage> rbasak, its not on my list
[16:29] <jamespage> rbasak, oh I see there's been a load of minor delta since
[16:29] <jamespage> I last merged...
[16:34] <zoraj> hi all
[16:34] <zoraj> does ubuntu-vm-builder is still advisable for installing kvm guest ?
[16:35] <zoraj> still ubuntu server as guess running on ubuntu server
[16:36] <rbasak> zoraj: we use uvtool now - it uses cloud images so is much quicker. Or look into Vagrant.
[16:36] <RoyK> zoraj: one VM or 100?
[16:36] <zoraj> rbasak, ok I'm gonna google it, I have no idea of both
[16:36] <RoyK> if it's just one, I use virt-manager
[16:36] <zoraj> RoyK, 3
[16:37] <RoyK> virt-manager is userfriendly, but not the most efficient if you want to roll out a lot
[16:37] <zoraj> 3 ubuntu server guest running on top of an ubuntu server host
[16:37] <RoyK> start off with virt-manager
[16:37] <RoyK> if it doesn't do what you want, go further
[16:38] <zoraj> ok , let me look in detail of virt-manager now
[16:38] <RoyK> zoraj: virt-manager is X-based, so start it from a client
[16:38] <zoraj> thanks
[16:38] <zoraj> X-based ! well my ubuntu server is only in terminal mode :/
[16:38] <RoyK> easiest way is "apt-get install virt-manager" on the server, and then just start it as a normal user in the libvirt-group
[16:39] <zoraj> and I don't want to install X on it
[16:39] <RoyK> zoraj: x-forward!
[16:39] <RoyK> zoraj: no need for xorg - just the libs
[16:39] <RoyK> zoraj: then just ssh -x my.server.somewhere and start whatever x app you like
[16:40] <RoyK> ssh -X, that is
[16:40] <zoraj> RoyK, ok, I have already heard about x forward but I have not yet the opportunity to use it, it's time to see it then
[16:40] <RoyK> or just enable x11 forward in the client config
[16:40] <RoyK> zoraj: it just works ;)
[16:42] <zoraj> what I've done so far before I asked my question is
[16:42] <zoraj> sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
[16:42] <zoraj> and it's just finished
[16:42] <zoraj> let's install X then virt-manager
[16:43] <zoraj> my ubuntu.iso in /home/whatever just only wait to be mounted then booted :p
[16:45] <RoyK> not X
[16:45] <RoyK> just virt-manager
[16:45] <RoyK> it'll pull the needed libs
[16:45] <RoyK> are you using a linux client?
[16:46] <zoraj> I'm ssh-ing the host server (ubuntu server) from a MS based OS
[16:46] <RoyK> then install xming and setup putty to use that
[16:46] <zoraj> am doing right ? I have physical access of the server but the room is too noisy ^^
[16:47] <RoyK> zoraj: x11 forward with xming and putty is rather simple
[16:47] <RoyK> and no use for X on a server, as you said
[16:47] <zoraj> but I install virt-manager first of all right ?
[16:48] <RoyK> yeah, just install that
[16:48] <RoyK> and on the local windows machine, install xming
[16:48] <RoyK> start it
[16:48] <RoyK> and configure putty to use it
[16:48] <RoyK> you will probably have to login to the linux box again
[16:49] <zoraj> ok, that's really helpful, thanks very much
[16:49] <zoraj> I'm installing it
[16:50] <RoyK> I'll be back in an hour or so
[16:50] <zoraj> damn !
[16:50] <zoraj> :p
[16:50] <zoraj> you have to go now ?
[16:51] <zoraj> the installation seems to take a bit while, I don't have a fast connection
[16:52] <zoraj> I'd really want to see the iso file to boot before you go, but it's up to you
[16:52] <zoraj> after that I can manage myself like a boss ^^
[17:11] <zoraj> everything is installed now, how do I use virt-manager from xming
[17:39] <RoyK> zoraj: ping
[17:57] <zoraj> RoyK, I'm back too
[17:58] <zoraj> RoyK, I've finally installed virt-manager and xming, but how do I install/create my guest from my putty session
[18:00] <zoraj> also, do I have to configure a bridged based network before I install the guest
[18:02] <zoraj> RoyK, lack of some basic search ^^ my bad, I am now running virt-manager
[18:05] <RoyK> zoraj: goodie
[18:06] <zoraj> but my last question is still valid, do I have to configure a bridged setting before I start to create a guest ?
[18:07] <spicypixel> hey guys I'm trying to install ubuntu server 14.10 but it fails when looking up the package mirror, but if I go to the terminal in the installer I can ping gb.archive.ubuntu.com fine
[18:07] <RoyK> zoraj: no, you don't need a bridge before setting up a guest, but it'll be tricky to contact that from outside kvm/libvirt's NAT
[18:07] <spicypixel> dns resolves and such
[18:07] <RoyK> zoraj: better setup a bridge first
[18:07] <jpds> spicypixel: Check TTY4.
[18:07] <spicypixel> just asks me to retry or change mirror, tried a bunch of different countries with no success
[18:08] <zoraj> RoyK, ok
[18:08] <RoyK> spicypixel: first of all - why 14.10? it's not LTS
[18:08] <spicypixel> why not?
[18:08] <spicypixel> it's not system critical
[18:08] <jpds> spicypixel: It's only supported for 9 months.
[18:08] <jpds> spicypixel: Instead of 5 years.
[18:08] <spicypixel> not really worried given I will update to 15.04 on release
[18:09] <spicypixel> anyhows regardless of all of that, the setup is failing on network connectivity yet seems to be fine
[18:09] <jpds> spicypixel: Check TTY4.
[18:09] <spicypixel> I can't :(
[18:09] <jpds> That's where the debug messages ater.
[18:09] <jpds> are*
[18:09] <spicypixel> two key rollover on the keyboard :<
[18:10] <spicypixel> and need Fn for F4
[18:10] <spicypixel> mhmm
[18:10] <jpds> Alt-arrow key?
[18:10] <spicypixel> gotcha
[18:10] <spicypixel> says bad signature
[18:11] <jpds> Corrupt ISO?
[18:11] <spicypixel> more accurately, bad signature on /tmp/net-retriever-3389-release
[18:11] <spicypixel> I'll md5 it
[18:12] <jpds> Something's corrupted, somewhere.
[18:12] <spicypixel> md5 matches the mirror, guess I'll change install media
[18:12] <spicypixel> yeah
[18:14] <spicypixel> just to rule it out, changing to a new usb stick and trying again
[18:20] <zoraj> RoyK, I haven't yet configure the bridge setting but when I fire up ifconfig command I got this "virbr0" within my list,
[18:20] <zoraj> I'm now wondering if the fact I install kvm, it was automatically added
[18:20] <zoraj> so do I still need to setup a bridge configuration
[18:26] <zoraj> "brctl show" command gives me as bridge name "virb0" STP = "yes" but it's not enabled and no interface assigned
[18:33] <RoyK> zoraj: that's the virbridge made to allow kvm to NAT
[18:34] <RoyK> zoraj: http://paste.debian.net/142924/
[18:34] <zoraj> RoyK, so do I still need to setting up by modifying /etc/network/interfaces
[18:34] <RoyK> that's my interfaces file
[18:34] <RoyK> yes, you do
[18:34] <RoyK> eth0 or whatever it's called will only be for transport
[18:34] <RoyK> br0 will be the new nic
[18:35] <RoyK> make sure you have console access to the thing before restarting it
[18:36] <RoyK> I've done some bad things with bridges in my time :P
[18:36] <RoyK> but the config I gave you (used on debian wheezy and ubuntu precise) should work
[18:37] <RoyK> just fix the addresses
[18:37] <zoraj> RoyK, ok, let me change it then I will install the guest
[18:37] <RoyK> give it a reboot after the change
[18:38] <RoyK> if no console access, well, risky business :)
[18:38] <zoraj> if my host ip address is 192.168.1.xx, and my guest should be 192.168.1.yy right ?
[18:38] <RoyK> you set the guest address on the guest
[18:39] <RoyK> just something not in use
[18:39] <zoraj> the three guests I'd want to setup, I would like to be accessed within my LAN
[18:39] <RoyK> on the same subnet
[18:39] <RoyK> right
[18:39] <RoyK> it's the same with VMs as with everything else
[18:39] <RoyK> all addresses must be unique within the subnet
[18:39] <zoraj> ok, let me change the network config then install it
[18:40] <zoraj> what is the dns-search ?
[18:41] <RoyK> just the domain names to search for if you do something like "ping www"
[18:41] <zoraj> okey
[18:41] <RoyK> say, you have sadfasdfasdf.com as your domain name, add that to "dns-search" and you won't have to add the domain name for linux to find the host
[18:42] <zoraj> ok I got it, thx for the explanation
[18:48] <zoraj> RoyK, are you sure I need to reboot the server to enable the bridge config ?
[18:48] <RoyK> nah
[18:48] <RoyK> restarting networking should do it
[18:48] <zoraj> ok
[18:52] <zoraj> xD my guest is booting
[18:52] <zoraj> RoyK, thanks guy (bow)
[18:52]  * zoraj is bowing
[18:52] <zoraj> hmm let me see if this guess has Internet connection first
[18:53] <zoraj> guest*
[18:53] <RoyK> zoraj: what does ifconfig -a on the host say?
[18:54] <zoraj> RoyK, http://paste.debian.net/142926/
[18:55] <RoyK> zoraj: no br0 there
[18:55] <RoyK> zoraj: did you install bridge-utils?
[18:55] <zoraj> yes
[18:55] <RoyK> zoraj: also, pastebin /etc/network/interfaces
[18:56] <RoyK> zoraj: eth0 shouldn't have an address in bridge setup
[18:56] <zoraj> RoyK, http://paste.debian.net/142928/
[18:58] <RoyK> zoraj: see http://paste.debian.net/142924/ again - it lists eth0, but without an address. I don't know if restarting networking will release that. that's why I suggested a reboot
[19:03] <zoraj> ok I am gonna reboot the server
[19:06] <zoraj> I see the difference,
[19:06] <zoraj> the first and second lines on your file are not the same as I did
[19:07] <RoyK> you need to up eth0 before br0 can connect to it
[19:07] <RoyK> but eth0 shouldn't have an address
[19:10] <zoraj> I think it's now good http://paste.debian.net/142929/
[19:11] <RoyK> looks good
[19:11] <zoraj> I'm gonna install the first guest
[19:11] <RoyK> zoraj: which ubuntu version?
[19:11] <RoyK> on the host
[19:11] <zoraj> 14.04 LTS
[19:11] <zoraj> the guest will be the same
[19:12] <RoyK> should be pretty straight forward, then
[19:12] <RoyK> without regard to the guest version
[19:13] <zoraj> RoyK, I really didn't know it's that simple to do X-forward,
[19:14] <RoyK> it is - that's what's so fun about it ;)
[19:14] <zoraj> so I guess, if I want to install a Windows Server as a guest, I still use it ?
[19:14] <RoyK> x  forward is the same
[19:14] <RoyK> it just displays whatever x application on the other side of the link
[19:15] <RoyK> then, later, just access it with rdp
[19:15] <RoyK> the windows vm, that is
[19:15] <zoraj> hm.. ok
[19:18] <RoyK> just try it - a win7 vm or something
[19:19] <zoraj> RoyK, ok, will do it maybe next week, I have to setup three guest for now :)
[19:20] <RoyK> just make sure if you add new drives, choose virtio, not IDE or something
[19:20] <RoyK> what sort of machine is the host running on?
[19:21] <zoraj> it's a Dell PowerEdge 2950,
[19:23] <RoyK> sort of things we're kicking out these days :P
[19:23] <RoyK> how much memory?
[19:23] <zoraj> 4GB for now :)
[19:23] <RoyK> heh
[19:23] <RoyK> add another 16
[19:24] <jrwren> 2950 is ancient isn't it?
[19:24] <RoyK> it is
[19:24] <zoraj> I guess so
[19:24] <RoyK> 5+YO
[19:24] <jrwren> i was thinking closer to 10yo
[19:24] <zoraj> not that old :p
[19:24] <RoyK> jrwren: with three linux VMs on that, I just hope you're not giving them too much memory, or the system will be swapping badly
[19:24] <RoyK> jrwren: no, not that old
[19:25] <RoyK> 5-6Y perhaps
[19:25] <RoyK> nothing wrong with the hardware, though
[19:25] <zoraj> RoyK, 1GB for each guest, is not that fair ?
[19:25] <RoyK> just give it enough RAM
[19:25] <RoyK> zoraj: depends what you want the VM to do
[19:26] <RoyK> if it's just a tiny webserver, 256MB should do
[19:26] <RoyK> with 4GB in total, don't give it all away at once
[19:26] <zoraj> not heavy stuff, web serving, database hosting and git repository
[19:26] <RoyK> if a guest is given 1GB, it'll use it for caching if not for apps
[19:27] <RoyK> and for databases, use a separate VM for that, or run the database server on the host
[19:27] <zoraj> really !
[19:27] <RoyK> really
[19:27] <RoyK> create a vm per use
[19:27] <RoyK> say, you need a mysql server
[19:27] <RoyK> that doesn't need much
[19:28] <RoyK> then create a small "mydbserver" and install mysql on it, tune it well, and allow connections from the other VMs that need mysql
[19:28] <RoyK> it's not a big issue if you can give each VM 4GB each
[19:28] <RoyK> but that's losing money
[19:29] <zoraj> ok I see
[19:29] <RoyK> zoraj: also, setup monitoring. using munin is ok, easy to setup and to manage
[19:30] <RoyK> so you can see nice graphs of how much memory/cpu/swap/io/etc is really in use
[19:30] <zoraj> like top command ?
[19:30] <zoraj> but for network
[19:30] <RoyK> yeah, but far more precise and with a web interface showing historic graphs
[19:31] <RoyK> http://malinkb.dyndns.org/munin/
[19:31] <zoraj> that sounds great
[19:31] <RoyK> as an example
[19:31] <zoraj> lot of things to learn today :) ok I will get a look at it later
[19:34] <RoyK> zoraj: setting up a few VMs with such finite amount of memory will be a bit hard if you don't monitor it well
[19:35] <RoyK> zoraj: it should be possible, but don't overdo things. Don't give a VM 2GB just because someone says (s)he needs it
[19:37] <zoraj> I agree, but as I said, it's for internal need, I think it's gonna fit our need, we have a hosting for production use. but I will still look at your monitoring, we need it as lightweight as possible and secure
[19:38] <RoyK> zoraj: we have some 450 servers at work, most of them virtual - we've done one or two things about monitoring those ;)
[19:38] <zoraj> that's why I told you that setting up X on the server side would is not an option
[19:38] <zoraj> 450 !
[19:39] <RoyK> something like that
[19:39] <RoyK> perhaps only 400 active
[19:39] <zoraj> anyway that's huge
[19:40] <RoyK> most of them are VMs on 11 blade servers
[19:42] <zoraj> what did you mean by tiny server with 256MB of memory ?  does that mean, only serving static html page ? or can it still handle let's say ~1000 request/minute
[19:43] <zoraj> I ask that question because, I'm wondering if setting my first guest with 1Gb would be a mistake
[19:43] <zoraj> in any case, I could still change this setting right
[19:44] <RoyK> just start with 512
[19:44] <RoyK> if it has a ton of php, it'll use some memory
[19:44] <RoyK> apache+php can be a memory hog on high traffic
[19:44] <RoyK> if you use nginx+php, it's far lighter
[19:45] <RoyK> for only static, 128MB may do
[19:45] <RoyK> 200-300MB would definetely be sufficient for static stuf
[19:45] <RoyK> f
[19:45] <zoraj> okey
[19:46] <RoyK> and try not to use apache if you don't need it. nginx is lighter and more efficient if you don't need the more advanced stuff apache has
[19:47] <zoraj> we still have to have the same setting as our prod server though, and it's apache
[19:47] <RoyK> what do you run on that prod server?
[19:47] <RoyK> static pages or some cms?
[19:49] <zoraj> dynamic pages built on top of a in-house framework, but with heavy workload
[19:49] <RoyK> php? mysql or postgresql? java? something else?
[19:49] <zoraj> still LAMP stack
[19:50] <RoyK> zoraj: if this is meant to be a devsite for them, use the same software
[19:50] <RoyK> same versions, same everything
[19:50] <RoyK> and ask for more memory on that box :P
[19:51] <RoyK> you can probably get it cheap from ebay
[19:56] <zoraj> I will probably ask the boss to purchase more memory, for now, I have to get it up and running, we'll see
[20:01] <zoraj> we will gonna do some Jenkins setup within the other guests
[20:02] <zoraj> it will probably need at least 1Gb of RAM
[20:08] <zoraj> time to sleep, once again, thanks RoyK, if you were my neighbor, I'd have offered you a beer
[20:16] <RoyK> zoraj: thanks ;)
[22:10] <axisys> need help installing latest libc6 .. failing bad .. here is the output http://dpaste.com/1S7J8G9
[22:29] <TJ-> axisys: "No space left on device"
[22:32] <TJ-> axisys: if there seem to be enough free blocks, check the free inode count for the /usr/ file-system
[23:49] <axisys> TJ-: yep, df -i shows /usr is 100%
[23:49] <axisys> /dev/mapper/volg0-usr       366480 364992    1488  100% /usr
[23:50] <axisys> TJ-: how do I find out the inode usage under sub dirs?
[23:52] <axisys> hmm not too many inode use..
[23:52] <axisys>    1450 ./share/man/man1
[23:52] <axisys>    2844 ./share/man/man3
[23:52] <axisys> that were the highest two
[23:53] <axisys> I guess /usr was built with no too many inodes?
[23:56] <TJ-> axisys: Probably lots of small files, but on a small file-system the inode count is low
[23:58] <axisys> TJ-: it is part of volg0
[23:58] <axisys>   volg0   1   7   0 wz--n-  55.36g  27.89g
[23:58] <axisys> should i just increase the size?