[02:55] Is there a way to give apache more cpu time??? [02:56] My server is overloaded load averade 157.0 but CPU utilization is at 7.6%.. [02:56] obviously there must be a bottleneck somewhere... [03:01] anyone? [03:08] well...no expert on that subject, but cpu util% is not very useful when comparing with load [03:09] but yes...load is high so you need to determine what is causing the load [03:09] you can up the priority, but not sure that is what you want [03:11] zoopster, my webpage is not responding.. and my cpu utilization is high.. I got 2 gigs of ram and a quad processor.. i don't understand how I'm overloaded. [03:12] and apache is taking up resources or why do you suspect apache - just because the page isn't loading? [03:12] zoopster, because I look at TOP and I got like 150 apache threads open. [03:12] ah [03:16] See if you can bring up my site. http://mexicoetal.com/ and it was all wokring just fine until I stumbled one of my pages on stumbleupon and loads of traffic starte flowwing it. [03:16] so it is working hard - in that case I would lower that to something the machine can handle instead of increasing the priority [03:17] still trying to load [03:17] yeah, but lower what?? [03:21] fbc: The value of the MaxClients directive, perhaps? [03:21] zoopster, I lowered my KeepAliveTimeout to 2 and did an /etc/init.d/apache2 reload so that It would take effect but it's still locked up... [03:22] jmarsden, thanks I will try that.. will that require a restart or just a reload? [03:23] Restart I think, but it has been a while since I did that in an "emergency, too many requests" type of situation! [03:23] I think a restart, but not sure. [03:26] ok it just came up... whew... [03:26] Yes, it seems somewhat more responsive now... [03:26] I lowered the maxclients to 100 [03:26] New bug: #308063 in samba (main) "package samba 2:3.2.3-1ubuntu3.3 failed to install/upgrade: package samba is not ready for configuration" [Undecided,New] https://launchpad.net/bugs/308063 [03:27] cool...was going to throw that out... - came right up for me fbc [03:28] zoopster, jmarsden , I guess I'm gonna layoff the stumbleupon until I figure out how to properly load balance and test my server [03:29] zoopster, jmarsden , i went from having 16kb of memory free to 1 gig and a half again. [03:29] snag some tools for testing it - not sure what may work well - jmarsden may know [03:30] zoopster, thanks a bunch. [03:30] fbc: ab is the canonical test tool for web server load, but what really works depends on how dynamic your site is, etc... [03:31] jmarsden, I can't enable the cache in joomla because it makes my virtuemart go bananas, and product links being to fail etc,etc,etc... [03:32] You should talk to the Joomla and/or virtuemart people about that specific issue. I'm used Jommla before but am not any sort of expert on it. [03:33] fbc: good luck [03:33] Maybe ask in #joomla ? [03:33] jmarsden, yeah, I've contributed code and small bug fixes. By no means do I actually consider myself a programmer. :-) [03:33] thanks everyone [03:34] No problem. [03:49] jmarsden, sorry to bug ya, but just out of curiosity, If my maxservers is set to 100 what will my 101th client see? network timeout? [03:49] site not found? [03:50] No, the server will just queue the request until it has finished dealing with the 1st client... [03:50] There *is* a max queue length but I don't think you need to play with that. [03:51] Lowering MaxClient basically says "don't try and respond to too many people at the same time". [03:52] jmarsden, ahh that makes sense. [03:53] * fbc is showered by enlightenment and a beam of light appears over his head. [03:53] * jmarsden wishes he was there to see this amazing light show :) [04:43] goodnight all. === Oliber_ is now known as Oliber [09:00] morning sleepyheads. === selinuxium_ is now known as selinuxium [10:01] nijaba > configuration management tools? :) [10:01] puppet coming in main? \o/ :P [11:17] moin [11:24] how can I see or start logging what debmirror does? === ogra_ is now known as ogra [11:31] I dropt out, anyone who answered my qestion while I was gone? [11:32] <_ruben> add --verbose [11:32] does it log to file then? [11:33] <_ruben> stdout [11:58] whats the difference between ubuntu-server and say plain debian ? [12:00] support times to start with [12:00] ah [12:00] also quite different ways of handling the distros. [12:29] hi all, i have an ubuntu server installation that i want to convert to a production server (point it to a domain). i've got the dns side of it done, but what do i need to do on the machine? when i installed it, i specified a local hostname [12:31] the main thing that i'm actually interested in is how to properly configure mail on the server. will the actual domain and the hostnames conflict? how do i ensure that i don't get treated as spam? [14:18] i thought that the ebox issue had been resolved for 8.10 [14:20] hmm does init.d script starts automcatally when system starts? [14:20] Mal3ko, what? [14:21] scripts in /etc/init.d/ [14:21] if the script (service) is enabled then yes it should [14:22] how to know if it's enabled? [14:23] Mal3ko: There is an rc-update script, or update-rc for checking and changing [14:25] my real problem now is..im trying to edit the "auto start" command that pure-ftpd uses in my server..but im confuse and how no idea how i could do that.. [14:25] have no idea* [14:26] is the command stored in its init.d script? [14:27] Mal3ko: What do you mean edit the auto start? [14:27] services i mean.. [14:28] its command parameter [14:29] Mal3ko, /etc/init.d/ [14:29] man update-rc.d [14:32] does anyone have sample config for pure-ftpd? [14:35] Mal3ko, https://help.ubuntu.com/8.10/serverguide/C/index.html [14:36] thanks but i couldnt find anything on pureftpd in that page.. [14:41] hmm seems folks are using vsftpd [14:42] <_ruben> its config setting *might* reside in /etc/default/pure-ftpd .. which in turn gets sourced by /etc/init.d/pure-ftpd [14:42] Mal3ko, i would just google for a howto [14:43] and imo i would READ and not use someone elses considering what works for others may not work for you [14:48] <_ruben> oh right, debian/ubuntu have their own wrapper around pure-ftpd, of which the config resides under /etc/pure-ftpd/conf [14:48] <_ruben> see: man pure-ftpd-wrapper [14:49] what's the relation with pure-ftpd-wrapper with pureftpd init.d script? [14:54] wouldn't it be much easier if they make pureftpd looks for config file in its config folder when starting up..if no config is present then use default setting..rather than confusing newbies with unnecessary wrapper and whatnot [15:31] hi all, i've got a mailman installation at a third level subdomain (lists.x.y.com) but all of the urls for mailman seem to point towards the principal domain (y.com). how do I fix that? [15:56] I'm looking at purchasing a PowerEdge 2950 III to run 8.04. any experiences regarding this? just want to make sure I don't get a RAID controller that won't be supported [15:57] so, about this screen talk.. [15:57] ah, nevermind. finally managed to find some info in the forums :) [16:01] frippz: I think that one uses PERC . The older 2450 and 2550 I have here work well [16:01] very similar discussion in #centos over the past few mins, 3ware and LSI cards are the flavour of choice [16:01] kees: jdstrand: is the last comment at the bottom of this page true? http://dev.mysql.com/doc/refman/5.0/en/password-security.html [16:02] genii: true, but there's also the SAS 6/iR [16:03] I might've been reading old material but someone in the forums experienced problems with SAS 6/iR (that was with 6.06 LTS though) [16:05] Oliber: I'm guessing LSI == PERC in this case? [16:06] i don't know tbh, i thought PERCs were Adaptec cards [16:06] never done dell though [16:09] kirkland: while /proc//environ seems safe enough, I'd have to agree that it seems risky [16:10] jdstrand: superm1 is trying to find a secure way to pass mysql the password [16:11] kirkland: how did he obtain the password to begin with? [16:11] jdstrand: debconf question [16:11] jdstrand: is this in a .config and .postinst [16:11] kirkland: is that a question to me? [16:12] jdstrand: sorry, thats a statement [16:12] s/^is// [16:14] kirkland: I'm confused-- what is superm1 trying to do exactly? [16:15] jdstrand: in mythtv postinst [16:15] jdstrand: it needs to do a bunch of stuff in mysql [16:15] jdstrand: he prompts for the mysql password in debconf [16:16] jdstrand: i added a snippet of code to check if the entered password was correct, and a loop to prompt again if not [16:17] jdstrand: http://bazaar.launchpad.net/~ubuntu-mythtv/mythtv/mythtv-fixes/revision/148 [16:17] jdstrand: the concern is about: [16:17] echo "show databases;" | mysql --host="$HOST" --user="$USER" --password="$PASSWORD" [16:17] leaking the password to the command line [16:19] kirkland: I wonder if you can put your sql into a text file and do something like: [16:19] /usr/bin/mysql --defaults-file=/etc/mysql/debian.cnf -e "\. ${tmpfile}" [16:21] kirkland: that's pretty ugly though [16:27] hey guys how do ya'll manage multiple ubuntu servers? [16:27] puppet :) [16:28] yann2, but puppet is for systems that are 'alike' right? [16:28] define alike [16:28] are very similar [16:28] not really no [16:28] like same services and setups [16:28] is clever software :) [16:29] oic i was reading a article and it compared them all, cssh, cfengine, puppet even rsync [16:30] cssh and rsync, compared to puppet? :) [16:30] yeah [16:30] not compared but use cases [16:30] it said puppet was aimed at systems w/ similar setups [16:31] but cfengine looks very difficult to setup initially [16:31] dont know cfengine [16:31] i wish there was a node/hub approach [16:31] where you have nodes that are managed thru a central webui or desktop app [16:31] like VirtualCenter [16:32] but more flexable and refined [16:36] brb [16:43] wow, dell really needs to get its shit together when it comes to their web site [16:44] Greetings... I need a hand with chroot failing. [16:44] it has taken me 2 hrs to put together a system [16:44] using chroot from kubuntu 8.1 livecd to chroot to my ubuntu 8.04 disk... I get the error :: chroot: cannot run command `/bin/bash': Permission denied [17:13] kirkland: yeah, it is. I always forget about that. [17:16] Fenix|work: You're using the partition desgnation which has / and not another like /home or /boot ? [17:19] genii, yes... I think it's a dynamic/linked directory issue ... for instance /pu/lib64 points to /lib which are the wrong libraries [17:19] * dynamic library / linked directory issue === luke_ is now known as lukehasnoname [17:22] Fenix|work: Did you do bind-mounts of the livecd /proc /dev and /sys into the old / mountpoint as well? [17:22] I *knew* I was forgetting something [17:22] that was common setup practice with gentoo [17:25] genii, ok... dev, dev/pts, dev/shm, /proc, /sys and /tmp are bound [17:26] Fenix|work: Still getting permission denied or so? [17:26] yes... /pu/lib64 is linked to /lib [17:26] wrong libraries [17:27] Fenix|work: I'm not sure how to fix that one [17:27] I think a static version of bash would be helpful [17:29] Hmm. You might be able to specify busybox as shell [17:31] how? [17:40] Fenix|work: Something like: chroot /mnt/oldroot /usr/lib/initramfs-tools/bin/busybox [17:40] Apologies on lag, my connection got flakey [17:40] genii, failed [17:41] Fenix|work: You had separate /usr partition ? [17:44] genii, nope [17:44] OK [17:44] Fenix|work: I'm out of immediate ideas [17:46] rdiff-backup --exclude /home/me/.mozilla/**/Cache /home/me /blah/backup is not working as I expected [17:46] /home/me/.mozilla/me/Cache is being backed up, I'd thought it would not be [17:47] genii, there appears to be a package called bash-static in universe [17:47] just uncommented out universe from sources.list and am updating [17:47] The format works for rsync, rdiff-backup uses similar options types [17:48] Fenix|work: I don't think you could just transplant it in however. [17:48] The dpkg db etc will get weirded [17:48] we shall see... should work... the kernel is the same, and the libraries are built into the source [17:58] bash-static works [17:58] it's just a binary [17:59] but once in, everything else is borked [18:01] Fenix|work: May be time for a reinstall [18:03] Is there a way to run a cron job ONLY if there was a dirty shutdown? === RoAk is now known as RoAkSoAx [19:01] genii, I got in :) [19:01] is there a package for ubuntu-server like there is ubuntu-minimal and ubuntu-standard? [19:02] Fenix|work: Good. Lots of hoop-jumping, I imagine [19:02] Oooh yeah... messed up library permissions [19:02] Fenix|work: No, it's done by tasksel and no meta-package [19:02] so how can I re-install without deleting anything? [19:03] Fenix|work: Run tasksel and select LAMP [19:03] my problem is my jr. admin b0rked all the permissions... did a chmod -R 664 * [19:04] * genii thinks about jails [19:05] Fenix|work: 664 means no execute bit [19:05] thats hard to start chmod again now [19:05] henkjan: Hence explaining his earlier "permission denied" on the default shell binary when trying to chroot in [19:06] henkjan, hence all my problems :) [19:06] bash: /usr/bin/man: Permission denied [19:06] sheesh [19:07] ah, reading backlog right now :) [19:07] Fenix|work: You should probably +x /bin /usr/bin /sbin and /usr/sbin [19:08] genii, the problem is I did... /usr/bin/man is linked to /usr/lib/man-db :) [19:09] unfortunately tasksel install doesn't 'do' anything [19:09] I guess because it's already installed [19:10] Fenix|work: I suspect if you try to install overtop without formatting the old setup, it will just obey the umask/perms and not write anything anywhere [19:10] that appears to be the case [19:11] genii, I guess I'm going to have to settle for apt-get --reinstall install adduser alien apache2 apache2-mpm-prefork apache2-utils apache2.2-common apparmor apparmor-utils apt apt-utils aptitude at base-files base-passwd bash bash-completion belocs-locales-bin bind9-host binutils bsdmainutils bsdutils build-essential busybox-initramfs bzip2 command-not-found command-not-found-data console-setup console-terminus console-tools coreutils [19:11] cpio cpp cpp-4.2 cron cvs dash debconf debconf-i18n debhelper debian-archive-keyring debianutils defoma dhcp3-client dhcp3-common diff dmidecode dnsutils dosfstools dpkg dpkg-dev e2fslibs e2fsprogs ed eject emacs22 emacs22-bin-common emacs22-common emacsen-common ethtool expect fdutils file findutils fontconfig fontconfig-config friendly-recovery ftp fuse-utils g++ g++-4.2 gcc gcc-3.3-base gcc-4.2 gcc-4.2-base gettext gettext-base gnup [19:11] g gpgv graphviz grep groff-base grub gsfonts gzip hdparm hostname html2text id-utils ifupdown info initramfs-tools initscripts inputattach installation-report intltool-debian iproute iptables iputils-arping iputils-ping iputils-tracepath klibc-utils klogd laptop-detect less libacl1 libapache2-mod-perl2 libapache2-mod-php5 libappconfig-perl libapr1 libaprutil1 libasound2 libatk1.0-0 libatm1 libattr1 libbeecrypt6 libbind9-30 libbit-vecto [19:11] r-perl libblkid1 libbz2-1.0 libc6 libc6-dev libcairo2 libcap1 libcarp-clan-perl libchart-perl libck-connector0 libclass-accessor-perl libcomerr2 libcompfaceg1 libcompress-raw-zlib-perl libcompress-zlib-perl libconsole libconvert-asn1-perl libconvert-binhex-perl libcroco3 libcrypt-ssleay-perl libcupsys2 libcurl3-gnutls libcwidget3 libdate-calc-perl libdatrie0 libdb4.6 libdbd-mysql-perl libdbi-perl libdbus-1-3 libdevel-symdump-perl libde [19:11] vmapper1.02.1 libdjvulibre15 libdns32 libedit2 libelfg0 libemail-abstract-perl libemail-address-perl libemail-date-perl libemail-messageid-perl libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-modifier-perl libemail-mime-perl libemail-send-perl libemail-simple-perl . [19:11] oooh, sorry [19:11] AAAAAAAAAAAAAAAAAAAAAA [19:11] accidental paste [19:11] got the list from using dpkg -l [19:12] You can use the dselect get-selections bit to grab a list of what you have now, offload it somewhere then use it to set-selections [19:12] dpkg -l | grep "^ii" | awk '{ printf "%s ", $2 }' [19:12] !clone [19:12] To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude --disable-columns --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » - See also !automate [19:12] Something like what the bot describes.... [19:13] !automate [19:13] Ways to automate installation of Ubuntu on multiple machines are described at https://help.ubuntu.com/8.04/installation-guide/i386/automatic-install.html - See also !cloning [19:13] genii, what's the difference with how I'm doing it? [19:13] Interesting, I think they changed the !clone factoid recently [19:13] besides it's a two-step [19:14] haha... aptitude: unrecognized option `--disable-columns' [19:15] Fenix|work: However you grab a list of your installed packages doesn't really matter. When you use the get-selections/set-selections method it will auto try to install them next time you use the packaging system [19:15] genii, well as it stands, my system is b0rked and won't boot... so this may help out [19:19] genii... since I got b0rked perms... should I be considering adding ubuntu-standard to the list? [19:20] or starting with ubuntu-standard then the rest... ? [19:26] Fenix|work: ubuntu-minimal then do the tasksel/LAMP is my recommendation [19:26] Fenix|work: Unless for some reason you are running a gui on it [19:26] no gui [19:26] meta packages are useless and don't work... typing them out by hand [19:28] Fenix|work: I don't know why you are bothering with installing overtop, as I said earlier probaby total reinstall is needed. [19:28] I'd personally backup any data and reinstall. [19:29] Pici: Exactly [19:29] well... I will... but I'm also lucky I'm not at 8.1 yet [19:29] I've been asked to try and fix this [19:30] while I'm waiting for hardware === rgreening_ is now known as ghost === ghost is now known as Guest98214 === Guest98214 is now known as ghost_ === ghost_ is now known as rgreening_ [19:46] Anyone here who can test some spamassassin updates? [19:49] * Faust-C mumbles to himself [19:49] About testing spamassassin updates? [19:49] no about everything [19:49] i have too much to do [19:49] genii, hehe, another little problem [19:49] and not enough exp to do it all [19:49] Ah. Well so do I. That's why I'm looking for testers ... [19:49] update-initramfs PANIC Circular Dependency [19:49] i want to use "request-tracker", "horde", "zabbix" and so forth [19:50] Faust-C, where the Hell have you been? [19:50] ScottK-laptop, what/how do you want to test [19:50] luke_, busy as sh** [19:50] Fenix|work: Which would be ? [19:50] nice thing is it doesn't say [19:50] luke_, i have so much to do i needed to try to 'focus' [19:50] runs when it trys to update initramfs [19:51] Faust-C: It's just a question of installing a package from *-proposed and verifying that the RBL fixes described in https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/278075 are there and working. [19:51] Launchpad bug 278075 in spamassassin "DSBL is gone and needs to be removed from SpamAssassin" [Medium,Fix committed] [19:51] Faust-C: What Ubuntu release(s) do you run? [19:51] atm 8.10 [19:51] in production [19:54] Faust-C: Then you're probably getting the incorrect dsbl.org scores on your system. [19:54] It'd be good if you could install from intrepid-proposed and see if that fixes it. [19:55] heh the real issue is myself [19:55] genii, ok... how do I reinstall without formatting? :) [19:55] I've had enough [19:56] Fenix|work: Why do you want to re-install? [19:56] Fenix|work: I'd pull off whatever is imortant data or such, and do clean [19:56] ScottK: His junior admin chod -R 644 everything [19:56] thanks genii [19:56] *chmod [19:57] Yes. That's best. [19:57] That and don't give said individual the password after the reinstall. [19:57] boot live cd and chroot [19:58] and then change perms [19:58] Faust-C: Already went thru that. Because his fs is not +x on the binaries it chinks out [19:58] Faust-C, would work normally but EVERYTHING is fubared [19:58] oic... [19:58] I can actually boot the OS [19:59] but the moment dpkg --configure -a runs ... update-initramfs says PANIC Circular Dependancy [19:59] ah hell web-brower asks to save or open php file, what do i have to change in apache to make it work [20:01] and I have a funky raid too [20:01] :) [20:05] genii, ScottK-laptop ... dumb question ... most everything else is on another drive... what should I backup on the OS? [20:05] home directories are empty [20:06] I guess just conf files in etc? [20:06] Depending on what you are using, there may be stuff in /var you want too. [20:07] this is a CVS/LAMP box [20:07] /var/www is remapped to the other disk [20:07] Probably just /etc then, but no guarantees. === rgreening_ is now known as rgreening [20:11] any way to export passwd/shadow so I can import them again on the new box? [20:11] there's a lot of user accounts [20:12] You should be able to reuse it [20:12] oh and what about mysql databases? [20:12] Those are normally in the /var hierarchy [20:12] I have backups... but they're several hours old [20:19] ScottK-laptop, genii ... /etc /home /opt /var should be good enough no? [20:20] I'd think. [20:20] Fenix|work: Well, that should at least grab your db, user dirs, conf files and whatever optional things then [20:21] well... I needed to upgrade 8.04.1 to 8.1 anyway :D ... might as well do it this way hehe [20:21] jdstrand: hey, just wondering if ufw does any locking to ensure only one instance is modding the conf files. I'm going to start implementing the code using your API (assuming I can get it to load as a module). [20:22] while I'm installing things from scratch... is there any utility that tracks /etc conf file changes? [20:22] etckeeper [20:23] Fenix|work: I think you may have difficulties reinstating those dirs however. Because the perms on the stuff you copy will be the messy 644 [20:24] genii, I'm not planning a copy... for conf files I'm gonna open them and paste them in the good ones... for the database files, I'll verify the permissions one by one. [20:25] Fenix|work: Sounds like a plan. Tedious but neccesary. You should enlist the admin who messed them up to help on their own time.... [20:25] genii, I'm still mad at him... and I don't trust him [20:26] I've already had him put back on probation for 6 months [20:26] "Here's your task for tonight. No, you aren't getting paid. Don't leave until it's done. If you get tired the coffee pot is over there." [20:27] ScottK-laptop: Thats how I had to make things right when I was learning and messed something up :) [20:27] Seems fair to me. [20:27] rgreening: hi! there is no locking, no. I use mkstemp() and then copy the files into place [20:28] ok [20:28] * genii makes another pot of coffee [20:30] procmail standard ubuntu fair? [20:30] Yes. [20:31] I think we're switching to using Dovecot for lda in Jaunty, but for Intrepid, yes. [20:32] k [20:33] Is it possible to run a command and provide an environment variable only for that execution? Like this "BLAH=something /path/to/command" [20:33] Yes [20:37] How are the virtual host tools like in Intrepid? [20:39] I'm trying to use wondershaper to limit BW, and it's not working. The traffic dips for a second, then returns right back to it's previous level and stays there. Anyone else seen this? [20:43] ScottK-laptop: thanks :) [20:54] Ok! So I now have a fresh virgin Intrepid system... now I'm installing etckeeper [20:55] ScottK-laptop, any suggestions on configuring etckeeper? [21:14] Any reason why I shouldn't run duplicity with the --full flag every time? I don't need to keep versioned data on my remote system, but I want it encrypted. [21:14] s/it/the remote data/ :) [21:19] ScottK-laptop, looks like dovecot is default in Intrepid [21:22] how do I configure dovecot to NOT use local mbox? [21:22] I want everything forwarded to a smarthost... when tasksel ran I said satellite [21:25] Fenix|work: Do that in Postfix, not in Dovecot. [21:25] *sighs* ok [21:31] heh === RoAk is now known as RoAkSoAx [21:47] ScottK-laptop, how do I manage recovering my passwd and group files? [21:47] it isn't as easy as replacing the old ones, is it? [21:48] The group file should be easy enough as it's just a flat text file. [21:48] The main trick is making sure the users get the same UID. [21:50] I think if you have the same UID, then you can reuse the passwd file, but I've never tried it. [22:05] soren, You're younger than I thought [22:08] luke_: That's funny, because I'm older than I usually think I am. :) [22:08] heh [22:09] You know so much, I would have put you in the late 20s at youngest [22:10] luke_: I'm 27. :) [22:10] oh damn [22:10] haha === luke_ is now known as lukehasnoname [22:31] Is Fedora Directory Server better than OpenLDAP? [23:01] lukehasnoname: you know HP changed their entire enterprise directory server, from a restrictred/closed source software to OpenLDAP? [23:02] they changed everything this year [23:02] every mail, every customer login, etc, etc === ScottK2 is now known as ScottK-desktop