[12:50] <Innatech> Is there a patch for Quagga yet? https://bugs.launchpad.net/ubuntu/+source/quagga/+bug/48848
[12:50] <ubotu> Launchpad bug 48848 in quagga "[Dapper SRU]  Assertion failure in OSPF" [Medium,Confirmed]  
[12:51] <Innatech> grr. :(
[04:08] <lousygaruserver> hello, i've just noticed that the root's home folder on my server had 0755 permissions
[04:09] <lousygaruserver> is that known and default? bcoz i thought that /root is a safe place for passwords and keys, which is not readable by anyone by default
[04:32] <Pumpernickel> Passwords aren't stored in /root, they're in /etc/shadow.
[11:28] <Michael_T_King> clear
[11:32] <Eversun> hello is 7.4 good for server?
[11:54] <Michael_T_King> Heres one for you
[12:42] <dendrobates> morning all.
[12:44] <soren> dendrobates: Hi, Rick. You're up early?
[12:44] <dendrobates> damn babies
[12:45] <`6og> heh
[12:56] <`6og> (asking again in hope) - does anyone ehre have experiance with courier imap?
[12:56] <`6og> i'm wondering about high (90+%) cpu utilisation when copying email from antoehr system
[12:58] <dendrobates> `6og: it's been a while, but that seems extremely high.  
[12:59] <`6og> dendrobates, thats what i thought, but felt its worth asking
[12:59] <`6og> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
[12:59] <`6og> 10356 kgoetz    17   0  7800 5468  844 R 85.3  0.3 131:23.17 imapd
[12:59] <`6og> 85's about as lwo as it gets
[12:59] <`6og> *low
[01:02] <dendrobates> do you have the sysstat package installed
[01:03] <`6og> no
[01:04] <dendrobates> that package contains iostat and other tools that can be used to record system performance
[01:04] <`6og> just fixing my sources.list and installing it atm. :)
[01:04] <dendrobates> might be useful if this as an ongoing problem.  
[01:05] <`6og> it happens every time i try to copy any large amount of email over
[01:08] <`6og> large is anything from a few hundred to 35,000, just fyi
[01:10] <`6og> i wonder if its something to do with the dma/irq bit of my world. the harder i thrash the cpu the slower the network runs (or so it seems to me)
[01:11] <`6og> later mate
[02:49] <jim> I'm having difficulty installing CGI perl module. Any documentation I don't know of?
[02:58] <soren> jim: Which module and which version of Ubuntu?
[03:03] <jim> I just want to be able to execute cgiscripts on my Ubuntu Linux 6.06.1
[03:03] <jim> I thought I only needed cgi.pm
[03:08] <soren> jim: Apache can execute cgi scripts as it is.
[03:09] <soren> jim: Depending on your actual CGI scripts, you may need glue code of various shapes and colours.
[03:09] <jim> soren: I can't execute and don't know why. I am using perl
[03:11] <soren> jim: Look, to get a helpful answer, it helps if you provide some specific information about: a) what you're trying to achieve, b) what you've done, and c) what happened?
[03:13] <jim> soren: sorry, let me try. I've installed ubuntu lamp server. php works but perl cgi does not. Perl is installed and I can use it from command line but not from web with cgi
[03:13] <soren> jim: The information you've given me so far corresponds to calling the IKEA help desk saying "I've bought something from you. I can't assemble it. It's blue." and expecting them to guess which piece of furniture you're trying to assemble and that you tried to stick knob X into hole Y, while you should have poked nail J into hole Z.
[03:14] <soren> I'm not trying to be offensive, I just find that analogies often make a point come across better. :)
[03:14] <jim> lol... sorry again
[03:14] <soren> jim: What's the script? Where have you put? What happened? What did you expect to happen?
[03:15] <jim> I'm managing server via webmin, and can see other perl modules, but cgi module won't install
[03:15] <soren> What's the script? Where have you put it? What happens? :)
[03:16] <soren> And where did you install webmin from? It's not in Ubuntu (we yanked it out long ago).
[03:16] <jim> The script simply displays its own code and does not execute. It is chmod 755
[03:17] <jim> is there an alternate to webmin that is prefered?
[03:17] <soren> You've now answered "what happens".
[03:17] <soren> What's the script? Where have you put it?
[03:18] <jim> it is in /home/jim/public_html/cgi-bin
[03:19] <soren> jim: There's your problem.
[03:19] <jim> where should they be ?
[03:19] <soren> jim: By default, random users are not allowed to run arbitrary scripts like that.
[03:20] <soren> jim: /usr/lib/cgi-bin
[03:21] <jim> soren:I'll try now
[03:26] <jim> soren: I've moved the file, now the browser cannot find it.
[03:27] <soren> jim: How are you trying to access it?
[03:28] <jim> soren: my-ip-address/~jim/cgi-bin/script.cgi
[03:29] <soren> jim: You've moved it.. It's at ip-adress/cgi-bin/script.cgi
[03:29] <jim> soren: my-ip-address/cgi-bin/script.cgi shows internal server error
[03:30] <soren> jim: Then you cgi script is probably broken.
[03:30] <soren> jim: You'll find more info in /var/log/apache2/error.log
[03:34] <jim> soren: Premature end of script headers: env.cgi
[03:34] <jim> (2)No such file or directory: exec of '/usr/lib/cgi-bin/env.cgi' failed
[03:35] <jim> soren: above are the error's I've found
[03:35] <soren> What happens if you type /usr/lib/cgi-bin/env.cgi in a terminal?
[03:36] <jim> -bash: /usr/lib/cgi-bin/env.cgi: /opt/bin/perl: bad interpreter: No such file or directory
[03:36] <soren> ...
[03:38] <dendrobates> edit the cgi script and correct the first line to point to the  correct location of perl.
[03:38] <soren> jim: " I can use it from command line "
[03:38] <soren> jim: ?
[03:39] <jim> soren: Its working now. I had the perl path wrong and of course the file in the wrong place.
[03:39] <dendrobates> yeah :)
[03:39] <jim> soren: Thanks for your patience and your help .... !
[03:39] <soren> np
[03:43] <jim> soren: what about a webmin replacement? I found webmin here. http://www.howtoforge.com/node/1388
[03:45] <infinity> webmin is the devil's tool.
[03:45] <soren> jim: Well, you can get security holes in all sorts of shapes and colours now.
[03:45] <soren> jim: webmin is great for that.
[03:45] <soren> jim: But I'm almost sure that's not what you want it for?
[03:47] <jim> devil's tool ??!!
[03:47] <soren> jim: But if that's what you want webmin for, you can replace it with a wide variety of stuff. The easiest is probably a compiled version of securityhole.c in your cgi-bin.
[03:47] <jim> soren: I can remove it and just run from the command line if I have too. 
[03:48] <soren> jim: I'm trying to use humour to show you that you've asked a question that has no simple answer. I can't tell you what to replace webmin with, if I don't know why you've installed webmin to begin with.
[03:49] <soren> jim: What are you trying to achieve?
[03:49] <jim> soren: I only wanted to manage the server remotely, without using command line
[03:49] <jim> soren: I actually only need it while configuring it and getting it up and running
[03:50] <soren> soren: "Manage" can mean a lot of things. A combination of http://www.thinkgeek.com/geektoys/warfare/8a0f/ and a simple script can be turned into a clever way to "manage" your power button on your server.
[03:50] <soren> jim: What *specifically* are you trying to achieve?
[03:51] <soren> jim: ^^ The power button management system comment was for you too.
[03:51] <jim> soren: I was only setting up the server so I could learn more about linux and also practice developement of web/php/perl ... etc
[03:53] <soren> jim: So... When I ask: "What do you want to achieve?", you answer: "I want a webserver, that can interpret php and perl scripts".
[03:53] <jim> ahh well... yes
[03:53] <soren> jim: For that, you open a terminal, type "sudo apt-get install libapache2-mod-php5". That installs apache, a php5 interpreter and you already know where to put perl scripts.
[03:53] <soren> jim: No webmin.
[03:54] <soren> jim: webmin is the answer to a question noone should ask.
[03:54] <jim> soren: I'll remove it promptly. thanks
[03:55] <dendrobates> soren: doesn't ebox answer the same question?
[03:55] <soren> dendrobates: No.
[03:55] <soren> dendrobates: Let's play Jeopardy :)
[03:55] <soren> dendrobates: 'I'll take "Stupid software" for 1000, Alex'.
[03:56] <dendrobates> soren: sorry, you seem like you need someone to give you a hard time.
[03:57] <soren> dendrobates: '"Stupid software" for 1000: "This software is a completely useless way to transform a configuration file into a html form"'. BZZZZZTTTTT! "What is webmin?" 
[03:57] <soren> \o/ I win!
[03:57] <soren> :)
[03:58] <`6og> :)
[03:58] <dendrobates> soren: it's amazing how popular it was 7 or 8 years ago.  until redhat learned the error of it's ways.
[03:59] <`6og> whats amazing is that its still sort of popular
[03:59] <soren> ebox asks you questions. Your answers are then turned into a set of configuration file settings, possibly spread out over several packages.
[03:59] <dendrobates> it comes form commandlinephobia.
[04:00] <soren> webmin takes the config files from disk, puts a <input type="text" names="foo" />  where you'd normally put stuff into the config file. When you've put stuff in, you click "save" and it writes it back to disk. It's just a retarded, webified, configuration file editor.
[04:00] <`6og> how many nameservers can you have in /etc/resolv.conf?
[04:01] <`6og> iirc its unlimited...?
[04:01] <soren> 3
[04:01] <`6og> ah ok
[04:01] <soren> # define MAXNS                  3       /* max # name servers we'll track */
[04:01] <`6og> is that 3 nameserver+1x search?
[04:01] <soren> from /usr/include/resolv.h
[04:01] <infinity> (manpages are good for this)
[04:01] <soren> You can put more, but they'll probably be ignored.
[04:02] <soren> infinity: Amazingly so :)
[04:03] <soren> search can have 6 entries.
[04:03] <soren> All on the same line, IIRC.
[04:03] <soren> mathiaz: Good morning.
[04:04] <infinity>               The search list is currently limited to six domains with a total of 256 characters.
[04:04] <infinity> Really, manpags are good. :)
[04:04] <infinity> (And yes, it's all on one line)
[04:04] <dendrobates> welcome mathiaz
[04:04] <mathiaz> soren: good afternoon
[04:04] <mathiaz> dendrobates: hi
[04:05] <dendrobates> I'm finally back on my normal schedule.  damn travel.
[04:06] <soren> dendrobates: You were remarkably quiet at the meeting yesterday when Colin asked if everyone had gotten home safely :)
[04:06] <dendrobates> I figured it didn't need repeating.  It's a long story.
[04:08] <soren> dendrobates: :)
[04:43] <benlake> anyone running 6.06 and and trying to add a service to logwatch get this error:
[04:43] <benlake> *** Error: There is no logfile defined. Do you have a /etc/logwatch/conf/logfiles/<service> file ?
[05:10] <coNP> what do you think about bug 127180
[05:10] <ubotu> Launchpad bug 127180 in squid "Install squid in chroot by default" [Wishlist,Triaged]  https://launchpad.net/bugs/127180
[05:11] <coNP> it is a kind of "change default"
[05:11] <coNP> (bug 127184 is similar)
[05:11] <ubotu> Launchpad bug 127184 in bind9 "Installing bind9 in a chroot" [Undecided,New]  https://launchpad.net/bugs/127184
[05:11] <Kamping_Kaiser> i thought bind chrooted itself?
[05:11] <mathiaz> coNP: In the squid bug, it is suggested that there is the option to install a chroot
[05:12] <mathiaz> coNP: when installing a package.
[05:12] <coNP> Kamping_Kaiser: me as well
[05:12] <coNP> mathiaz: you mean asking the user if she wants it in a chroot or not
[05:12] <mathiaz> Kamping_Kaiser: I don't think so. You have to configure the chroot.
[05:12] <mathiaz> coNP: Yes.
[05:12] <Kamping_Kaiser> hm.
[05:13] <mathiaz> coNP: but not in the default install.
[05:13] <coNP> seems fine
[05:13] <mathiaz> coNP: Just that the package has the ability to install itself as a chroot if the user wants it.
[05:47] <nealmcb> could someone with the right permissions change this ssh bug from "invalid" to "won't fix" to mirror the recent upstream change?  https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/36907
[05:47] <ubotu> Launchpad bug 36907 in openssh "scp won't handle remote -> remote file transfers that require password authentication" [Medium,Invalid]  
[05:47] <mathiaz> nealmcb: done
[05:50] <nealmcb> mathiaz: thanks!
[05:51] <jetole> hey guys, I know this is too server specific but since I do run servers and since you guys are smarter then 98% of the people in #ubuntu I have to ask, how do I tell the apt/dpkg system that I don't want it to ever upgrade package X?
[05:51] <jetole> *is not too server specific 
[05:52] <infinity> echo "packageX hold" | dpkg --set-selections
[06:06] <benlake> anyone running 6.06 and and trying to add a service to logwatch get this error: "*** Error: There is no logfile defined. Do you have a /etc/logwatch/conf/logfiles/<service> file ?"
[06:06] <benlake> the file does exist, BTW
[06:11] <jetole> infinity, thank you
[06:14] <mralphabet> benlake: does it have permissions to write to it? does it have the same permissions as the rest of the log files?
[06:15] <benlake> it has the same permissions as the stuff in /usr/share/logwatch/.. and I'm starting it as root in my testing so it could write to it if it wanted, but I dont think it needs to write anything
[06:22] <benlake> mralphabet: that answer your question?
[06:31] <mralphabet> benlake: yes, but it doesn't answer yours ;(
[06:32] <benlake> mralphabet: :P
[06:32] <benlake> mralphabet: you have any custom services setup?
[06:32] <mralphabet> benlake: no
[06:32] <benlake> mralphabet: and by custom I mean I've pulled it from a 7 box onto my 6.06 :)
[06:36] <mralphabet> benlake: right, no ;(
[06:36] <benlake> mralphabet: I have a feeling itll work if I shove it in /usr/share, but ugh
[06:37] <mralphabet> benlake: hah, probably
[09:26] <hansin321> I know the server edition used to have a different kernel than regular Ubunut (optimized for server environment).  Is that still the case?
[09:27] <mathiaz> hansin321: there is linux-image-server
[09:31] <hansin321> mathiaz: Ok, that is right.  Soemthing was said on a different channel that had me thinking ubuntu server was moving to use the same kernel as plain ubuntu.  Thanks.
[09:32] <mathiaz> hansin321: I think that -bigiron was dropped a couple of weeks ago.
[09:33] <hansin321> mathiaz: Maybe that was the issue.  I'll look into it, just out of curiousities sake...
[09:58] <donspaulding> does anyone know of a way for me to supply a password to sudo from my python script?
[10:00] <eddie> Is ubuntu - server light weight?
[10:00] <eddie> or packed with junk?
[10:00] <donspaulding> yes
[10:01] <eddie> okay.. *downloads*
[10:02] <kshahnjd> does ubuntu server come with an sshd? if not could i get a recommendation on what to install?
[10:03] <donspaulding> it comes with openssh http://packages.ubuntu.com/edgy/net/openssh-server
[10:05] <kshahnjd> this is a rook question but, how can i get a list of currently installed packages or can someone link me to a basic command list
[10:06] <kshahnjd> i suppose all debian commands will work
[10:06] <mathiaz> kshahnjd: yes. all debian commands will work.
[10:08] <kshahnjd> so, the command 'sudo apt-get install openssh-server' works, but how do I specify to grab the files from another source, like an online repository
[10:08] <kshahnjd> instead of the cd
[10:08] <donspaulding> you need to edit /etc/apt/sources.list
[10:09] <donspaulding> uncomment the online repositories there, but comment out the ones for the CD if you don't plan on keeping it in the drive forever :)
[10:09] <kshahnjd> so uncomment the 'backports' lines?
[10:10] <donspaulding> if you want yes.
[10:10] <kshahnjd> oh nvm, just comment the cdrom lines, there are many repositories defined in the file
[10:10] <donspaulding> right
[10:16] <benlake> anyone have some experience with customer services for logwatch in 6.06?
[10:27] <kshahnjd> an anonymous user in terms of ftp is not a guest user right?
[10:27] <donspaulding> in what context?
[10:28] <kshahnjd> like, I disabled anonymous login to vsftpd, and I can't login at all, it won't give me a chance to authenticate
[10:28] <kshahnjd> so what is an anonymous user then?
[10:29] <kshahnjd> i've never used a linux ftpd so I'm a bit confused, I use filezilla server on windows
[10:29] <kshahnjd> *normally
[10:33] <donspaulding> did you enable local user login after disabling anonymous?
[10:33] <kshahnjd> no, i'm going to now
[10:33] <kshahnjd> local users are ones that have accounts on that server
[10:34] <donspaulding> correct
[10:34] <kshahnjd> okay, so the admin account, whatever it is, will have a proper authentication
[10:35] <kshahnjd> nice, it works, beautiful. thanks
[10:35] <donspaulding> np
[10:37] <kshahnjd> this is so easy i'm never running a windows server again
[10:38] <donspaulding> glad to hear it :)  Although they can serve their purpose in large organizations.  I've never seen an OSS product that compares with Active Directory for ease of implementation or management.
[10:40] <kshahnjd> I have to install Trac now, but that means python has to get installed first
[10:40] <donspaulding> hmm, interesting that you should mention that, hold on a second.
[10:41] <hansin321> eddie: I love the default install.  It is light and you decide at that point what to add.
[10:41] <hansin321> eddie: With apt-get (or whatever) after you did the install...
[10:41] <eddie> hansin321.... So its definitly worth it?
[10:42] <donspaulding> kshahnjd: python is installed by default, have a look at this:http://pastebin.com/f2aad93cc
[10:42] <eddie> Whats the text based installer like? Complicated?
[10:43] <eddie> Ah nevermind
[10:43] <hansin321> eddie: I think so.  I am running it on a 350mhz PII / 392M ram and two NICs.  It is my firewall/gateway and I host some services on it.  I liked it immediately.  I have loaded Red Hat, etc. where it loads tons of junk that I didn't need.  Sure, there maybe be more 'leet' ways of getting the same effect, but for an 'out of the box' experience, I have been very happy with Ubuntu Server.
[10:43] <kshahnjd> donspaulding: oh wow :)
[10:44] <donspaulding> It's an outline of getting SVN/Trac installed and creating new projects
[10:44] <eddie> hansin321: Awesome ... Ill try it later :D
[10:44] <donspaulding> I based it off of this excellent guide: http://trac.edgewall.org/wiki/TracFeisty
[10:45] <donspaulding> He has everything there, but it's not arranged very nicely, since he installs and creates a project all at once
[10:45] <kshahnjd> wow, thank you, probably saved me an hour of fumbling around
[10:45] <eddie> 500meg disc... nice
[10:45] <donspaulding> like I said, interesting that you mentioned that, since I'm working on a python script that does all that right now
[10:46] <kshahnjd> automagically connects all the components?
[10:46] <hansin321> eddie: Installer is pretty straight forward.  Text based, but nothing too tricky.
[10:46] <donspaulding> well, creates new projects, the rest of that is all a one time setup, and not nearly as difficult as it looks
[10:46] <eddie> okay... cheers hansin
[10:47] <kshahnjd> let me give this a shot
[10:47] <eddie> hansin321: Does it have ssh server package on the disc?
[10:47] <donspaulding> good luck
[10:47] <hansin321> eddie: I can't remember, but if not you can 'sudo apt-get install ssh-server'.
[10:48] <hansin321> eddie: Also (and someone correct me if this is a bad idea), but I use the 'ubuntu-firewall' program from here: http://rob.pectol.com/content/view/2/1/
[10:49] <hansin321> eddie: It is just a script I think that allows you to configure it.  I find it is pretty simplistic and works well.
[10:50] <hansin321> It has a config files that lets you set things like ports to open, if you want to do nat, etc.  I think it just sets all the iptables rules for you, but in a light-weight manner.
[10:51] <hansin321> eddie: Oh, ssh-server on disk?  Not sure, but very likely.
[10:51] <eddie> oKAY
[10:51] <eddie> Okay*
[10:54] <eddie> yay, 62gb's to copy over the network again :|
[10:54] <eddie> I have a direct pc-pc connection through an ethernet cable
[10:54] <eddie> I get about 10/megabytes a second
[10:54] <eddie> is that good?
[10:55] <novavision> anyone around?
[10:56] <novavision> I need some help setting up an ubuntu server with lampp
[10:56] <Nicke> eddie: That would be 80 mbit/s.. so yes, if the nic's only handle 100 mbit, that's probably good :)
[10:56] <eddie> Nicke: Okay .. :)
[11:07] <eddie> Installation time... :p
[11:15] <kshahnjd> hey donspaulding, so far so good, but i hate running commands if i don't know why they work, I assume chown changes ownership of a file or folder, and the -R appears to be recursion, but what the heck is www-data:www-data
[11:19] <donspaulding> that's the user and group that you are changing the ownership to
[11:19] <donspaulding> www-data is the service account that apache runs under
[11:21] <donspaulding> Windows has a few (poorly utilized) equivalents to service accounts, think of it like IWAM_computername for IIS
[11:21] <kshahnjd> I see, understood
[11:21] <kshahnjd> so can I print out a list of users from the shell?
[11:21] <kshahnjd> and if so, www-data should appear?
[11:21] <kshahnjd> 'users' just lists me, and me via ssh
[11:21] <donspaulding> yeah, I'm not sure what the best way to do that is though, I usually just do 'cat /etc/passwd'
[11:22] <donspaulding> that prints out a list of all user accounts and a good number of details about them
[11:22] <donspaulding> 'users' lists all user accounts currently logged into the system
[11:23] <kshahnjd> got it
[11:24] <eddie> the server installation didnt ask for a password
[11:24] <eddie> how do I set one?
[11:24] <kshahnjd> oh, it (trac) wants to use sqlite, no problem if I ask it to use mssql?
[11:25] <donspaulding> I don't think it works with mssql, sqlite is fine if you're just testing, it comes preinstalled with python and you don't have to do anything to configure it
[11:25] <kshahnjd> I meant mysql, sry
[11:25] <donspaulding> oh, yeah, mysql's supported
[11:26] <kshahnjd> I don't know how to specify the line though
[11:26] <kshahnjd> they're format is [sqlite:db/trac.db] 
[11:26] <kshahnjd> [mysql:db/trac.db]  ? :)
[11:26] <donspaulding> you'll have to look up the syntax for that line on trac's website
[11:26] <kshahnjd> kk
[11:27] <donspaulding> should be more like mysql://user@host:port/db_name
[11:27] <kshahnjd> mysql://root@localhost:3306/trac i guess, let me see
[11:28] <kshahnjd> i wonder if the db has to be created b4
[11:30] <kshahnjd> nope :) failed
[11:33] <eddie> Setting a root password  anyone?
[11:33] <kshahnjd> uh oh, if I try to initenv again it says does the environment already exist, and so clearly yes it does, but the db connection is screwed up
[11:33] <kshahnjd> now I gotta modify that setting manual and complete the init
[11:33] <kshahnjd> eddie: for what?
[11:34] <eddie> Ubuntu server
[11:34] <eddie> It didnt ask to set one during installation
[11:34] <kshahnjd> passwd
[11:35] <eddie> dont I need to be root to do that though?
[11:35] <kshahnjd> try it, if not sudo passwd
[11:36] <eddie> ah yeah
[11:36] <eddie> cheers
[11:37] <eddie> "Host key verification failed."
[11:37] <eddie> damn ssh :|
[11:37] <eddie> Im such a n00b with it
[11:38] <donspaulding> heading out now, good luck kshahnjd
[11:38] <kshahnjd> hehe, thanks, i f*ed myself with the mysql thing
[11:38] <eddie> does anyone know why I cant connect to my other PC?
[11:38] <kshahnjd> gotta screw with tracadmin now i think
[11:39] <eddie> RSA host key for  ********* has changed :|
[11:41] <lcdd> eddie: ssh is comparing the server's host key against one that you have previously saved. you need to remove the old key.
[11:41] <eddie> lcdd: How would I go about doing that? o.o
[11:42] <lcdd> eddie: right next to the error ssh should say which file contains the key
[11:43] <eddie> okay
[11:43] <eddie> Add correct host key in...
[11:43] <eddie> that file ( after that )
[11:45] <eddie> awesome ... thanks lcdd 
[12:00] <BFTD> OH CRAP, I just got a kernel panic
[12:02] <BFTD> VFS unable to mount root partition(0,0)