[00:02] 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] 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] why is there no /etc/default/grub in 10.04 ??? [00:30] how do I turn off the graphics on boot ??? [00:34] that file is there [00:34] google for it [00:35] the file isn't there [00:35] I"m ssh'd into the system now [00:35] there is no /etc/default/grub [00:38] this upgrade leaves the system broken [00:38] mysql won't start at all, my entire company is down [00:40] This is probably one of those times when having backups and a redundant server would be nice. [00:40] cred: Did you move your mysql databases to some totally non-standard location? [00:41] 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] jmarsden: you guess correctly [00:42] 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] jmarsden: but I deleted to new rules with the old one, and still no luck [00:43] jmarsden: I've turned off apparmour and it still won't start [00:43] jmarsden: how do I get it into warning mode only ? [00:44] 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] cred: something like sudo complain mysql [00:45] cred: or maybe sudo complain mysqld maybe? [00:45] cred: I am not an apparmor expert at all. [00:47] that didn't work [00:49] !doesnt work | cred [00:49] cred: Doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. [01:02] hi all === chuck_ is now known as zul [01:19] can uec do something more like a regular kvm setup - with a persistent img file ? [01:20] if so, how does want set it up ? [01:20] s/want/one/ [01:56] New bug: #738527 in openssh (main) "package openssh-server 1:5.1p1-5ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/738527 [02:37] 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] I"m getting this error when I try to start mysql [02:39] I've disabled apparmor, but I'm still getting this crap [02:41] 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] cred: how did you disable apparmor? [03:00] pmatulis: I followed the instructions on the wiki, it kept running though so I purged it [03:01] mysql still won't start [03:02] I just removed mysql and re-installed it and now it's hung on the config phase [03:03] cred: how did you disable apparmor? what wiki? [03:03] pmatulis: the ubuntu wiki [03:04] pmatulis: update-rc.d -f apparmor remove [03:05] now mysql-server won't install at all [03:07] the config process it hung, I'll have to reboot [03:08] I guess I'll have to save my config file an purge mysql and see if it will install [03:20] ghhhaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!!!!!!!!!!!!!!!1 [03:21] it still won't start [03:22] I can't believe this [03:25] how can mysql not install and run? [03:27] 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] cred: 'apparmor=0' [03:28] pmatulis: ok, thanks [03:28] pmatulis: I guess that goes into the non-existant /etc/default/grub file ? [03:29] pmatulis: do you know the command to turn off the graphical boot ???? I have "nomodeset" but it's not working [03:32] cred: get rid of 'splash' [03:32] pmatulis: splash isn't listed [03:32] well, I see to NEVER, NEVER use do-release-upgrade [03:32] this system is hosed [03:33] cred: i would just pass the option during boot and see if it works [03:36] pmatulis: I'm trying it now [03:44] well, nothing is working [03:44] I'm going to install centos, thanks for all your help guys [05:33] anyone good with bind9? [06:34] depends, not really [08:19] Hi [08:20] Does Ubuntu 10.04 has asterisk binary packages ? [08:20] I mean Ubuntu Lucid Server [08:21] apt-cache search asterisk should show them. [08:22] is it better to go with 10.04 or 10.10 as server ? [08:22] I go with LTS releases [08:23] unless I need something specifically from a "normal" release. [08:25] ok [08:25] greppy: Thanks [14:02] 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 ? === chuck_ is now known as zul [14:10] bigbang, so long means how many minutes? [14:11] well about a whole minute i try like using webmin to do other things and it just slows down the whole pc... [14:38] 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] Egbert9e9: screen will open new screens with the current directory you had when starting screen in the first place [14:43] RoyK: i start it on ~ [14:55] something is weird [15:26] New bug: #738742 in bacula (main) "package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/738742 [15:48] greppy: having any problems with suspend on your desktops lately ? this is me raging at pm_suspend : http://dpaste.com/521335/ [15:51] 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] greppy: this guy explains my scenario pretty much verbatim : http://forums.debian.net/viewtopic.php?f=5&t=52581 [15:52] sshf might the cause [15:52] sshfs [15:52] ah [15:52] except it's on both server and desktop that it happens === cerber0s is now known as cerberos [17:26] i got my server locked in a dependency problem after trying to upgrade. how can i resolve this. http://pastebin.com/hPGW5pm1 [17:30] hi [17:30] anybody from romania here? [17:30] thanks [17:57] hydraD: why? === dendrobates is now known as dendro-afk [18:15] RoyK: I assumed he/she needs Romanian language support [18:15] hydraD: is that ^ correct? [19:43] 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] (with the G7) [19:45] Only one way to find out. [19:45] Changes are everything will just work. [19:46] 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] I've seen that the hpsa driver is now included in the latest kernels. [19:47] Anyone using SSD drives? [19:49] This system will include battery backed write cache, and I need lots of IOs, not space so I'm looking at SSD [20:00] hi all [20:01] 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] the timezone is European/Rome based and it should be Mar 20, 21:01 [20:01] how can I fix this? [20:09] Andy80: did you run ntpdate? [20:15] Your clock should be close to correct before NTPD starts, or it won't sync [20:15] just update it (like with ntpdate) and it should work fine [20:15] ntpq -c peers [20:15] if I run ntpdate I get: root@wifi:~# ntpdate [20:15] 21 Mar 20:36:28 ntpdate[28004]: no servers can be used, exiting [20:15] will show the status of your NTPD process [20:15] let me check the other command... [20:15] root@wifi:~# ntpq -c peers [20:15] remote refid st t when poll reach delay offset jitter [20:15] ============================================================================== [20:15] europium.canoni 193.79.237.14 2 u - 64 377 9.953 -841279 145836. [20:15] bds2.bds-bayern 192.53.103.108 2 u 27 64 377 7.812 -841134 143860. [20:16] (sorry for the copy/paste) [20:17] The time should be closer than one hour, or it won't sync [20:17] your offset is too large [20:18] 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] you can do that with the time, and date commands OR in the BIOS when you turn the machine one [20:18] on [20:18] OR with ntpdate [20:18] I cannot access the bios... it's a VPS [20:18] ntpdate server [20:18] hold I will get the exact command, [20:18] root@wifi:~# ntpdate ntp.ubuntu.com [20:18] 21 Mar 20:43:39 ntpdate[28064]: the NTP socket is in use, exiting [20:18] mmm... [20:18] ntpdate pool.ntp.org [20:18] wait, let me stop ntpd [20:19] try ntpdate ntp-s1.cise.ufl.edu [20:19] ok, now it was set correctly: [20:19] pool.ntp.org is very reliable and close to the source [20:19] yes [20:19] root@wifi:~# ntpdate ntp.ubuntu.com [20:19] 20 Mar 21:19:13 ntpdate[28087]: step time server 91.189.94.4 offset -84330.344231 sec [20:19] ok, I'll use it then [20:19] now /etc/init.d/ntpd restart [20:20] and you should be golden in a few mins [20:21] 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] let's see if it resists [20:21] is this a dual boot system? [20:22] this is an Ubuntu server installation on a Virtual Private Server hosting [20:22] by the way... it looks like ntpd is messing again [20:22] it is likely changing upon restarting your system [20:22] it already set 3-4 minutes more than my local machine [20:23] the hardware clock in your machine is likely a different timezone that your server OS is expecting [20:23] server: Sun Mar 20 21:26:19 CET 2011 - local PC: dom 20 mar 2011, 21.23.20, CET [20:24] but.... if the system is virtualized, Ubuntu cannot set the real hardware clock... [20:24] OR the VM is resetting the virtual or REAL hardware clock [20:25] in the VM there's a simulated hardware clock that is possibly getting changed [20:25] mmm... I'll have to ask to VPS support then... [20:27] 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] for now I've stopped ntpd and re-set the time again using: ntpdate pool.ntp.org [20:29] let's see in 5-10 minutes if/how changes [20:30] 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] with ntpd it has been worse: it changed +24 hours in less than half a day :\ [20:32] Andy80: then ntpd probably gave up - is this on a VM? [20:32] RoyK: yes, it's on a VM [20:33] 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] A bad physical clock in the host machine is possible [20:34] what does your /var/lib/ntp/ntp.drift [20:34] file show? [20:36] root@wifi:~# cat /var/lib/ntp/ntp.drift [20:36] 329.743 [20:36] It usually shouldn't be much over +-20 [20:37] if you look at the 4th column of /var/log/ntpstats/loopstats, does that number fluctuate wildly? [20:38] let me check [20:38] Andy80: there are some issues with some virtualisation systems that may make the clock drift quite badly [20:38] Andy80: it's _not_ an ntp issue, though, it's the emulated BIOS clock that drifts [20:38] wilsotc: cat: /var/log/ntpstats/loopstats: No such file or directory [20:38] I suspect the VM also [20:41] you could look here for further info: http://support.ntp.org/bin/view/Support/KnownOsIssues#Section_9.2.2. [20:42] wow, lot of info to read... give me some minutes :) [20:43] See if your hosting service uses NTPD or equivalent, then just use the host VMs clock seems to be the answer [20:44] I don't know what they use to virtualize :\ [20:44] I'll ask a friend of mine who works in that service, as soon as I get him online. [20:45] ok [20:46] uff :\ the clocl is completly fu*** it's already 18 minutes forward my local time... [20:46] clock [20:46] Andy80: what sort of virtualisation system are you on? [20:49] RoyK: I don't know.... [20:49] sounds like H.G.Wells-ware :) [20:49] I've seen a bad hardware clock drift that much [20:49] RoyK: it's not something I'm managing directly... it's a service I'm buying from a friend [20:49] k [20:50] 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] yep.. [20:51] uname -a [20:51] root@wifi:~# uname -a [20:51] Linux wifi 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64 GNU/Linux [20:52] which distro is this? [20:52] distro version, I mean [20:53] ubuntu 9.10 [20:54] upgrade to 10.04 for a start [20:55] 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] agreed - 1st priority, then if time problem goes away, you're sorted ;) [20:55] once 9.10 "drops off", it will be a little difficult to upgrade smoothly [20:55] 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] mmm.... I'm running a "half-critic" service on this machine.... are we sure everything will be ok? [20:56] gbsd-gord: really? [20:56] gbsd-gord: I've upgraded rather old machines way after their support went out [20:56] Andy80: do you have console access to the machine? [20:56] after it drops off the mirrors (at some unknown unpecified time I think) then a CDrom upgrade is needed [20:57] Andy80: usually, an upgrade to a new release is trivial, but then... [20:57] RoyK: I've ssh/root access to it [20:57] gbsd-gord: I guess that's highly theoretical - it's only a few weeks since I upgraded a 9.04 machine [20:57] 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] RoyK: oh yes, not urgent, but a very good idea and might fix the time trouble [20:58] 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] 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] Andy80: apt-get update && do-release-upgrade [20:59] no reason to change sources.list [20:59] http://www.ubuntu.com/desktop/get-ubuntu/upgrade covers it [20:59] ok, let's try.... === Jonny51 is now known as Jonny5 [21:00] 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] I've never had problems, ymmv [21:01] ok, let's try [21:04] * Andy80 cross fingers.... [21:06] New bug: #738949 in dovecot (main) "package dovecot-common 1:1.2.9-1ubuntu6.3 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/738949 [21:09] is the configuration of apache, php, postgresql ecc.... kept? yes? === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond [21:22] Andy80: yes === erichammond1 is now known as erichammond [22:01] well [22:02] RoyK: upgrade finished! system restarted and running. The hosted service seems to run fine. The problem with date/time remained :\ [22:03] RoyK: what I don't understand is: why the kernel version is the same? [22:03] andy80@wifi:~$ uname -a [22:03] Linux wifi 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64 GNU/Linux [22:19] and I cannot find /boot/grub/menu.lst nor /boot/grub/grub.cfg [22:26] kirkland: ping [22:27] Andy80, It sounds like the kernel is not part of your image... This isn't that uncommon for some visualisation methods. [22:27] btw... I've my friend on Skype now... he says they use xen [22:28] 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] Andy80, So, unless your provider supports pvgrub or simialr. - you are stuck on the kernel they provide. [22:41] Daviey: o/ === erichammond1 is now known as erichammond [23:02] 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] sorry if this is the wrong place to ask [23:03] the system will function as a small LAN file server [23:21] hey RoAkSoAx [23:26] RoyK: we've fixed it :) [23:26] RoyK: echo xen > /sys/devices/system/clocksource/clocksource0/current_clocksource [23:26] yeah ;) [23:56] 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] on UEC or EC2 ? [23:58] ec2 [23:58] 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] http://uec-images.ubuntu.com and the get-console command should be able to tell you what is happening hopefully