/srv/irclogs.ubuntu.com/2011/05/11/#ubuntu-server.txt

Ronniei get an error when using vhosts in apache: http://pastebin.com/1LGuUDc500: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 configuration00:03
Ronnienever mind, solved with local help00:15
kaushalis there a way to know where does squid deb proxy resides  ?00:15
kaushalI have cleared squid cache in squid00:15
kaushalI am still unable to reach the global ubuntu mirror00:16
kaushalI am still unable to reach the global mirror inside LAN00:16
uvirtbotNew bug: #780820 in krb5 (main) "kadmin: IPv6 support binds IPv4 socket leading to EAFNOSUPPORT." [Undecided,New] https://launchpad.net/bugs/78082001:52
resnohaving issues getting a lxc container going.02:10
resnoim getting failed to setup the mounts and container02:13
uvirtbotNew bug: #780826 in mysql-5.1 (main) "package libmysqlclient16 5.1.49-1ubuntu8.1 [modified: usr/lib/libmysqlclient.so.16.0.0 usr/lib/libmysqlclient_r.so.16.0.0] failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-shared-compat 5.1.47-1.rhel5" [Undecided,New] https://launchpad.net/bugs/78082602:31
twbps auxf  lists all the kernel threads04:15
twbIs there an easy way to tell it not to?04:15
twbCurrently I'm doing ps auxf | grep -v ]$, which is lame04:15
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:20
twbNope, it's apparmor04:21
DinVitaminI'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:21
twbI'm trying to expose an LV to a KVM VM temporarily without bothering with all the LSM nonsense04:22
SinnerNyxhello04:23
SinnerNyxI 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 this04:24
SinnerNyxHowever I have no successfully done a build. How would I go about doing this?04:24
SinnerNyx*never successfully04:24
resnoi thought suhosin was a manual install? you can just remove it?04:29
SinnerNyxreally?!?04:30
SinnerNyxthe guys a #php told me I'd have to rebuild04:30
resnoim not a 100%, but i didnt think it was default..04:31
resnoSinnerNyx: were they ubuntu people?04:31
SinnerNyxNo clue. I'm gunna try to check now if I can just remove it04:31
SinnerNyx"dpkg --get-selections | grep suhosin" does nothing...04:32
SinnerNyxany ideas?04:33
SinnerNyxshould I be trying this: http://kusnier.net/config/how-to-remove-suhosin-patch?04:34
SinnerNyxwithout the ? at the end however I imagine that shouldn't make a difference04:35
SinnerNyx?04:40
DinVitaminXfce or Fluxbox for a lightweight window manager?04:45
SinnerNyxok so I'm using http://kusnier.net/config/how-to-remove-suhosin-patch05:14
SinnerNyxand the last line gives me an error05:14
SinnerNyxthe reason is there is no .deb file!05:14
SinnerNyxhow do install the custom package I made?05:14
SinnerNyxnever mind. the build failed I think :(05:20
SinnerNyxCould sure use help guyz05:21
uvirtbotNew bug: #780886 in samba (main) "package samba 2:3.4.7~dfsg-1ubuntu3.5 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/78088605:46
uvirtbotNew bug: #780901 in dhcp3 (main) "package dhcp3-client 3.1.3-2ubuntu3.2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script killed by signal (Segmentation fault)" [Undecided,New] https://launchpad.net/bugs/78090105:56
uvirtbotNew bug: #780896 in libvirt (main) "Needs recompile after update of bridge-utils to 1.5-1 and higher" [Undecided,New] https://launchpad.net/bugs/78089605:57
uvirtbotNew bug: #780906 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script killed by signal (Segmentation fault)" [Undecided,New] https://launchpad.net/bugs/78090606:01
uvirtbotNew bug: #780907 in samba (main) "package samba-common 2:3.4.7~dfsg-1ubuntu3.6 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script killed by signal (Segmentation fault)" [Undecided,New] https://launchpad.net/bugs/78090706:01
dravenwhen i do a package upgrade kernel packages are held back by default why is this?06:52
=== nijaba_afk is now known as nijaba
uvirtbotNew bug: #780955 in samba (main) "/etc/dhcp3/dhclient-enter-hooks.d/samba is not executed" [Undecided,New] https://launchpad.net/bugs/78095508:57
=== med_out is now known as medberry
=== cmagina is now known as cmagina-uds
j1mcDaviey: 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
j1mcDaviey: thanks for dropping in on the docs session, though11:10
j1mcDaviey: 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:11
j1mcDaviey: https://blueprints.launchpad.net/ubuntu/+spec/desktop-o-documentation-pronovix-dita-drupal-demo11:12
=== sourcode is now known as Guest22684
uvirtbotNew bug: #781036 in apache2 (main) "authnz_external module load order matters for GroupExternal and Require file-group" [Undecided,New] https://launchpad.net/bugs/78103611:31
e-DIO-tINIT: udevmonitor main process (367) killed by TERM signal << any idea about that?11:36
e-DIO-tno one here ? INIT: udevmonitor main process (367) killed by TERM signal11:52
NCommander/re/load12:57
uvirtbotNew bug: #781101 in cloud-init (main) "race condition with ssh keys" [Undecided,New] https://launchpad.net/bugs/78110113:17
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:27
PiciBlinkiz: This seems to explain it: https://help.launchpad.net/Packaging/PPA#Supported series13:29
e-DIO-tAnd 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:30
BlinkizPici, Thanks. In the changelog it says. Okay.. Hmm.. <distribution>.. Hmm.. Can I just say "all" instead of example "natty"?13:31
PiciBlinkiz: Probably a better question for #launchpad13:32
BlinkizPici, Yes, great. Thanks!13:32
Blinkizjoin #launchpad13:32
Blinkizops :)13:32
pangrazianyone here have any experience with iptables on a bridge?14:09
ajmakhi 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:06
=== paul__ is now known as orudie
=== cmagina-afk is now known as cmagina-uds
RoyKajmak: shouldn't be very hard to just parse /var/log/mail.info15:22
RoyKajmak: or google postfix stats15:24
ajmakRoyK: just found mailgraph, looks like what i need :)15:27
XeliOn a server i've just created a new user with : useradd -d /home/testuser -m testuser15:33
Xelii'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 work15:33
Xelihave i created the user in a wrong way?15:33
RoyKXeli: 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:49
XeliRoyk, I've checked, it's copied15:50
_rubencheck /etc/passwd to see if does use bash as login shell ?15:51
Xeli_ruben: it did not, i've changed it to /bin/bash and it works, thanks! :)15:52
uvirtbotNew bug: #781195 in samba (main) "Winbind service stops often" [Undecided,New] https://launchpad.net/bugs/78119515:56
=== cmagina-afk is now known as cmagina-uds
pangrazii am having some problems with iptables and NFQUEUE, anyone here gotten that to work on 10.04LTS?16:38
pangraziis there a channel specifically for networking and Ubuntu?17:07
=== cmagina-afk is now known as cmagina-uds
uvirtbotNew bug: #781265 in samba (main) "package samba-common 2:3.5.8~dfsg-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/78126518:02
hallynis anyone working on libvirt merge?18:09
tiemonsterHow should Sun/Oracle/whoever Java be installed in Natty?18:10
hallynapt-get install sun-java-jdk ?18:11
hallyn(depends what you're trying to do)18:11
tiemonsternm. I found it. I was looking for the Natty partner repo.18:13
hallynis htere a way to force lp to import from the package?  libvirt is two versions behind...18:14
hallynsorry, probably a ubuntu-devel question18:14
_rubenor launchpad :)18:14
uvirtbotNew bug: #781282 in postfix (main) "package postfix 2.8.2-1ubuntu2 failed to install/upgrade: el subproceso script pre-installation nuevo devolvió el código de salida de error 128" [Undecided,New] https://launchpad.net/bugs/78128218:26
ameroif 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
RoyKyes18:34
w00lol18:34
ameros/of/or/18:35
RoyKafter the drop rule, well, the packet will be dropped already18:35
amerohm? so, allow then drop?18:36
RoyKamero: drop is the last line18:36
RoyKamero: 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:37
bastidrazorcan fail2ban also ban those who connect to postfix/smtp?18:39
w00Good comparison RoyK :)18:39
ameroi guess so but the drop line is for other ip that tries to connect to the ssh port18:40
=== medberry is now known as med_out
DobuntuHi 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
DobuntuThis is on a Slicehost server btw, if that helps.20:34
DobuntuSorry 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_tadeuhi...I need to run a script every 30secs...is there a cron like tool to do this?20:37
_rubenm_tadeu: to crontab entries, * * * * * yourscript, and * * * * * sleep 30 && yourscript, nasty but works ;)20:39
guntberts /to/two/20:39
_rubenpacketloss ;)20:39
m_tadeu:)20:40
_rubenand s/ // for you ;)20:40
guntbert_ruben: :)20:40
_rubenDobuntu: what do you mean by "add dns settings"?20:41
Dobuntuwell, 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:41
DobuntuI am just looking for how to accomplish dns setings on a remote server20:42
DobuntuI think I may have found something though20:42
_rubenDobuntu: sounds like altering the /etc/hosts file, which would only apply to the host itself, not for external requests20:42
Dobuntuyes 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:43
_rubendepends on how dns is handled for your (new) domain20:44
Dobuntuwell I am sharing space with other sites in one slice as it were20:45
Dobuntudoes that help?  Please forgive me I am very new to server admin20:45
DobuntuI just found out today that I need to set up a real server by Saturday!20:45
_rubenwhich dns entry do you want to create ?20:45
Dobuntubut 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 bit20:46
DobuntuJust one to allow people to type http://example.com and go to my Drupal site in the proper folder20:47
PiciHow many people?20:48
_rubendepending on who maintains the dns servers for "example.com", you'll need to contact them (or their control panel) to make the changes20:48
m_tadeuso there is no less dirty solution to run a script every X seconds or every X minutes?20:48
DobuntuUm, well the site is just going to be a dev site where I help teach some people how to work with Drupal20:48
_rubenm_tadeu: there's alternative cron implementations that do per second 'accuracy' i think20:48
m_tadeu_ruben: what is it?20:49
_rubenm_tadeu: dunno any names of specific ones, but i know they're out there ;)20:49
DobuntuI guess I simply need to map an ip addy to a hostname20:50
=== lifeless_ is now known as lifeless
DobuntuIn help.ubuntu I see some info there so perhaps I am already looking at what I need to learn20:50
_rubenDobuntu: the procedure for a single local host is quite different compared to a hostname that should be resolvable on the internet20:52
guntbertm_tadeu: see http://www.linuxquestions.org/questions/programming-9/seting-cron-to-run-a-script-every-second-425623/#post3319818 for the "hack"20:52
DobuntuI 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:53
_rubenDobuntu: 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:54
DobuntuI have domains that I can map to yes20:55
Dobuntuthough I did forget that when setting up the new addy20:55
Dobuntuwhich will need to be purchased20:55
Dobuntuor I will scrap that and just use a subdomain20:55
_rubenfigure 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 changes20:59
Dobuntuthanks _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
DobuntuI added the vhost before purchasing the name as you so rightly pointed out!21:01
Dobuntuwhat can I say im a total newbie!21:01
_rubengotta start somewhere to get rid of that status ;)21:02
Dobuntuawesome...  I will be working on it.21:02
Dobuntuthanks again21:02
_rubennp :)21:02
toddnineHi 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:10
_rubenraid0 over partitions on a single drive ??21:11
_ruben(never used aws tho)21:11
toddnineCorrect, I create the block devices which are basically empty hd's21:12
_rubenpartitions arent disks21:12
_rubenoh, and you line got cut off at "if I wait a few"21:12
RoyKheh - setup 10 partitions and run raid0 over them and wait for the final prize21:12
m_tadeu_ruben: thanx21:13
toddnineYet 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 storage21:13
RoyKtoddnine: for a start - use LTS releases for servers21:13
toddnineRoyK:  Ok, so use 10.04 instead21:14
_rubencould very well be an aws specific issue, some race condition for instance, or setup delay21:14
_rubenor wait a bit for 12.04 ;)21:14
toddnineThat's what I thought too.  I was seeing it directly after attach21:14
RoyKtoddnine: 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 down21:15
toddninehowever I left these drives attached and un assembled for 24 hours21:15
toddninecame in this morning and it won't assemble21:15
_rubenpresumably aws' storage has redundancy underneath it...21:16
toddninethat'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
RoyKtoddnine: just don't do it - period21:16
_rubenor get nike, then you can just do it ;)21:16
toddnineRoyK:  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 DCs21:17
RoyK_ruben: if you're stupid enouh21:17
toddninehowever, this random fail, then wait 10 minutes and it works is making me nervous.  I either expect it to fail consistently, or work consistently21:18
RoyKtoddnine: i'd use zfs for that21:18
toddnineCan I pause and snapshot it like xfs?21:19
toddnineWe use that for fast backups of the block storage raid devices21:20
toddnineAhh, got old wikipedia21:20
_rubenis zfs in linux even ready for production?21:20
_rubenwhich reminds me, still gotta take nexentastor for a test drive21:21
toddnine_ruben:  Any ideas what may be going on?21:21
toddnineYeah, after a reboot now it's telling me that /dev/sdi6 has a bad superblock.  Wait 5 minutes and it works21:23
toddninereally frustrating....21:23
_rubentoddnine: not really, tho it wouldn't surprise me if it's pretty asw/esb specific21:23
_rubencould be that the aws/esb backends are lagging behind or something, dunno really ;)21:24
toddnineMy 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 issues21:24
_rubenno obvious errors there at elast21:24
_rubenleast21:24
toddnineplus mdadm -E /dev/sdi6 shows it's fine.21:24
toddninethen assemble. works.  time to head over to the AWS forums :)21:26
toddnineThanks for your help guys21:26
toddnineoh one last question21:26
toddninein 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:27
_rubendon't think so, if i understand correctly what you're trying to say that is :)21:28
toddnineYeah, 10 disks on instance A.  Kill instance A then start instance B.  Assemble the same 10 disks on instance B21:28
_rubenif the partition types are raid autodetect, and the meta data is there, it should be fine21:29
_rubenif there's lvm on top of it, you'll need to import that tho21:29
toddnineNah.  Just Xfs for fast snapshots.  If I need a larger array I'll just creat ea new array and copy the data over21:30
toddnine_ruben: cool.  Thanks a lot for your help man, it's really appreciated21:31
MTecknologydoes tcpdump default to capturing all packets including ucp and icmp?22:03
pangrazimTecknology: yes22:13
uvirtbotNew bug: #781386 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/78138622:21
hallynjdstrand: 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 detail22:23
uvirtbotNew bug: #781405 in postfix (main) "Sync postfix 2.8.3-1 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/78140523:07
LenhixHello. 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:46
lechonhello, does anyone know how to connect to a bluetooth device from the command line?23:48
lechonor pair with a device via command line, so no future connections need to pass a pin passkey around?23:49
MTecknologypangrazi: thanks23:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!