[00:01] <jrwren> 11aa1
[02:06] <atpa8a> hello
[02:06] <atpa8a> i'm so confused... (good news everyone!)
[02:10] <atpa8a> running a kvm server at the moment... looking for a better management capabilities... openstack comes on all the searches... adding ubuntu gives me MAAS and juju... do i really need all that sh*&^t?
[02:13] <sarnold> atpa8a: are you using libvirt to manage the kvm instances?
[02:13] <atpa8a> yup
[02:13] <sarnold> atpa8a: I'll admit there are days when I curse libvirt up and down, but it mostly works alright, and it's possible to write some utilities around it..
[02:13] <sarnold> drats :) that was my one good idea. hehe
[02:14] <atpa8a> really... just want a UI for libvirt :) web with VNC console support...
[02:14] <atpa8a> i'm pretty cool with libvirt
[02:19] <sarnold> virt-manager works for me but I'll grant it isn't great :) hehe
[03:28] <medic89> I guys. newbie question: I changed to root with "sudo -s" to do something but since being in root is kind of a dangerous place i want to go back to my username, how?
[03:28] <hallyn> i wonder what management capabilities atpa8a really wanted
[03:29] <sarnold> medic89: you exit the shell; usually ^D does the job, but if not, 'exit' should
[03:29] <medic89> ty
[03:31] <cfhowlett> medic89, one: avoid root.  you do NOT need root for 99.9% of system management.
[03:31] <cfhowlett> !root
[03:31] <sarnold> meh, sometimes when you're doing a bunch of administration tasks, sudo -s is awesome. I get tired of typing 'sudo' in front of every command. :)
[03:31] <medic89> lol
[03:32] <sarnold> don't tell anyone, but I've usually got a sudo -s shell open on one of my tmux sessions all the time...
[03:33] <medic89> Thanks guys. I'm setting up OpenVPN by following the 12.04 documentation. It said change to root...I didn't, but then I had to in order to run a script because it didn't have permission to make a dir; sudo wouldn't work.
[04:24] <Kalavera_> hey guys, something went wrong with a server that was in raid 10 and now it wont boot again
[04:24] <Kalavera_> I have tried to re-assemble the array but it is not working
[10:13] <jamespage> rbasak: you might want to join debian-mysql on oftc when you start work on the mysql re-sync
[10:13] <jamespage> that's where most discussion is taking place
[10:13] <jamespage> not huge volume...
[10:14] <rbasak> Done. Thanks!
[10:40] <farway> yesterday out server (12.04.4 LTS)  updated mysql automatically, but it did not start up the process again, the mysql logs show http://pastebin.com/9FrCbVWv does anyone had the same problem or know if i need to do something to prevent that this will happen again (the warnings about the config file are already fixed)?
[11:02] <jamespage> farway, I expect you got the .35 security updates
[11:02] <farway> jamespage: thats correct
[11:06] <farway> jamespage: do you know what when wrong / what i should do to prevent that it will not startup on the next update?
[11:07] <jamespage> farway, I see on bug in launchpad that looks similar
[11:07] <jamespage> just looking
[11:07] <jamespage> https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/988801
[11:10] <jamespage> farway, can you start mysql manually?
[11:10] <farway> jamespage: yes starting in manually is no problem ans the version shows .35
[11:11] <jamespage> farway, can you run
[11:11] <jamespage> use mysql;
[11:11] <jamespage> select * from plugins;
[11:11] <jamespage> (pastebin the output if possible)
[11:11] <farway> jamespage: because its short: ERROR 1146 (42S02): Table 'mysql.plugins' doesn't exist
[11:12] <jamespage> farway, ok
[11:12] <jamespage> farway, ok - lets check where is actually failing
[11:13] <jamespage> farway, sudo vi /var/lib/dpkg/info/mysql-server-5.5.postinst
[11:13] <jamespage> add "set -x" to tthat script
[11:13] <jamespage> and then run sudo dpkg-reconfigure mysql-server-5.5
[11:15] <farway> jamespage: i think, because the last backup is 8 hours ago, i'll first start a new one :D
[11:15] <jamespage> farway, always a good idea
[11:18] <farway> jamespage: as i don't know how long it will take i will say thank you for now, and if i'm not able to track down the problem using 'set -x'  i'll ask here again. but i think i have now a new starting point to continue searching the problem myself :)
[11:18] <jamespage> farway, ack
[11:18] <jamespage> farway, also worth raising a bug for this btw
[11:18] <jamespage> as you had a running server pre-upgrade this looks like some sort of problem
[11:19] <jamespage> (we get alot of mysql bugs which are due to generally broken configurations - but not in your case :))
[11:20] <farway> jamespage: :D  server maintaing is a time filling job, with lots of surprises ^^
[11:22] <zetheroo> If I remove from a server the disks which make up the md1 raid, is that raids config still somewhere in the system? If so how do I erase all traces of that raid array?
[11:36] <farway> jamespage: i did the backup, one question about the procedure, is it likely that when calling dpkg-reconfigure mysql-server-5.5  that it would break mysql server completely ... i know that is hard to tell, but should it normally just do what it will do for a normal update?
[11:36] <jamespage> farway, it should not
[11:36] <farway> jamespage: ok
[12:01] <farway> jamespage: i ran the process now, and the error log shows the same message. On the first look i don't see that the ALTER of user that faisl in the log has a differnece in the syntax that could make it fail
[12:01] <jamespage> farway, can you pastebin the terminal output?
[12:02] <farway> jamespage: sure .. i just check right now if it contains - even if i don't expect it - some sensitiv information
[12:03] <farway> jamespage: here it is: http://pastebin.com/EXnXutW4
[12:04] <farway> damit
[12:04] <jamespage> farway, hmm - so that script gets to its exit 0
[12:04] <jamespage> how odd
[12:04] <farway> an i exposed the debian password -.-
[12:05] <jamespage> farway, argh
[12:06] <dcosnet> well. time to type franticly
[12:06] <jamespage> farway, sorry - I can get stuff scrubbed from the ubuntu pastebin but not that one
[12:07] <farway> jamespage: well i would need to change it anyway when it left my system ;)
[12:08] <jamespage> farway, understand - of course
[12:13] <farway> jamespage: ok so i have change the passord. do you have any idea what could have gone wrong
[12:13] <jamespage> farway, well the postinst script appears to have started ok
[12:13] <jamespage> completed OK rather
[12:13] <jamespage> which is odd - it mysqld still not running?
[12:14] <farway> after running dpkg-reconfigure mysql-server-5.5  it does not start up again
[12:15] <farway> the error message is the same in the error log complaining about the alter alter of the user table and telling me the plugin exists while it does not exist
[12:18] <farway> jamespage: hmm ok plugin exists now
[12:19] <jamespage> farway, that should be an ignorable error (I looks at
[12:19] <farway> ah ok probably it also existed before :D
[12:19] <jamespage> the script - it sets +e prior to running that step)
[12:22] <farway> jamespage: imy guess is that line the complains about 'ALTER TABLE user ADD column Show_view_priv enum('N','Y')'  because after that  it it says '140123 13:15:04 [ERROR] Aborting'
[12:24] <jamespage> farway, it looks likely
[12:24] <Pupeno_w> Is there a program that would let me get the expiration date of an SSL certificate?
[12:26] <ikonia> openssl
[12:27] <farway> Pupeno_w: if i remember right it is something like: openssl x509 -in certfile -noout -enddate
[12:29] <ikonia> farway: fantatic memory
[12:29] <ikonia> fantastic
[12:30] <jamespage> zul, all of the lab builds appear to be hosed btw - looks like some sort of access issue to ppa.launchpad.net
[12:32] <zul> jamespage:  yeah started last night
[12:32] <farway> ikonia: currently i don't believe in my memory. have two two weeks working an publication with just some hours it tends to say goodby for some time :D
[12:32] <alveraan> I have an xfs partition that I can mount with mount -t xfs, but not using fstab. Once mounted using mount.xfs, mounting via fstab works too.
[12:33] <farway> ikonia: there it went away again ... having -two  +sleep
[12:37] <farway> jamespage: i reread the launchpad, i can exclude apparmor because it is currently not running. really strange ... i'll go through each line in the postinst now as mysql is not always that accurate with it's error messages
[12:40] <ikonia> alveraan: the xfs module is not getting loaded
[12:41] <alveraan> ikonia, ok I'll try adding it to /etc/modules. Thx
[12:44] <farway> jamespage: thx again for taking the time to help me. I'll take something to eat now and do then some further research.
[12:44] <jamespage> farway, no problem!
[12:47] <rbasak> zul: ok to upload a bugfix to libvirt-python? bug 1270588
[12:48] <zul> rbasak:  go ahead
[12:49] <zetheroo> getting really frustrated with mdadm and setting up the simplest of raid arrays! Everything works great until I reboot the system and then the array is renamed somehow to md127 and fdisk reports "Disk /dev/md127 doesn't contain a valid partition table" ...
[12:54] <Zorky1> Im looking for someone, who can help me with a setup with a PXE server. regarding the files for each distro. i followed this guide. the pxe server is working. but when i click a distro i put in. it boots into the image. but cannot access the folder. where i mounted the files https://help.ubuntu.com/community/PXEInstallMultiDistro
[12:54] <alveraan> zetheroo, you could pass the --name option to mdadm --create. Your raid device would then be at /dev/md/thegivenname
[12:55] <alveraan> zetheroo, or create a mdadm.conf
[12:56] <zetheroo> this is the command I am using: mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1
[12:56] <alveraan> zetheroo, as for fdisk, why would you do an fdisk on a md device?
[12:56] <zetheroo> and there already is a mdadm.conf in /etc/mdadm/
[12:57] <zetheroo> this is what I have right now: http://paste.ubuntu.com/6802757/
[12:58] <michell90> Hey everybody, following Problem: I'm running a linux server and I have windows clients connecting via ssh. The windows client has a local printer. Now the windows user needs to print a file from the remote linux host to his own local printer. Does anyone know how to do this?
[12:59] <zetheroo> alveraan: can I rename the array from md127 to md1 again?
[13:00] <alveraan> zetheroo, you'll have to stop the array, then reassemble it as md1
[13:01] <alveraan> zetheroo, as for mdadm.conf, it should contain a DEVICES and one or more ARRAY lines. Check man mdadm.conf for examples.
[13:01] <zetheroo> alveraan: mdadm.conf seem to like to use UUID's ...
[13:02] <zetheroo> alveraan: how do I locate the UUID for my new array?
[13:04] <zetheroo> alveraan: how do you reassemble the array with a different name?
[13:05] <Zorky1> Im looking for help setting up a PXE server.
[13:07] <alveraan> zetheroo, mdadm --manage /dev/md127 --stop  , then reassemble. Please use mdadm --help, it's well documented ;-)
[13:10] <Zorky1> Looking for help regarding pxe server. that wont mount the files past kernel
[13:10] <ikonia> mount files paste kernel ?
[13:10] <ikonia> that's not pxe - pxe only starts the booting, anything after that is just configuration
[13:11] <ikonia> if you're getting a boot of $something then pxe is working
[13:11] <Zorky1> ikonia:  begin tring nfsmount -o nolock -o 10.110.1.10:/srv/install/Ubuntu/13.10_desktop/amd64 /cdrom … mount call failed - server repied :permission denied
[13:11] <zetheroo> alveraan: I got as far as "mdadm --assemble --name=md1" but not sure what to do now ....
[13:11] <Zorky1> ikonia:  i get that error
[13:11] <ikonia> Zorky1: "permissions denied...."
[13:11] <ikonia> and that's nothing to do with pxe as the preboot work has already happened
[13:12] <ikonia> that's trying to boot the process you've downloaded via pxe, so at that point, pxe is done
[13:13] <Zorky1> ikonia:  okay. the files are mounted in the /srv/install folder from fstab. so the iso is readable from /srv/install/Ubuntu/13.10_desktop/amd64
[13:13] <Zorky1> i can't seem to figure out. whats causing this. since all the files are readable.
[13:13] <ikonia> how do you know they are readable ?
[13:14] <ikonia> it's saying permissions deined, that suggests the share permissions are wrong
[13:15] <Zorky1> yeah but on what folder. the amd64?
[13:16] <Zorky1> ikonia:  every file past /srv/install has the same permissions
[13:16] <ikonia> look at your share permissions - forget file system yet
[13:16] <ikonia> test it by doing anonymous nfs mounts
[13:18] <Zorky1> ikonia:  these ? in  /etc/exports? 10.110.1.0/24(ro,async,no_root_squash,no_subtree_check)
[13:18] <Zorky1> hmm theres no rw in that line
[13:19] <ikonia> .....errr did you not set this up ?
[13:20] <Zorky1> i followed a guide. im still learning
[13:20] <ikonia> ok, have you tested mounting that ?
[13:20] <Zorky1> just tried with rw in that line. didn't work
[13:20] <ikonia> I didn't say that
[13:21] <ikonia> where did I say "add rw to that line" ?
[13:21] <Zorky1> nowhere i just tried it myself.
[13:21] <ikonia> why do you need read write access ?
[13:21] <Zorky1> i just wanted to test if, that was causing it to be not readable
[13:22] <ikonia> "read only"
[13:22] <ikonia> it should be readable
[13:22] <ikonia> pointless to work on this if you're just doing random things to resolve it
[13:23] <zetheroo> trying to mount the raid array using the UUID fails ... mount: special device UUID=bb818a40-23de386d-5d855fc4-517420cb does not exist
[13:24] <ikonia> does that uuid exist.....
[13:24] <zetheroo> I got the UUID info from " mdadm --detail /dev/md1"
[13:25] <zetheroo> UUID : bb818a40:23de386d:5d855fc4:517420cb
[13:25] <ikonia> where are you looking at that?
[13:25] <zetheroo> mdadm --detail /dev/md1
[13:26] <zetheroo> http://paste.ubuntu.com/6802899/
[13:26] <ikonia> zetheroo: that doesn't mean that uuid exists
[13:26] <zetheroo> :P
[13:27] <zetheroo> what does one do to make a UUID exist?
[13:27] <ikonia> check if it does exist first
[13:27] <zetheroo> how?
[13:27] <ikonia> look in the dev-by-uuid device files
[13:28] <ikonia> that's basically what mount is going to check
[13:28] <ikonia>  /dev/disk/by-uuid
[13:28] <ikonia> I think
[13:28] <ikonia> not got an ubuntu box to chec
[13:28] <ikonia> check
[13:28] <Zorky1> ikonia:  i found the problem.
[13:29] <zetheroo> that UUID is not there
[13:29] <ikonia> Zorky1: great
[13:29] <ikonia> zetheroo: ok, so that's why mount is failing
[13:29] <ikonia> so now you know where to look
[13:29] <zetheroo> though there is this: lrwxrwxrwx 1 root root   9 Jan 23 14:19 8c121204-72d2-4590-b128-a67e9b79b6ba -> ../../md1
[13:29] <zetheroo> so there is already another md1 device?
[13:30] <ikonia> zetheroo: no, there is a uuid for a device doesn't mean that device is actually still there
[13:30] <zetheroo> doh
[13:30] <zetheroo> is there a tool to manage these UUID's?
[13:31] <ikonia> they are system generated ???
[13:31] <ikonia> how do you expect to "manage" them
[13:31] <ikonia> that's the whole point of them
[13:33] <zetheroo> I don't get it ... if the system generates them why is it not updated? I rebooted the machine twice since having the new array made
[13:33] <ikonia> looks like your raid setup is screwed/wrong
[13:34] <zetheroo> well .. is there anything wrong with mounting the array using /dev/md1 instead of the UUID?
[13:34] <zetheroo> because it works with /dev/md1
[13:37] <Zorky1> ikonia:  the problem is not nfs. it's when the folder is mounted it's mounted as read only. when i mounted the iso into the folder
[13:37] <ikonia> it's mounted read only - because you told it to be mounted read only
[13:37] <ikonia> hence "ro"
[13:37] <ikonia> and why does it need to be anything else other than read only ?
[13:38] <Zorky1> ikonia:  it's mounted with this in fstab udf,iso9660 user,auto,loop 0 0
[13:38] <ikonia> Zorky1: that has nothing to do with it
[13:38] <Zorky1> yes it has. because when i copied the files over to the folder it booted
[13:39] <ikonia> thats you copying the files - that's not permisisons
[13:40] <Zorky1> then why couldn't i read the files. when the iso was mounted to that folder. but when i copied all the files from the iso into the folder it worked.
[13:43] <ikonia> I suspect becaise you are trying to decompress an iso onto a read only file system ?
[13:48] <jamespage> stgraber, whats the right way to set a lxc container to autostart on reboot these days?
[13:48] <jamespage> juju appears to still be trying to create symlinks in /etc/lxc/auto
[13:53] <farway> jamespage: i think i found the corresponding bugs https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1208729 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708176
[13:58] <jamespage> farway, hmm - that does look likely
[14:02] <farway> jamespage: i'll apply the parts after the fails commands by hand now and adding the missing information to the plugin table and then turn off auto security updates for now, as i don't want to be want to be awakened by my monitor tool because of that again -.-
[14:04] <jamespage> farway, ideally those updates would only be applied if missing - trying to figure out the best way todo that
[14:06] <jamespage> farway, what's odd is that if I install and then re-install mysql-server-5.5 I see those abort errors in the mysql log as well
[14:07] <jamespage> but I still end-up with a running mysql
[14:08] <farway> jamespage: do you have rows in your mysql.plugin table ?
[14:09] <jamespage> farway, no - its empty which appears to be wrong
[14:09] <jamespage> wtf is going on
[14:17] <jamespage> farway, oh - i see - if the table already exists, then the maintainer script bails
[14:17] <jamespage> in a non-error way
[14:18] <farway> jamespage: yes that is what i also have seen, i'm wondering if the plugin rows for default parts are optional with 5.5 i need to check this, because in none of my installations there are rows in it
[14:26] <jamespage> farway, having that call in the maintainer script is foobar now - the install_mysql_db creates that table as part of the system db script
[14:27] <zul> smb: kill it :)
[14:28] <smb> zul, Heh, with my non-existing powers :)
[14:28] <jamespage> farway, ditto on the fix privs as well I think
[14:28] <zul> smb: kill the fool
[14:29] <farway> jamespage: ok, then there is just one last thing i stubbled across while checking the script. why does it call "update-rc.d -f mysql remove"  i mean i don't want the script ro remove it form my startup list
[14:30] <jamespage> farway, no - that's automatic maintainer script to ensure that an old style sysvinit script is disabled if its installed in /etc/init.d
[14:30] <jamespage> ubuntu uses the upstart configuration
[14:30] <jamespage> which does not rely on /etc/rc.X
[14:31] <jamespage> farway, I think the old bit that has to be run in the replace_query - otherwise the debian sysmain password won't be set
[15:02] <stgraber> jamespage: lxc.start.auto = 1 in config
[15:02] <farway> jamespage: hmmm it becomes more and more puzzling :D because until i added mysql to the init.d id did not start on reboot.  Probably the preconfigration install image of the hoster was somehow wrong (was a fresh setup after a server crash some months before)
[15:02] <jamespage> stgraber, yeah - thats what I thought
[15:05] <jamespage> farway, something sounds a bit wonkey
[15:08] <farway> jamespage: That's paraphrased nice ;) But i think i get closer to the problem. But for now i'll need to do something else.  Have a nice day
[15:09] <jamespage> farway, you to
[15:31] <zul> jamespage:  django-compressor fixed
[16:47] <zul> jamespage:  icehouse-2 is out
[16:47] <jamespage> zul, goodie
[17:14] <zul> jamespage:  ppa issues look like is fixed
[17:15] <hxm> hi, I bought a SSL cert and the seller asks me for my configuration, I use apache2 but I didnt still use any ssl so I dont know what is better, openssl or apachessl?
[17:15] <hxm> or apache2 is able to manage certs itself
[17:32] <zerick> openssl
[17:33] <zul> jamespage:  https://code.launchpad.net/~zulcss/keystone/2014.1.b2/+merge/202901
[17:43] <zul> jamespage:  https://code.launchpad.net/~zulcss/cinder/2014.1.b2/+merge/202905
[18:10] <zul> jamespage: https://code.launchpad.net/~zulcss/glance/2014.1.b2/+merge/202912
[18:28] <zul> jamespage: https://code.launchpad.net/~zulcss/nova/2014.1.b2/+merge/202913
[18:49] <zul> jamespage:  https://code.launchpad.net/~zulcss/trove/2014.1.b2/+merge/202914
[19:05] <rostam> Hi I am using preseed to automate installation. In my current preseed file, system reboots after complete installation, I do like not to reboot. Any suggestion? thx
[19:07] <hitsujiTMO> rostam: http://askubuntu.com/questions/142821/which-debconf-preseed-option-to-auto-reboot-after-installation
[19:07] <jpds> rostam: Doesn't sound so automated all the sudden.
[19:13] <andol> rostam: Mostly out of curisoity, what is the problem with the automatic reboot?
[19:22] <rostam> all thanks so much for input and questions, I just want to test something before reboot so I want to stop rebooting. that is all.
[19:28] <rostam> HI our sy stem gets its IP address from a dhcp server. Every time we update the /etc/hosts with the acquired IP address and hostname. Is there a way to automate this? thx
[19:31] <sarnold> rostam: I think what you're looking for is rfc 2136, to have the dhcp server update a dns server with the name
[19:36] <hitsujiTMO> rostam: is it necessary to update /etc/hosts with the name? will 127.0.1.1 hostname    not do it for you?
[19:49] <rostam> hitsujiTMO,  we have distributed environment. The master and slave. The master is always identified as ts1.local and slaves ts2.local, ts3.local. So I am not sure if what you suggesting would work. By the way it is 127.0.0.1 I think.
[19:50] <rostam> sarnold, so updating dns is the same as /etc/hosts interesting.  Let me try it thanks again.
[19:51] <sarnold> rostam: most /etc/hosts these days have 127.0.0.1 localhost and 127.0.1.1 hostname -- the lo interface claims 127.0.0.1/8 so there's a lot of addresses that wrap back to localhost
[19:52] <rostam> sarnold,  thank you did not know that.
[20:03] <zul> smoser: ping
[20:04] <smoser> hey
[20:04] <zul> smoser: can you do a quick review of https://code.launchpad.net/~zulcss/keystone/2014.1.b2 (it contains yolanda's banner patch)
[20:08] <smoser> done.
[20:09] <thumper> hallyn: has the autostart behaviour for lxc changed in trusty?
[20:10] <hallyn> thumper: yes, stgraber's new autostart setup may be in now.  certainly in the ppa
[20:10] <stgraber> hallyn: yep, it landed with beta2 last week
[20:10] <thumper> hallyn: hmm... managed to break juju's behaviour
[20:10] <thumper> hallyn: can you explain the change?
[20:10] <hallyn> juju uses autostart?
[20:10] <stgraber> thumper: yes, autostart settings are now upstream and use the container's config instead
[20:10] <thumper> hallyn: yep,
[20:10] <stgraber> thumper: I believe I already told someone this morning wrt juju
[20:11] <stgraber> thumper: use "lxc.start.auto = 1" in the container config
[20:11] <thumper> stgraber: don't expect us to talk to each other :-)
[20:11] <hallyn> stgraber: remind me, is there any attempt at auto-conversion for /etc/lxc/auto/ users?
[20:11] <stgraber> hallyn: yes, there's migration code, but it won't do them much good for new juju containers
[20:11] <hallyn> heh yah
[20:12] <stgraber> any container on the system at the time of the upgrade to beta2 should have been automatically converted (symlink removed, /etc/lxc/auto removed and lxc.start.auto = 1 added to the container config)
[20:12] <thumper> stgraber: is this lxc going into the cloud archive?
[20:12] <thumper> stgraber: for precise?
[20:12] <thumper> is there a way we can work out if this is supported?
[20:12] <stgraber> thumper: maybe hallyn knows, I usually ignore the existence of that external archive entirely
[20:12]  * thumper nods
[20:13] <stgraber> thumper: rule of thumb would be, if /etc/lxc/auto exists, use it, if not, use lxc.start.auto = 1
[20:13] <thumper> stgraber: that makes sense...
[20:13] <thumper> should be able to handle that pretty easily
[20:13] <stgraber> as the upgrade of LXC will migrate anything in /etc/lxc/auto to lxc.start.auto and then remove the directory, that logic should work even on systems that get an LXC upgrade at the middle of a run
[20:14] <thumper> awesome...
[20:14] <thumper> I'll bake that logic into Juju :-)
[20:15] <hallyn> thumper: jamespage would know if lxc is going into cloud archive
[20:15] <hallyn> (if it still matters)
[20:15] <thumper> hallyn: ok
[20:16] <zul> adam_g:  https://code.launchpad.net/~zulcss/ceilometer/2014.1.b2/+merge/202939
[20:17] <swimmer> hi - not sure whether to ask here or over at #ubuntu: since today I'm running a vps on Ubuntu server 13.04 and I'd like to replace sysklogd with syslog-ng (the one I use on all my Gentoo machines) or maybe rsyslog (to learn even more ;-) )
[20:18] <swimmer> is that a question of stopping the service, removing the package, installing the replacement and configuring it?
[20:18] <swimmer> or is there more risk involved?
[20:22] <sarnold> swimmer: rsyslog shld have been the default syslogd..
[20:22] <swimmer> that's not up to me ... that's what I got atm ;-)
[20:23] <swimmer> I just want to have a syslog daemon which can parse & separate my ufw messages
[20:23] <swimmer> and all that stuff is new for me coming from Gentoo
[20:23]  * jdstrand advises swimmer to look at /etc/rsyslog.d/20-ufw.conf
[20:24] <ogra_> ubuntu comes by default with rsyslogd since several releases already
[20:24] <ogra_> you should already have it
[20:25] <swimmer> jdstrand: that's not recognized ... and importing the rules/config into /etc/syslog.conf didn't change anything
[20:25] <swimmer> and yes I restarted the service
[20:26] <jdstrand> swimmer: Ubuntu ships with rsyslog by default. /etc/rsyslog.d/20-ufw.conf will configure rsyslog to put ufw messages only in /var/log/ufw.log
[20:26] <jdstrand> swimmer: sorry, you can configure rsyslog to put ufw messages only in /var/log/ufw.log via /etc/rsyslog.d/20-ufw.conf
[20:26]  * ogra_ wonders how you even got sysklogd installed 
[20:27] <ogra_> you or another admin must have replaced rsyslog with it
[20:27] <swimmer> hihihi - everyone is telling me what I *should* have ;-)
[20:27] <swimmer> I bought I VPS yesterday, logged in & started looking around to get familiar with Ubuntu server
[20:29] <swimmer> I read up about apt-{get,cache} & aptitude, tried out both and ended up with aptitude running an update
[20:29] <swimmer> after that I let aptitude update all packages and that was it
[20:29] <sarthor> Hi I read this link, https://www.digitalocean.com/community/articles/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts and have created virtualhost, How to access that virtual host from lan, from the ip of my computer http://192.168.1.107, I am accessing the old page, How my browser will go to /var/www/newlycreatedsite.com/public.html/index.html. HELP pleasae
[20:30] <zul> adam_g: https://code.launchpad.net/~zulcss/heat/2014.1.b2/+merge/202946
[20:30] <ogra_> swimmer, well, then remove sysklogd and install rsyslogd ... you shouldnt need to care for anything, the packages will stop and start the services as needed when uninstalling/installing
[20:31] <swimmer> ogra_: I got a warning when I tried to do that ...
[20:31] <swimmer> ogra_: that's why I ended up here
[20:31] <ogra_> what did it say
[20:32] <sarnold> swimmer: you may need to do it in one command, like apt-get install rsyslog sysklogd-
[20:32] <swimmer> * rsyslog conflicts with linux-kernel-log-daemon (provided by klogd 1.5-6.2ubuntu1)
[20:32] <swimmer> * rsyslog conflicts with system-log-daemon (provided by sysklogd 1.5-6.2ubuntu1)
[20:32] <sarnold> then try apt-get install rsyslog sysklogd- klogd-
[20:32] <ogra_> yeah
[20:37] <swimmer> thank you guys - I'll give that a go ...
[20:38] <swimmer> lol - I had to stop ufw first to be able to get the packages needed ;_)
[20:38] <swimmer> ;-)
[20:38] <sarnold> heh, sounds like your firewall rules might be just a touch too tight ;)
[20:41] <swimmer> yeah - I really panicked this morning after not sleeping when I realized that they don't spend you a firewall when you buy a vps ;-)
[20:42] <swimmer> so I had to get used to that ufw thingie and make sure nothing gets through but my ssh connection
[20:42] <swimmer> hmmm - this apt-get command ... does it remove *everything* from the packages?
[20:43] <swimmer> I still see klogd and sysklogd with 'services --status-all'
[20:46] <swimmer> and I reckon it's safe to remove /etc/syslog.conf? I see that /etc/rsylog.d/50-default.conf is quite similar ....
[20:46] <sarnold> swimmer: well, apt-get purge (or dpkg --purge) will remove everything; but since you needed to issue the install and uninstall commands at the same time to satisfy dependencies, it probably just used the dpkg --remove option, which would leave modified configuration files around...
[20:46] <sarnold> swimmer: yes, should be safe to remove /etc/syslog.conf
[20:50] <swimmer> ahh neat - 'apt-get purge sysklogd klogd' is still possible :)
[20:51] <swimmer> quite a lot of question marks with 'service --status-all' ;-)
[20:52] <swimmer> and quite strange that you have two concurring daemon systems
[20:52] <swimmer> ^daemon control systems
[20:56] <sarnold> swimmer: heh, there's more than that :) there's at least rsyslog busybox-syslogd dsyslog inetutils-syslogd klogd sysklogd socklog -- in addition to the systemd-style journals which replace syslog also..
[20:58]  * swimmer hides
[20:59] <swimmer> keep it easy man
[20:59] <swimmer> remember ... its my first day
[20:59] <sarnold> hehe :)
[21:00] <swimmer> and I haven't slept for 36h by now
[21:00] <sarnold> oh that's trouble
[21:00] <swimmer> I guess I still have to find the right ufw rules for letting apt* pass through
[21:00] <sarnold> the mistakes you can make when you've not had enough sleep are so much more impressive than normal every-day mistakes... hehe :)
[21:01] <swimmer> ohhh that's ok with me ... I'm just a small stupid user who messes up anyway ;-)
[21:01] <swimmer> but you guys helped me already a lot
[21:04] <sarnold> swimmer: hehe :) well, have fun! ;)
[21:05] <swimmer> thank you :)
[21:05] <swimmer> I'll stick around here and keep asking if you don't mind ... ;-)
[21:27] <swimmer> ROFL - now I know why rsyslog was not installed -> https://bugzilla.openvz.org/show_bug.cgi?id=2693
[21:27] <swimmer> bitten by precisely that bug :)
[21:33] <ubuntutis> anyone know where to get ajax to install it with the lamp stack
[21:33] <swimmer> so is anyone using that fix? -> http://www.nostate.com/4228/fixing-the-100-cpu-and-no-useful-output-imklogrsyslog-kernel-logging-problem-on-ubuntu-guests-under-xen-pv/
[21:46] <rostam> HI I am creating preseed file. I want to install the grub on separate disk, not sure how to do that in preseed file? thx
[21:49] <swimmer> hihihi - that fix does even work actually :)
[21:50] <swimmer> and now I can see that ufw is actually all over the place ;-)
[21:53] <genii> rostam: https://help.ubuntu.com/10.04/installation-guide/example-preseed.txt has examples
[21:55] <rostam> genii, thx
[22:34] <quietone> after some updates we can't print to ip printer, xp boxes can print
[22:37] <sarnold> quietone: there's a lot that can go wrong with printers.. this wiki page has a lot of information on debugging them, it might be useful: https://wiki.ubuntu.com/DebuggingPrintingProblems
[22:38] <quietone> sarnold, thanks that looks promising
[22:49] <Doda12> Does someone know an easy to use tool I can call in a shell script that outputs basic statistical data like max, min, mean?
[22:50] <compufreak> IPv6 isn't automatically settting a static address here's my interfaces file: http://pastebin.com/i6D2TGsQ
[22:51] <compufreak> However, using "ip -6 addr add 2001:470:1f11:1363::4/64 dev eth0" assigns the address and IPv6 works fne afterwards
[22:56] <swimmer> OK - time to do the final test and reboot the vps ... wish me luck B-)
[22:56] <sarnold> have fun swimmer :)
[23:07] <swimmer> I guess the fun starts ... it's offline :-/
[23:52] <quietone> sarnold, any other ideas?
[23:56] <sarnold> quietone: do you have any error messages in log files that look related?
[23:58] <quietone> sarnold, sorry, things changed and I have to leave. thanks for asking