/srv/irclogs.ubuntu.com/2010/07/17/#ubuntu-server.txt

qman__I'm setting up postfix as an internet mail server, and it's asking me if I want to use procmail for local delivery. What's the difference?01:53
qman__I've set up postfix for internal mail plenty of times, but I've never run into this question01:54
qman__guessing it's new in lucid01:54
qman__also, it's not covered in the server guide01:56
qman__they just give a list of answers without the questions01:56
qman__and they don't match up with the current state of the debconf questions01:57
=== XyliosPC1 is now known as Xylios
enzoplexI'm using irssi. Is there a way to remove all of the join/parts ?02:07
qman__sorry about that, DNS quit working properly02:09
pmatulisenzoplex: yes, but ask in #irssi02:51
=== dendro-afk is now known as dendrobates
lamontqman__: you have your debconf priority set lower than you have in the past - the questions haven't changed in a very long time.03:38
lamontthat is, just hit return and take the default, and you'll see what you would have seen if the debconf priority was higher.03:39
qman__lamont, that makes sense, but following the guide precisely gives a different set of questions than the answers given follow03:40
qman__this is a fresh install, nothing else getting in the way03:41
lamontqman__: that's because normally (and for whoever wrote the guide), the debconf priority was higher, so they didn't see that question and it just got given the default answer without prompting03:41
lamontinteresting03:41
lamontthe procmail question only comes up if procmail is installed, but I had thought it was low03:42
lamontyeah.  procmail is a low priority question, so unless you've done something to make debconf start asking everything (like an error during the install...), you wouldn't get asked that question03:43
qman__I simply did `sudo dpkg-reconfigure postfix` as shown03:43
qman__for reference the procmail question comes after the listen addresses and before the mailbox size limit03:44
lamontsounds about right from my recollection of writing those questions several years ago03:45
lamontso... it's possible that the default for dpkg-reconfigure was changed to be low instead of high, dunno03:46
lamontbut the postfix debconf questions haven't changed in an eon03:46
qman__not a big deal, just thought it might help if the questions were listed as well to avoid that problem03:46
lamontmight not hurt, esp if the default priority changed03:46
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
MTecknology!info varnish04:23
ubottuvarnish (source: varnish): a state-of-the-art, high-performance HTTP accelerator. In component universe, is optional. Version 2.1.0-2 (lucid), package size 296 kB, installed size 964 kB04:23
hggdhyeah, seems interesting. See the Communications of the ACM, July 201004:30
=== bastidrazor is now known as bastid_raZor
cs1guys04:52
cs1i need help here04:52
cs1is there any default LDAP password??04:52
enavHola gente estoy buscando una alternativa al artisteer para editar plantillas de joomla... alguna buena sugerencia???????05:00
cs1guys05:08
cs1how do i trace my LDAP password??05:08
cs1is there anyway i can see the LDAP password??05:08
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
netwidget hi, new to Ubuntu, installed ubuntu server 10.04 without domain name for local domain.  how do I do this after install?07:44
=== rmk- is now known as rmk
=== dendro-afk is now known as dendrobates
joschihi, I have a problem with the a dynamic file template in rsyslog. it seems rsyslogd wants to write to the log files in /var/log/%HOSTNAME% before the directory was created.10:46
joschiat least in normal mode. in debug mode, it creates the directory just fine.10:46
joschiI've posted details about my configuration, the error message and part of the debug output under http://pastie.org/104838910:46
joschiit could be related to Bug #484336 (https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/484336). changing the owner of /var/log to the user 'syslog' works, but I'd rather avoid that10:46
uvirtbotLaunchpad bug 484336 in rsyslog "/etc/rsyslog.conf permissions incorrect/missing for creation of dynamic files" [Undecided,Confirmed] https://launchpad.net/bugs/48433610:46
uvirtbotLaunchpad bug 484336 in rsyslog "/etc/rsyslog.conf permissions incorrect/missing for creation of dynamic files" [Undecided,Confirmed]10:46
tarvidwhy does the kernel add to cache when that causes increase in swap used?11:40
tarvidis there a way to control how aggressively  memory is cached?11:42
tarvidis there a way to reduce total swap?11:42
joschitarvid: you can control that behaviour with sysctl parameter vm.swappiness11:45
joschitarvid: also see https://help.ubuntu.com/community/SwapFaq#What%20is%20swappiness%20and%20how%20do%20I%20change%20it?11:45
tarvidthanks - current value is 6011:47
tarvidis there such a thing as cachinerr?11:47
tarvidis there such a thing as cachiness?11:47
qman__tarvid, what are you trying to do, exactly?12:02
tarvidavoid terrible situations where swap grows out of control and cached is large12:03
qman__the system will never use swap to cache12:04
qman__it only uses free memory to cache the disk12:04
tarvidthere seems to be some "tipping point" where a sudden demand brings the server to its knees12:04
tarvidi'd rather not cache than swap12:04
qman__caching should not mean swapping, ever12:05
qman__it would be fairly pointless to cache the disk in swap, which is just another disk (or often the same disk)12:05
eventyretGot some issues with permissions denied when running echo server1.example.com > /etc/hostname12:05
eventyret/etc/init.d/hostname restart12:05
eventyret:/12:06
tarvidroot@helen:/usr/sbin# free -m12:06
tarvid             total       used       free     shared    buffers     cached12:06
tarvidMem:          3711       2865        845          0        302       158912:06
tarvid-/+ buffers/cache:        973       273712:06
tarvidSwap:        10691        148      1054212:06
joschieventyret: forgot `sudo`?12:06
eventyretjoschi: naah i used sudo as well though i made a thing here it was hostname.sh start12:06
eventyretfollowing this guide http://ubuntuforums.org/showthread.php?t=119788312:06
qman__tarvid, lower your swappiness12:07
qman__it will then do less caching to free more memory12:07
tarvidlike 10?12:07
joschieventyret: you used sudo in the wrong place? ;)12:07
qman__yeah, try 1012:08
joschieventyret: `sudo echo foo > bar` for example won't work the you'd expect12:08
qman__if it's still swapping unnecessarily, lower further12:08
eventyretwell12:08
qman__of course, you already have more than enough free to hold what's in swap12:08
eventyretjoschi: this gives me an error as well echo ns1.YOURDOMAINNAMEHERE.com > /etc/hostname12:08
qman__which simply means it decided that memory won't be needed any time soon12:08
joschieventyret: yes, of course. /etc/hostname is only writable by root.12:09
eventyretGives me -bash: /etc/hostname: Permission denied12:09
eventyret*doh*12:09
qman__eventyret, using redirection doesn't quite work with sudo12:09
eventyrethehe ^12:10
qman__the first part will be root, but the redirection won't be12:10
eventyretmight be that12:10
eventyretits a VPS so :)12:10
eventyretbut even their guide sucked12:10
eventyretso only root can change hostnames and such12:10
qman__I just use sudo -i, then do whatever I needed12:10
eventyretwhat is sudo -i ? :)12:10
qman__there is probably a way to quote it into a single command but I don't know12:10
joschieventyret: `man sudo`12:10
qman__sudo -i invokes a root shell12:10
eventyretahhh ok :)12:12
eventyret*shurgs* how to exit manual ><12:12
eventyretI know im fresh but i though it was Ctrl X like in nano ><12:12
eventyretq :D12:12
eventyretworked :P12:12
tarvidthanks joschi qman__  it takes a week or so to test but I am monitoring with cacti12:13
qman__tarvid, it's far more likely that a memory leak is causing your issue, but that will make it wait longer to swap things12:13
qman__also ten gigs of swap is an awful lot12:14
tarvidI didn't choose that, it was the default and a lot less would be preferable12:14
tarvidis there a safe way to reduce the size of the swap partition?12:14
qman__swapoff, resize the partition, swapon12:15
qman__but that will just leave that space unused12:15
tarvidpretty standard lamp+postfix+mailman installation12:15
tarvidgot lots of space12:16
qman__on systems with plenty of RAM, I generally just don't do swap at all12:18
tarvidstill on 9.10, php issues with drupal and python issues with google apps12:19
tarvidI'll take a look at 10.4.112:20
qman__I'm keeping my desktop on 9.10 for a while, a lot of people had trouble with it, but my upgrade went smooth and I've got it just the way I like it12:20
tarvidme too, some issues like transcode12:21
tarvidi ran across a NID system that could work on IPtables but I forget what it was12:22
tarvidMy server gets hammered periodically12:22
qman__try the iptables recent module12:23
qman__great way to limit the request rate per IP12:23
tarvidany tricks to install? prerequisites?12:25
qman__I think it's included in the default install for ubuntu12:26
qman__a good explanation of how to use it: http://www.debian-administration.org/articles/18712:27
qman__the example situation is solved better other ways, but the information there is good anyway12:28
tarvidnot just ssh, i watched msnbot banging user/register repeatedly the other night in spite of robots.txt and rejections by the server12:31
qman__right12:31
qman__just change the port specified and the counts and such12:31
qman__it works for any type of connection12:31
tarvidthat means I have to think12:31
qman__of course12:32
qman__but you only have to think once12:32
qman__script it, and be done12:32
tarvidI have the Gerald Ford problem and much is floating around in my mind12:32
tarvidwherever I left it12:33
qman__and yeah, msnbot purposely ignores robots.txt and is especially brutal12:40
tarvidlooking through the auth log and I have a number of failed attempts on vsftpd12:41
uvirtbotNew bug: #606630 in vsftpd (main) "package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/60663013:01
eventyretdoes this channel cover questions about DNS stuff :)13:28
eventyretexit13:32
gnoobHi guys. I have a ubuntu-server with 4 identical disks. 1Tb each. Running RAID5. Each disk has a partition of 6Gb free space before raid-partitions start. sda1 (6Gb) has Ubuntu on it.  I would like to make something substituting RAD1 using dd to clone sda1 to sdb1.14:01
gnoobIs this possible?14:01
gnoobwant the server to keep running from sdb1 if sda fails..   But sending me a e-mail :)14:02
gnoobanyone with good advices?  (my first time doing this :))14:02
gnoobI would have to set boot priority in bios to sda first and if no sda -> sdb I guess..   BUt afraid dd, and identical partitions (and boot sectors) can mess things up a bit14:04
gnoobRaid1 is probably a better option?  but had some problems with grub..   Any suggestions?14:05
joschignoob: I'd say go with a RAID-114:09
ivo_hi guys I am having a small problem I have soft RAID5 and it meant one of the drives is failed, which is not, because all drives' SMART is ok14:16
ivo_I am now rebuilding it14:16
ivo_but I should be able to use it14:16
gnoobOk raid1 over sda1 and sdb1 then,  but it will slow down performance a little or not? And grub will need to be installed on sdb also right? :)  Thanks for advice joschi14:16
ivo_but It is not avaibe to mount in the disk utility14:16
ivo_I tried to mount it manually14:16
ivo_but because the array is encrypted I get this:14:17
ivo_do mount -o ro /dev/md0 /mnt/tempstore/14:17
ivo_mount: unknown filesystem type 'crypto_LUKS'14:17
ivo_can you help me how to proceed14:17
gnoobI tried raid1 at first,  but had some grub problems..  (but used old disks and IDE over one channel =  slooooow  :p)14:17
joschignoob: yes, it'll marginally cost performance and yes, you'll have to install grub in each mbr14:17
ivo_a link to a manpage will be aso ok14:18
gnoobOk thanks a  lot joschi!!  Ill start getting hands dirty then :)      I will probably return to ask for how the e-mail thing works later :p    want to be noticed when a disk have trouble14:19
ivo_I am not new to linux but have used other unix and unix like systems for a very long time14:19
BeeBuuanyone help me?14:50
BeeBuui follow the article on https://help.ubuntu.com/community/UEC/CDInstall ,when i do the part 5 of STEP 7, it failed~~~14:51
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
uvirtbotNew bug: #566537 in mod-wsgi (universe) "[MIR] mod-wsgi: libapache2-mod-wsgi" [Undecided,Fix committed] https://launchpad.net/bugs/56653716:52
tdr112can you get a 32 bit verstion ?16:56
alisonhello, one of my servers with a gigabit nic keeps connecting and 10 or 100 Mbps, and very occasionally at 1000. Would anyone know why this is??17:27
alisonoh and its connected to a 1000Mbps port on the switch17:28
sorenalison: Line noise, maybe.17:35
sorenalison: bad cable or something.17:35
mestrehola17:42
mestreme pueden ayudar a configurar el ldap con samba17:42
mestrepara autenticacion de usuarios?17:43
mestresomebody?17:49
mestreenglish or spanish?17:51
TrixboxerHi, one small question regarding UEC, in "MANAGED" mode why to use dhcp server.. I got succeed in "SYSTEM" mode for creating instance but IP assignment is not working correctly.. any pointers ?17:57
=== dendro-afk is now known as dendrobates
MrPicardHi Guys, where could i find the most easiest ftp server to setup?19:04
MrPicardThe other question i have is, Where is the config file for proftpd?19:05
remix_tj/etc/proftpd/proftpd.conf afaik19:05
MrPicardTa remix shall give it a go.19:06
MrPicardOk, i type cd /etc/proftpd but it comes up as having no directory19:08
MrPicardany alternative ftp systems?19:09
MrPicardwhen i now connect upto ftpd im given this error.19:16
MrPicardConnection attempt failed with "ECONNREFUSED - Connection refused by server".19:16
uvirtbotNew bug: #606715 in logwatch (main) "Logfile defintions wrong after changes to logfile rotation in Ubuntu Lucid" [Undecided,New] https://launchpad.net/bugs/60671519:21
=== unreal_ is now known as unreal
uvirtbotNew bug: #594372 in tgt (universe) "MIR: tgt" [Medium,Fix committed] https://launchpad.net/bugs/59437220:02
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== unreal_ is now known as unreal
=== dendrobates is now known as dendro-afk
Italian_Plumberat startup, is there a way to cancel a disk check in progress?22:47
hackeronhey, does anyone know a way to get 16 audio input channels into one PC? - I dont need a mixer or anything, basic phono/composite or 3.5mm microphone jack will do22:49
paltItalian_Plumber: Try pressing c22:51
cloakablehackeron: sixteen soundcards?22:52
cloakableor there's likely some specialised kit with that many input channels22:53
hackeroncloakable: tried 2 creative ones and even that caused stability problems22:53
ksovieroWhat are the differences between the generic kernel and the server kernel?  The FAQ points me here: http://www.ubuntu.com/products/whatisubuntu/serveredition/features/kernel, but it is a 404...22:54
ksovierohello?22:58
jpdsHi.23:01
jpdsThe server kernel has less modules built-in I believe.23:01
ksovieroWell, for example, I know it has a PAE extension, that allows up to 64GB or RAM in the 32bit version...23:02
ksovierodoes it have any enhancements for something like asynchronous I/O?23:02
=== dendro-afk is now known as dendrobates
cwillu_at_workany slab guru's around?23:42
cwillu_at_worktrying to troubleshoot an oom that shouldn't be happening23:42
cwillu_at_worksmall allocation is failing even though there's 50+MB of ram free (on an embedded server with 256mb ram)23:42
cwillu_at_workslabtop is reporting an insane number of size-2048 slabs, all in use, and the number increase at a rate of about 1 per second23:43
cwillu_at_workdisconnecting the network cable stops the increase :)23:43
cwillu_at_workbut I'm trying to figure out how to reclaim the space, if such a thing is possible23:43
cwillu_at_workor figure out exactly where the memory is being allocated23:43
cwillu_at_work(rmmoding the network driver doesn't reclaim anything)23:44
sorencwillu_at_work: Try in #ubuntu-kernel. They're more likely to be able to help.23:45

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