[00:02] <cred> I'm trying to upgrade to the newest LTS and it's hung on mysql spewing a bunch of "audit" errors......................what can I do?
[00:05] <cred> I'm trying to upgrade to the newest LTS and it's hung on mysql spewing a bunch of "audit" errors......................what can I do?
[00:30] <cred> why is there no /etc/default/grub in 10.04 ???
[00:30] <cred> how do I turn off the graphics on boot ???
[00:34] <RoyK> that file is there
[00:34] <RoyK> google for it
[00:35] <cred> the file isn't there
[00:35] <cred> I"m ssh'd into the system now
[00:35] <cred> there is no /etc/default/grub
[00:38] <cred> this upgrade leaves the system broken
[00:38] <cred> mysql won't start at all, my entire company is down
[00:40] <ScottK> This is probably one of those times when having backups and a redundant server would be nice.
[00:40] <jmarsden> cred: Did you move your mysql databases to some totally non-standard location?
[00:41] <jmarsden> cred: My guess is that newer apparmor rules for mysql in the upgraded package are not allowing it to access whatever non-standard place you put your databases... but I'm just guessing at this point.
[00:42] <cred> jmarsden: you guess correctly
[00:42] <jmarsden> OK, so the quick fix is put the databases back where they should be, or else configure apparmor to be in warning only mode.
[00:42] <cred> jmarsden: but I deleted to new rules with the old one, and still no luck
[00:43] <cred> jmarsden: I've turned off apparmour and it still won't start
[00:43] <cred> jmarsden: how do I get it into warning mode only ?
[00:44] <cn1209> What's the best offsite backup solution. I was trying to use crashplan.com since it allows me to copy from one computer to another (offsite). Any ideas?
[00:45] <jmarsden> cred: something like   sudo complain mysql
[00:45] <jmarsden> cred: or maybe sudo complain mysqld    maybe?
[00:45] <jmarsden> cred: I am not an apparmor expert at all.
[00:47] <cred> that didn't work
[00:49] <jmarsden> !doesnt work | cred
[01:02] <GeekyAdam> hi all
[01:19] <lifeless> can uec do something more like a regular kvm setup - with a persistent img file ?
[01:20] <lifeless> if so, how does want set it up ?
[01:20] <lifeless> s/want/one/
[02:37] <cred> what does this mean: type=1502 audit(1300588611.956:20):  operation="open" pid=1433 parent=1 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
[02:38] <cred> I"m getting this error when I try to start mysql
[02:39] <cred> I've disabled apparmor, but I'm still getting this crap
[02:41] <cred> what does this mean?:    type=1502 audit(1300588611.956:20):  operation="open" pid=1433 parent=1 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
[02:58] <pmatulis> cred: how did you disable apparmor?
[03:00] <cred> pmatulis: I followed the instructions on the wiki, it kept running though so I purged it
[03:01] <cred> mysql still won't start
[03:02] <cred> I just removed mysql and re-installed it and now it's hung on the config phase
[03:03] <pmatulis> cred: how did you disable apparmor?  what wiki?
[03:03] <cred> pmatulis: the ubuntu wiki
[03:04] <cred> pmatulis:  update-rc.d -f apparmor remove
[03:05] <cred> now mysql-server won't install at all
[03:07] <cred> the config process it hung, I'll have to reboot
[03:08] <cred> I guess I'll have to save my config file an purge mysql and see if it will install
[03:20] <cred> ghhhaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!!!!!!!!!!!!!!!1
[03:21] <cred> it still won't start
[03:22] <cred> I can't believe this
[03:25] <cred> how can mysql not install and run?
[03:27] <pmatulis> cred: i heard to completely disable apparmor you need to pass a kernel option b/c there is something lurking in the initramfs
[03:27] <pmatulis> cred: 'apparmor=0'
[03:28] <cred> pmatulis: ok, thanks
[03:28] <cred> pmatulis: I guess that goes into the non-existant /etc/default/grub file ?
[03:29] <cred> pmatulis: do you know the command to turn off the graphical boot ????  I have "nomodeset" but it's not working
[03:32] <pmatulis> cred: get rid of 'splash'
[03:32] <cred> pmatulis: splash isn't listed
[03:32] <cred> well, I see to NEVER, NEVER use do-release-upgrade
[03:32] <cred> this system is hosed
[03:33] <pmatulis> cred: i would just pass the option during boot and see if it works
[03:36] <cred> pmatulis: I'm trying it now
[03:44] <cred> well, nothing is working
[03:44] <cred> I'm going to install centos, thanks for all your help guys
[05:33] <dschuett> anyone good with bind9?
[06:34] <airtonix> depends, not really
[08:19] <kaushal> Hi
[08:20] <kaushal> Does Ubuntu 10.04 has asterisk binary packages ?
[08:20] <kaushal> I mean Ubuntu Lucid Server
[08:21] <greppy> apt-cache search asterisk should show them.
[08:22] <kaushal> is it better to go with 10.04 or 10.10 as server ?
[08:22] <greppy> I go with LTS releases
[08:23] <greppy> unless I need something specifically from a "normal" release.
[08:25] <kaushal> ok
[08:25] <kaushal> greppy: Thanks
[14:02] <bigbang> hey i followed the mail filtering how to un help ubuntu for postfix.. adding spamassasin and clamav.. is it normal now for it to take so long to send the email out and in ?
[14:10] <KurtKraut> bigbang, so long means how many minutes?
[14:11] <bigbang> well about a whole minute i try like using webmin to do other things and it just slows down the whole pc...
[14:38] <Egbert9e9> whenever i start screen on a remote ssh, detach, disconnect and later reattach it, it somehow forgets my home directory and opens each window as "user@server:/$" instead of "user@server:~$"
[14:40] <RoyK> Egbert9e9: screen will open new screens with the current directory you had when starting screen in the first place
[14:43] <Egbert9e9> RoyK: i start it on ~
[14:55] <Egbert9e9> something is weird
[15:48] <airtonix> greppy: having any problems with suspend on your desktops lately ? this is me raging at pm_suspend : http://dpaste.com/521335/
[15:51] <greppy> airtonix: the only problem I am having is the vga monitor doesn't come back from a suspend or if I power it off for a while, have to reboot.  the dvi monitor comes back fine.
[15:51] <airtonix> greppy: this guy explains my scenario pretty much verbatim : http://forums.debian.net/viewtopic.php?f=5&t=52581
[15:52] <airtonix> sshf might the cause
[15:52] <airtonix> sshfs
[15:52] <greppy> ah
[15:52] <airtonix> except it's on both server and desktop that it happens
[17:26] <edge> i got my server locked in a dependency problem after trying to upgrade. how can i resolve this. http://pastebin.com/hPGW5pm1
[17:30] <hydraD> hi
[17:30] <hydraD> anybody from romania here?
[17:30] <hydraD> thanks
[17:57] <RoyK> hydraD: why?
[18:15] <gbsd-gord> RoyK: I assumed he/she needs Romanian language support
[18:15] <gbsd-gord> hydraD: is that ^ correct?
[19:43] <wilsotc> I'm looking for advice on an HP proliant server model DL360 G7. Are there known issues with this system? The DL360 G6 *is* officially supported, and I would purchase this instead if there are problems.
[19:43] <wilsotc> (with the G7)
[19:45] <jpds> Only one way to find out.
[19:45] <jpds> Changes are everything will just work.
[19:46] <wilsotc> I'm fairly confident, just making sure. Also, is the Smart Array controller P410i is supported from the updated kernel in 10.10 through the hpsa driver?
[19:46] <wilsotc> I've seen that the hpsa driver is now included in the latest kernels.
[19:47] <wilsotc> Anyone using SSD drives?
[19:49] <wilsotc> This system will include battery backed write cache, and I need lots of IOs, not space so I'm looking at SSD
[20:00] <Andy80> hi all
[20:01] <Andy80> I'm running an Ubuntu server on a VPS (a Karmic version). I've currently installed nptd to keep time updated, but it looks like something is not working, this is what I get when I run "date"  command: Mon Mar 21 16:43:38 CET 2011
[20:01] <Andy80> the timezone is European/Rome based and it should be Mar 20, 21:01
[20:01] <Andy80> how can I fix this?
[20:09] <raphink_> Andy80: did you run ntpdate?
[20:15] <wilsotc> Your clock should be close to correct before NTPD starts, or it won't sync
[20:15] <wilsotc> just update it (like with ntpdate) and it should work fine
[20:15] <wilsotc> ntpq -c peers
[20:15] <Andy80> if I run ntpdate I get: root@wifi:~# ntpdate
[20:15] <Andy80> 21 Mar 20:36:28 ntpdate[28004]: no servers can be used, exiting
[20:15] <wilsotc> will show the status of your NTPD process
[20:15] <Andy80> let me check the other command...
[20:15] <Andy80> root@wifi:~# ntpq -c peers
[20:15] <Andy80>      remote           refid      st t when poll reach   delay   offset  jitter
[20:15] <Andy80> [20:15] <Andy80>  europium.canoni 193.79.237.14    2 u    -   64  377    9.953  -841279 145836.
[20:15] <Andy80>  bds2.bds-bayern 192.53.103.108   2 u   27   64  377    7.812  -841134 143860.
[20:16] <Andy80> (sorry for the copy/paste)
[20:17] <wilsotc> The time should be closer than one hour, or it won't sync
[20:17] <wilsotc> your offset is too large
[20:18] <Andy80> wilsotc: ok... so how can I change the offset? how can I fix it? Do I have to configure another ntp server in ntpd.conf?
[20:18] <wilsotc> you can do that with the time, and date commands OR in the BIOS when you turn the machine one
[20:18] <wilsotc> on
[20:18] <wilsotc> OR with ntpdate
[20:18] <Andy80> I cannot access the bios... it's a VPS
[20:18] <wilsotc> ntpdate server
[20:18] <wilsotc> hold I will get the exact command,
[20:18] <Andy80> root@wifi:~# ntpdate ntp.ubuntu.com
[20:18] <Andy80> 21 Mar 20:43:39 ntpdate[28064]: the NTP socket is in use, exiting
[20:18] <Andy80> mmm...
[20:18] <RoyK> ntpdate pool.ntp.org
[20:18] <Andy80> wait, let me stop ntpd
[20:19] <wilsotc> try ntpdate ntp-s1.cise.ufl.edu
[20:19] <Andy80> ok, now it was set correctly:
[20:19] <RoyK> pool.ntp.org is very reliable and close to the source
[20:19] <wilsotc> yes
[20:19] <Andy80> root@wifi:~# ntpdate ntp.ubuntu.com
[20:19] <Andy80> 20 Mar 21:19:13 ntpdate[28087]: step time server 91.189.94.4 offset -84330.344231 sec
[20:19] <Andy80> ok, I'll use it then
[20:19] <wilsotc> now /etc/init.d/ntpd restart
[20:20] <wilsotc> and you should be golden in a few mins
[20:21] <Andy80> let's see.... if I remember well. I had already used ntpdate once.... then I installed ntpd and "someting" messed with time/date again during night....
[20:21] <Andy80> let's see if it resists
[20:21] <wilsotc> is this a dual boot system?
[20:22] <Andy80> this is an Ubuntu server installation on a Virtual Private Server hosting
[20:22] <Andy80> by the way... it looks like ntpd is messing again
[20:22] <wilsotc> it is likely changing upon restarting your system
[20:22] <Andy80> it already set 3-4 minutes more than my local machine
[20:23] <wilsotc> the hardware clock in your machine is likely a different timezone that your server OS is expecting
[20:23] <Andy80> server: Sun Mar 20 21:26:19 CET 2011 - local PC: dom 20 mar 2011, 21.23.20, CET
[20:24] <Andy80> but.... if the system is virtualized, Ubuntu cannot set the real hardware clock...
[20:24] <wilsotc> OR the VM is resetting the virtual or REAL hardware clock
[20:25] <wilsotc> in the VM there's a simulated hardware clock that is possibly getting changed
[20:25] <Andy80> mmm... I'll have to ask to VPS support then...
[20:27] <wilsotc> that sounds like your VM is hosted on a system with a flaky hardware clock? I've seen cheap crystals so bad that NTPD couldn't run
[20:29] <Andy80> for now I've stopped ntpd and re-set the time again using: ntpdate pool.ntp.org
[20:29] <Andy80> let's see in 5-10 minutes if/how changes
[20:30] <wilsotc> yeah, a cron job every minute will be okay, but you might see lost seconds and weird effects if the clock is drifting that quickly
[20:31] <Andy80> with ntpd it has been worse: it changed +24 hours in less than half a day :\
[20:32] <RoyK> Andy80: then ntpd probably gave up - is this on a VM?
[20:32] <Andy80> RoyK: yes, it's on a VM
[20:33] <Andy80> wilsotc: uhm... even with ntpd stopped, the clock is getting forward too fast.... I already have 4 minutes difference between my machine and remote server
[20:33] <wilsotc> A bad physical clock in the host machine is possible
[20:34] <wilsotc> what does your /var/lib/ntp/ntp.drift
[20:34] <wilsotc> file show?
[20:36] <Andy80> root@wifi:~# cat /var/lib/ntp/ntp.drift
[20:36] <Andy80> 329.743
[20:36] <wilsotc> It usually shouldn't be much over +-20
[20:37] <wilsotc> if you look at the 4th column of /var/log/ntpstats/loopstats, does that number fluctuate wildly?
[20:38] <Andy80> let me check
[20:38] <RoyK> Andy80: there are some issues with some virtualisation systems that may make the clock drift quite badly
[20:38] <RoyK> Andy80: it's _not_ an ntp issue, though, it's the emulated BIOS clock that drifts
[20:38] <Andy80> wilsotc: cat: /var/log/ntpstats/loopstats: No such file or directory
[20:38] <wilsotc> I suspect the VM also
[20:41] <wilsotc> you could look here for further info: http://support.ntp.org/bin/view/Support/KnownOsIssues#Section_9.2.2.
[20:42] <Andy80> wow, lot of info to read... give me some minutes :)
[20:43] <wilsotc> See if your hosting service uses NTPD or equivalent, then just use the host VMs clock seems to be the answer
[20:44] <Andy80> I don't know what they use to virtualize :\
[20:44] <Andy80> I'll ask a friend of mine who works in that service, as soon as I get him online.
[20:45] <wilsotc> ok
[20:46] <Andy80> uff :\ the clocl is completly fu*** it's already 18 minutes forward my local time...
[20:46] <Andy80> clock
[20:46] <RoyK> Andy80: what sort of virtualisation system are you on?
[20:49] <Andy80> RoyK: I don't know....
[20:49] <gbsd-gord> sounds like H.G.Wells-ware :)
[20:49] <wilsotc> I've seen a bad hardware clock drift that much
[20:49] <Andy80> RoyK: it's not something I'm managing directly... it's a service I'm buying from a friend
[20:49] <RoyK> k
[20:50] <RoyK> Andy80: not that I think it will help, but can you check if you're running a "server" or "generic" or "virtual" kernel?
[20:51] <Andy80> yep..
[20:51] <RoyK> uname -a
[20:51] <Andy80> root@wifi:~# uname -a
[20:51] <Andy80> Linux wifi 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64 GNU/Linux
[20:52] <RoyK> which distro is this?
[20:52] <RoyK> distro version, I mean
[20:53] <Andy80> ubuntu 9.10
[20:54] <RoyK> upgrade to 10.04 for a start
[20:55] <RoyK> 9.10 is theoretically supported for another month, but 10.04 will be supported until april 2015, and I doubt much bugs will be fixed in 9.10
[20:55] <gbsd-gord> agreed - 1st priority, then if time problem goes away, you're sorted ;)
[20:55] <gbsd-gord> once 9.10 "drops off", it will be a little difficult to upgrade smoothly
[20:55] <RoyK> also, after upgrading to 10.04, install 2.6.35 as your kernel - the default, 2.6.32 IIRC, has some issues that has been fixed in .35
[20:56] <Andy80> mmm.... I'm running a "half-critic" service on this machine.... are we sure everything will be ok?
[20:56] <RoyK> gbsd-gord: really?
[20:56] <RoyK> gbsd-gord: I've upgraded rather old machines way after their support went out
[20:56] <RoyK> Andy80: do you have console access to the machine?
[20:56] <gbsd-gord> after it drops off the mirrors (at some unknown unpecified time I think) then  a CDrom upgrade is needed
[20:57] <RoyK> Andy80: usually, an upgrade to a new release is trivial, but then...
[20:57] <Andy80> RoyK: I've ssh/root access to it
[20:57] <RoyK> gbsd-gord: I guess that's highly theoretical - it's only a few weeks since I upgraded a 9.04 machine
[20:57] <gbsd-gord> Royk: that could be at least 7-19 months from now, best not to take too long because it's easy to forget
[20:58] <gbsd-gord> RoyK: oh yes, not urgent, but a very good idea and might fix the time trouble
[20:58] <RoyK> Andy80: well, ask whoever setup the system in the first place - an upgrade should be trivial, but if their infrastructure is wierd, well, you never know
[20:58] <Andy80> can you point me to some upgrading information/instructions that I can read? usually on old debian machines I used to manually change the source.list file to reflect the new version, then apt-get dist-upgrade...
[20:59] <RoyK> Andy80: apt-get update && do-release-upgrade
[20:59] <RoyK> no reason to change sources.list
[20:59] <gbsd-gord> http://www.ubuntu.com/desktop/get-ubuntu/upgrade    covers it
[20:59] <Andy80> ok, let's try....
[21:00] <gbsd-gord> updating-over-ssh is in theory "more risky" over ssh (in case you lose the SSH by upgrading, but if you write down the extra ssh port it opens for you you should be pretty safe
[21:01] <gbsd-gord> I've never had problems, ymmv
[21:01] <Andy80> ok, let's try
[21:04]  * Andy80 cross fingers....
[21:09] <Andy80> is the configuration of apache, php, postgresql ecc.... kept? yes?
[21:22] <RoyK> Andy80: yes
[22:01] <Andy80> well
[22:02] <Andy80> RoyK: upgrade finished! system restarted and running. The hosted service seems to run fine. The problem with date/time remained :\
[22:03] <Andy80> RoyK: what I don't understand is: why the kernel version is the same?
[22:03] <Andy80> andy80@wifi:~$ uname -a
[22:03] <Andy80> Linux wifi 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64 GNU/Linux
[22:19] <Andy80> and I cannot find /boot/grub/menu.lst nor /boot/grub/grub.cfg
[22:26] <RoAkSoAx> kirkland: ping
[22:27] <Daviey> Andy80, It sounds like the kernel is not part of your image... This isn't that uncommon for some visualisation methods.
[22:27] <Andy80> btw... I've my friend on Skype now... he says they use xen
[22:28] <Daviey> it's /usual/ for the kernel not to be part of the Domu... there are hacks that allow it to seem to be inside.
[22:28] <Daviey> Andy80, So, unless your provider supports pvgrub or simialr. - you are stuck on the kernel they provide.
[22:41] <RoAkSoAx> Daviey: o/
[23:02] <gwynddyllyd> hey. i just installed a minimal natty system and would like to add X to it. i installed xorg but failed to find a package to configure it from the command-line. do i have to fiddle with the xorg.conf file or is there some package (maybe curses based) to do it?
[23:03] <gwynddyllyd> sorry if this is the wrong place to ask
[23:03] <gwynddyllyd> the system will function as a small LAN file server
[23:21] <Daviey> hey RoAkSoAx
[23:26] <Andy80> RoyK: we've fixed it :)
[23:26] <Andy80> RoyK: echo xen > /sys/devices/system/clocksource/clocksource0/current_clocksource
[23:26] <Andy80> yeah ;)
[23:56] <Theravadan> i am trying to start a m2.4xlarge in any availability zone using an ubuntu server ami and it goes from pending->terminated, anyone know what i'm doing wrong or recommend any ubuntu ami that might work?
[23:57] <lifeless> on UEC or EC2 ?
[23:58] <Theravadan> ec2
[23:58] <Theravadan> ec2-run-instances ami-548c783d -n 1 -t m2.4xlarge -z us-east-1c -b /dev/sdb=:500:false -k 'afkeypair' is the cmd
[23:59] <zul> http://uec-images.ubuntu.com and the get-console command should be able to tell you what is happening hopefully