[00:03] <Ronnie> i get an error when using vhosts in apache: http://pastebin.com/1LGuUDc5
[00:03] <Ronnie> [Wed May 11 00:41:50 2011] [alert] [client 84.86.207.22] /var/www.myapp.nl/.htaccess: Invalid command 'myapp:mysupersecretpass', perhaps misspelled or defined by a module not included in the server configuration
[00:15] <Ronnie> never mind, solved with local help
[00:15] <kaushal> is there a way to know where does squid deb proxy resides  ?
[00:15] <kaushal> I have cleared squid cache in squid
[00:16] <kaushal> I am still unable to reach the global ubuntu mirror
[00:16] <kaushal> I am still unable to reach the global mirror inside LAN
[02:10] <resno> having issues getting a lxc container going.
[02:13] <resno> im getting failed to setup the mounts and container
[04:15] <twb> ps auxf  lists all the kernel threads
[04:15] <twb> Is there an easy way to tell it not to?
[04:15] <twb> Currently I'm doing ps auxf | grep -v ]$, which is lame
[04:20] <twb> &%&^%#.  On a scratch host, I did "/etc/init.d/apparmor teardown" and libvirtd's qemu *still* can't access- oh wait, maybe it's cgroups doing it?
[04:21] <twb> Nope, it's apparmor
[04:21] <DinVitamin> I'm trying to run an extremely light GUI for a server being used for a digital-signage application, which should I pick? I need to be able to display in 1920x1080 resolution.
[04:22] <twb> I'm trying to expose an LV to a KVM VM temporarily without bothering with all the LSM nonsense
[04:23] <SinnerNyx> hello
[04:24] <SinnerNyx> I have a development VM running Ubuntu Server 11.04. When I do a PHPInfo it says that it is protected by the suhosin patch. I need to remove this 'protection'. I'm told I have to build PHP myself in order to do this
[04:24] <SinnerNyx> However I have no successfully done a build. How would I go about doing this?
[04:24] <SinnerNyx> *never successfully
[04:29] <resno> i thought suhosin was a manual install? you can just remove it?
[04:30] <SinnerNyx> really?!?
[04:30] <SinnerNyx> the guys a #php told me I'd have to rebuild
[04:31] <resno> im not a 100%, but i didnt think it was default..
[04:31] <resno> SinnerNyx: were they ubuntu people?
[04:31] <SinnerNyx> No clue. I'm gunna try to check now if I can just remove it
[04:32] <SinnerNyx> "dpkg --get-selections | grep suhosin" does nothing...
[04:33] <SinnerNyx> any ideas?
[04:34] <SinnerNyx> should I be trying this: http://kusnier.net/config/how-to-remove-suhosin-patch?
[04:35] <SinnerNyx> without the ? at the end however I imagine that shouldn't make a difference
[04:40] <SinnerNyx> ?
[04:45] <DinVitamin> Xfce or Fluxbox for a lightweight window manager?
[05:14] <SinnerNyx> ok so I'm using http://kusnier.net/config/how-to-remove-suhosin-patch
[05:14] <SinnerNyx> and the last line gives me an error
[05:14] <SinnerNyx> the reason is there is no .deb file!
[05:14] <SinnerNyx> how do install the custom package I made?
[05:20] <SinnerNyx> never mind. the build failed I think :(
[05:21] <SinnerNyx> Could sure use help guyz
[06:52] <draven> when i do a package upgrade kernel packages are held back by default why is this?
[11:10] <j1mc> Daviey: Sorry I didn't get to touch on much of Server docs. I want to talk to you or a member of your team about server-specific stuff.
[11:10] <j1mc> Daviey: thanks for dropping in on the docs session, though
[11:11] <j1mc> Daviey: the docs session tomorrow at 11:00 is particularly relevant for server and cloud folks. This group is building a platform that might be particularly helpful for server docs.
[11:12] <j1mc> Daviey: https://blueprints.launchpad.net/ubuntu/+spec/desktop-o-documentation-pronovix-dita-drupal-demo
[11:36] <e-DIO-t> INIT: udevmonitor main process (367) killed by TERM signal << any idea about that?
[11:52] <e-DIO-t> no one here ? INIT: udevmonitor main process (367) killed by TERM signal
[12:57] <NCommander> /re/load
[13:27] <Blinkiz>  I have succesfully already built my deb package in pbuilder for Maverick. I now want to build for 11.04, 10.04 and 09.10. How should I create my package so that launchpad understand what distro OS it should build for? A wiki/guide maybe?
[13:29] <Pici> Blinkiz: This seems to explain it: https://help.launchpad.net/Packaging/PPA#Supported series
[13:30] <e-DIO-t> And again: any idea about a 10.04 locking at boot time on "INIT: udevmonitor main process (367) killed by TERM signal" after an upgrade?
[13:31] <Blinkiz> Pici, Thanks. In the changelog it says. Okay.. Hmm.. <distribution>.. Hmm.. Can I just say "all" instead of example "natty"?
[13:32] <Pici> Blinkiz: Probably a better question for #launchpad
[13:32] <Blinkiz> Pici, Yes, great. Thanks!
[13:32] <Blinkiz> join #launchpad
[13:32] <Blinkiz> ops :)
[14:09] <pangrazi> anyone here have any experience with iptables on a bridge?
[15:06] <ajmak> hi guys, looking for some advice to get usage/mail stats from a ubuntu mail 10.04 relay server (postfix, amavisd-new, clamav, spamassassin).  anyone recommend a good package for this?
[15:22] <RoyK> ajmak: shouldn't be very hard to just parse /var/log/mail.info
[15:24] <RoyK> ajmak: or google postfix stats
[15:27] <ajmak> RoyK: just found mailgraph, looks like what i need :)
[15:33] <Xeli> On a server i've just created a new user with : useradd -d /home/testuser -m testuser
[15:33] <Xeli> i've added this user to sshd.config, but not when i connect via ssh it seems bashrc doesn't load. la for instance doesn't work
[15:33] <Xeli> have i created the user in a wrong way?
[15:49] <RoyK> Xeli: dunno if /etc/skel is copied if you use -d - it should, but then, if you don't use -d, it'll default to /home/${username}
[15:50] <Xeli> Royk, I've checked, it's copied
[15:51] <_ruben> check /etc/passwd to see if does use bash as login shell ?
[15:52] <Xeli> _ruben: it did not, i've changed it to /bin/bash and it works, thanks! :)
[16:38] <pangrazi> i am having some problems with iptables and NFQUEUE, anyone here gotten that to work on 10.04LTS?
[17:07] <pangrazi> is there a channel specifically for networking and Ubuntu?
[18:09] <hallyn> is anyone working on libvirt merge?
[18:10] <tiemonster> How should Sun/Oracle/whoever Java be installed in Natty?
[18:11] <hallyn> apt-get install sun-java-jdk ?
[18:11] <hallyn> (depends what you're trying to do)
[18:13] <tiemonster> nm. I found it. I was looking for the Natty partner repo.
[18:14] <hallyn> is htere a way to force lp to import from the package?  libvirt is two versions behind...
[18:14] <hallyn> sorry, probably a ubuntu-devel question
[18:14] <_ruben> or launchpad :)
[18:34] <amero> if i were to allow only certain ip to access ssh port in permissive input chain(-P ALLOW), should i put that rule before of after drop rule?
[18:34] <RoyK> yes
[18:34] <w00> lol
[18:35] <amero> s/of/or/
[18:35] <RoyK> after the drop rule, well, the packet will be dropped already
[18:36] <amero> hm? so, allow then drop?
[18:36] <RoyK> amero: drop is the last line
[18:37] <RoyK> amero: if I give you some eggs, and a rule of how to distribute them, and at the end, tell you to drop them, the next line won't make much difference, will it?
[18:39] <bastidrazor> can fail2ban also ban those who connect to postfix/smtp?
[18:39] <w00> Good comparison RoyK :)
[18:40] <amero> i guess so but the drop line is for other ip that tries to connect to the ssh port
[20:34] <Dobuntu> Hi all!  Newbie server admin here...  I have a question about setting up dns settings.  On my local machine I go to "network settings -> hosts" tab to add a new entry in the dns settings.  What should I read up on to learn how to do this on a remote server?
[20:34] <Dobuntu> This is on a Slicehost server btw, if that helps.
[20:37] <Dobuntu> Sorry if my question seems dumb but I am just today trying to set up a virtual host and I am looking for good info on the correct way to add dns settings on a remote server.  Before today I have only worked on my local machine.
[20:37] <m_tadeu> hi...I need to run a script every 30secs...is there a cron like tool to do this?
[20:39] <_ruben> m_tadeu: to crontab entries, * * * * * yourscript, and * * * * * sleep 30 && yourscript, nasty but works ;)
[20:39] <guntbert> s /to/two/
[20:39] <_ruben> packetloss ;)
[20:40] <m_tadeu> :)
[20:40] <_ruben> and s/ // for you ;)
[20:40] <guntbert> _ruben: :)
[20:41] <_ruben> Dobuntu: what do you mean by "add dns settings"?
[20:41] <Dobuntu> well, on my local machine, after I get the vhost set up I go to network settings -> hosts tab to route the name to the localhost.
[20:42] <Dobuntu> I am just looking for how to accomplish dns setings on a remote server
[20:42] <Dobuntu> I think I may have found something though
[20:42] <_ruben> Dobuntu: sounds like altering the /etc/hosts file, which would only apply to the host itself, not for external requests
[20:43] <Dobuntu> yes I need to create a dns entry for a new domain on my slicehost slice.  So I presume it needs to work for external requests ;-)
[20:44] <_ruben> depends on how dns is handled for your (new) domain
[20:45] <Dobuntu> well I am sharing space with other sites in one slice as it were
[20:45] <Dobuntu> does that help?  Please forgive me I am very new to server admin
[20:45] <Dobuntu> I just found out today that I need to set up a real server by Saturday!
[20:45] <_ruben> which dns entry do you want to create ?
[20:46] <Dobuntu> but I have a series of steps that work on the local machine and I am told will work on remote as well, save for the dns bit
[20:47] <Dobuntu> Just one to allow people to type http://example.com and go to my Drupal site in the proper folder
[20:48] <Pici> How many people?
[20:48] <_ruben> depending on who maintains the dns servers for "example.com", you'll need to contact them (or their control panel) to make the changes
[20:48] <m_tadeu> so there is no less dirty solution to run a script every X seconds or every X minutes?
[20:48] <Dobuntu> Um, well the site is just going to be a dev site where I help teach some people how to work with Drupal
[20:48] <_ruben> m_tadeu: there's alternative cron implementations that do per second 'accuracy' i think
[20:49] <m_tadeu> _ruben: what is it?
[20:49] <_ruben> m_tadeu: dunno any names of specific ones, but i know they're out there ;)
[20:50] <Dobuntu> I guess I simply need to map an ip addy to a hostname
[20:50] <Dobuntu> In help.ubuntu I see some info there so perhaps I am already looking at what I need to learn
[20:52] <_ruben> Dobuntu: the procedure for a single local host is quite different compared to a hostname that should be resolvable on the internet
[20:52] <guntbert> m_tadeu: see http://www.linuxquestions.org/questions/programming-9/seting-cron-to-run-a-script-every-second-425623/#post3319818 for the "hack"
[20:53] <Dobuntu> I figured it would be vastly different.  If you could point me to a help doc or something where I could learn the process I would be very grateful.
[20:54] <_ruben> Dobuntu: it depends a fair bit on who maintains the domain's dns servers, most dns providers offer a web interface to make changes. do you even have (purchased) a domain yet btw? :)
[20:55] <Dobuntu> I have domains that I can map to yes
[20:55] <Dobuntu> though I did forget that when setting up the new addy
[20:55] <Dobuntu> which will need to be purchased
[20:55] <Dobuntu> or I will scrap that and just use a subdomain
[20:59] <_ruben> figure out which domain you'll use, then contact the appropriate registrar (the party where you bought the domain), and ask them how to do dns record changes
[21:01] <Dobuntu> thanks _ruben for your input.  I realize that it would probably be best for me to take care of the new name rather than scrap what I have already done.  I will come back to this later on.  Thanks again!
[21:01] <Dobuntu> I added the vhost before purchasing the name as you so rightly pointed out!
[21:01] <Dobuntu> what can I say im a total newbie!
[21:02] <_ruben> gotta start somewhere to get rid of that status ;)
[21:02] <Dobuntu> awesome...  I will be working on it.
[21:02] <Dobuntu> thanks again
[21:02] <_ruben> np :)
[21:10] <toddnine> Hi guys.  Having an issue with mdadm and raid 0 on AWS.  I'm using chef to create a raid 0 array of 10 drives.  I then shut down the instance attached to the drives (EBS volumes) start a new one, and use "madam --assemble /dev/md0 /dev/sdi1 ... /dev/sdi10"  90% of the time this works.  Occasionally I get "failed to add /dev/sdix to /dev/md0: Device or resource busy" or "bad superblock on device /dev/sdx" Yet if I wait a few 
[21:11] <_ruben> raid0 over partitions on a single drive ??
[21:11] <_ruben> (never used aws tho)
[21:12] <toddnine> Correct, I create the block devices which are basically empty hd's
[21:12] <_ruben> partitions arent disks
[21:12] <_ruben> oh, and you line got cut off at "if I wait a few"
[21:12] <RoyK> heh - setup 10 partitions and run raid0 over them and wait for the final prize
[21:13] <m_tadeu> _ruben: thanx
[21:13] <toddnine> Yet if I wait a few minutes and run it again, it will either work or I'll get a different error. This is server 10.10 64 bit.  *then I create the raid array with this command "mdadm --create /dev/md0 --level=0 --raid-devices=10  /dev/sdi1 .... /dev/sdi10"  And it's worked for data storage
[21:13] <RoyK> toddnine: for a start - use LTS releases for servers
[21:14] <toddnine> RoyK:  Ok, so use 10.04 instead
[21:14] <_ruben> could very well be an aws specific issue, some race condition for instance, or setup delay
[21:14] <_ruben> or wait a bit for 12.04 ;)
[21:14] <toddnine> That's what I thought too.  I was seeing it directly after attach
[21:15] <RoyK> toddnine: as a second, using 10 drives for striping may perform well, but it's rather chancy - when one of them dies, the whole raid set goes down
[21:15] <toddnine> however I left these drives attached and un assembled for 24 hours
[21:15] <toddnine> came in this morning and it won't assemble
[21:16] <_ruben> presumably aws' storage has redundancy underneath it...
[21:16] <toddnine> that's ok, it's for cassandra data.  It's replicated to another node locally, and another node halfway around the world.  If I have to re-create it, it's not a big deal, but this issue has been plaguing us for a month now and it's driving me nuts!
[21:16] <RoyK> toddnine: just don't do it - period
[21:16] <_ruben> or get nike, then you can just do it ;)
[21:17] <toddnine> RoyK:  It's the recommended setup for squeezing the best performance out of Cassandra :).  Like I said, it's replicated at the service tier, so I'm not as worried about data loss since it exists on 3 nodes in 2 DCs
[21:17] <RoyK> _ruben: if you're stupid enouh
[21:18] <toddnine> however, this random fail, then wait 10 minutes and it works is making me nervous.  I either expect it to fail consistently, or work consistently
[21:18] <RoyK> toddnine: i'd use zfs for that
[21:19] <toddnine> Can I pause and snapshot it like xfs?
[21:20] <toddnine> We use that for fast backups of the block storage raid devices
[21:20] <toddnine> Ahh, got old wikipedia
[21:20] <_ruben> is zfs in linux even ready for production?
[21:21] <_ruben> which reminds me, still gotta take nexentastor for a test drive
[21:21] <toddnine> _ruben:  Any ideas what may be going on?
[21:23] <toddnine> Yeah, after a reboot now it's telling me that /dev/sdi6 has a bad superblock.  Wait 5 minutes and it works
[21:23] <toddnine> really frustrating....
[21:23] <_ruben> toddnine: not really, tho it wouldn't surprise me if it's pretty asw/esb specific
[21:24] <_ruben> could be that the aws/esb backends are lagging behind or something, dunno really ;)
[21:24] <toddnine> My mechanism for creating the raid from physical devices is correct right? It's been working for a month or so, we've only recently started having issues
[21:24] <_ruben> no obvious errors there at elast
[21:24] <_ruben> least
[21:24] <toddnine> plus mdadm -E /dev/sdi6 shows it's fine.
[21:26] <toddnine> then assemble. works.  time to head over to the AWS forums :)
[21:26] <toddnine> Thanks for your help guys
[21:26] <toddnine> oh one last question
[21:27] <toddnine> in order to attach these disks to a new server instance, do I need to add any special meta data storage parameters to the mdadm create ?
[21:28] <_ruben> don't think so, if i understand correctly what you're trying to say that is :)
[21:28] <toddnine> Yeah, 10 disks on instance A.  Kill instance A then start instance B.  Assemble the same 10 disks on instance B
[21:29] <_ruben> if the partition types are raid autodetect, and the meta data is there, it should be fine
[21:29] <_ruben> if there's lvm on top of it, you'll need to import that tho
[21:30] <toddnine> Nah.  Just Xfs for fast snapshots.  If I need a larger array I'll just creat ea new array and copy the data over
[21:31] <toddnine> _ruben: cool.  Thanks a lot for your help man, it's really appreciated
[22:03] <MTecknology> does tcpdump default to capturing all packets including ucp and icmp?
[22:13] <pangrazi> mTecknology: yes
[22:23] <hallyn> jdstrand: would you care to doublecheck my libvirt sync for oneiric?  A locally compiled version for natty works fine for me, and it builds in a oneiric schroot...  changelog should list every detail
[23:46] <Lenhix> Hello. I installed PHP5 with the LDAP extension (apt-get install php5 php5-ldap), downloaded phpLDAPadmin 1.1.0.7 from Sourceforge, untar in /var/www but when I access phpLDAPadmin I get some error and phpLDAPadmin shows "Unrecognized error number: 8192: Function eregi() is deprecated". Is there any configuration in Ubuntu Server's php.ini that could be making this happen?
[23:48] <lechon> hello, does anyone know how to connect to a bluetooth device from the command line?
[23:49] <lechon> or pair with a device via command line, so no future connections need to pass a pin passkey around?
[23:52] <MTecknology> pangrazi: thanks