[00:51] <stgraber> jjohansen: ok, giving it a try now
[01:02] <stgraber> jjohansen: still no luck
[01:27] <jjohansen> stgraber: what was the error you got from apparmor that kernel has a tweak to say where it failed the mount
[01:27] <jjohansen> sorry, /me is in and out today so haven't really gotten a chance to work with it yet
[01:30] <stgraber> [  227.801504] type=1400 audit(1331427700.899:53): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 parent=3224 profile="/usr/bin/lxc-start" name="/usr/lib/lxc/root/" pid=3245 comm="lxc-start" srcname="/home/stgraber/data/vm/lxc/containers/qatracker01/rootfs/" flags="rw, rbind"
[01:31] <stgraber> the profile is still with only "mount", so no restriction on source, location or flags
[01:34] <jjohansen> stgraber: okay it will be a bit before I can get to it, but I will have another kernel up later tonight.
[01:34] <stgraber> jjohansen: cool, thanks. I'm trying setting the flags now in the profile, see if I can get it to work with that
[01:37] <stgraber> jjohansen: even with "mount options=(rw,rbind) /** -> /usr/lib/lxc/root/," it doesn't seem to match...
[02:38] <UberSlackr> Hello, I really need some help. I got Ubuntu Server to install just fine. But I'm trying to get a GUI installed but its not working
[02:38] <UberSlackr> I would have gone with just Ubuntu Desktop but I can't get that to install. While the server edition installed just fine
[02:55] <kklimonda> how does keeping systems updated fits into ubuntu orchestra? as I understand we can deploy new software using juju, but can we choose which updates to install, see which updates are available etc. without paying for Landscape?
[03:04] <scubes13> running a virtual kvm of ubuntu 10.04 server…. when running rsyslog, I am getting "Could no open output file '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]" in the logs...
[03:05] <scubes13> apparently the /dev/xconsole device doesnt exist… can I point this to another location? IE, a file in /var/logs maybe and avoid the above error?
[07:46] <blendedbychris> https://launchpad.net/~brianmercer/+archive/php  << anyone if there is an official lucid package of php5-fpm?
[10:31] <ju1c3> anyone have experience setting up SIP VOIP on ubuntu and android?
[12:16] <jacobw> hi, where's the server guide for 12.04 at now?
[12:17] <jacobw> i want to read it in its current form, whatever that is
[12:17] <MatBoy> mhh... ldap is more difficult than it seems :)
[12:17] <jacobw> MatBoy: i'm working on ldap right now
[12:17] <jacobw> MatBoy: what are you trying to do?
[12:18] <MatBoy> jacobw: ah nice... I'm totally new to it... I'm a decent admin but always tried to avoid ldap :)
[12:19] <MatBoy> jacobw: just setting up... I have installed ldap and phpldapadmin
[12:19] <jacobw> MatBoy: ok, does olcRootDN and cn=config mean anything to you right now?
[12:20] <MatBoy> jacobw: little bit... I have setup my own part alreayd that I need for my doamin
[12:20] <MatBoy> domain
[12:20] <jacobw> cool :)
[12:21] <jacobw> be aware that all configuration in openldap > 2.4 is done by modifying the cn=config DIT which contains the directives previously in /etc/ldap/slapd.conf
[12:22] <koolhead17|away> has anyone tried http://salt.readthedocs.org/
[12:22] <jacobw> i've seen it mentioned before
[12:22] <MatBoy> jacobw: thanks... I already thought something like it... but I need users in it now :)
[12:23] <jacobw> it seems to perform the same function as puppet, which makes me want to know why i should consider it over puppet
[12:26] <jacobw> MatBoy: that's quite a simple use case, remember than in rfc2307bis which the schema that ships with openldap that posixAccounts and posixGroups are both auxillary objectclasses, you need a structural objectclass, like inetorgperson, to define each user
[12:27] <jacobw> MatBoy: i've been struggling with openldap oddities for a while now :p
[12:40] <airtonix> ubuntu server, i have a " 06:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller [11ab:6145] (rev a1) ", and ubuntu doesn't see the 4 2tb drives i have connected as proved by "sudo  fdisk -l " (the four drives are seen by the controller on POST bootup)
[12:40] <airtonix> version 12.04
[12:50] <MatBoy> jacobw: yeah me too... normally I use MySQL for a lot of stuff
[14:17] <airtonix> http://shrubbery.mynetgear.net/c/display/W/Marvell+SATA+RAID+Controller+-+Linux+Not+Happy
[14:23] <airtonix> please help me kill this pata_marvel driver
[14:25] <airtonix>  http://dpaste.com/714958/
[14:26] <imanc> how can I find out  a list of all the automated processes running on the server?
[14:26] <imanc> I'm getting a weird error that seems to crop up every now and again and suspect it may be due to some scheduled process …
[14:27] <imanc> but the crontabs are empty
[14:27] <prasys> imanc, even the root crontab is empty ?
[14:28] <prasys> imanc, whats the error ?
[14:28] <imanc> hmm - ther eis no home/root is the root crontab in etc or something?
[14:28] <imanc> exim is bailing with a memory alloc error for like a few seconds. It happened at 5am this morning when there's no server activity
[14:28] <imanc> 2012-03-11 05:42:52 daemon: accept process fork failed: Cannot allocate memory
[14:29] <imanc> on top of that, there's a weird python error - the site can't find a specific modue. It happesn only for about a minute every once in awhile, and seems to bring down the site. But again, there's no reason for it - and if it was occuring, no reason that it'd suddenly self rectify.
[14:30] <imanc> something freaky is going on
[14:30] <prasys> imanc, check out /etc/cron.d/php5
[14:31] <prasys> do you have any entries there ?
[14:32] <imanc> actually … there's a few entries in cron.daily including an entry for sendmail, which I uninstalled
[14:32] <prasys> probably comment it out
[14:32] <prasys> when you apt-get remove , probably it did not 'clean' it
[14:33] <imanc> yeh
[14:33] <imanc> hmm
[14:33] <imanc> there's also apache2, apt.dpkg-dist
[14:34] <imanc> yes there's also the php5 script on cron.d but nothing on the server is running php, AFAIK
[14:36] <prasys> is there something in it
[14:36] <prasys> gotta check
[14:38] <imanc> yes, the php5 stuff is just clearing any expired sessions
[14:38] <imanc> can't see how it'd be affected django
[14:38] <imanc> or exim
[14:39] <imanc> apache2 script is just clearing the cache too
[14:41] <imanc> there seems to be sysklogd and logrotate, which both claim to rotate the logs
[14:57] <SpamapS> imanc: any disks near full? Also do you have swap configured?
[14:57] <imanc> hmm checking disc usage now
[14:58] <imanc> there's only one fiesystem .. /dev/vzfs and it's at 16% usage, so I assume that means no swapping has been configured
[14:58] <imanc> as there isn't a swap partition
[14:59] <imanc> mem usage is at 485 mb of a total 1265mb
[15:00] <imanc> The server hosts a website and app used by architects, and I'm assuming they upload huge files - so that may account for some of the issues. But they're definitely not doing that at 5am on a Sunday
[15:14] <SpamapS> imanc: I'd recommend hooking up detailed logging of system status. collectd is useful for that
[15:15] <SpamapS> imanc: why not at 5am on a sunday? Architects are weird. ;)
[15:15] <imanc> ha ha
[15:18] <imanc> awesome, I'll check that out SpamapS
[15:18] <SpamapS> imanc: also to check if there is swap, 'free -m' would be a good command.. (-m means it shows all numbers in Megabytes)
[15:18] <imanc> It just dawned on me tho, the server is in US time, and we're uk based. so I think 5am is more likely 9am here, and it's entirely feasible they were doing some work on the server.
[15:19] <imanc> SpamapS: yeh free -m shows 0 for cache
[15:20] <SpamapS> imanc: cache != swap
[15:20] <imanc> Mem:          1751        487       1263          0          0          0
[15:20] <imanc> -/+ buffers/cache:        487       1263
[15:20] <imanc> Swap:            0          0          0
[15:20] <SpamapS> imanc: can you install the 'pastebinit' package and run 'free -m | pastebinit' ? That will give you a URL you can paste here
[15:20] <SpamapS> imanc: ahh while I typed you just pasted it. 3 lines is ok I guess. ;)
[15:21] <SpamapS> imanc: 0 cache is... something is wrong!
[15:21] <imanc> cache is not zero, but swap is .. hmm
[15:22] <imanc> wow, pastebininit is cool
[15:22] <SpamapS> imanc: shared, buffers, cache is all 0 there
[15:22] <Patrickdk> maybe he never uses the disk :)
[15:22] <imanc> http://pastebin.com/055yHWqV
[15:23] <SpamapS> imanc: is this some kind of shared host?
[15:24] <imanc> nope - it's a dedicated or cloud server
[15:24] <imanc> running ubuntu
[15:24] <imanc> I've inherited the project and am seeing strangeness
[15:25] <imanc> I assume the guy who was managing it before me configured ubuntu
[15:25] <jacobw> so its a VM?
[15:26] <SpamapS> imanc: I've never seen a box have 0 cache and buffers
[15:26] <Patrickdk> oh, probably a hmm, what do they call that thing
[15:26] <imanc> SpamapS: what does it mean? :)
[15:27] <Patrickdk> the pre-lxc thing
[15:27] <imanc> jacobw: I assume so. The guy who handed over the project is a graphic designer and not overly clued up on tech stuff. I just got "here's the ssh details, it's with media temple"
[15:27] <jacobw> hmm
[15:27] <jacobw> where 'media temple' is?
[15:28] <imanc> suspect it's their 'dedicated virtual' package
[15:28] <imanc> but there is no control panel
[15:29] <SpamapS> Patrickdk: OpenVZ
[15:29] <Patrickdk> my cat just can't get enough of my mouse on my screen, following it like it was a laser pointer
[15:29] <Patrickdk> ya, openvz thing
[15:29] <imanc> so you think it's the virutalisation system that is reporting 0 for cache, buffers, etc.?
[15:30] <SpamapS> looks like it is openvz .. lots of reports in the googles about openvz and mediatemple
[15:30] <imanc> aha
[15:30] <SpamapS> so perhaps openvz does not report cache/buffer utilization to the containers
[15:30]  * jacobw thinks so
[15:30] <SpamapS> which kind of sucks.. but makes sense
[15:31] <SpamapS> imanc: so.. you're on a shared host
[15:31] <SpamapS> imanc: and likely overcommitted
[15:31] <imanc> interesting
[15:31] <SpamapS> imanc: so this is probably *not* your "server"'s fault
[15:32] <SpamapS> imanc: call MediaTemple. Explain. *COMPLAIN*
[15:32] <imanc> It would explain the weird, random problems
[15:32] <SpamapS> yes it would
[15:32] <imanc> including this error, which makes no sense: Try using django.db.backends.XXX, where XXX is one of:
[15:32] <imanc>    'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3'
[15:32] <SpamapS> its my main reason for thinking the container idea is a fail for anything but testing
[15:32] <imanc> For that to happen, a python module would have to be removed
[15:33] <SpamapS> imanc: or memory allocation failures to cause your app to perform stupidly. ;)
[15:33] <SpamapS> I don't know how well python handles ENOMEM
[15:33] <imanc> SpamapS: is that the same for cloud based solutions?  I've never had any issues with Linode, but anytime I've used VPSs in teh past, I've always had trouble. And typically the hosting companies support dept. deny that the server is overtaxed
[15:34] <Patrickdk> I thought linode was all vps also
[15:35] <SpamapS> Nooo
[15:35] <SpamapS> Linode is VMs
[15:35] <Patrickdk> plus, the definition of overtaxed, is not always the same
[15:35] <SpamapS> far less opportunity to overcommit
[15:36] <imanc> ahh linode are Xen VPS, apparently
[15:36] <SpamapS> imanc: If a hosting company treated me like that, I'd take my business elsewhere.
[15:36] <imanc> SpamapS: yes, well apparently they have been pretty crappy in general
[15:36] <Patrickdk> heh, I hate people used these new amazon t1-micro thing
[15:36] <Patrickdk> then asking why they don't work
[15:37] <imanc> but my client didn't see a clear reason to trasfer to linode. I think now we have one.
[15:37] <SpamapS> I went to a party they threw in Portland where they paid for about 200 peoples' bar tabs all night. They can afford to not f*** you over.
[15:37] <Patrickdk> I see them contantly going with 0 cpu availablity for >min at a time
[15:37] <imanc> SpamapS: media temple?
[15:37] <imanc> whoa
[15:37] <SpamapS> Patrickdk: oh yeah, t1.micro is a total fail for anything but the tiniest load.
[15:37]  * SpamapS waves his hands in front of his own wordpress site running on t1.micro .. "NOTHING TO SEE HERE"
[15:38] <Patrickdk> ya, nothing like 2min page load times :)
[15:38] <SpamapS> Patrickdk: yeah, you're at the mercy of all the m1.small's on the same hardware. ;)
[15:38] <SpamapS> Patrickdk: aggressive caching is where its at. :)
[15:38] <Patrickdk> this was a pure static site :)
[15:39] <SpamapS> Patrickdk: if I haven't updated anything on the site, it pretty much just serves everything out of the ondisk cache.
[15:39] <SpamapS> Patrickdk: that has never happened to me.. but.. I think I get 100 page views per day. ;)
[15:45] <imanc> a
[15:45] <imanc> Thanks for your help guys!
[16:54] <Code_Factory> hey guys hi all.. I have an issue, I've lost a db schema of an ubuntu server
[16:54] <Code_Factory> The only solution I think that i can perform is to try and restore the deleted data files
[16:54] <RoyK> a db schema?
[16:54] <Code_Factory> does anybody think that will help?
[16:54] <Code_Factory> yes
[16:54] <RoyK> what is that?
[16:54] <Code_Factory> sorry a mysql database
[16:54] <RoyK> then you have to restore from backup, yes...
[16:55] <RoyK> (unless the database resided on a snapshot-capable filesystem and you took snapshots regularly)
[16:55] <Code_Factory> RoyK: well thats the issue, I have  a month old backup
[16:55] <Code_Factory> RoyK: nope
[16:55] <RoyK> what happened to the db?
[16:55] <RoyK> disk crash?
[16:55] <Code_Factory> I'm between a rock and a very hard place right now
[16:56] <Code_Factory> RoyK: no someone messed up using the workbench
[16:56] <RoyK> oh...
[16:56] <RoyK> DELETE FROM blah; ?
[16:57] <Code_Factory> no "DROP schema"
[16:57] <Code_Factory> :S
[16:58] <RoyK> heh - so "drop database" (schema is a synonym for database)
[16:58] <RoyK> meaning, basically, you're in deep brownies
[16:58] <Code_Factory> yeah
[16:59] <Code_Factory> I have a month old backup
[16:59] <Code_Factory> but thats just bad business
[16:59] <RoyK> I'm afraid that's all you have, then
[16:59] <Code_Factory> I'm trying to user photorec
[16:59] <Code_Factory> to restore .frm files
[16:59] <RoyK> unless you want to attempt to do low level recovery
[16:59] <RoyK> and if so, unplug the server asap
[16:59] <Code_Factory> yes thats what i'm thinking of
[17:00] <RoyK> if you want to do low level recovery, you need a full copy of the disk as it is
[17:00] <Code_Factory> but the problem is that the recovery tools in ubuntu are queit complicated for me
[17:00] <Code_Factory> and I'm not that experienced
[17:00] <RoyK> I somewhat doubt you'll get much out of it unless you're really good, though
[17:00] <Code_Factory> yes i understand that, but it won't hurt to try
[17:01] <RoyK> then poweroff the machine, boot on something like a live usb stick, connect a largeish disk and dd off the entire partition or disk with that filesystem
[17:01] <Code_Factory> photorec tells me no hard disk
[17:01] <RoyK> photorec sucks
[17:01] <RoyK> it probably only knows fat32
[17:01] <RoyK> and you probably use ext3 or ext5
[17:01] <Code_Factory> and skalpel and magic rescue requires my to make header and footer in the extension files
[17:01] <RoyK> erm, ext4
[17:01] <patdk-lap> hmm, ext5
[17:02] <Code_Factory> one sec, I'll tell you
[17:02] <RoyK> recovery from ext[234] is generally very hard, MUCH harder than with fat32
[17:02] <Code_Factory> would you know of a tool that would help?
[17:03] <RoyK> not really
[17:03] <RoyK> even if there was an undelete tool, it wouldn't help much, since the database is removed from inside mysql
[17:04] <Code_Factory> yes, but there's a place where the files reside.. thats where the data is kept in binary format
[17:04] <Code_Factory> if i get to them, i can savor some importand data from my VM
[17:04] <Code_Factory> than update the db with the difference
[17:05] <Code_Factory> those last couple steps seems of a less challenge to me than recoviring lost files from ubuntu server
[17:06] <RoyK> problem is, with fat32, only the index is removed when a file is deleted. with ext[234], the filesystem is cleaned for references for the file
[17:06] <RoyK> meaning the file is GONE
[17:06] <Code_Factory> ah,, )(**&&(
[17:07] <RoyK> indeed
[17:07] <RoyK> that's why it's crucial to keep a backup...
[17:07] <RoyK> Code_Factory: what was in that database?
[17:08] <Code_Factory> LOL. I'm on the mysql channel hearing the same words
[17:08] <RoyK> :)
[17:08] <Code_Factory> RoyK: its a database for a social website ('self -driven content')
[17:09] <Code_Factory> so it loox very poor now when users are sent back to a month old system, some users will need to resign up
[17:09] <Code_Factory> its really a very bad situation we have jere
[17:09] <Code_Factory> here
[17:13] <patdk-lap> daily backups :)
[17:14] <qman__> yep
[17:14] <qman__> unless you shut off the server pretty much immediately after it happened, there's almost zero chance of recovery
[17:14] <qman__> consider it lesson learned, backups are important
[17:20] <Code_Factory> RoyK: thank you I gtg now and jump in my problems
[17:22] <Code_Factory> one more question if possible: how to find out what filesystem i'm running?
[17:23] <qman__> lots of ways, mount, cat /etc/fstab, sudo fdisk -l
[17:23] <qman__> cat /proc/partitions
[17:23] <qman__> df -h
[17:24] <Code_Factory> qman__: df and fdisk gave me info except the type of filesystem
[17:25] <Code_Factory> qman__: actually none of them did
[17:25] <qman__> mount does for sure
[17:25] <qman__> df doesn't, that's my bad, fdisk only shows 'linux' which could be any linux type
[17:25] <Code_Factory> qman__: yes thank you
[17:26] <Code_Factory> qman__: I"m on ext3  do you know of any file recovery tools?
[17:26] <qman__> nope, like I said
[17:26] <qman__> unless you shut off the server almost immediately after it happened, it's gone
[17:26] <Code_Factory> qman__: thank you
[20:46] <Gallomimia> scuse me. what's the command (i need to read and study) to control services such as sshd and a new service i've just installed (named murmur) a link to a manual about the same would be appreciated. thanks in advance
[20:47] <guntbert> Gallomimia: try with sudo service ssh status   (or start     or stop)
[20:50] <Gallomimia> service. okay. i want to read manuals and pages first
[20:50] <Gallomimia> thanks guntbert
[21:35] <scubes13> running a virtual kvm of ubuntu 10.04 server…. when running rsyslog, I am getting "Could no open output file '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]" in the logs...
[21:35] <scubes13> apparently the /dev/xconsole device doesnt exist… can I point this to another location? IE, a file in /var/logs maybe and avoid the above error?
[22:09] <qman__> scubes13, you can configure rsyslog to not log to console, and log to files only
[23:35] <pabelanger> Good news everybody!  After a few hours of testing, I've managed to add dbconfig-common support to glance (mysql ATM).
[23:38] <SpamapS> pabelanger: I *think* that is cool
[23:39] <SpamapS> pabelanger: tho dbconfig-common can sometimes be a double-edged sword.. since you *have* to have a running db server to complete installation
[23:39] <pabelanger> SpamapS, indeed!  Automated database configuration
[23:39] <pabelanger> yar
[23:40] <SpamapS> reminds me that I need to write the dbconfig-common charm helper so juju charms can make use of it more easily
[23:40] <pabelanger> Will likely have to talk more about that, but for now the default database is sqlite (boo).  Perhaps we can see about changing it to mysql or pgsql
[23:40] <pabelanger> SpamapS, Ya, I have some existing puppet manifests that will use dbconfig-common, the main reason for making the changes
[23:43] <SpamapS> pabelanger: I'd think sqlite being default is a good way to go. Casual users will appreciate it.. larger systems require testing/planning/etc and so people will have to pre-seed values anyway.
[23:48] <pabelanger> SpamapS, Ya, I'm just going to leave it as the default.