[12:29] <shawarma> Well, I'm off to bed.. G'night guys!
[12:30] <ajmitch> night
[01:18] <qman> I have another question...My server has four network cards. They used to be eth0-eth3. One time, after a reboot, eth3 changed to eth4. Is there any way to change it back?
[03:29] <birdman> hey i was wondering if ubuntu supports quad processors
[03:32] <ajmitch> sure
[03:32] <birdman> ok cuz i have a old ibm pc server 704 that is a scsi server with 4 pentium pro's
[03:33] <birdman> is there anything i have to do or just install it
[03:33] <ajmitch> it should just work
[03:33] <birdman> o
[03:33] <birdman> ok
[03:34] <birdman> i also have another server i built its a amd opteron dual core 64bit with 2 opterons will it work with that
[03:37] <ajmitch> should work fine
[03:37] <birdman> k
[03:37] <birdman> now with the scsi server do i need the scsi drivers or does ubuntu have it allready
[03:38] <ajmitch> ubuntu will most likely have the drivers
[03:39] <birdman> and same with the opteron server it needs sata drivers will it have that too
[03:40] <ajmitch> quite likely, yes
[03:40] <birdman> k cool and if it doesnt any linux drivers will work right
[03:42] <birdman> i can get redhat, sco linux, sco openserver, sco unixware, suse linux, turbo linux drivers
[03:45] <birdman> will any of those drivers work
[04:59] <qman> birdman, those drivers won't work, only if you can get the source and compile them, however, all the stuff you need should be built in
[04:59] <qman> standard linux SMP kernels can handle at least 8 processors
[09:58] <dsdg> morning guys!
[09:58] <dsdg> how will I find out the location of my authdaemond socket on ubuntu?
[09:58] <dsdg> lsof | grep authdaemon gives me [/usr/lib/courier/authlib/authdaemond.mysql]  is that it?
[09:58] <shawarma> It's more likely to be found in /var somewhere.
[09:59] <dsdg> /var/run/courier/authdaemon/socket ?
[09:59] <shawarma> Sounds right. :)
[09:59] <dsdg> hehehe
[10:00] <dsdg> ok, let me try, almost done with mailserver just struggeling with sasl and it authing via authdaemond,
[10:00] <dsdg> i am getting warning: SASL authentication failure: cannot connect to Courier authdaemond: Connection refused
[10:00] <ivoks> postfix?
[10:00] <dsdg> yes,
[10:00] <shawarma> 2 things to check:
[10:00] <ivoks> postfix is chrooted
[10:00] <dsdg> no,
[10:00] <dsdg> it's running normal,
[10:00] <shawarma> Permissions on the socket and that you've yanked out postfix from the chroot.
[10:00] <dsdg> no chroot,
[10:00] <ivoks> by default, it is
[10:01] <dsdg> i have checked that in master.cf,
[10:01] <dsdg> by chroot it says n,
[10:01] <dsdg> that right?
[10:01] <shawarma> Sounds sounds right.
[10:01] <dsdg> ok, let me see then, permissions on the socket,
[10:01] <dsdg> srwxrwxrwx 1 root root 0 2007-05-25 14:42 /var/run/courier/authdaemon/socket
[10:02] <ivoks> n for what?
[10:02] <ivoks> smtp?
[10:02] <dsdg> dirty but should work...
[10:02] <dsdg> n by everything ectually, under the chroot space,
[10:02] <dsdg> and for smtp yes,
[10:02] <ivoks> ok
[10:02] <dsdg> so ok, let me add that to my smtp.conf under /etc/postfix/sasl/smtpd.conf
[10:03] <shawarma> Add what?
[10:03] <dsdg> damn, warning: SASL authentication failure: cannot connect to Courier authdaemond: Permission denied
[10:04] <dsdg> add this, /var/run/courier/authdaemon/socket as the location of my socket,
[10:06] <shawarma> dsdg: ls -ld /var/run/courier /var/run/courier/authdaemon
[10:07] <shawarma> dsdg: Just paste the output of that command here.
[10:11] <dsdg> root@dna:~# ls -ld /var/run/courier /var/run/courier/authdaemon
[10:11] <dsdg> drwxr-xr-x 4 daemon daemon 240 2007-05-18 12:25 /var/run/courier
[10:11] <dsdg> drwxr-x--- 2 daemon daemon 100 2007-05-25 14:42 /var/run/courier/authdaemon
[10:12] <shawarma> Alright. And then 'id postfix' ?
[10:12] <dsdg> uid=108(postfix) gid=113(postfix) groups=113(postfix)
[10:12] <shawarma> that's it then.
[10:12] <shawarma> sudo adduser postfix daemon
[10:12] <shawarma> restart postfix, and bam!
[10:13] <shawarma> :)
[10:15] <dsdg> shawarma, hehehe
[10:15] <dsdg> thanks for the help man, you come across as a freakkin genius :P
[10:15] <dsdg> it still gives me the same error though,
[10:15] <dsdg> warning: SASL authentication failure: cannot connect to Courier authdaemond: Connection refused
[10:17] <shawarma> Could you paste your master.conf on pastebin?
[10:21] <dsdg> sure,
[10:24] <dsdg> shawarma, http://paste.ubuntu-nl.org/22837/
[10:25] <shawarma> line 31...
[10:25] <shawarma> Ah, no, never mind.
[10:26] <shawarma> You *did* completely restart postfix, right?
[10:26] <dsdg> yea, let me do that again for you,
[10:27] <dsdg> root@dna:~# /etc/init.d/postfix restart
[10:27] <dsdg>  * Stopping Postfix Mail Transport Agent postfix                                                                                                    [ ok ] 
[10:27] <dsdg>  * Starting Postfix Mail Transport Agent postfix                                                                                                    [ ok ] 
[10:27] <dsdg> root@dna:~# /etc/init.d/saslauthd restart
[10:27] <dsdg> Stopping SASL Authentication Daemon: saslauthd.
[10:27] <dsdg> Starting SASL Authentication Daemon: saslauthd.
[10:27] <dsdg> May 28 09:27:03 dna postfix/master[24405] : daemon started -- version 2.2.10, configuration /etc/postfix
[10:27] <dsdg> now let me send this mail, through my server,
[10:28] <dsdg> warning: SASL authentication failure: cannot connect to Courier authdaemond: Connection refused
[10:28] <dsdg> its that error i cant get rid of,
[10:30] <shawarma> dsdg: That's curious.
[10:31] <ajmitch> yay, upgrade problems
[10:31] <dsdg> i was thinking it might be something to do with /etc/default/saslauthd
[10:31] <shawarma> dsdg: Maybe you could find the pid of the smtp process, run strace on it and see what it actually tries to connect to.
[10:31] <shawarma> ajmitch: feisty->gutys?
[10:32] <ajmitch> sarge->etch :)
[10:32] <dsdg> ok, i will try that now,
[10:32] <shawarma> Oh, dear. :)
[10:32] <dsdg> ajmitch, something i can help you with?
[10:32] <ajmitch> I've got another 12 hours or so before I'll start hearing lots of complaints :)
[10:34] <ajmitch> ok, got it down to mod_ssl not playing along
[10:35] <ajmitch> though the banner claims it's loaded, oh well
[10:35] <ajmitch> as long as it all works right ;)
[10:59] <ajmitch> well, fixed it
[11:00] <ajmitch> <IfDefine SSL> doesn't play well with apache2.2
[11:01] <shawarma> Which part of it?
[11:01] <ajmitch> it seems it doesn't get defined
[11:01] <ajmitch> even though mod_ssl loaded with no problem
[11:01] <ajmitch> of course that line was the only difference from the other etch server I have here
[11:01] <shawarma> It's always been defined on the command line,  i think?
[11:02] <ajmitch> not sure, I just know that it wasn't working otherwise
[11:02] <ajmitch> now I can upgrade a few more packages 
[11:03] <shawarma> Just add -DSSL to your apache command line, and you should be good.
[11:03] <ajmitch> sure, but I've never needed to do that before :)
[11:03] <shawarma> I'm *almost* sure that's the way it has always been defined.
[11:04] <ajmitch> it was working without it in sarge, unless the sarge apache configuration used -DSSL somewhere
[11:04] <shawarma> I think it did.
[11:04] <ajmitch> oh well
[12:36] <spool_> hello, could someone help me with a problem with the apache2.2-common package?
[12:36] <spool_> (on ppc)
[12:37] <ivoks> what kind of a problem?
[12:37] <spool_> when I install it, it doesn't populate the /etc/apache2/mods-available/ folder
[12:38] <spool_> with things like cgi-load
[12:38] <spool_> ... cgi.load
[12:38] <spool_> also no /etc/init.d/apache2
[12:38] <ivoks> hm
[12:38] <spool_> and no /etc/apache2/apache.conf
[12:38] <spool_> it told me I needed to purge and reinstall
[12:39] <spool_> but that doesn't seem to help
[12:39] <ivoks> apt-get --reinstall install apache2.2-common?
[12:39] <spool_> I'll give it a shot
[12:39] <spool_> is it ok if I use aptitude?
[12:40] <ivoks> i guess it is
[12:41] <spool_> aptitude reinstall doesn't seem to change anything
[12:41] <spool_> it runs, but still no config files
[12:42] <spool_> someone else has this problem on the forums I think
[12:42] <spool_> http://ubuntuforums.org/showthread.php?p=2734598#post2734598
[12:43] <spool_> sorry, just to clarify I only got the "purge and reinstall" message when apache2-mpm-worker was being installed
[12:44] <spool_> as a dependency of phpmyadmin
[12:44] <ivoks> this happens only with aptitude, it seams
[12:44] <spool_> oh really?
[12:44] <spool_> should I try plain old apt?
[12:44] <ivoks> or not... :)
[12:45] <ivoks> first of all, what version is that?
[12:45] <spool_> what version is what?
[12:45] <ivoks> of ubuntu
[12:46] <spool_> oh feisty
[12:46] <spool_> (for me, the other guy on the forum is using dapper)
[12:52] <ivoks> do you have /etc/apache2/apache2.conf?
[12:52] <spool_> nope
[12:53] <spool_> running the apache2 binary complains about not-finding it
[12:53] <spool_> (and it's not there, I checked to be sure)
[12:56] <ivoks> and apache2.2-common is installed, hm...
[12:58] <spool_> indeed, much frustration :)
[12:59] <ivoks> try running /var/lib/dpkg/info/apache2.2-common.postinst
[01:00] <spool_> ... is that a binary?
[01:00] <spool_> hold on
[01:01] <ivoks> shell script
[01:01] <ivoks> ah...
[01:01] <ivoks> those are all conffiles
[01:01] <ivoks> beh, silly me
[01:01] <ivoks> dpkg --force-all --purge apache2.2-common
[01:01] <ivoks> apt-get install apache2.2-cmmon
[01:02] <fernando> moin all
[01:02] <spool_> ? which should I do?
[01:03] <ivoks> both, in that order
[01:03] <spool_> ok hold on
[01:04] <spool_> i got two warnings about missing files on the purge
[01:04] <spool_> /var/log/apache2 was empty
[01:05] <spool_> as was /var/cache/apache2
[01:06] <spool_> hey hey!Module authn_file installed; run /etc/init.d/apache2 force-reload to enable.
[01:06] <spool_> I got that for a whole load of different stuff
[01:06] <spool_> should I force reload?
[01:09] <spool_> sweetness localhost is up and ready for drupal
[01:09] <spool_> well... almost :)
[01:09] <ivoks> there...
[01:09] <spool_> should I run the force reload thing?
[01:09] <ivoks> yes
[01:10] <spool_> cool
[01:11] <spool_> ... oh no...:( localhost/phpmyadmin on firefox asks me if I want to download a .phtml file...
[01:11] <spool_> thank you very much though
[01:11] <spool_> I didn't have a clue
[01:11] <ivoks> you didn't install php
[01:12] <ivoks> a2enmod php5
[01:12] <spool_> unfortunally I did install php5
[01:12] <spool_> is a2enmod a command?
[01:12] <ivoks> yes
[01:13] <spool_> this module does not exist!
[01:13] <spool_> ... apparently
[01:13] <ivoks> i wonder how you succedeed in doing this :)
[01:13] <shawarma> spool_: You need to install libapache2-mod-php5
[01:13] <ivoks> apt-get --reinstall install php5
[01:13] <spool_> it's pretty impressive I think :0
[01:14] <ivoks> yeah, that too
[01:14] <spool_> any particular order?
[01:14] <ivoks> no
[01:14] <shawarma> spool_: Just php5 should be fine, actually
[01:14] <shawarma> spool_: It depends on libapache2-mod-php5
[01:15] <spool_> if I remember correctly, I also need to clear firefox's cache...
[01:15] <spool_> hmmm... still tries to download
[01:16] <spool_> oh restart apache?
[01:17] <spool_> restart doesn't do it either
[01:17] <spool_> also the apache (hooray you've installed correctly) page has a few missing image links, but that's not a big deal :)
[01:18] <ivoks> try with other browser or ctrl+shift+r in firefox
[01:19] <spool_> oh I killed the cache
[01:19] <spool_> still didn't work
[01:22] <ivoks> for installing php5 and apache, everything you had to do was: apt-get install apache2 php5
[01:22] <dballester> hi to all
[01:24] <spool_> I began the saga with: aptitude install php5 myphpadmin
[01:28] <ivoks> drop the aptitude, please
[01:28] <ivoks> no need for it
[01:28] <spool_> ok
[01:29] <spool_> I've read so many conflicting opinions on apt v. aptitude
[01:29] <spool_> I'll stick with your advice: you've gotten me this far :)
[01:31] <ivoks> so...
[01:31] <ivoks> apt-get install apache2 php5 phpmyadmin
[01:31] <spool_> done that
[01:31] <ivoks> just to make sure everything is here
[01:31] <spool_> says nothing to be done
[01:31] <ivoks> ok
[01:31] <spool_> except it claims apache2 was 'manual installed'
[01:32] <ivoks> do you have /etc/apache2/mods-enables/php5.load?
[01:32] <spool_> whatever that means
[01:32] <spool_> checking...
[01:32] <ivoks> mods-enabled
[01:32] <ivoks> sorry
[01:33] <spool_> I know :), and the answer is .... NEGATIVE!
[01:33] <spool_> sorry, I've been banging my head against this for some time now :P
[01:33] <ivoks> ok
[01:34] <ivoks> do you have /etc/apache2/mods-available/php5.load?
[01:34] <spool_> nope
[01:34] <ivoks> ok
[01:34] <spool_> interesting eh?
[01:34] <ivoks> apt-get --reinstall install libapache2-mod-php5 php5
[01:35] <spool_> is it ok if it wants to swich from worker to fork?
[01:35] <ivoks> yes
[01:35] <spool_> coo coo
[01:36] <spool_> sorry, prefork (I'll assume you understood)
[01:36] <spool_> 0% [Waiting for headers]  [Connecting to security.ubuntu.com (91.189.89.6)]   
[01:37] <spool_> .... seems to be stuck
[01:37] <ivoks> lol, worked 2 minutes ago
[01:37] <spool_> my luck is fantastic today
[01:37] <ivoks> works now too, but slow...
[01:38] <spool_> up! there we go
[01:38] <\sh> you need check if libapache2-mod-php5 is being catched.
[01:38] <spool_> slowly...
[01:38] <spool_> ok hold on
[01:38] <spool_> yup
[01:38] <spool_> it's on the 'list' as it were
[01:39] <spool_> brr... I just realized how cold I am in this room
[01:39] <ivoks> grrrrrrrrrr
[01:39] <spool_> grr?
[01:39] <ivoks> it won't work again
[01:39] <spool_> ? :(
[01:39] <ivoks> since these are conffiles
[01:39] <ivoks> why are they conffiles, grr
[01:39] <spool_> wow, it feels like I'm running gentoo again
[01:39] <ivoks> just wait till it finish, then we will continue
[01:39] <spool_> except the steps to fix things are sooo much shorter
[01:39] <spool_> done
[01:40] <ivoks> i guess you still don't have /etc/apache2/mods-available/php5.conf
[01:40] <spool_> I'll take a look
[01:40] <spool_> you powers of prediction are uncanny
[01:42] <spool_> *your
[01:42] <ivoks> dpkg --fore-all --purge libapache2-mod-php5 ; apt-get install libapache2-mod-php5
[01:43] <spool_> Module php does not exist!
[01:43] <spool_> ok
[01:43] <spool_> it finished
[01:43] <spool_> and restarted apache
[01:43] <spool_> shall I firefox again?
[01:43] <ivoks> yes
[01:43] <spool_> and php.load has materialized :)
[01:45] <spool_> HOOORAAAYYY@!@!@!@!
[01:45] <spool_> hugs! kisses! ticker-tape parade!
[01:47] <spool_> thank you so much
[01:48] <spool_> so if I need to purge config files I need to dpkf --force-all --purge eh?
[01:51] <ivoks> no
[01:51] <ivoks> just --purge
[01:51] <ivoks> apt-get --purge remove package
[01:53] <spool_> oh... so why did we use dpkg --force-all ?
[01:53] <ivoks> cause you had phpmyadmin which was depending on php
[01:53] <ivoks> and without --force-all it wouldn't work
[01:55] <spool_> ah... so then we can fix things without requiring lots of dependency reinstalls?
[01:55] <ivoks> you shouldn't use that if you don't know what you are doing
[01:57] <jronnblom> anyone have any experience with netbooting and feisty? Im trying to rebuild the initrd sinice I need the piix module for our machines to boot and load IDE support.
[01:57] <spool_> :) I think I have clearly demonstrated how little I know about dpkg, apt, etc.
[01:58] <spool_> also, why is there aptitude and apt-get? ... or is that too long a story?
[01:59] <jronnblom> I have modified the /etc/initramfs-tools/modules and used update-initramfs to rebuild the initrd however at boot it stops after a few seconds and says "ALERT! /dev/ram does not exist" and then drops to a minimal shell
[02:00] <ivoks> spool_: aptitude uses apt-get
[02:00] <ivoks> aptitude is another layer, not needed anymore
[02:03] <spool_> fair enough. so aptitude calls apt calls dpkg? 
[02:03] <ivoks> yes
[02:04] <\sh> jronnblom, you need to change the boot kernel...which is done, afaik via d-i
[02:05] <spool_> weird... I've gotten into trouble before with installing via apt v. installing via aptitude
[02:05] <spool_> so I've tried to be consistent
[02:06] <spool_> and it seemed like I could find more people who thought aptitude was better, so I stuck with it
[02:07] <jronnblom> \sh: Im not sure what you mean by d-i? debian-installer? I did change the initrd.gz to include the piix module on a feisty desktop system and the copied that initrd.gz to the TFTP server
[02:07] <spool_> ironically, gentoo seemed a lot simpler, it just took so long to do anything
[02:07] <spool_> and if something was broken (and that was almost always my fault) I could usually figure it out, but it would take forever
[02:07] <ivoks> jronnblom: http://myy.helia.fi/~karte/ubuntu_pxe.html
[02:08] <\sh> jronnblom, you are booting with a normal pxelinux/dhcp/tftp situation or are you using the netboot from the alternate installation cd? if you use the last one, the boot kernel is different then your production kernel, and you need a rebuild of d-i after you changed your kernel config. 
[02:09] <jronnblom> ivoks: got all that working with dhcpd/tftp and that site is referring to breezy not feisty
[02:09] <\sh> what I mean with "netboot" is that you boot the standard installation boot kernel, which works very good with our d-i 
[02:09] <spool_> well, anyway, I'll get back to useful things so you can help others: thanks very very much
[02:10] <ivoks> your problem is that root is not /dev/ram
[02:10] <ivoks> but /dev/rd/0 iirc
[02:11] <jronnblom> \sh:Im booting the vmlinuz file from netboot.tar.gz but the initrd.gz is from an running desktop system. I suppose the problem is that the initrd.gz in the netboot.tar.gz is a special one that I can't replace with the netboot from a running system?
[02:11] <ivoks> right, you can't
[02:12] <jronnblom> ivoks: there is no /dev/rd/0 on my system and also no /dev/ram
[02:12] <\sh> jronnblom, that's right...most propably the initrd in the netboot.tar.gz comes from d-i run...there is a special linux kernel for d-i things
[02:14] <jronnblom> \sh: so how do I modify the initrd.gz that is in the netboot.tar.gz to include the piix module? Can it be done with the initramfs-tools in an easy way? Or do I have to unpack the initrd.gz and manually edit the /etc/module (whatever its named) and copy the piix somwhere in the initrd.gz?
[02:14] <jronnblom> Or is there a new feisty d-i kernel with piix in it somewhere? Official or not ;)
[02:15] <\sh> jronnblom, last time I changed the initrd I just compiled the module with the correct kernel version, and moved it into the initrd
[02:15] <\sh> that worked
[02:15] <\sh> and today, I just use FAI to install my servers, even with special kernel..that's more easy 
[02:16] <jronnblom> \sh: So you recommend FAI instead of d-i and preseeding?
[02:17] <\sh> jronnblom, I don't recommend anything, but if you have a couple of servers which needs to be reinstalled very fast, fai is much better then using d-i and preseeding.
[02:17] <\sh> it's more flexible, but needs more brain to setup
[02:18] <\sh> you can add your own repositories for kernels and special software without breaking anything from ubuntu
[02:19] <\sh> jronnblom, take a look at http://www.informatik.uni-koeln.de/fai
[02:19] <\sh> jronnblom, fai is a debian project, and very good supported by ubuntu community, naming siretart and my person
[02:20] <jronnblom> \sh: Ah, i'll look into FAI again. I heard about it when I started looking at preseed but it's a bit hard to see what differentiates the automatic installtion systems that exist today
[02:24] <\sh> jronnblom, fai is a system like jumpstart from solaris
[02:24] <\sh> jronnblom, but it's even more flexible..
[02:24] <\sh> jronnblom, I'm installing not only debian or ubuntu with it, but suse, redhat etc.
[02:25] <\sh> jronnblom, the only thing you need to have is a server with ubuntu/debian and fai on it..dhcpd , pxelinux and tftp is straight forward
[02:27] <jronnblom> \sh: I only run Ubuntu now and few old Trustix 2.2 server which where installed by kickstart (redhat) so I have to replace kickstart with something and got stuck on the piix module in feisty :( 
[02:28] <\sh> jronnblom, shermann@shermann-home:/lib/modules/2.6.20-15-generic/kernel$ find . -name "piix*" 
[02:28] <\sh> ./drivers/ide/pci/piix.ko
[02:29] <\sh> jronnblom, it should be also in the initrd from the boot kernel...or it's in the boot kernel from feisty server edition
[02:34] <jronnblom> \sh:hmm, so then it should work out of the box... Maybe I got confused by the need to load piix when booting from the CDROM
[02:35] <jronnblom> :\sh: is FAI faster then preseeding?
[02:35] <\sh> jronnblom, 6 minutes for a plain ubuntu server on a dl360
[02:36] <ivoks> + 2 weeks to set it up :D
[02:36] <\sh> nope...1 hour
[02:36] <\sh> whem I'm doing it ;)
[02:36] <\sh> (without the download of the ubuntu archives ;)))
[02:37] <jronnblom> haha ;)
[02:37] <\sh> brb smoking and catching a beer
[02:41] <\sh> to be honest, I have my config space for fai always on my usb stick :)