/srv/irclogs.ubuntu.com/2009/04/10/#ubuntu-server.txt

PenguinoOk00:00
PenguinoI'll try it00:00
PenguinoI hope it works with apt-get00:00
JanCyou need to install linux-generic or linux-image-generic00:00
PenguinoOh. ok00:00
JanCthose will always depend on the latest -generic kernel00:01
PenguinoOh00:01
GrahznyAh, interesting to explore how it's organized.00:01
PenguinoBut i think I must download it here on desktop, because server can't connect to Internet :D00:02
PenguinoWhoops00:03
PenguinoThanks, JanC00:03
JanCPenguino: in that case you probably best download the latest kernel version directly, and install the linux-generic meta-package once you have an internet connection00:04
PenguinoOk00:05
BullterdEvening All00:53
BullterdI have a ubuntu server x64 install00:53
Bullterdand i just put in a adaptec PCI RAID Card, 16 port00:53
BullterdI have setup 6x 500gb RAID 5 on the card, however, fdisk -l does not show the drive(s)00:54
BullterdHow would I go about setting that up ?00:54
ropetinBullterd: did you prepare the RAID array using the Adaptec utility?00:58
Bullterdprepare?00:58
BullterdI set it up as a logical drive e.t.c00:58
ropetinThat's what I meant :)00:59
BullterdSame as I did when it was a *shudder* M$ Server00:59
ropetinOK00:59
Bullterdbut that was all in the adaptec BIOS config :)00:59
ropetinExactly00:59
BullterdI think it may be driver related :(00:59
ropetinI would guess maybe a kernel module issue, yeah01:00
ropetinWhats the exact model?01:00
BullterdAdaptec AAR 21610SA01:00
ropetinLooks like it's aacraid you need, but not sure if it's enabled as standard or not01:03
BullterdHah01:03
BullterdWhich swiftly brings me along to01:03
ropetinmodrobe it?01:03
BullterdWhy do I keep getting "aacraid host adapter abort request"01:03
ropetinmodprobe even01:04
BullterdUm, How would I do that?01:05
ropetinsudo modprobe aacraid01:05
OscarTgrouchwhat is the best way to block server access to a certain IP?01:15
ropetinOscarTgrouch: iptables?01:16
ropetinOr ufw which is a front end fow ufw01:17
ropetinfor ufw01:17
nitsedyOscar, this should help: http://www.higherpass.com/linux/Tutorials/Iptables-Primer/4/01:18
nitsedythird line down01:18
Bullterdropetin: modprobe aacraid returns nothing01:20
ropetinBullterd: I'm out of ideas then, sorry01:20
=== lamont` is now known as lamont
MTecknologySo - deploying dovecot-postfix - how quickly can I setup a brand new email server?01:35
lamontdepends on how you define "email server"01:38
lamontand how familiar you are with dovecot and postfix01:38
lamontby the 3rd one, I'd expect the answer to be on the order of minutes,  most of which is waiting for hte computer to finish what it's doing01:39
SJr|Workklogd is/was going nuts on my system using almost 100% cpu usage, it is unacceptable01:41
MTecknologylamont: I've done courier/postfix from scratch a couple times in a vm - never dovecort01:41
SJr|WorkI have since restarted the machine, but to prevent this from happening again, I am left with only two options, investigate the cause of the high cpu usage, and correct it. Or failing that, format the machine and install the antithesis of Ubuntu, debian.01:42
MTecknologySJr|Work: well, if it were me, I'd do the first01:43
MTecknologyprobably a whole lot easier01:43
SJr|WorkAny suspects?01:43
MTecknologylamont: is dovecot easier to figure out?01:44
MTecknologySJr|Work: why didn't you kill it to see what else was running?01:44
SJr|WorkI did01:44
infinityMTecknology: dovecot pretty much "just works" for most simple configurations.01:44
infinityMTecknology: So, yeah, I'd call it easy.01:45
MTecknologyinfinity: cool :)01:45
MTecknologyinfinity: anything special for multiple domains?01:45
infinityDepends on what you mean by "mutliple domains".01:46
infinityMultiple domains being delivered to real local users, or virtual users?01:46
lamontMTecknology: dovecot is on my list of things to figure out01:46
MTecknologyvirtual01:46
infinityI don't do virtual users, so couldn't say.01:46
infinityI do "virtual domain" in my MTA, in the sense that they all have their own aliases and such, but back-end delivery still ultimately lands in the mailboxes of real UNIX users.01:47
MTecknologyI would like to keep all mail in /var/spool/mail/virtual/user stored in maildir format - I prefer not having real users01:47
infinityMTecknology: Combining it with something like vpopmail might make the virtual user thing easier.01:49
infinityMTecknology: But yeah.  Not my bag, so I can't be incredibly helful on that score.01:50
MTecknologythanks for the info - I'm excited to use it01:58
BullterdFuck Sakes02:05
* Bullterd starts thinking M$ might be easier02:06
ropetinDoes this help Bullterd?02:11
ropetinhttp://linux.adaptec.com/?p=2202:11
Bullterdyeah i checked that o8ut02:13
BullterdDidnt make any sense, dell have changed the page he links too02:13
Bullterdatleast, I think they did02:13
ropetink02:13
BullterdI love linux02:13
BullterdI fucking hate hardware incompatibility02:14
RS_AsleepyHello02:14
Bullterdello02:14
ropetin!cc02:14
ubottuSorry, I don't know anything about cc02:14
ropetinDoh!02:14
ropetin:D02:14
Bullterd!boobs02:15
ubottuSorry, I don't know anything about boobs02:15
* Bullterd chuckles02:15
RS_AsleepyI'm having a bit of an issue trying to install Ubuntu Server 8.10 :(02:15
RS_AsleepyTrying to boot the Ubuntu Server 8.10 Server CD and it loads as far as "Loading...boot" and goes no further. Any ideas? :(02:15
BullterdChecked the media ?02:15
BullterdDVD / CD Drive OK? (as in, not an old shitey one)02:15
RS_AsleepyTried a couple of different brands of CD. I did put a memtest86+ ISO on one and that booted up no idea02:16
BullterdDunno02:16
RS_AsleepyIt's a VIA Epia 5000.02:16
Sam-I-Amnot trying to fun 64-bit on 32, right?02:16
Sam-I-Amfun/run02:16
RS_AsleepyNope :)02:16
BullterdDang, theres a concept02:17
BullterdXP picks up everything first time02:17
Bullterd:'(02:17
RS_AsleepyI did have a look around and I did notice some people did have issues with the Epia, but they all seemed to be at least able to install it!02:17
Sam-I-Amhave you tried any other linux distros?02:18
Sam-I-Amlike... debian lenny, or ubuntu 9.04 beta?02:18
RS_AsleepyIt has debian on it but I thought I'd give Ubuntu a try02:18
RS_AsleepyNot tried 9.0402:18
RS_AsleepyI did notice there was 8.04 LTS, but I'm not sure if a) thats a wise choice to use b) what the difference is between that and 8.1002:19
Sam-I-Amit has extended support... thats all02:19
LonelyGirl545454Hello all02:19
RS_AsleepyI don't think I'm doing anything daft :)02:20
BullterdLonelyGirl545454: Pics else liez! :D02:20
BullterdLonelyGirl545454: That aside, can I help ?02:20
LonelyGirl545454Im having trouble setting up Jinzora on Ubuntu 8.10 server.  Im following this wiki http://en.jinzorahelp.com/wiki/Linux_Installation_with_shell_access  I've gotten to the part where i set up the permissions.  Then when i direct my browser to the folder i get a "403 forbidden Error" .  Any ideas?02:21
Bullterdropetin: Haha, guess what color my screen just turned02:21
Sam-I-Amyour permissions are wrong :)02:21
LonelyGirl545454=) Hi Sam.02:21
LonelyGirl545454Should i be using something different then "chmod 744 configure.sh"02:22
LonelyGirl545454Im new....SHHHH. =)02:22
Sam-I-Amthats just the script... the 403 is from what the web browser probably doesnt have permission to read02:22
BullterdWhat Sam-I-Am said basically02:22
Bullterdchmod the folder02:23
BullterdLonelyGirl545454: Did the shell script execute OK ?02:23
LonelyGirl545454Is that when i set the permissions.  Im sorry.  Im extremely new to this.02:24
LonelyGirl545454It said it was ready to install and to direct the browser to http://ip/jinzora2 after i set the permissions02:24
LonelyGirl545454Bull should i cd to /var/www and then type chmod 744 jinzora2?02:25
Bullterderm02:25
BullterdLonelyGirl545454: It says you've gotta execute the shell script02:25
Bullterddid you do that02:25
LonelyGirl545454@bull.  i sent you a private message dont know if you received it or not.02:29
LonelyGirl545454Im not sure exactly what part of the wiki has me Executing the shell script.  in all honesty i dont even know what that means.  Please feel free to enlighten me. =).   I've done everything down to the setting permissions part.02:29
MTecknologyThere any guides to deploying dovecot-courier?02:30
MTecknologyI selected it on installatiopn02:30
Sam-I-Amanything in the server guide?02:30
MTecknologynot that i saw02:31
Sam-I-Amgotta be something out there...02:31
Sam-I-Ami'm familiar with cyrus, but not dovecot/courier02:32
MTecknologyi'm sure there is, idk where it's at - that's why I'm asking :P02:32
MTecknologySam-I-Am: in 9.04 there's a dovecot-courier package02:32
OscarTGhow do i list all the servers that are running on my machine>?02:32
ScottKMTecknology: You mean using dovecot with courier-mta?02:33
MTecknologyfirst created user in 9.04 isn't automatically in the sudoers file....02:33
MTecknologywtf02:33
Sam-I-AmMTecknology: it was for me02:33
MTecknologyi tried sudo -s and it said differently02:33
Sam-I-Amis that the user you installed with?02:34
Sam-I-Amwhen it asked for a user02:34
MTecknologyjust installed it - ya02:34
MTecknologyonly user that exists02:35
MTecknologyi ran id and it only shows uid=1000(michael) gid=1000(michael) groups=1000(michael)02:35
Sam-I-Amweird...02:36
MTecknologyextremely - fresh install02:36
MTecknologyI can't fight with figuring it out though... i have no mail server right now :P02:37
MTecknologyhurray for recovery boot02:39
infinityMTecknology: Did you do an "expert" install?02:39
infinityMTecknology: If you do an expert install and set a root password, it bypassed the usual adding-the-first-user-to-admin-groups and such.02:39
infinity(at least, it used to)02:39
MTecknologynope, just standard server install02:40
MTecknologyoh well - all better02:40
MTecknologyonly 80 updates02:41
BullterdI love this.02:42
BullterdLinux's main issue: Hardware compatibility02:42
BullterdWhat do I get? Thats right, Hardware compatibility02:42
BullterdWindows's Main Issue: BSOD's02:42
BullterdWhat do I get? Thats right, a BSOD02:42
Bullterdand wheres my Official ubuntu stress relief ball I bought last week?02:43
MTecknologyperhaps you have bad hardware...02:43
BullterdYep, Cant find it02:43
BullterdMTecknology: Nah, Its not bad02:43
BullterdLinux didnt like my adaptec controller, thats fair doo's02:43
BullterdWindows didnt like not having drivers for my onboard SATA02:43
MTecknologystill nothing found for dovecot-courier...02:44
infinityMTecknology: dovecot-courier wouldn't make much sense, since they both fulfil the same role.02:45
MTecknologys/courier/postfix/02:45
infinityWell, there's nothing to configure to make them work together, really.02:46
infinityBy default, they Just Work.02:46
MTecknology!info dovecot-postfix02:46
ubottuPackage dovecot-postfix does not exist in intrepid02:46
MTecknology!info dovecot-postfix jaunty02:46
ubottudovecot-postfix (source: dovecot): full mail server stack provided by Ubuntu server team. In component main, is optional. Version 1:1.1.11-0ubuntu3 (jaunty), package size 21 kB, installed size 112 kB02:46
infinityFor things like virtual users, you configure postfix to deliver to said virtual users, you configure dovecot to read from them.02:46
infinityJust install dovecot and postfix. :P02:46
MTecknologyI know, one handles delivery and one handles reading02:46
MTecknologyinfinity: I installed that package... idk how to configure it - I've never dealt w/ dovecot before02:47
infinityOr, if you're happier with courier, postfix and courier, or exim4 and courier, or, or, or...02:47
infinityMTecknology: Well, for basic use, it's already configured.02:47
infinityMTecknology: For deeper and crazier configs, the dovecot wiki is good.02:47
MTecknologyhow? it automatically knows everything about everything?02:48
infinityMTecknology: Well, a default setup doesn't have virtual users or anything, so yeah, a default postfix and default dovecot just DTRT.02:48
MTecknologythat makes very little sense that it knows everything about the server environment02:49
infinityMTecknology: What's there to know?02:49
infinityMTecknology: We have filesystem hierarchy standards and such for a reason.  Every MTA and MDA we ship knows where things happen by default.02:49
infinityMTecknology: Until you decide to do something slightly more fun/funky, they all "Just Work".02:50
MTecknologyi never expected anything to be able to happen like that02:50
MTecknologyauthentication is handled by pam?02:51
infinityYup.02:51
MTecknologyand maildir automatically exists for the user?02:51
infinityDon't recall if the default setup is mbox or maildir, to be honest.02:52
MTecknologywhat about multiple domains?02:52
MTecknologyI have 5 of them02:52
infinityMultiple domains to local users is just a question of what domains you ask postfic to accept mail for.  Multiple domains to aliased users would start requiring lookup maps in postfix, I assume, which is out of my scope as an exim user.02:53
infinityMultiple domains to virtual users starts looking at tying something like vpopmail into postfix and dovecot for lookup tables.02:53
MTecknologyalrighty - I'll enjoy knowing that the package exists for smaller setups or single domains - i think I'll resort to my whole massive setup :P02:54
MTecknologythanks :)02:54
MTecknologyinfinity: the setup I was looking at originally uses courier/postfix/mysql/postgrey/sasl/amavis/spamassassin/clamav02:58
infinityWhatever works for you. :)02:58
MTecknologyinfinity: how does the default setup do w/ tls - or is that an extra config?02:58
infinityMine's exim4/dovecot/spamassasin and some other bits.02:59
infinityTLS should be pretty much an out-of-the-box (maybe changing one option?) thing for most of the mail software in the distro.02:59
infinityWe auto-generate snakeoil certs for the lazy, even.02:59
MTecknologyya - I'm going to need to figure out how to get my cert to be used03:00
MTecknologythat'll be fun - I can use the exact same cert for imaps/pops/smtps/https right?03:00
infinityYup.03:01
infinityAs long as they all use the same hostname.03:01
MTecknologyawesome03:01
MTecknologyI figure I have an hour left before email messages start bouncing and not coming back03:03
MTecknologyalmost have postfix configured :D03:35
giovanialmost? :)03:39
giovanipostfix is a 10 minute from 0 to 100 config03:39
MTecknologydepending on how you set it up03:41
MTecknologyall done03:42
MTecknologyit was about a 45min setup for me - I have a crap load of security options and other crap setup03:43
MTecknologyI lied, forgot about setting up tls03:46
MTecknology/etc/postfix/master.cf isn't so much fun to muck around in03:47
=== nitsedy is now known as nitsedy_
=== nitsedy_ is now known as nitsedy
MTecknologyalmost have my mail server redone except for smtp... biggest part right now04:23
JanCpostfix requires a bit of reading docs, but it's not illogical once you understand...  ;)04:24
MTecknologyJanC: It should be working right now - but I can't connect on that port04:25
MTecknologynot open at all04:25
JanCthat's better than it being open for everybody  ;)04:25
MTecknologyya - but I know I have email bouncing :P04:25
JanCMTecknology: the logs should have info04:27
JanCBTW: what are you trying to do?04:27
MTecknologylol - had three files owned by root instead of postfix04:27
MTecknologyJanC: setup a mail server04:27
JanC"a mail server" can be a lot of things...04:28
MTecknologyemail04:28
MTecknologycourier/postfix/mysql/postgrey/sasl/amavis/spamassassin/clamav04:28
JanCmy server does IMAP (using dovecot) and SMTP (using postfix)04:28
JanCincoming mail on the default SMTP port04:29
MTecknologyyup04:29
JanCmails I send on the "submission" port04:29
MTecknologyyup04:29
JanC(meaning SMTP over TLS/SSL)04:29
MTecknologyyup ;)04:29
JanC+ authentication04:29
twbThe submission port need not be SSL, I think04:29
JanCtwb: need not be, but if you want security...  :P04:30
twbRight, so they are orthogonal.04:30
twbAnd both good, of course.04:30
JanCI use this with my laptop everywhere04:30
JanCand it's easy enough to require TLS/SSL on it04:31
JanCMTecknology: so, what doesn't work?04:33
JanCMTecknology: and why use courier ?  ツ04:34
MTecknologyit's working now04:34
JanCforgot to restart a daemon?  ;)04:35
MTecknologybecause I know courier, never used dovecot04:35
MTecknologypermissions04:35
MTecknology/etc/init.d/postfix check   let me know what was wrong04:35
JanCright04:35
MTecknologyThis is why postfix took so long to configure - http://pastebin.ubuntu.com/148082/04:35
JanChm, I don't use amavis anymore04:36
MTecknologywhy not?04:36
JanCI had to restart it too often...   :P04:37
JanC(manually, that is)04:37
MTecknologyI hope I won't have to04:37
MTecknologyI set it up to notify on updates, so it should be good04:37
MTecknologywtf......04:38
MTecknologyI just accidentally ran sudo reboot instead of sudo aptitude update04:38
JanClol04:39
MTecknologyJanC: why does your nick seem so familiar?04:39
JanCbut amavis just kept eating memory on my server, so I removed it  ;)04:39
JanCMTecknology: #ubuntu-locoteams ?04:40
MTecknologyoh - thanks04:40
JanCand ubuntu-be.org  ;)04:40
MTecknologythat would be it :)04:41
JanCIIRC you made our site theme04:41
MTecknologyyup - you like it?04:41
JanCyeah, it's good04:41
JanCnow we just need to make the site better  ;)04:42
MTecknologyI'm in that boat too - feel free to stick around in -drupal :)04:42
JanC-drupal ?04:43
JanCubuntu-drupal ?04:44
MTecknology#ubuntu-drupal04:44
MTecknologyya04:44
JanCit's mostly Pierre who does the site admin tasks though04:44
MTecknologywell - after an update I'll need to reboot my server - I always reboot for kernel updates - that's a good idea, right?04:45
JanCwithout a reboot kernel upgrades have no effect04:45
JanCbut on my server I wait a day to see if it will cause no major breakage04:46
JanCat least for most kernel updates04:46
MTecknologyyou mean like waiting for bug reports?04:47
JanCbug reports or people complaining in blogs or whatever04:47
MTecknologyoh04:47
JanCif something is really wrong with a kernel, it will be published widely in no time  ;)04:48
JanCdepends on what was fixed04:48
MTecknologyI suppose - I can wait till after release before rebooting again04:48
MTecknologyany eta on ubuntu supporting ext4 defrag?04:48
MTecknologypreferably online - but I don't care how it's done04:49
JanCI'm the only one with access to this server, so local privilege escalations are not as urgent as they would be for a shared hosting provider04:49
JanCeh, I hope you don't use ext4 yet?  ;)04:50
MTecknologylol - what you said reminded me about how I upgraded to 9.04 and Ext4 remotely - ext4 on /, /home, and others04:50
MTecknologywould been fine if other tutorials didn't leave out a vital step - but that wouldn't even have been an issue if my motherboard wasn't crapping out04:51
MTecknologywhy not?04:51
JanCbecause it's new?04:51
MTecknologylol - that's how I run04:51
MTecknologyall my servers are now 9.04, my laptop is, my servers are one defrag away from being all ext404:52
MTecknologyI'm that guy you guys like that reports huge issues where a system dies because they tried the newest stuff :P04:52
MTecknologyI have noticed issues w/ it - but they've been incredibly minor04:53
MTecknologyfound existing bug reports and called it good enough :P04:53
JanCext4 is new & largely untested, so I don't use it for a server that has serious tasks (like providing my e-mail & some websites)04:53
MTecknologyemail, samba, websites, backups, irc, bots, etc :P04:54
MTecknologyI know, not safe - and I don't advise people doing it - but I did write a blog in case people do - so they don't have the same issues I did04:54
MTecknologyI still need to reconfigure samba, restore data, etc on this (primary) server04:55
JanCI host websites that aren't just for personal use  ;)04:56
MTecknologyI do a few of those - but business websites are on 1&104:56
MTecknologythe bandwidth here proved to be too low to use04:56
MTecknology2.9MB/s over wireless - not bad04:57
JanCI'm not talking about business, but I take open source projects seriously...04:57
MTecknologymy loco site is on there, that's about it04:57
MTecknologyfor important stuff04:57
JanCI host the gparted forum  ;)04:57
MTecknologyya, would stick w/ stable for that04:58
JanCand if I hosted my loco team site, I won't be playing with bleedign edge shit either04:58
JanCactually, this server is still running debian04:59
JanCwell, VPS04:59
MTecknologywell - for a while, that site was the bleeding edge version of that package - but now dev is at staging.profarius.com04:59
MTecknologyYou shoulda seen it when I decided it was time to clean up the code05:03
MTecknologythat was over 100k lines of diff05:04
MTecknologyand great - things seem to work except I can log into webmail - I wonder if telnet shows me messages05:08
twbITYM nc.05:09
MTecknology?05:09
twbUsing telnet to connect a network socket to stdio is rather... old-fashioned.05:10
MTecknologyit's good for testing things though - see an exact error05:10
twbnetcat or socat at least lack telnets stigma.05:10
twbMTecknology: no, I mean using telnet to do it, instead of a tool specifically FOR that purpose.05:10
MTecknologywhat should I use to test?05:10
MTecknologya LOGIN michael@profarius.com password   ;   * BYE Temporary problem, please try again later05:11
MTecknologywtf...05:11
MTecknologynice - Apr  9 23:11:34 vindico imapd: authentication error: No such file or directory05:12
MTecknologythe bright side is... email is coming in right now05:13
MTecknologyI wish I knew how to track that down05:16
JanCMTecknology: telnet does some things that most servers ignore, but it's better not to do them (so that's why you want to use netcat instead)05:18
MTecknologyuse it the same way?05:19
JanCyes, you can use them for the same things that you use telnet now05:19
MTecknologyok05:19
JanCtelnet is for those poor souls still left on Windows  ;)05:19
JanCthey don't have decent tools available  ;)05:20
MTecknologyok05:20
twbHaha, cygwin05:20
JanCnetcat is probably also available as 'nc' BTW05:21
MTecknologyI wonder if this is killing it... MYSQL_MAILDIR_FIELD concat(home,'/',maildir)05:22
JanCtwb: yeah, and maybe even in a mingw version05:22
MTecknologyI don't know offhand how that's built05:22
MTecknologythere we go - screwed up a default value in mysql so mail was pointing at the wrong spot05:28
MTecknologyJanC: How do I make directories automatically and not allow users to delete them?05:31
JanCI have no clue about how you implemented your server05:34
MTecknology:(05:34
JanCdovecot can make directories automaticly05:35
MTecknologyI know courier can too - it's probably because of my funky setup05:37
MTecknologyI made it so I can't delete certain folders... but not so it created the whole profile automatically05:40
MTecknologyI am so unbelievably happy I don't need to do this on a large scale05:49
=== rgreening_ is now known as rgreening
MTecknologyI installed courier-webadmin but I don't know how to get to it - any pointers?08:41
Kamping_Kaisertried http?08:41
Kamping_Kaiser:)08:41
Kamping_Kaiser!info courier-webadmin08:42
ubottucourier-webadmin (source: courier): Courier mail server - web-based administration frontend. In component universe, is optional. Version 0.60.0-1ubuntu2 (intrepid), package size 47 kB, installed size 256 kB08:42
MTecknologyKamping_Kaiser: I tried getting to it but I don't see any apache files for it08:42
Kamping_KaiserMTecknology, i'd suggest looking in /usr/share/doc/courier-webadmin/ for doco08:42
Kamping_KaiserMTecknology, probably drops a file in /etc/apache2/conf.d/08:42
MTecknologythere isn't08:43
MTecknologyI checked there which is why I;m confised08:43
Kamping_Kaiserodd. try the doco dir, i might have a readme.debian08:43
MTecknologythere is08:43
MTecknologyhttp://localhost/cgi-bin/courierwebadmin08:43
Kamping_Kaisers/i /it08:44
Kamping_Kaiser\o/08:44
MTecknologybut I go there and get nothing08:44
Kamping_Kaisercheck your logs for info.08:44
MTecknologynothing to really look for though - there's no apache config08:45
MTecknologyKamping_Kaiser: this sucks :(08:50
Kamping_KaiserMTecknology, sorry, i cant really help with specifics, and i didnt know the utility existed until you told me about it.08:51
MTecknologyfrom what I'm seeing - it should "just work"08:51
Kamping_KaiserMTecknology, i can only suggest things like check you have cgi setup in apache properly - with niche apps dependencies can go astray without people noticing at times.08:51
* Kamping_Kaiser shrugs. :908:51
Kamping_Kaiser* :(08:51
MTecknologythanks for trying :)08:53
MTecknologyit sounds like it could be a really awesome tool08:53
Kamping_Kaisergood luck with it, let me know if you win08:54
MTecknologyyup08:55
MTecknologyI've won on most everything else so far today - jsut want to alter the way it works a little bit and I'm tired of massive configsd08:56
Kamping_KaiserI might be about to have a win as well.08:56
MTecknologywin what?08:57
Kamping_Kaiserbuilding a custom install cd08:57
MTecknologyfun08:58
Kamping_Kaisernot really :p08:58
Kamping_Kaiseranyhow, brb08:58
MTecknologywhat purpose?08:58
MTecknology!info courier-webadmin09:04
ubottucourier-webadmin (source: courier): Courier mail server - web-based administration frontend. In component universe, is optional. Version 0.60.0-1ubuntu2 (intrepid), package size 47 kB, installed size 256 kB09:04
MTecknology!info courier-webadmin jaunty09:04
ubottucourier-webadmin (source: courier): Courier mail server - web-based administration frontend. In component universe, is optional. Version 0.60.0-2ubuntu1 (jaunty), package size 48 kB, installed size 260 kB09:04
MTecknologyI wonder how long it'll take to run updatedb on 1.5TB09:06
cemcMTecknology: probably the file count is more important than how much it occupies09:29
MTecknologycemc: hm?09:34
cemcAFAIK updatedb creates a list, an index of all the filenames and directories09:36
sejosomeone experience with python-pgsql on ubuntu hardy? can't get it installed09:37
cemcso it doesn't really matter how mach data you have, if you have 1 large 1.5TB file, it won't take a second to run updatedb. if you however have lots of files and directories, it can take a while09:38
sejopython-psycopg2: Depends: python-egenix-mxdatetime but it is not installable09:38
sejosame for python-pgsql09:38
MTecknologysejo: oh.. whole lotta files09:38
MTecknologyfigure < 50MB each09:38
sejoMTecknology: ?09:38
sejothis is on an ubuntu hardy (server)09:39
MTecknologycemc: **09:39
cemcon my laptop with 160k files it takes about 30 seconds to run09:40
MTecknologyHow can I see how many files it scanned?09:41
MTecknologyI know the first time takes longer09:41
MTecknologyHow do I run perl code in apache?09:45
MTecknology:'( - I want to get these two things done before sleep09:46
jpdsMTecknology: Tried libapache2-mod-perl2?09:49
MTecknologyya, didn't help09:50
MTecknologyjpds: wanna peak at my config?09:50
MTecknologyhttp://pastebin.ubuntu.com/148223/09:51
MTecknologyit's short09:51
aciculathat's not with mod-perl?10:00
aciculabut you still dont get perl code execution with that snippet?10:00
MTecknologyacicula: nope10:05
aciculaanything helpfull in the logs?10:05
aciculai think it should work exactly the same as using php 4 in cgi mode10:06
aciculamaybe that helps with finding config examples10:07
MTecknologymy coputer just freaked10:09
MTecknology[Fri Apr 10 04:02:14 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations10:09
MTecknologyonly thing resemnling an error10:09
aciculadid you threatn it to install windows again?10:09
MTecknologyit's in error.log10:10
MTecknologynope10:10
aciculathat is remarkebly unhelpfull10:10
aciculaheh10:10
MTecknologythe error?10:10
MTecknologyI know it is :P10:11
aciculayeh, heh10:12
aciculaso if you request the perl cgi through apache, what happens10:12
MTecknologywants me to dload file10:13
MTecknologyI wanna be sleeping by 5am10:15
aciculaah10:16
aciculaso it doesnt know it's supposed to execute it\10:16
MTecknologydoesn't seem like it10:17
MTecknologymakes no dang sense...10:17
aciculaso your configuration is not faulty, it's just doesnt do what you want10:17
MTecknologysure10:17
MTecknologyI usually assume I just screwed up10:17
aciculathough dunno whats missing, have a look at how to conf the php4 bin with cgibin, this works in the same way, just swap php for pl10:18
aciculaor use modperl :)?10:18
MTecknologyya - i did that alreyad10:19
MTecknologydamned courier-webadmin - thought life was going to get easier10:19
aciculahehe10:19
MTecknologyregenerating this ssl cert is a pain too10:21
aciculaheu why10:22
MTecknologyDistinguished Name does not match existing certs Distinguished Name10:23
MTecknologyno idea what that means10:23
uvirtbotNew bug: #357569 in samba (main) "please set usershare path" [Undecided,Incomplete] https://launchpad.net/bugs/35756910:26
aciculaThe Distinguished Name information should be entered accurately to reflect your registered organization name10:26
MTecknologyheh... I don't even get asked to enter that info10:28
MTecknologyDN10:28
MTecknologyhurray, I think I have this thing re-keyed10:34
MTecknologygreat - now I'm too tired to remember how to impliment these :P10:38
=== asac_ is now known as asac
MTecknologyscrew it - it's 04:4110:41
MTecknologyI'll ttyal10:41
aciculann10:41
krautmoin10:51
uvirtbotNew bug: #358652 in mysql-dfsg-5.0 (main) "Error during mysql slave replication" [Medium,Incomplete] https://launchpad.net/bugs/35865213:11
uvirtbotNew bug: #358801 in mysql-dfsg-5.0 (main) "sal all" [Undecided,New] https://launchpad.net/bugs/35880113:21
t325Hello, I'm trying to build mysql-5.1.33 from a modified generic source code on an Ubuntu box (not sure of the version, it's an Amazon EC2 box set up by another guy working on the project) with OpenSSL; cannot figure out which value I have to pass to --with-ssl= in the configure statement (--with-openssl doesn't exist anymore in the last MySQL 5.1 releases, you have to specify the path where to find the OpenSSL libs). Have the openssl package installed. It 13:29
t325Google led me to an outdated tutorial for MySQL 5.0 on Ubuntu with OpenSSL and a Debian Etch-specific tutorial (http://talkingcode.co.uk/2007/11/12/error-2026-hy000-ssl-connection-error-the-joy-of-mysql-ssl-on-debian/)13:32
=== tuxice is now known as AdamDV
aciculat325: they are probably in /usr/bin ? try locate libssl13:59
aciculaerr /usr/lib14:00
t325In fact libssl-dev has to be installed (didn't have it); then dpkg -L libssl-dev (got the reply on ubuntu-devel..)14:01
t325then configure mysql -with-ssl=/usr/include/openssl/14:02
t325now will it build that's another question..14:03
aciculaarent there packages with prebuilt ssl support?14:03
t325I modified the source code; adding SSL support to the Federated storage engine14:04
t325but I think that they aren't14:04
t325MySQL doesn't care much about SSL14:05
t325(and the packagers seem to follow this trend)14:06
aciculai suppose most mysql servers are not attached to public interfaces much14:09
t325might be, but anyways I think that SSL should be given more support since the wide adoption of MySQL by very different businesses with very different needs..14:13
aciculahttp://dev.mysql.com/doc/refman/5.0/en/secure-using-ssl.html14:14
aciculaseems it supports ssl already?14:14
aciculaand you dont need to specify the =path either it seems as long as your dev headers are in the default location14:15
aciculaas far as being build with ssl support, you'd have to take that up with the maintainer, or modify the deb package file?14:15
t325talking about 5.1; it does support SSL, but badly - you have to investigate if you want to build against OpenSSL which is way more feature complete than built-in yaSSL but non-GPL -> legal bs14:18
t325..it built successfuly!14:20
t325I only test it on Ubuntu, it will not be the production platform, but yes I could get in touch with the maintainer..14:21
uvirtbotNew bug: #359062 in php5 (main) "bad symlink or missing package in php5-dev with libtool.m4" [Undecided,New] https://launchpad.net/bugs/35906214:26
=== dantalizing_ is now known as dantalizing
jcastrokees: https://wiki.ubuntu.com/UbuntuOpenWeek/Prep15:57
jcastrokees: I was thinking, could someone on the security team do something like "Introduction to Apparmor" or something?15:57
madmartiancould anyone help me set up spamc to filter my mail through a provider's spamd service?16:54
bytor4232madmartian: spamc -d ip_address17:14
bytor4232madmartian: Of course, the spamd at ip_address needs to be able to listen17:14
madmartianbytor4232: is there a way I can integrate that into postfix17:14
cornmanderhi, I just noticed that trying to execute things in my cwd fails: -bash: ./hldsupdatetool.bin: No such file or directory17:14
cornmandereven though hldsupdatetool.bin exists and has 755 permissions17:14
cornmanderah, got it, I don't have 32 bit libs installed17:19
bytor4232madmartian: I'm not sure.  I've always used spamc in procmail17:44
madmartianbytor4232: how does that work?17:45
ivoksthat's slow and bad for CPU17:46
mike-9Having a problem logging in (on ubuntu). I'm currently connected to my headless server because I got an error logging in with putty. I try to log in with my normal user and I get this: setuid: Resource Temporarily Unavailable. However, I can log in as root (which is why I'm logged in as root). Any ideas on what I need to do to fix this? Google didn't provide much help18:05
ivoksmight be lots of things18:06
ivoksdid you check dmesg?18:06
ivoksfor filesystem errors18:06
mike-9ivoks: dmesg is flooded with firewall messages. err, I need to fix that.18:06
ivokshave you changed anything for your user?18:07
cjwatsonthat sounds like the system is under exceptionally heavy load, to me18:11
cjwatsoncheck top18:11
cjwatsonfirewall message flooding might not be helping18:11
cjwatsonsetuid(2) says:18:12
cjwatson       EAGAIN The uid does not match the current uid and  uid  brings  process18:12
cjwatson              over its RLIMIT_NPROC resource limit.18:12
ivoksgood one18:12
cjwatsonwhich is the error you're seeing - so, in English, your normal user has too many processes running18:12
cjwatson(or else resource limits are misconfigured, I suppose)18:13
ivoksanyone has experience with four quad core cpus? i've heard opteron is better for that amount of cpus, cause xeon is limited by fb-dimm18:14
=== rgreening_ is now known as rgreening
madmartianhow do I set up a filter in Postfix? I want to do spam filtering with spamc using my hosting provider's spamd daemon, and I can't work out how to put spamc in the pipeline?18:24
giovanimadmartian: did you read the postfix documentation?18:27
=== dantalizing_ is now known as dantalizing
madmartiangiovani: yes, but I can't seem to make head nor tail of it and there has to be an easier way of integrating spamc than a shell script18:29
giovaniit's pretty clear, I think18:30
giovanihttp://www.postfix.org/documentation.html18:30
giovanithe content inspection section18:30
Black_Lordïðèâåò âñåì18:30
madmartiangiovani: i'm looking at http://www.postfix.org/FILTER_README.html18:31
Black_Lordåñòü êòî íèáóäü?æèâîé18:31
MTecknologytime to finish redoing my server :)18:32
Black_Lordìîæíî ïîñòàâèòü óáóíòó ñåðâåð ñ ãðàô îáîëî÷êîé?18:33
madmartian!ops18:33
ubottuHelp! Channel emergency! infinity, soren, lamont, mathiaz or tom18:33
ikoniaBlack_Lord: please stop that18:34
=== rgreening_ is now known as rgreening
madmartianthanks for your help18:49
frojndhello there18:58
petiaivoks, early today today, we are working till 2 pm cause of the catholic easter18:59
petiaso i'm about to go home , yeaa !!!!18:59
ivoks?18:59
petiaivoks, i'm just glad i'm leaving early today , and its a holiday i had to share with you since you are my friend19:00
ivoksi am?19:00
ivoks:)19:01
petiayeah you helped me out, so i consider you my friend !19:01
frojndbah.. lucky u... I have to program or learn to program with  MFC VS08 here :(19:01
ivokspetia: well, happy easter19:01
petiayou too guys19:01
petiai'm out19:02
ivoksoh, we don't install dovecot-postfix as a mail task?19:10
ivoksa bit disappointing :)19:15
lamontivoks: huh?  is that gonna have to wait for karmic then?19:15
ivoksi had even bigger plans for karmic, like ldap integration and stuff19:15
ivoksi was expecting this would be in jaunty19:16
MTecknologyok... I have a .key and .crt for my server and the .crt for the issuer. I setup postfix and apache to use it - but I have no idea how to take care of this for courier since it wants a .pem file19:25
cemcMTecknology: you can just cat .crt .key > .pem19:26
cemcand give that to courier19:26
cemcso the .crt and the .key will be in the .pem file19:26
MTecknologyoh - thanks :)19:27
frojnddoes ubuntu have somesort of a search engine that finds a package and it's repository ?19:34
frojndI need a repository for bittorent package19:34
giovanihuh?19:35
ivoksERR: do not understand19:35
giovanifrojnd: the "bittorrent" package is provided in the ubuntu repositories, no searching required19:35
giovani`sudo apt-get install bittorrent` will do it19:36
ivokslamont: we should also put 'ntp' as a dependecy for dovecot-postfix for next release19:37
ivokssince dovecot doesn't like ntpdate :)19:37
lamontivoks: everything likes ntpdate.  just only once at boot, kthx.19:38
ivoks:)19:38
lamonthow does dovecot "doesn't like" it?19:38
ivokscause it shifts clock19:38
ivoksand it time is shifted backwards, dovecot does a suicide19:39
lamontwell, yeah, does it then scream about things that are older than older things?19:39
lamont\o/19:39
lamontsounds like a dovecot bug19:39
lamont:-p19:39
ivokswell, it's a feature19:39
lamontand yeah, we should depend on ntp19:39
lamontrather, dovecot could solve the bug by depending on ntp19:39
ivoksit writes 'Time shifted backward, I'm going to kill my self now'19:40
ivoksand dies19:40
ivokshttp://wiki.dovecot.org/TimeMovedBackwards19:40
lamontyeah - the package clearly depends on ntp (since we can't encode "ntp || !ntpdate" in Depends)19:42
giovaniwhat do you mean dovecot should depend on ntp? how does dovecot control the ubuntu package?19:42
ivokswe are talking about dovecot-postfix package19:42
giovaniohh, I see19:43
ivoksor dovecot-common package19:43
ivokswhatever, the point is that package depends on another pacage19:43
ivoksntp-server19:43
lamontivoks: well.. if the dovecot package is FAIL on a machine with ntpdate and not ntp, then it depends as above...  but yeah, fixing it in dovecot-postfix is prolly less politically turbulent19:43
lamontntp-server only (currently) exists in dapper19:44
lamontntp is the true name19:44
ivokswell, ntp19:44
lamont:-D19:44
lamontwow.  and it's completely gone from debian19:45
lamontwhich is to say that dapper is older than oldstable.  how very, um, painfully strange19:45
ivokshehe19:46
* lamont goes to ponder the weirdness inherent in that for a while19:46
ivoksis that a first supported distribution with packages older than debian oldstable?19:47
ivoks:)19:47
ivoksi still have one 6.06 server19:48
ivokscjwatson: would it be impossible to change task in ubuntu-server now? if yes, then i won't even bother chasing that goal :/19:51
vexichas anyone here used talk or talkd before?19:51
MTecknologygreat - no pidgin account will connectright now..19:53
MTecknologyhow is it that not a single account is connecting....19:54
MTecknologyok... I installed my certificate for apache and it worked fine, but courier/postfix aren't working right and I think it's because I need an intermediate bundle for them too. How do I set the intermediate crt file for them?20:03
lamontivoks: I expect he's holiday today, prolly monday too20:08
lamontivoks: but -release might be able to answer that20:08
ivoksright20:08
lamontyou ask, I'll chime in...20:09
ivokswrong approach or nobody is in there :)20:12
tubuntuHello is there someone that can help me with a problem conecting an xp pc to my ubuntu server?20:51
=== dantalizing_ is now known as dantalizing
MTecknologyGR! I can't figure out how to make courier or smtp use an intermediate crt bundle21:15
MTecknologycemc: ok - so when I create a .pem with the intermediate bundle, does it matter what order I put things in?21:19
aciculadid you whip perl into submission yet?21:20
MTecknologynope - more worried about certs atm21:21
MTecknologyI have apache working fine with it - but that's it21:21
aciculai'm not much help with that, all my server does is forward some local mail21:22
MTecknologygreat - apparently I can't sent through my smtp21:24
MTecknologyhrm - smtp is throwing an authentication error too21:29
MTecknologythis is very very very annoying21:29
MTecknologyApr 10 15:29:32 vindico postfix/smtpd[22433]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory21:30
giovaniwell pastebin your SASL config21:31
MTecknologygiovani: I don't recall doing any configuration to sasl21:34
giovaniheh21:34
giovaniwell it wouldn't do SASL unless you configured it to do so21:34
giovanipaste your main.cf then21:34
giovaniin a pastebin21:34
MTecknologyhttp://pastebin.ubuntu.com/148580/21:36
MTecknologymaster.cf - http://pastebin.ubuntu.com/148581/21:37
giovanipermit_sasl_authenticated21:37
giovaniwhy do you have SO many smtpd_recipient_restrictions?21:37
giovanijesus ... there are dozens21:37
giovaniand there are duplicated lines21:38
giovanifix that21:38
MTecknologyduplicate lines explained by a very late night :P - 5am21:38
giovaniuh, ok?21:39
giovaniwell clearly you're including sasl there21:39
giovaniwhy, I'm not sure21:39
giovanidid you just paste those lines from a howto?21:39
MTecknologya couple of them21:40
giovanisigh21:40
giovanithat's never a good idea21:40
MTecknologyI was in a rush to redo my mail server21:41
MTecknologyI was using zimbra prior21:41
giovaniyep, understood -- but this just creates problems that now have to be sorted out21:41
giovanipostfix is a 10 minute config normally21:41
PhotoJimyeah, postfix is a pretty easy mta to configure.21:41
MTecknologysasl all gone21:43
MTecknologynow it's saying authentication not enabled21:44
MTecknologygiovani: so should I purge and try it again?21:46
MTecknologyI do want to keep using mysql for authentication - but that's the only part i'm very concerned about - that and security21:46
MTecknologygiovani: so i wiped the config clean21:59
MTecknologygiovani: can you please help me get this working right :)22:02
cjwatsonMTecknology: regarding your query yesterday, we'll support ext4 defrag only once the relevant code is actually integrated into e2fsprogs upstream22:05
cjwatsonMTecknology: we have a little too much respect for our users' data to ship something that's still just floating around as miscellaneous patches :)22:05
MTecknologycjwatson: ya - I was mostly curious if anyone knew if there was an estimated time for it - I didn't realize it was that unstable22:07
giovaniMTecknology: it's not "unstable" it's just not heavily tested22:12
MTecknologyoh22:12
cjwatsonI have no information on its stability; I just know that shipping code that edits ext* filesystems and isn't yet part of e2fsprogs is optimistic22:14
cjwatsonI don't know anything about estimated times - that's a matter for Ted Ts'o et al, I think22:14
MTecknology-_- I want postfix/courier working so I can get homework done... grr22:18
giovanicourier ... eww22:19
giovanidovecot's nice :)22:19
MTecknologypostfix is what I care about right now22:20
giovaniexcept that you care about courier, it seems22:20
MTecknologyhm?22:20
giovani<MTecknology> -_- I want postfix/courier working so I can get homework done... grr22:20
mynousi have a server with 2 hard drives. the second hdd seems to be completely formatted as swap. is there anyway to change this without reinstalling?22:21
MTecknologyya - but right now I have no way to receive email22:21
giovanimynous: sure, how would you like to have it configured?22:21
MTecknologyI wiped stuff clean for postfix, added the mysql stuff back, and now it's now working22:22
mynousgiovani: well id like to just use it as i guess the equivalent of one big hard drive22:23
giovanimynous: I don't know what you mean by that22:23
giovaniit has to be mounted somewhere on your filesystem22:23
giovanihow about you run `sudo fdisk -l` and then paste the output of that in http://www.pastebin.ca/22:24
mynousyes, is it possible to have /home write to it if /dev/sda1 /home gets full?22:24
giovanimynous: no22:24
mynousfigured22:24
giovanithat's what RAID or LVM is for22:24
mynousthats raid and not setup22:24
mynousyeah22:24
mynousgiovani : this is what fdisk -l returns http://www.pastebin.ca/138835122:26
giovanimynous: ok ... well your problem description was incorrect22:26
mynousis it that the second is just not formatted?22:26
giovanithat's what it says right there, yes22:27
mynousdoes it not contain the /swap?22:27
giovanino, it doesn't22:27
mynoushmm22:27
giovaniyou can see that your swap partition is on your first drive22:27
giovani#22:27
giovani/dev/sda1   *         524       38913   308367675   83  Linux22:27
giovani#22:27
giovani/dev/sda2               1         523     4200997   82  Linux swap / Solaris22:27
giovanidamn pastebin ... with its #s22:27
mynouswell now i think i feel dumb22:28
giovaniyour first drive has a / partition (I presume), and a swap partition22:28
giovaniit's a basic, and standard setup22:28
mynousyeah22:28
giovaniyou're welcome to partition your second drive and use it for something22:28
mynousi was mistaking /dev/sda1 for sdB122:28
mynousor 2 rather22:28
uvirtbotNew bug: #359309 in mysql-dfsg-5.0 (main) "mysql client package has broken SSL support" [Undecided,New] https://launchpad.net/bugs/35930922:41
MTecknologygreat - now it seems like postfix isn't logging anything for me22:43
LonelyGirl545454Hello.  Bull if your out there i was talking with you last night.  Hit me up.22:44
MTecknologythis is almost making me consider going back to 8.04 and putting zimbra back on22:45
LonelyGirl545454whys that MT?22:48
MTecknologyLonelyGirl545454: fighting to make everything work is driving me insane22:49
LonelyGirl545454=/ Ack.  I no the pain.22:49
MTecknology#postfix isn't any help either22:59
cemcMTecknology: /var/log/mail.* ?23:20
MTecknologycemc: I was looking there and nothing was shoing up23:23
cemcMTecknology: is syslog running? ps ax |grep syslog23:24
cemcis postfix running? like netstat -nlp |grep postfix23:25
MTecknologyya, it's running23:26
MTecknologylog is too23:26

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