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