/srv/irclogs.ubuntu.com/2010/01/30/#ubuntu-server.txt

=== robbiew is now known as robbiew_
uvirtbot`New bug: #514570 in samba (main) "package winbind 2:3.4.0-3ubuntu5.4 failed to install/upgrade: podproces installed post-installation script zwrócił kod błędu 139" [Undecided,New] https://launchpad.net/bugs/51457000:31
simmerzHi. I'm trying to upgrade an Intrepid server install to Jaunty, and I'm getting this: The package 'ubuntu-minimal' is marked for removal but it is in the removal blacklist.01:04
jmarsdensimmerz: Seems odd.  If you    sudo apt-get -f install     # does it show any errors, or fix anything?  I'm guessing that in some way or other the apt package database in Intrepid is unhappy/confused, and that leads to the error you are seeing.  if I'm right the fix is ti clean up the package database, and only then attempt the upgrade.01:09
simmerzno errors. nothing fixed01:10
simmerzthe only thing i'm using is a custom kernel from my hosting provider's repository01:10
simmerzeverything else is straight ubuntu01:11
jmarsdenHmmm... so maybe I guessed wrong :)  Can you go back to a real Ubuntu kernel, reboot, and then try the upgrade?01:11
simmerzI don't have another one installed. what is the right package to install? I'm thinking some virtual one or something?01:11
simmerzah, additional thing: it's a kvm host01:12
simmerzin which case it's between linux-image-server and linux-image-virtual01:13
jmarsdensimmerz: Do you own/rent the entire physical machine, or just a virtual machine within it?  if the latter you ned to check with your provider that a normal kernel will even boot at all in their system...01:14
simmerzrent the entire machine01:14
simmerzand i'm upgrading the host, not the guests01:14
jmarsdenOK, then linux-image-server should be the one.01:14
simmerzok01:14
simmerzwonder if just by having it installed, the upgrade might work..01:15
simmerzthat'll be a no01:16
jmarsdenI'd really doubt that would do anything useful.01:17
simmerzso i'll need to reboot into this kernel now and try that?01:17
jmarsdenI'm not even sure running that kernel will fix your issue, to be honest, but it's worth a try if you can afford a server reboot.01:17
jmarsdenYes.01:17
simmerzwondering if running it and then uninstalling the custom one might do it?01:18
simmerzgiven it suggests that one of the causes of that problem is using software not from ubuntu.01:18
jmarsdensimmerz: Make very sure your sevrer runs fine with the default one before trying that :)01:18
simmerzi intend to!01:18
simmerzthere are 4 client guests on the box that i have no intention of buggering up!01:19
jmarsdenDo you know why the hosting provider created their own kernel, and what exactly they did to it?01:19
simmerzjmarsden: mostly to support some legacy hardware, and they've stuck with it. but generally they appear to be moving to stock kernels now01:19
simmerzmostly because they also do vps with their custom kernel too...01:20
jmarsdenOK.  Then as long as your server doesn't have that legacy hardware, you should be fine.01:20
simmerzit's Bytemark if you're wondering (UK hosting provider)01:20
simmerzhmm. installing didn't add the kernel to grub01:23
simmerzupdate-grub seems to not have been run01:25
simmerzdone it now01:25
jmarsdenThat may be some side effect of the earlier kernel being a custom one?  Anyway... the big question now is... does it boot from the stock Ubuntu kernel? :)01:34
simmerzyes01:34
simmerznow I can't get the vm's started again though. incl. on the old kernel :D01:34
jmarsdenHmmm, that's not nice. Do you need to do anything to load a KVM module by hand or by customizing a config file??01:35
simmerzi'm back on the old kernel atm. just to work out what i'm doing wrong01:35
simmerzshouldn't need to load it. kvm_amd and kvm are loaded01:36
simmerzjoyfully, I get naff all by way of bug reporting01:36
jmarsdenSo you try to start a VM and it just returns as though it succeeded?  Strange.01:37
simmerzbut without it running. I'm using kvmctl01:37
simmerzwhat an idiot. could not aquire pidfile. istr having to create a directory in /var/run :D01:38
android6011I setup a samba share on ubuntu server and when I try to connect from win7 it isnt accepting my username and pass for the server. I notice it adds the name of the windows machine to the username so i tried doing \\ubuntuserver\username as the format but no go.01:38
simmerzhow can i automate that?01:39
jmarsdensimmerz: Automate creating /var/run/somedirectory?  Stick  an mkdir /var/run/somedirectory command in /etc/rc.local ?01:43
simmerzwill test that shortly01:43
simmerzjust making sure kvm runs on the stock kernel nicely01:43
simmerzi'm aiming at upgrading as far as karmic and getting libvirt running again01:46
jmarsdenSounds doable...01:52
simmerzjmarsden: all guests running happily on the stock kernel now01:54
jmarsdenYou are well on your way.  Good.  I'm off to transport a bunch of kids around, will probably be back here later.01:55
simmerzstill no joy :( even after removing the kernel and the deb line in /etc/apt01:58
jmarsdensimmerz: So it's something else... nothing obvious comes to mind, I'd google a bit and hope someone else documented a solution.02:04
simmerzyeah that's what I've been doing :(02:04
simmerzjmarsden: you won't believe this. It worked when I changed the deb sources to use the official mirror instead of my hosting provider's one02:33
simmerzwhy would grub not automatically update? my machine thinks it's dealing with lilo02:49
twbd-i will install lilo if you don't put /boot somewhere grub can find it02:56
twbYou might also want to check /etc/kernel-img.conf02:59
twbNote that (at least with GRUB Legacy) "updating grub" means updating /boot/grub/menu.lst, NOT re-writing the MBR.03:00
jumbersIs it possible to configure Ubuntu Server to do a clean shutdown on power button press?03:09
twbjumbers: aptitude install acpid03:10
twbIt annoys me that this isn't in the default install.03:10
twbLast time I brought it up, I was told that "most servers are in a rack, you are unlikely to shut it down directly, and you might accidentally bump the button"03:11
jumbersRight, because you're likely to bump into the power button on a rack mounted server03:13
twbjumbers: well, everyone has kicked out the UPS at least once :-)03:13
simmerzjmarsden: all happy now :)03:17
jmarsdenCool!  Happy and running Karmic?  Or still Jaunty? :)03:18
jumberstwb: At least that was super easy03:19
twbYeah03:20
twbIt's slightly bizarre, but the acpid breakdown has one package for "base support + power button --> shutdown" and then a second package "every other damn thing"03:20
twbs/base support/the daemon itself/03:21
twbI guess people like you and me are a big enough minority that splitting powerbtn.sh out of the "everything else" package made sense03:22
jumbersBecause it's stupid to not support that03:22
jumbersI put it on my home server, though I wouldn't put it on my server in the data center03:23
twbjumbers: but why is the power button more special than, say, the CPU fan?03:23
jumbers:iiam:03:24
simmerzjmarsden: Jaunty for now. It's 3.30am so going to sleep and doing the karmic upgrade in the morning03:25
jmarsdentwb: Maybe because the cpu fan does something useful (spins, cools) without acpid; the power button *needs* acpid to do its job? :)03:25
jmarsdensimmerz: OK; sleep well :)03:25
twbjmarsden: I guess...03:25
twbTechnically the power button does work without acpid -- hold it down and it'll do a hard halt03:25
simmerzjmarsden: thanks for the pointers. sort of guided me into trying more stuff03:25
jmarsdensimmerz: You're welcome.03:25
jumberstwb: But that's at hardware level03:26
jumbersNot kernel03:26
jmarsdenjumbers: So is the cpu fan :)03:26
jumbersThe kernel doesn't monitor and adjust the fan accordingly?03:26
jmarsdenWithout acpid?  I don't think so.  Too many different thermal sensors and fan control approaches for that to be all directly in the kernel, I would think.03:27
uvirtbot`New bug: #514629 in samba (main) "package samba 2:3.3.2-1ubuntu3.2 failed to install/upgrade: podproces nov? post-removal script vr?til chybov? k?d 1" [Undecided,New] https://launchpad.net/bugs/51462907:02
MTecknologylilzeus-web: hi07:20
lilzeus-webhello07:20
lilzeus-webwow, that was fast07:20
lilzeus-websleeping07:20
MTecknologyI'm always in here07:20
MTecknologyanyway - ya - most are US timezone07:21
MTecknologyso let's get started07:21
MTecknologywhere is your server?07:21
MTecknologyphysical location according to where you are07:21
lilzeus-webOK, so, my DNS service points to my router(I use zoneedit.com), my router is port forwarding(80) to my local server's IP but webpages are not loading when requested07:22
lilzeus-webI am in Cali07:22
lilzeus-weberr, its at my feet and I am on it now07:22
* jmarsden does not recommend standing on servers :)07:23
MTecknologywhat's the ip?07:23
MTecknologyjmarsden: I've done it :P07:23
MTecknologythey're warm07:23
lilzeus-webdon't hack me07:24
lilzeus-web173.58.165.1107:24
lilzeus-webhopefully you get 'It works!!'07:24
MTecknologyyup07:24
MTecknology!loopback07:25
ubottuTo mount an ISO disc image, type « sudo mount -o loop <ISO-filename> <mountpoint> » - There is a list of useful cd image conversion tools at http://wiki.linuxquestions.org/wiki/CD_Image_Conversion - Always verify the ISO using !MD5 before !burning.07:25
lilzeus-webhell, I got nothing worth hacking...lol07:25
MTecknologythat's not it...07:25
MTecknologylilzeus-web: language.. gotta watch it outside of -offtopic ;)07:25
MTecknologylemme find a link....07:25
MTecknologymeh - I'll explain07:25
MTecknologylilzeus-web: what is the local IP of your server07:26
jmarsdenMTecknology: Since you see "It works!", it works... the server is alive and visible.07:26
MTecknology192.168.1.5 ?07:26
lilzeus-web192.168.1.507:26
MTecknology:P07:26
lilzeus-webhow did you know?07:26
MTecknologytype that in your web browser07:26
MTecknologyjust a guess07:26
lilzeus-webseriously?07:26
lilzeus-webyou guessed?07:27
MTecknologyit's a common one07:27
lilzeus-webhmm, I just picked it randomly07:27
lilzeus-weblol07:27
MTecknologyanyway - go there in your browser07:27
lilzeus-webIt works!07:27
MTecknologyyup07:27
MTecknologynow try your public IP07:27
lilzeus-websame07:27
MTecknologythat shouldn't work07:28
MTecknologyit should time out07:28
jmarsdenMTecknology: It would work if his router is smart enough to do loopback routing :)07:28
MTecknologynice router you have then i guess...07:28
MTecknologyjmarsden: first router I've ever heard of being that smart :P07:28
lilzeus-weboh yeah, its one of the smartest07:28
lilzeus-webtrained it myself07:28
jmarsdenReally?  Plenty do it, mostly the higher end ones.  Sonicwalls do it, for example.07:29
lilzeus-webit can sit, stay...roll over is tough though07:29
MTecknologymy servers roll over - and die07:29
lilzeus-webits a one turn trick, huh07:29
lilzeus-webmy router is a Verizon07:29
jmarsdenlilzeus-web: So when you said <lilzeus-web> ... webpages are not loading when requested      what did you mean?  Is that still the case?07:30
lilzeus-weberr Westell Ultraline07:30
MTecknologylilzeus-web: basically traffic goes one way; source -> dest ; you're trying to make your source the same as the dest is it's source -> source. When you go to through DNS; icky things happen07:30
lilzeus-webjmarsden: sort of...I have two websites actually...everything was hunky dory a few days ago07:31
jmarsdenSo which one has the issue -- sounds like MTecknology just tested the working one :)07:31
lilzeus-webstrange, cuz I didnt really change anything07:31
MTecknologylilzeus-web: give us links to go check out07:32
lilzeus-webI tried installing PHPBB...ubuntu updated...the router got a new IP...thats about it07:32
lilzeus-webwww.lilzeus.net07:32
lilzeus-webtry that 1990's html, if you dare!07:32
MTecknologythat's a lot of changing07:33
MTecknologylilzeus-web: that page loads fine07:33
lilzeus-web???07:33
qman__yes, works here too07:33
lilzeus-webbefore I go too far, where is the 'hosts' folder?07:33
MTecknologyI see that resolves to 64.158.56.58 and 63.251.179.5807:33
patdk-laphmm07:33
MTecknology/etc/hosts07:33
lilzeus-weberrr what????07:34
lilzeus-webyou see a website at www.lilzeus.net???07:34
qman__yes07:34
jmarsdenlilzeus-web: Me too.07:34
MTecknologynot very eye appealing07:34
lilzeus-webeasy....07:35
lilzeus-web:)07:35
patdk-lapit's probably cause lilzeus is hosting it on his firewall07:35
lilzeus-webI did that way back in the 90's07:35
patdk-lapand doesn't have his firewalls setup for local access to it :)07:35
MTecknology"Welcome friends to my Suzuki Samurai website. Here you will find information about and"07:35
MTecknologypatdk-lap: yuppers07:35
MTecknologylilzeus-web: read that loopback part again07:35
MTecknologylilzeus-web: in your router setup dns forwarding from lilzeus.net -> 64.158.56.5807:36
MTecknologylilzeus-web: they were right in #httpd; it's your DNS that needs fixing; not external DNS hosting - but your internal DNS07:36
lilzeus-webfine, but they were a$$holes for the 95% of the time until the figured it out...and still didn't offer help07:37
lilzeus-weblol07:37
patdk-lapheh?07:38
patdk-lapirc exists to solve your issues?07:38
patdk-lapno wonder you didn't get help07:38
MTecknologyI'll agree there; they could have explained things better :P07:38
MTecknologylilzeus-web: The logs they wanted were to check to see what was happening to the server to see if you were even getting there and if you were how and why it was breaking07:39
lilzeus-webhey pat, nice straw man/nonsquitur there07:39
patdk-lapheh?07:39
lilzeus-webso, were you there in #httpd?07:39
patdk-lapnope07:40
patdk-lapI'm just going by how your acting in here :)07:40
lilzeus-websorry pat, that question was for MT07:40
MTecknologypatdk-lap: I think they both handled things poorly in there; nothing wrong with how he's acting here07:41
lilzeus-webpat: #httpd says it is supposed to help you, was I expecting to much when I went there for help?07:41
MTecknologylilzeus-web: I'm everywhere07:41
lilzeus-webMT: so it would seem...07:41
lilzeus-web;)07:41
lilzeus-webso, I can remove that entry into the hosts file07:41
MTecknologyIt's how I caught one person and caused them to be pretty much banished from the web entirely :P07:42
lilzeus-webthat they had me put in...it was for the other website anyways07:42
MTecknologylilzeus-web: probably; just put it in your router07:42
lilzeus-webI can't find this entry you mentioned in my router07:42
lilzeus-webwhere were you getting that 65.x.x.x??07:42
lilzeus-weberrr 64.x.x.x?07:43
lilzeus-weball the port forwarding was set up correctly before...I didn't change any settings in my router before all of this...07:43
MTecknologyyou'll want to use the most direct IP you can to get to it. This isn't port forwarding07:44
patdk-lapthe router is port forwarding EXTERNAL connections inside :)07:44
patdk-lapyour are already inside07:44
patdk-lapso it won't forward it inside to your webserver07:44
lilzeus-webok, so it works for you guys but not me07:45
patdk-lapyes07:45
MTecknologyexample; if your server and you and your router are in the same builing and you can access the server via 192.168.1.5 (this seems to be the case); setup the router DNS to forward yoursite.com -> 192.168.1.507:45
lilzeus-webMT: ah07:45
patdk-lapif your router lets you07:45
jmarsdenMTecknology: inappropriate use of "forward".  I think you mean "resolve" ?07:45
patdk-lapyou can also forward connections going to the routers internal ip to your webserver, to make that work07:46
MTecknologyjmarsden: ya, that one07:46
patdk-lapbut most won't let you07:46
MTecknologyjmarsden: in my defense I should be sleeping :P07:46
patdk-lapmt, I thought you where on the west coast :)07:46
MTecknologyCST07:46
MTecknology-060007:46
lilzeus-webwell, shouldn't any computer on my network, when you put in www.lilzeus.net into a browser go out to DNS and resolve back to my webserver anyways?07:46
patdk-lapEST here :)07:46
patdk-laplilzeus-web, yes07:47
patdk-lapbut when you do that, your using the external ip07:47
patdk-lapand your router won't let internal ip's be redirected to internal servers07:47
patdk-lapnow if you use split dns07:47
patdk-lapone result for external people07:47
patdk-lapand your internal ip for internal hosts, it will work fine07:47
patdk-lapjust a pain to manage somewhat07:48
lilzeus-webhmm07:48
MTecknologypfsense lets you do it very easily07:48
patdk-lapya, I have shorewall solve that issue for me07:48
lilzeus-webso, if I am using external ip then why aren't my pages loading?07:48
patdk-lapcause your internal07:49
lilzeus-webomfg07:49
lilzeus-webit just worked07:49
lilzeus-webI have done nothing07:49
patdk-lapheh?07:49
lilzeus-weblets try the other site07:49
MTecknologyI wish there was a pretty picture for this loopback issue. It's so common and it's beginners that need to understand it..07:49
lilzeus-webbam...now IT works too07:50
lilzeus-webwhat in the world07:50
patdk-lapwhat does nslookup say for it?07:50
lilzeus-webone minute my laptop would not resolve either address...now, it does07:50
lilzeus-webI didn't change anything in my router either07:50
MTecknologyok.... I'm gonna forget this and go to sleep07:50
patdk-lapbut it's only 2am for you :)07:51
lilzeus-webMT: sounds like a good idea07:51
MTecknologypatdk-lap: look up split dns07:51
MTecknologypatdk-lap: I get up early07:51
MTecknology~607:51
patdk-lapwhy look up split dns?07:51
patdk-lapI just recommened he use split dns07:51
lilzeus-webthanks for the actual help, MT07:51
lilzeus-web;)07:51
MTecknologypatdk-lap: just so he understands the loopback07:52
MTecknologylilzeus-web: gotta thank the other two guys too :)07:52
lilzeus-webwell, only one of them actually helped and started to troubleshoot07:52
MTecknologylilzeus-web: I mean patdk-lap and jmarsden07:53
lilzeus-webthe other was just being an a$$...purposefully I think07:53
lilzeus-weboh07:53
lilzeus-weblol07:53
lilzeus-webthought you meant the jerks in #httpd07:53
MTecknologyjust drop that07:53
lilzeus-webthanks pat and jmarsden07:53
MTecknologylilzeus-web: lookup and research why you can't normally resolve and connect to a local site if your inside the network; then also look into solutions07:54
MTecknologyit'll blow your mind; and help you a lot later on07:54
jmarsdenlilzeus-web: You're welcome.07:54
patdk-lapyay for cisco docs : http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml07:54
patdk-lapnat loopback :)07:54
lilzeus-webuh, just looking at that address, I am not touching it07:55
patdk-lapcisco is the only place I could find with pictures07:55
lilzeus-webpictures? really, then maybe I will...lol07:55
patdk-lapya, just ignore all the cisco commands :)07:56
MTecknologypatdk-lap: that's awsome07:56
MTecknologylilzeus-web: you need to read that07:56
patdk-laplets talk about my issues07:56
patdk-lapnat loopback with a loadbalancer in between :)07:56
lilzeus-weblets not07:57
patdk-lapthat really made things fun :)07:57
lilzeus-web;)07:57
lilzeus-webso really, my problem was my router got a new IP address07:57
MTecknologypatdk-lap: my mind can't handle non-trivial07:57
patdk-laphehe :)07:58
patdk-lapor my cisco router that ignores routes :)07:58
patdk-lapso I have to push arp packets to it to direct traffic :)07:58
patdk-lapnothing like cron'ing arp pings every min :)07:58
MTecknologyanyway - because I don't run my own datacenter for cisco..... I'm turning the rest of my mind off now07:59
MTecknologyI can't handle any more learning today07:59
patdk-lapoh, but it's fun :)07:59
lilzeus-webit is07:59
lilzeus-webnow I just need to set up PHPBB08:00
MTecknologyI'm learning to do debian packaging; physics; other college classes; grow my itty bitty company.....08:00
MTecknologythat's what I worked on today08:00
lilzeus-webphysics of the impossible08:00
MTecknologyalso had to recompile my kernel and touch it up a little08:00
patdk-lapI got nothing done at all today08:01
MTecknologyand fixed up an issue on my servers; another issue to deal with tomorrow08:01
patdk-lapbesides explain blades/server/... to MTecknology08:01
MTecknologyoh - also applied for a PT job08:01
MTecknologypatdk-lap: and teaching me what I can do if I ever have some realy money rolling in08:02
patdk-laphmm, no08:02
MTecknologyI wonder what it costs per month to run that massive beast08:02
patdk-laphire someone to deal with it for you :)08:02
patdk-lapfully loaded?08:02
patdk-lapalmost 2k in electricity a month08:03
MTecknologywow08:03
patdk-lapadd 1k for a place to put it08:03
MTecknologyplus rack space08:03
patdk-lapand whatever for bandwidth08:03
MTecknologythat's insane08:03
MTecknologyIf I can ever afford something like that - :D08:04
MTecknologythen I'll know we did something right08:04
MTecknologyuntil then..... it's sleepy time08:04
patdk-lapat that point is normally when things start going the other way :(08:04
MTecknologywhy's that?08:04
patdk-lapyou feel that you have *made it*08:05
patdk-lapand stop paying attention or caring as much08:05
patdk-lapand things just happen, and starts to go down08:05
lilzeus-weblive in a sunny area? go solar08:05
patdk-lapheh08:05
patdk-lapsolar takes 25years to pay for itself08:05
patdk-lapand only lasts for 30years :(08:05
patdk-lapwithout goverment aid atleast08:06
lilzeus-webpat: you couldn't be more wrong08:06
patdk-laponly cause the goverment gives you all kinds of writeoffs for it08:06
lilzeus-webso, take the aid08:06
patdk-lapya, but that isn't real08:06
patdk-lapit's hardly *profitable*08:06
patdk-lapwind is so much more profitable08:07
patdk-lapand more abundent08:07
lilzeus-webso, the state isn't 'really' giving me a $9100+ rebate?08:07
MTecknologypatdk-lap: to be honest; I don't ever want to feel like I 'made it'; I jsut want to feel like I'm not scraping barrels to find the pennies to pay the $40/mo operating costs08:07
patdk-laplilzeus-web, but where did that 9k come from? your taxes last year :)08:07
lilzeus-webso08:07
lilzeus-web:)08:07
lilzeus-webbetter that I get my tax money back and put to a good use08:08
patdk-lapone way or another it evens out08:08
patdk-lapso it's still the goverment attempting to make it look good08:08
lilzeus-webwe are way off-topic, I am just waiting to get booted08:08
* patdk-lap will only ever support using solar in a remote, offgrid, purpose :)08:08
lilzeus-webit is good, people are just not smart enough to crunch the numbers...we want instant gradification08:09
MTecknologylilzeus-web: maybe during the day when most people here are awake08:09
patdk-lapheh, it seems to be pretty dead during the day also08:09
lilzeus-webwe can't stand to wait a few years for an investment to mature08:09
MTecknologyThis probably is pretty far off topic though :P08:09
lilzeus-webbut either way, you could be cash positive in the first month, depending on the size of the system08:10
patdk-lapI can still drag it a few miles :)08:10
MTecknologypersonally - I can't afford soalr technology - so it doesn't matter to me08:10
lilzeus-weband I am not salesman, I am just the kind of person who researches these kinds of things to death08:11
patdk-lapfor me, it uses way too much space08:11
patdk-lapusing solar heating is much more cost effective08:11
lilzeus-webtoo much space?  you are using your roof for something?08:11
* patdk-lap solarheats mtecks servers :)08:11
patdk-laplilzeus-web, using high capacity solar panels, I would cover 100% of my roof, and not create enough power08:12
lilzeus-weboh, for your servers or home?08:12
patdk-lapno servers08:12
patdk-lapjust home08:12
patdk-lapreally, just wife08:12
patdk-lapleaving 4+ tv's on all day :(08:12
lilzeus-webyou have a small home?08:12
patdk-lappretty small08:13
lilzeus-webwell, it certainly isn't going to hurt either08:13
MTecknologyg'night all08:13
lilzeus-webwe have a decent sized home but very little that faces south...when we switch to net metering we may end up paying a couple hundred a year for power08:14
lilzeus-webg'night MT!08:14
lilzeus-weband thanks for being friendly08:14
lilzeus-webin August, we had a bill that came close to $50008:15
patdk-lapI pay <1k a year for electricity08:15
patdk-lapmy highest runs around 14508:16
lilzeus-webthat's great!08:16
patdk-lapand that is with a 26year old a/c unit :)08:16
patdk-lap8seer I think, maybe 608:16
patdk-lapthis house is so energy non-efficitent, it's sick08:17
lilzeus-webours may be that old...we have 2 actually08:17
patdk-lapbut the bills are so low08:17
lilzeus-webwhere do you live?08:17
patdk-lapmaryland08:17
lilzeus-webI live in Cali08:17
lilzeus-webpower is expensive08:18
patdk-lapya, much much more08:18
patdk-lapdoes make solar like 3x more attractive08:18
patdk-lapthen it would me08:18
lilzeus-webwe actually have a tiered system out here...like taxes08:18
lilzeus-webthe more you consume, the higher the rate08:19
lilzeus-webto top bracket is like ~0.31/kwh08:19
patdk-laphmm08:20
patdk-lapI'm paying .12 per kwh, including all fees and taxes08:20
lilzeus-webyep08:20
lilzeus-webwe may have a bracket that gets that low or lower...but its so small08:20
patdk-lapmy usage runs around 800kwh per month08:21
lilzeus-webthat is pretty high08:21
patdk-lap400-500 during winter08:21
patdk-lap1200 or so during summer08:21
lilzeus-webwe had a high of about 1800 during the summer08:22
patdk-lapdunno, everyone complains at how expensive there electric bill is around here, and mine is so much lower08:22
patdk-lapand I use craploads more power08:22
lilzeus-weband we have only been here about 7-8 months08:23
patdk-lapI dunno if they just don't manage their a/c correctly or what08:23
lilzeus-web6-708:23
lilzeus-webyou don't seem to be using all that much power08:23
lilzeus-webcould be worse!08:23
patdk-lapoh, could be half of what it is08:24
patdk-lapshould be by next winter08:24
lilzeus-webwhy is that?08:24
patdk-laphave orig siding, windows, ...08:24
patdk-lapgetting everything replaced08:24
lilzeus-webnice08:24
lilzeus-webget the windows with argon in them08:24
patdk-lapsingle pane glass windows :)08:24
patdk-lapyep, triple08:24
lilzeus-webwow, triple08:24
patdk-lapknow a guy with tripple argon sliding door, it is really good08:25
patdk-laptouch the glass and it's warm inside08:25
patdk-lapoutside it's <20f08:25
guntbertI know the channel is quiet - but I do get some "off topic" feelings .... :)08:25
lilzeus-webwe have 5 sliding doors...a couple are jumbo sized08:25
patdk-lapwe are talking about saving power to run our servers :)08:25
lilzeus-webwell, of course08:25
patdk-lapcan't let the channel die of bitrot :)08:25
lilzeus-webbitrot?08:26
patdk-lapbit-rot08:26
lilzeus-webdo I gotta look that up or can I take your word for it?08:26
patdk-lapbyte rot?08:26
lilzeus-webyeah08:27
patdk-laphmm08:27
patdk-lapcan't think of the easy way to explain that08:27
patdk-lapguess it would be easy to compare it to food08:27
patdk-lapyou let it sit, it spoils08:28
jmarsdenhttp://www.jargon.net/jargonfile/b/bitrot.html08:28
patdk-lapso you have to use it08:28
* patdk-lap wonders if he is showing his age08:29
lilzeus-webah, the wiki was more technical08:29
patdk-lapoh, I would of gotten into memory refreshing :)08:29
lilzeus-webas far as I can tell, you are fully clothed, no worries08:29
patdk-lapfrom the 8086 days :)08:29
lilzeus-webjust saw a movie that made reverence to vacuum tubes08:30
patdk-lapdamn, we scared him away :(08:30
lilzeus-webfirst computer etc08:30
patdk-lapheh :)08:30
lilzeus-webREvolutionary Road?08:30
patdk-laphaven't seen it yet08:30
patdk-lapwife has08:30
* patdk-lap keeps going back to wargames08:31
lilzeus-webits not bad08:31
lilzeus-webI like Tron08:31
patdk-laptron was an odd one for me08:31
patdk-lapI saw it when it came out08:32
patdk-lapdidn't understand a thing about it, other than the motorcycles where cool08:32
patdk-lapI think I was 408:32
lilzeus-webit was more technical...interesting to watch and catch all the jargon08:32
lilzeus-webuh oh, now you maybe to showing your age!08:32
patdk-laphehe08:36
lilzeus-webwoah08:36
patdk-lapirc servers finally updates I guess08:36
lilzeus-webbtw, I am older than you are, I think08:36
lilzeus-web:)08:36
lilzeus-webif you were 4 when Tron came out, anyways08:36
patdk-lapguess I need to lookup when it came out08:37
lilzeus-web'8208:37
patdk-lapna, 508:37
patdk-lapclose guess08:37
lilzeus-webIndeed, I am older08:38
lilzeus-web:)08:38
lilzeus-webso pat, where do you think I could get help setting up PHPBB on ubuntu?08:39
patdk-lapheh, phpbb08:39
patdk-lapI offically dislike that :)08:40
patdk-lapit's not hard to setup at all08:40
patdk-lapbut I'm having endless issues upgrading a phpbb2 to phpbb3 :(08:40
lilzeus-webwell, I have tried, and I think I failed08:40
patdk-lapwell, you should just unpack it into your /var/www directory08:41
patdk-lapcreate a db user and db08:41
patdk-lapand run the setup08:41
lilzeus-webhmm08:42
patdk-lapnot sure on the *ubuntu* way08:42
lilzeus-webI have this thing called turnkey phpbb08:42
patdk-lapcause I generally do stuff that like that manually08:42
patdk-lapoh, it's a vm built already08:43
patdk-lapyou should just have to use the webinterfaces then08:43
lilzeus-webI mean, I see it in synaptic08:44
patdk-laphmm, turnkey phpbb is a virtual machine08:45
patdk-lapthat means you need something to run it on, not sure what it was built for or anything myself08:45
patdk-lapbut normally that means, vmware, virtualbox, kvm, ...08:45
patdk-lapif you just want phpbb on that machine, and not inside a virtual machine, you want to load phpbb3 from synaptic08:46
lilzeus-webwell, I am trying to install it from synaptic, it seems caught in a loop08:47
patdk-lapit should bring in everything it needs, mysql, apache, php, ...08:47
lilzeus-webhmm08:48
patdk-lapyou actually see turnkey phpbb in synamtic?08:48
lilzeus-webits stuck at Debconf08:48
lilzeus-webno08:48
patdk-lapI don't in 9.10 atleast08:48
patdk-lapheh?08:48
lilzeus-webI am just installing phpbb from synaptic08:48
=== fahadsadah_ is now known as fahadsadah
patdk-lapwhat does debconf say?08:48
lilzeus-webinstallation failed08:49
lilzeus-webI can try again08:49
patdk-lapof what package?08:49
patdk-lapif you didn't have anything else on that system yet08:50
patdk-lapit's going bring in like 10+ other things08:50
patdk-lapand it could be any one of those that failed08:50
patdk-lapcan't really help you at all unless I know what one08:50
lilzeus-webyou are almost certainly correct08:50
lilzeus-webcant connect to MYSQL08:51
patdk-lapso mysql isn't starting08:52
lilzeus-webheck, I can't even fully remove phpbb now either08:52
lilzeus-weblol08:52
patdk-lapI wonder if it attempting to upgrade you from mysql 5.0 to 5.108:52
patdk-lapI know when it did that on my system it has issues08:52
lilzeus-webhow do I know if I even have mysql?08:52
patdk-laptry, /etc/init.d/mysql stop08:53
lilzeus-webok08:53
lilzeus-webit stopped it08:53
patdk-lapwell, you have it08:53
lilzeus-webthat is, no errors08:53
patdk-lapor it would of said, mysql not found :)08:53
patdk-laptry, /etc/init.d/mysql start08:53
lilzeus-webfail08:54
lilzeus-weblol08:54
patdk-lapprobably need to check the log files and see what it says about mysql08:54
patdk-lapforget what ones, I will see if I can find out08:54
lilzeus-webit failed to start08:54
patdk-laplook in /var/log/daemon.log08:55
* patdk-lap notes I am totally way too on topic08:55
lilzeus-webwhat am I looking for?08:56
patdk-lapend of file08:56
patdk-lapanything that says mysql08:56
patdk-laphopefully something about a problem :)08:56
lilzeus-webplenty about mysql08:56
lilzeus-weblol08:57
patdk-lappastebin it?08:57
lilzeus-webhttp://pastebin.com/m1fa294bf08:58
patdk-laphmm, does /etc/mysql/debian.cnf exists?09:00
lilzeus-weblets find out09:01
lilzeus-webyes, but it says unknown file type09:01
lilzeus-webit has an X in top right corner09:01
patdk-lapthat is all that is in it?09:02
patdk-lapshould have like09:02
patdk-lapusername=, password=, ...09:02
lilzeus-webin it?09:02
patdk-lapya09:02
lilzeus-webdebeian.cnf?09:02
patdk-lapin /etc/mysql/debian.cnf09:02
lilzeus-webthere is no 'in it'...it won't open...it says 'unknown file type'09:03
patdk-lapoh, your using gui stuff :)09:03
patdk-laptell it to use gedit or something09:03
lilzeus-web"Could not display "/etc/mysql/debian.cnf"."09:03
patdk-lapI only use cli09:03
lilzeus-webso, what do you want me to do?09:04
patdk-lapopen it with gedit09:04
patdk-lapwell, guess you can't do that either, without being root09:04
lilzeus-webno permissions09:05
patdk-lapfilesize?09:05
jmarsdenWas /etc/init.d/mysql start done as root?  if not, that would explain many of the errors you got ...09:05
lilzeus-web333 bytes09:05
patdk-lapsounds good09:05
patdk-lapsudo /etc/init.d/mysql start09:05
patdk-lap:)09:05
* patdk-lap forgets about that, I assume root :)09:06
jmarsdenBad idea, Ubuntu has no root login by default... :)09:06
lilzeus-webok09:06
lilzeus-webI think it started09:06
patdk-lapjmarsden, well, I normally help people that know that :)09:06
jmarsdenOK... I need to sleep, but at least you now have a running mysql server :)09:07
jmarsdenGoodnight all.09:07
lilzeus-webindeed!09:07
lilzeus-webg'night09:07
patdk-lapcheck the logs for errors, again, just incase :)09:07
lilzeus-webthe daemon thing?09:07
patdk-lapya09:07
lilzeus-weblooks good as far as I can tell09:09
patdk-laptry install again?09:09
lilzeus-weblooks like version 5.109:10
lilzeus-webfrom synaptics?09:10
patdk-lapI think that might of been my issue also09:10
patdk-lapyep09:10
patdk-lapthe upgrade fails, cause mysql isn't running09:10
patdk-lapbut if you start it manually, it upgrades properly and is fine09:10
lilzeus-webmark for re-installation, complete removal???09:10
patdk-laphas issues when I went from hoary to karmic09:10
patdk-lapremoval?09:11
lilzeus-webmark for re-installation, mark for removal, mark for complete removal are my choices09:12
patdk-lapreinstallation09:12
lilzeus-webpassword for database admin user?09:13
patdk-lapdunno, you should of set one when mysql was installed09:13
lilzeus-webok09:14
lilzeus-webhmm09:14
lilzeus-webit just quit09:14
lilzeus-webit won't run now09:15
lilzeus-webweird09:16
lilzeus-webas soon as I put in the password, it just quit the install and I am back to synaptic09:16
patdk-lapwrong password?09:17
lilzeus-webphpbb does not show a check that it is installed, its a green box09:17
lilzeus-webmaybe09:17
patdk-lapat the command line09:17
lilzeus-webI only use one though09:17
patdk-lapor in terminal09:17
patdk-lapor whatever you want to call it :)09:17
lilzeus-webuh09:17
lilzeus-webneither09:17
patdk-laptry: mysqladmin -p status09:17
patdk-lapand keep trying, till you guess your correct password :)09:18
patdk-lapcould probably reset it, but I really don't want to get into that :(09:18
lilzeus-webhmm09:18
patdk-laptry: mysqladmin -uroot -p status09:19
patdk-lapthat might work better09:19
patdk-lapcause your not doing this as root09:19
patdk-lapshould give you something like:09:19
patdk-lapUptime: 433174  Threads: 19  Questions: 9995924  Slow queries: 156  Opens: 1499  Flush tables: 1  Open tables: 280  Queries per second avg: 23.7609:19
lilzeus-webyep09:20
lilzeus-webit did09:20
patdk-lapso that is the good password09:20
lilzeus-webuptime 82609:20
patdk-lapsame one you tried for the phpbb install?09:20
lilzeus-webyes09:20
patdk-lapodd09:20
patdk-lapnot sure I can help with that09:20
patdk-lapI haven't had to diagnose a package install issue before09:21
patdk-lapif I did, I normally just install it manually :)09:21
cemcis there any nice graphical network monitoring too, but not the server type, more like a graphical ping or something09:21
cemcin which I can add multiple IP addresses and it pings them and shows the loss, rtt, etc09:21
patdk-lapdunno, I just use mtr09:22
lilzeus-webnow its asking for the MYSQL application password for phpbb09:22
lilzeus-weband a confirmation...so I guess I am creating a password this time09:23
patdk-laphmm09:23
patdk-lapoh, so it is creating the user this time, that is good09:23
patdk-lapmaybe you accidentally types it wrong the other time09:23
lilzeus-webnah, I have been this far before09:24
lilzeus-webits at the DEbconf on ubuntu-webserver window now09:24
lilzeus-web"configuring phphbb309:24
lilzeus-webNext step for database installation:09:24
lilzeus-webmy choices are: abort, retry, retry (skip questions) ignore09:25
lilzeus-webah, there are errors09:25
lilzeus-webeverything already exists09:26
patdk-lapignore?09:27
lilzeus-webjust tried that09:27
lilzeus-webI am back at synaptic again09:28
lilzeus-webphpbb3 has a green box09:28
lilzeus-webok, I did a complete removal09:29
lilzeus-webmarking for installation09:29
lilzeus-webapplying09:30
lilzeus-webso, I think its installed09:31
lilzeus-webisn't that what the green box means?09:32
patdk-lapyep09:32
lilzeus-webok, its installed then09:32
lilzeus-webnow what?09:32
lilzeus-webwhere the heck is it?09:32
patdk-laptry it?09:32
lilzeus-weblol09:32
patdk-lapon the website09:32
lilzeus-webwhere??09:33
patdk-lapI dunno :)09:34
patdk-lapmaybe localhost/phpbb/09:34
quentusrexIs there a reason it seems that ubuntu breaks openldap?09:34
lilzeus-webno dice09:34
lilzeus-web/usr/share/phpbb3/www/09:43
Malekodoes ubuntu server iso comes with gparted tool?10:08
twbYes10:09
Malekohow do i boot into gparted, through rescue mode?10:10
Malekotwb: i meant the livecd mode10:14
twbMaleko: the server CD isn't a live CD.10:15
Malekoopps10:20
simmerzanyone know why i'd get this with the stock karmic kernel? http://pastie.org/80161910:50
jongbergshi, planning to setup squid proxy server for our company network..should i go to transparent or non-transparent proxy?13:55
KurtKrautjongbergs, using non-transparent proxy will require you to configure every little program on every computer to use the proxy. If it is achiveable for you, use it.14:03
jongbergsKurtKraut: i have read a considerable amount of posts regarding transparent proxying most are not working..in my situation i use squid3 on non-transparent..which do you think is preferable option?14:06
KurtKrautjongbergs, if you are a single IT guy and you have like 50 or more computers that will use this proxy, I'd go transparent. Because non-transparent you'll have to use each computer and configure them one by one manually.14:07
mrpis it possible to log ufw to its own file?14:08
jdstrandmrp: the logs are generated by the kernel14:09
jdstrandmrp: if you are using rsyslog, you can, but regular syslog, no14:09
mrpcan you push them to firewall.log or something14:09
mrpyeah im running rsyslog :)14:10
jdstrand10.04 will ship an rsyslog file14:10
mrp9.10 has rsyslogd by default.14:10
mrpwell the jeos install on my vps did.14:11
jdstrandI mean ufw in 10.04 will ship a fil14:11
jdstrande14:11
twbjdstrand: why can't "traditional" syslog file kernel.<whatever level> to ufw.log?14:11
jongbergsKurtKraut: i have thought of that also..but i think non-transparent gives your more control on whom can surf the web..14:11
mrpjdstrand: is it hard to setup for now?14:12
jdstrandtwb: you can of course redirect them, but cause it's the kernel that is generating them, they have the 'kern' facility, so it is hard to get just the ufw bits out14:12
twbjdstrand: how does rsyslog do it, then?14:13
twbDoes it do regexp matching or something?14:13
twb(I've only played with rsyslog enough to make it do what normal syslog could.)14:13
jdstrandufw just uses whatever the priority of the kernel (ufw could use an extrememly low priority, and then you could do kern.debug, but it doesn't14:13
jdstrandtwb: regexp-- yeah14:14
* twb grumbles about "when all you have is a regexp..."14:14
mrpjdstrand: know of something particularly floating around the net about this?14:15
jdstrandmrp: this is probably what will end up in 10.04: http://paste.ubuntu.com/365704/14:15
jdstrandmrp: drop in /etc/rsyslog.d/20-ufw.conf14:15
mrpjdstrand: ooo champ :-)14:16
jdstrandtwb: rsyslog is pretty flexible-- it does all the standard syslog stuff, so you don't have to worry about regexp if you don't want to. but then it has a bunch of other neat stuff. tbh, I only know enough about it to generate the above file :)14:16
jdstrandtwb: it is worth checking out though14:16
mrpwhat is the 20 infront of the file name?14:17
jdstrandmrp: rsyslog process files in /etc/rsyslog.d in order-- the 20 makes sure it is in the right spot14:18
twbjdstrand: obviously I'll be using rsyslog when I migrate to 10.04 and Debian 614:18
mrpjdstrand: sweet thanks14:19
mrp<3 ufw frontend14:20
jdstrandmrp: glad you like it :)14:20
mrpthe limit action is like failban eh?14:25
mrpfail2ban sorry14:26
jdstrandmrp: sorta14:26
mrpit will do for ssh on my VPS14:27
jdstrandiirc, fail2ban can do more, but the basic idea is the same: limit brute-force attacks14:29
mrpjdstrand: yeah it can do more with other apps but i just need sshd bruteforce protection cheers14:36
garymcHi anyone help me get my dovecot and postfix working?15:07
Jeniczekhi there16:28
Jeniczekanybody skilled around?16:28
bogeyd6yes16:31
JeniczekI am lookin for a guy, that know a lot about ubuntuserver optimizing. I need to optimize the box - or at least take a look into it. The problem is, that when I have more than 2k connections, the server applications diff time measurement are becomin high. Am offering a money for it ofcourse..16:31
bogeyd6support here is free16:31
JeniczekAm guessing, that it is gonna be somethin bad with network subsystem.. but am not sure16:31
Jeniczekyeah16:31
Jeniczekhere...16:31
bogeyd62k http connections?16:32
JeniczekBut I think that I will have to pay somebody who will get access to my screenusing TeamViewer and work with me givim commands to type in16:32
Jeniczekno16:32
JeniczekTCP conenctions16:32
Jeniczekon different port16:32
bogeyd6please be much more specific about what the server is doing16:33
Jeniczekits a game server with realy high population16:33
bogeyd6erp16:33
bogeyd6by difftime do you mean lag time?16:33
Jeniczekyeah16:33
Jeniczekbut not lag as latency but diff as delay16:34
Jeniczekthe time how much the application recalulates all functions16:34
Jeniczekso the more diff time is, the more time the game needs to recalculate and the less its playable16:34
bogeyd6if you run a free command are you using swap space?16:35
Jeniczekfor example you type some chat, and with diff 500 you have to wat 0.5sec unitl other saw it16:35
JeniczekSwap: 2570360 0 257036016:35
Jeniczekthe rig got 2x 5430 latest Xeons and 24gig ram16:35
Jeniczek2x 15k SAS HDDs16:36
Jeniczekthe CPU load is less than 516:36
Jeniczekso it must be somethin in the OS16:36
Jeniczekthe appliaction has been profiled as well... so its not the app either16:36
bogeyd6kk16:36
JeniczekI thin it must be somethin with networkin16:36
Jeniczekanyway today I treid to pgrade the kernel16:37
bogeyd6you using verizon fios?16:37
Jeniczekthe OS runnin in there is ubuntu server x64 8.1016:37
Jeniczek2.6.27-16-server #1 SMP Tue Dec 1 20:06:14 UTC 2009 x86_64 GNU/Linux16:37
bogeyd6oh.....16:37
bogeyd6why not 8.0.4.3 LTS?16:37
Jeniczekverizon?16:37
Jeniczekits an Fujitsu Siemens RX300S4 server16:37
bogeyd6can you pastebin mii-tool -v16:38
Jeniczeksure, mmt16:38
Jeniczekhttp://www.pastebin.cz/f52114801ee2e016:39
bogeyd6Jeniczek, now do ethtool eth016:40
Jeniczekhmm seems i have to install this package16:41
bogeyd6well check out the dependencies and make a choice16:41
Jeniczekhttp://www.pastebin.cz/dd9fdc7ed630ed16:41
bogeyd6well jeni everything seems fine, you are running full speed full duplex16:42
Jeniczekwell, so maybe some TCP settings are not fine...16:42
JeniczekI knwo that am runnin full duplex16:42
Jeniczekbut somethin is bad... the high diff starts with 2.1k connections16:43
JeniczekI have tuned MySQL as well, so theres really nothin left except the OS itself16:43
bogeyd6Jeniczek, maybe changing the mtu to a small number would result in more packets but less fragmentation?16:44
Jeniczekdunno16:44
JeniczekI think some IPv4 settings should be the importantones16:44
Jeniczekbut am not a nix networkin guy :(16:45
bogeyd6Jeniczek, ok then go with an "ifconfig -v"16:45
Jeniczekone think that I should mention, If i lost the connection to the box16:45
Jeniczekthan am fcked up a lot ;)16:45
bogeyd6ifconfig -v only displays things16:45
Jeniczekyeah, I just wanted to mention16:46
Jeniczeki know ifconfig -v16:46
Jeniczekhttp://www.pastebin.cz/0f63b2718b17f116:46
bogeyd6Jeniczek, http://www.ubuntu.com/support/services   << go there before you pay someone on IRC16:46
bogeyd6everything is checking out, there are no problems with your networking16:47
Jeniczekhm16:48
JeniczekI know there must be somethin wrong16:48
Jeniczekbut anyway thanks a lot for your time16:48
bogeyd6Jeniczek, not settings wise. the last thing you could do is reconfigure the kernel and change some of your network settings in the kernel of the server. or go to a real time kernel https://wiki.ubuntu.com/RealTime16:50
bogeyd6might could interuppt your remote access to the bawx16:50
Jeniczekhmmm16:51
Jeniczekthe wiki for the REalTime is empty16:51
Jeniczekwhat is that used for?16:51
bogeyd6!rt16:51
ubottuThe RT kernel is the Ubuntu kernel with a realtime preemption patch applied. It is included in Ubuntu Studio by default. For more information please see: https://wiki.ubuntu.com/RealTime/16:51
bogeyd6and Jeniczek a quick google came up with http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization16:52
bogeyd6they also suggest going to a real time kernel for a game server16:52
Jeniczekhm16:54
Jeniczekbut am not that hardcore nixer to compile myself a kernel16:54
JeniczekI will try to google for a page, where is some command by command guide how to switch to RT16:55
bogeyd6the package is linux-rt17:00
bogeyd6linux-headers-rt17:01
bogeyd6and you can go here for the part on installing that kernel17:01
bogeyd6https://help.ubuntu.com/community/UbuntuStudioPreparation17:01
bogeyd6that should give you a good run Jeniczek17:02
Jeniczekok17:02
Jeniczekam goin to read it all17:02
Jeniczeklast question17:02
Jeniczekif I want to backup actual kernel17:02
Jeniczekand if anything goes wrong17:02
Jeniczekdo you know the commands for backin it up and restoring it?17:02
bogeyd6the kernel will be there you will just need to change your boot loader to use the other kernel17:03
Jeniczekokok, I will investigate more17:04
Jeniczekthanks a lot17:05
bogeyd6like uhm17:05
JeniczekAm not sure if RT is for WoW as well, because it seems that the guide is for CS server, but anyway, why not to give it a try17:05
bogeyd6you edit menu.lst and change the default= option to change to the other kernel17:05
bogeyd6so installing the kernel is no harm no foul if you dont like it. but trust me, you have to use the real time kernel for time sensitive options17:06
Jeniczekwheres that menu.lst located:17:06
bogeyd6it is in /boot/grub17:10
bogeyd6first option is default17:10
Jeniczekoh i see17:12
Jeniczektitle, uuid, kernel, initrd, quiet17:12
bogeyd6when you install linux-rt you will get that in the menu.lst and it will be default, reboot, if it helps great, if not then change default = say like 1 and then reboot again17:12
Jeniczekyeah, got it that17:13
Jeniczekso you think that goin with that guide is a not good go?17:14
Jeniczekhttp://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization17:14
Jeniczektheres the whole process some way described17:14
Jeniczekits not like doin apt-get install linuxt-rt17:14
twbWhat, an MMO server needs RTOS?17:15
JeniczekI dunno, bogeyd6 says that17:15
JeniczekI have never heard about RT on MMO17:16
twb04:05 <Jeniczek> Am not sure if RT is for WoW as well, because it seems that the guide is for CS server, but anyway, why not to give it a try17:16
Jeniczekso?17:16
Jeniczekyou think it will be even worse?17:17
JeniczekAm just desperate cause I know a guy who is on Debian, ane he hasnt optimized anything and he says hes got more then 3x times better results than me17:18
Jeniczekbut hes russians17:18
Jeniczekrussians are good nixers ;)17:18
twbJeniczek: "better results" at what?17:18
Jeniczekat the diff17:18
Jeniczekmy diff with 2700 conections is around 60017:19
Jeniczekhe got 15017:19
twbWhat is a "diff"?17:19
Jeniczekso in my case the game is really no well playable, and with less than 200 its really perfect game17:19
Jeniczek[17:34:02] <Jeniczek> the time how much the application recalulates all functions17:19
Jeniczek[17:34:38] <Jeniczek> so the more diff time is, the more time the game needs to recalculate and the less its playable17:19
Jeniczek[17:35:01] <bogeyd6> if you run a free command are you using swap space?17:19
Jeniczek[17:35:02] <Jeniczek> for example you type some chat, and with diff 500 you have to wat 0.5sec unitl other saw it17:19
twbThat sounds more like latency.17:20
Jeniczekno, the diff is not dependant on your network17:21
Jeniczekeven with dialup connection you can have diff 5017:21
Jeniczekits the application measurement17:21
Jeniczeknot the network connection one17:21
Jeniczekthats the latency - also called lags17:21
garymcHi guys17:22
garymcive installed postfix and dovecot. Now when i run the command 'telnet mail.mydomain.com 25' it says connected then says connection closed by foriegn host. Why is this?17:22
Jeniczeklike my develpoer said17:22
Jeniczekdiff is17:22
Jeniczekslow update cycles17:22
twbgarymc: have you told those services to bind to non-loopback interfaces?17:23
garymctwb im a noob17:23
garymcIm trying to setup a mail server17:23
garymcat work17:23
twbgarymc: I don't know about postfix or dovecot specifically, but it's common on Ubuntu for services to only accept local connections by default.17:23
twbgarymc: OK, have you gone through the relevant sections of the server admin guide?17:24
garymcyes17:24
=== dendrobates is now known as dendro-afk
twbgarymc: are the daemons running?17:24
Jeniczekso twb, you think that the RT is not a good go for MMO?17:25
guntbertgarymc: please don't setup a *public* mail server if you are not pretty sure what you are doing17:25
garymchmm ok17:25
twbguntbert: that's a good point.17:25
garymci need one though17:25
twbJeniczek: running a kernel with RTOS extensions will not magically make normal applications faster.17:25
guntbertgarymc: the world is full of open mail relays because "they needed it" and that get you into deep troubles with your employer too17:26
guntbert*that can get ...17:26
garymcguntbert : it wont get me into trouble with my employeer as iam my employer17:26
garymcanyone fancy doing it for me?17:27
twbEven worse!  *Management* is setting up the mail server17:27
garymcim self employed and trying to get stuff done17:27
guntbertgarymc: then it will get you into trouble with your ISP - please play with one in a secure environment first until you are comfortable with it17:28
garymci just need some help17:28
Jeniczektwb hmmmm17:28
Jeniczektwb and do you have any idea what could my OS have set wrong?17:28
garymcwell im playing with it now.17:28
garymcso will anyone help me out?17:28
garymci just want to host my own emails17:29
garymcfor me and my partners17:29
garymcon our server17:29
guntbertgarymc: you yourself said "im a noob" - mail servers are nothing for "noobs"17:29
garymcWe already host our own website17:29
garymcwell im noobish17:29
garymchave been using ubuntu for about 6 months17:30
twbHosting your own mailserver is even more dangerous than hosting your own webserver.17:30
garymcand just thought i would try and get this installed. Figured i need some help when trying to do this17:30
guntbertgarymc: a web server is an entirely different beast - it doesn't matter how much linux experience you have17:30
guntbertgarymc: I won't say anything more - just don't!!!17:31
garymcok so you recommend i just keep paying fasthosts money to host my email accounts even thought they are always down and tech is in the phillipeenes now17:31
garymcok how easy would it be for someone with experiance to set up?17:31
guntbertgarymc: no, get yourself a decent mail provider - or get yourself someone with the know how17:32
garymcguntbert can you set them up?17:32
guntbertgarymc: yes, I did several times and it was *not fun*17:33
Jeniczektwb strange is, that until I have less than cca 1800 connections, the diff is awesome nice, then until 2200 is average and then, it goes up to 800 at 2800 connections17:34
twbJeniczek: I think the best thing for you to do would be to go get a book on performance analysis.17:35
Jeniczek;)17:35
JeniczekWell, then I will keep searchin for a guy, who read such a book and will take a look whats wrong witht the fact, that hell be paid for it...17:36
garymcok so anyway why would my connection be closing when i telnet to the mail.mydomain.com 25?17:37
twbI don't think this is the right place to be looking for contractors.17:37
JeniczekI got 3 employments and am doin this in me free time.. I really dont have free time to read such a book, even I would love to do that17:37
JeniczekI wasnt lookin for contarctor, I was just searchin for a guy, who will likely earn some bucks for a work that he likes...17:37
twbgarymc: 04:24 <twb> garymc: are the daemons running?17:37
twbJeniczek: doing a specific job for money is contract work.17:38
garymctwb what daemons?17:38
twbgarymc: postfix and dovecot17:38
garymcyes17:38
JeniczekWEll maybe I will give a try to the RT kernel. twb when i use new kernel, do I have to recompile all the stuff around?17:38
garymcthey restart fine17:38
twbJeniczek: you must recompile any third-party kernel modules, but the userspace doesn't change.17:39
Jeniczek3rd party modules? If I have not installed any, just the ones included with the installation, then am fine?17:40
Jeniczekor the bundled ones are needed to be recompiled as wel?17:40
Jeniczekanyway I have just bought VMware workstation few minutes ago and am goin to try it virtually17:40
garymctwb : heres what i get when i run the telnet command. http://pastebin.ca/177213017:41
garymcim just trying to test To see if SMTP-AUTH and TLS work properly17:41
twbgarymc: are the daemons binding to the IP you're connecting to?17:42
garymchow could i tell?17:42
twbnetstat lists active bindings17:42
twbIncidentally, you should use nc (netcat) or socat, rather than telnet.17:42
garymcjust type netstat17:43
garymci cnat see anything to do with ip adress in netstat17:44
garymc*cant17:45
twbYou probably want netstat --listening17:46
garymcok17:46
twbI usually just do "sudo netstat -nap" because I'm too lazy to learn ss properly.17:47
garymcheres my output http://pastebin.ca/177214217:49
garymcIll give that one a try too17:49
twbgarymc: so you can see that processes are bound to *:imaps and *:smtp17:53
twbThat means they're listening on all interfaces, not just loopback.17:53
garymcso that means?17:53
twbCf. the mysql binding, which is loopback-only.17:54
twbSo the next thing to check is the firewall.17:55
=== erichammond1 is now known as erichammond
garymchow do i check the firewall?17:56
twbWell, the one that's in Ubuntu you'd check by running "iptables-save"17:56
twbIf it prints anything, you have a firewall, and it might be blocking your smtp connection test.17:57
garymcok i know the ports i need to open17:57
twbIncidentally, we (this channel) discourage running a GUI on servers.17:58
garymchttp://pastebin.ca/177215017:58
garymcthats my iptables output17:58
garymcIm running a LTSP server17:59
twbYou don't have a firewall.17:59
twbgarymc: ah, OK17:59
garymcany other ideas?17:59
twbDoes "nc localhost smtp" work?18:00
garymcsomething is happening18:02
twbgarymc: do you know how to speak SMTP?18:02
garymclol no18:02
garymcyou?18:02
twbType "HELO example.net"18:03
twbYou should get a 2xx response back.18:03
twbIf you get that far, it means the smtp service is at least listening to you, though it might not accept any mail you give it.18:03
twbI guess you should also check /etc/hosts.{allow,deny}, but those are rarely used these days.18:04
garymcyes it wokrs18:04
garymcworks18:04
garymcNow it says on the ubuntu site if it gives that response i got that dovecot and postfix are configured fine18:04
twbdovecot isn't involve in the smtp connection.18:05
garymcactually sorry18:05
garymcSMTP-AUTH and TLS18:05
garymcso now how do i add a email address and connect to it with outlook express or something?18:05
twbI'm going to bed.  Good luck.18:07
garymcok so apparently ive got dovecot and postfix installed correctly. What else do i need to do to get emails to work?18:07
garymcok good night18:07
garymcanyone?18:09
garymcHey guys ive apparently installed dovecot and postfix correctly. Now what do i need to do to add an email account like gary@mydomain.com and do some test emailing?18:09
bogeyd6Jeniczek, how is the RT kernel treating you?18:23
Jeniczekam waitin till the VMware will download18:24
Jeniczekgot slow connection here :(18:24
Jeniczekbut accordin to what twb said, it wont help me18:24
Jeniczekbut why not to give it a try18:24
bogeyd6Jeniczek, i was reading your earlier stuff about diff time18:24
Jeniczekwell I asked one of my developers to explain what diff time is in egnlish18:25
Jeniczekhe said18:25
Jeniczekit is slow update cycles18:25
bogeyd6you know, the regular kernel in ubuntu is going to have an inherent delay in processing, multiplied by 50000 and you get your delays youa re seeing18:27
Jeniczekand the regular kernel in debian is not doin this?18:28
bogeyd6The standard kernel has a disadvantage in that it has a higher latency (~ 11 ms) compared to other kernels. The shorter the delay, the more you can do at once with a system (e.g. update cycles)18:29
Jeniczeksi why is the RT not turned on as default?18:29
bogeyd6because not all things need RT18:29
jmarsdenbogeyd6: No, the more quickly you can switch between processes.  WHich is not the same thing as "doing more" if your app does all of its work in one process, or if the real bottleneck is disk i/o, etc etc...!18:29
bogeyd6things needing rt include video, audio, and etc...18:29
Jeniczekand what is the disadvantage of RT?18:30
bogeyd6game servers, they need RT18:30
Jeniczekthere bust be any18:30
jmarsdenThe "latency" you are talkingh about is process switching latency, there are many other kinds...18:30
bogeyd6jmarsden, please excuse yourself from entering the middle of a conversation18:30
jmarsdenIndeed.  I did read the scrollback, though.18:30
bogeyd6jmarsden, how many processes you think a game server with 2000 people on it need?18:30
jmarsdenWelcome to IRC :)18:30
jmarsdenIt depends how the app is structured :)18:31
Jeniczeknot many18:31
bogeyd6whatever, stay on the RT topic or go privmsg18:31
bogeyd6*insert blah blah blah*18:31
jmarsdenThis is #ubuntu server.  If someone is asking for performance profiling help and all you look at one small aspect of that, you may not realy be helping them out.  RT and process switching latencey is one small aspect of overall performance.18:32
Jeniczekwell jmarsden is right, that it depends on the structure of app18:32
jmarsdenbogeyd6: You have no right or reason to try and restrict discussion in this channel to RT.18:32
Jeniczekand trinitycore, which is the application name, doesnt need so many process to be dependant of18:32
Jeniczekthe main communication layer is ACE18:33
Jeniczekbut am not an developer, but as guys told me, the problem is in OS18:33
bogeyd6awesome :) good luck Jeniczek, sounds like you and jmarsden gonna get that thing solved :)18:33
Jeniczekwe have also profiled the whole core18:33
Jeniczekwell, I dunno, maybe jmarsden will got some idea18:34
Jeniczekanyway I will try the RT kernel as you adviced me18:34
jmarsdenJeniczek: So are you seeing high user CPU use, hit interrupt rates, too much I/O waiting... what is the bottleneck?18:34
Jeniczekjmarsden well thats the point... we dont see any bottleneck18:34
Jeniczekas we got two most modern Intel Xeon 4core processors18:34
Jeniczekand the load is nearly at 5 in the peak, with no thread goin for 100% usage18:35
Jeniczekthe disk I/O is also pretty fair, just mysqld / which does make sense/ but nothin big18:35
Jeniczekthe SQL DB itself is larger then 3GB atm, but its tuned also perfectly by a DB pro18:35
JeniczekSo all of us are tryin to say that it must be somethin with networkin, but i dunno18:36
=== deegee_1 is now known as deegee
Jeniczeklike some TCP/IP or some stuff like this18:36
JeniczekAs I said before. One of the ressuin guyz I have spoked 3days ago, is runnin such a server, on pure Debain, with no modifications, and hes got 5times less diff then us with more ppl18:37
Jeniczek* russain18:37
Jeniczekrussian ;)18:37
Jeniczekgeez, that laptop keyboard18:37
jmarsdenThere used to be some issues with very large numbers of connections in Linux and the "thundering herd" problem, but I thought that was all fixed up a few years back... and the Debian and Ubuntu stock kernel's shouldn;t *that* different.18:37
JeniczekSo accordin to oprofilation, the neck is not in the sources18:37
JeniczekI dunno if am victim ot that problem18:38
jmarsdenI somewhat doubt it, it's a stretch... but here's a paper describing it if you want to do a bit more research.18:39
jmarsdenhttp://www.citi.umich.edu/projects/linux-scalability/reports/accept.html18:39
jmarsdenBut as you can see, that paper is 10 years old... the issue was supposed to have been fixed by now :)18:40
bogeyd6thats for the 2.2 kernel18:40
Jeniczekwell this seems realy old18:41
jmarsdenI have been a Linux system and network admin longer than that... so I must be *REALLY* old then :)18:41
Jeniczek;)18:41
bogeyd6that actually explains alot18:41
JeniczekWell, if you are that pro with nix, maybe you can give me some nasty command to explain whats goin on in there ;)18:42
Jeniczekwe have really really powerful rig, and we cant get the power from it ecause of some bottleneck we dont know18:42
jmarsdenI doubt there is one command that will magically reveal all; if you had a simple issue you'd already have discovered the issue.18:43
Jeniczekok, so more than one ;)18:43
Jeniczekor do you think, that changing actual OS ( 8.10ubuntu x64server) for 5.00 Debian as the russian is using will solve the issue?18:44
jmarsdenYou've done all the usual things with sar and vmstat and iostat already, looking at the basics, right?18:44
Jeniczekis the difference between those OSes so big?18:44
Jeniczekno I did not18:44
Jeniczekwe did everything except the OS itself18:44
Jeniczekwe tuned MySQL18:44
Jeniczekwe tuned the source of application18:44
jmarsdenJeniczek: It isn't normally that big, unless some "small" difference in the kernels happens to make a big difference on your particular machine for some reason.18:44
Jeniczekbut it seems its not the problematic part18:44
lavini can see the wireless device in the pop down menu for netmanager but theres no ap's being detected is the driver installed if the name of device is there and how can i fix this18:45
JeniczekBecause none of us is really Linux expert, so we dont know what to look for18:45
jmarsdenIf you are comfortable with the usual tools for looking at Linux/unix system performance (sar, vmstat, etc) then try using them to get an overview of the issue.18:45
Jeniczekso jmarsden, whats sar, vmstat and iostat?18:45
Jeniczekhm18:46
Jeniczeksar18:46
JeniczekCannot open /var/log/sysstat/sa30: No such file or directory18:46
Jeniczek:P18:46
jmarsdenThey are tools that give you a "look" into what the machine is doing in different ways.  Try   vmstat 5 20 and pastebin the resulting output.18:47
Jeniczekhere you ahve iostat18:47
Jeniczekand now its the peak18:47
Jeniczek2650connections18:47
Jeniczekwe have set the limit of the app to 2650 because it already ,,laggs,, a lot18:48
Jeniczekhttp://www.pastebin.cz/21c51904ae80a618:48
Jeniczekok waitin for vmstat till it ends18:48
jmarsdenWill take 100 seconds (5 times 20) :)18:49
Jeniczekoh, ok ;)18:49
Jeniczekdid that iostat tell you somethin usefull?18:49
Jeniczekwe got 15k RPM SAS HDDs and 24Gigs of FB DDR2 ECC mem18:49
Jeniczekto be precise 2HDDs in Mirror18:50
jmarsdenThen do iostat 5 20 and pastebin that, too.  You need a bit bigger sample than what you gave me.  It doesn't look from what you did that io is terrible...18:50
Jeniczekhere you go18:50
Jeniczekhttp://www.pastebin.cz/1abd23ba72181e18:50
jmarsdenat first glance, interrupt load and context switches are pretty high.18:52
jmarsdenHow many NICs are involved in handling the network connections?18:52
Jeniczekhere goes the iostat18:53
Jeniczekhttp://www.pastebin.cz/2e3109adab7daa18:53
Jeniczekone nic18:53
Jeniczek100mbit full duplex18:53
JeniczekI have the server in server housing company having one Cat5e cable with 100/100 connectivity18:54
jmarsdenGut feeling, it might be worth playing with cpu affinity to see if it helps... basically ensuring the interrupts from the NIC are all handled by one CPU... I'd need to google and read man pages to tell you exactly how to go about doing that, but I know the principle...18:55
JeniczekPhysically the server has 2NICs and one iRMPC NIC ( or somethin like that, which should be for some managament use, but havent tried to use it yet as am not using supported os)18:55
Jeniczekhuh18:55
Jeniczekthat sounds interestin18:55
JeniczekWell i can tell you, that we tried to do renice on the group of process that belongs to the application, and the diff was still the same18:56
Jeniczekbut we tried to renice just the process and its threads.. nothin more18:56
JeniczekIt was just a try ;)18:56
jmarsdenI'm an old timer, so the CPU/NIC affinity stuff may already be done well "automatically", but at one time that sometimes slowed things down under large network loads.  Right, my guess is that it's not the application processes CPU use that seems to be the issue.18:57
jmarsdenAs you can probably tell, I've not had to mess with "big" servers under serious load for a while, so I'm out of date on this stuff!18:58
JeniczekWell the thing is, that If I/we/anybody wont find the problem, then am goin more than 200kilometres to that server farm and I will have to reinstall whole OS and try to put there a Debian 5.00 if it helps...18:59
Jeniczekjmarsden well this kiddo is under big load of 15years kids ;)18:59
jmarsden:)19:00
Jeniczek2650connected online and more than 400waitin in a queue19:00
jmarsdenFor a server on this size, your data center should give you remote console access so you can reinstall and reboot remotely, surely!19:00
jmarsdenIf you have to drive 200km to do that they are not giving you the kind of service you need.19:01
JeniczekHm, but this fact involves me a thought, that it is not a network related problem, Because event theres a 2650 connected , those 400 in queue count as well. They are just not online, but the connection to the server is estabilished anyway19:01
Jeniczekjmarsden you mean KVM?19:01
jmarsdenJeniczek: Or some other solution, like a serial console.19:02
JeniczekWell, goin there and reinstall the OS is not that big if it will solve my problem...19:02
JeniczekI havent been there almost whole year...19:03
Jeniczek;)19:03
jmarsdenBut there is no guarantee that it will solve the issue, because at this point the issue is not understood.19:03
Jeniczekyeah19:03
jmarsdenWould they set you up a temporary second server to do a test install on??  So you can keep the current one running and keep all those kids happy, while you test to see if similar hardware running Debian is any better?19:04
Jeniczekwell thats not possible, the hardware is mine.. they just do host19:04
jmarsdenAh, you're colocating.  OK.19:05
Jeniczekall they do provide is a rack space, air conditionined and dust free evnironment and wan connectivity19:05
Jeniczekthats all19:05
JeniczekYeah, sorry for my english, am not a native one :(19:06
jmarsdenOK.  Ideally, you want someone "a bit like me, but more up to date" to check out the server and make recommendations to you...19:06
jmarsdenDoes the colo provider have serious linux experts you can hire by the hour for that kind of thing?19:07
JeniczekWell the rpoblem is, that we never thought that we willl grow the community that big.. and now... its more than we can handle with our knowledge19:07
Jeniczekno, I dont think so19:07
Jeniczekbut am not sure19:07
jmarsdenIt would be worth asking them, at least.19:07
JeniczekYeah, anyway , have you got any idea what should be the bottleneck?19:08
JeniczekAnyway am ready to set up for Debain mission... :P19:08
Jeniczekand I feel that it will end it up that way19:08
jmarsdenYou can try it.  It's a lot of downtime for a guess, though.  I'd try the cpu affinity idea first since you should be able to tweak that (maybe with taskset) on the currently running server.19:10
jmarsdenAnd maybe downtime isn't as much of a deal in the world of 15-year-olds as it would be in business, anyway :)19:11
Jeniczekyeah19:11
Jeniczekbut anyeay they got holidays on monday19:12
Jeniczekso a lot of them will be breathing on my back ;)19:12
bogeyd6you can rt kernel in like 15 minutes and back to the old kernel19:12
Jeniczekjmarsden have you found out how to try to tune that cpu affinity?19:12
Jeniczekbogeyd6 installin vmware right now19:12
bogeyd615 mins is worth trying vs reinstall19:13
jmarsdenJeniczek: Well, the basic utility is taskset.  man taskset for info on that,19:13
Jeniczekanyway, I have found, that I can do apt-get install linux-rt19:13
Jeniczekbut it seems that it will isntall some old rt kernel19:13
bogeyd6with 8.10 they will all be old19:13
Jeniczekwell I can download a newer one one the page the wiki is refering to19:15
JeniczekJeniczek: It isn't normally that big, unless some "small" difference in the kernels happens to make a big difference on your particular machine for some reason.19:15
Jeniczekhttp://kernel.org/pub/linux/kernel/v2.6/19:15
Jeniczeksorry pad paste19:15
JeniczekI was just pastin what jmarsden thought about the switch do Debian to my guys ;)19:15
Jeniczekand heres a list of kernel patches for 2.6 kernels19:16
Jeniczekhttp://kernel.org/pub/linux/kernel/projects/rt/19:16
Jeniczekso I dont think that this depends on the age of the distro19:16
bogeyd6you should get 2.6.27.3.419:16
bogeyd62.6.27-7 is the most up2date i think19:17
Jeniczekhmm, why this one? I can see 2.6.31.12-rt20 here19:17
Jeniczekhttp://kernel.org/pub/linux/kernel/projects/rt/patch-2.6.31.12-rt20.gz19:17
Jeniczekheres a patch19:17
Jeniczekhttp://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.12.tar.gz19:17
Jeniczekheres the kernel19:17
bogeyd6going off the reservation a little bit19:18
bogeyd6turning a 15 minute project into so much more19:18
Jeniczekwhattya mean?19:18
Jeniczekso you think that I should just give a try to apt-get install linux-rt ?19:18
Jeniczeknot to do stuff like compilin own rt kernel?19:18
bogeyd6correct19:19
bogeyd6give it a shot, you get an improvement, you compile your own19:19
Jeniczekbcuz this guide gives some optimization options before compilation as well19:19
Jeniczekhttp://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization19:19
Jeniczekhmm19:19
Jeniczekwell, thats also an option19:19
bogeyd6trying to minimize your down time19:19
jmarsdentrying the sudo apt-get install linux-rt    sounds reasonable to me at this point.19:20
bogeyd6jmarsden, but you had so many other ideas!!!19:20
bogeyd6<coolface>19:20
jmarsdenwhich are also worth a try...19:20
Jeniczekhmmmm19:21
bogeyd6i know, some people have to check everything and other people connect the dots quicker19:21
Jeniczekok, why not to give that a try19:21
Jeniczekdoes the server needs to be rebooted for that?19:21
JeniczekI guess it does19:21
bogeyd6i wonder what happens to ubuntu when they finally make it to Z19:22
patdk-wkheh? I thought they already did19:23
Jeniczekbtw dont you know, if ACE ( http://www.cs.wustl.edu/~schmidt/ACE.html ) needs to be fully recompiled after the kernel switch?19:23
bogeyd6does it include kernel modules like vmware?19:24
JeniczekI really dont know19:24
bogeyd6generally you dont need to recompile for the linux-rt19:24
Jeniczekmmkay19:24
Jeniczekbut the server reboot is requested for kernel change, right? ;)19:25
bogeyd6http://rt.wiki.kernel.org/index.php/Frequently_Asked_Questions#Do_I_need_to_recompile_my_applications_to_get_realtime_performance.3F19:25
bogeyd6Jeniczek, yes19:25
Jeniczekmaybe stupid question.. but its 21st century.. so everythin is possible19:25
Jeniczekokok19:25
garymcyep im totally lost with this email server stuff, maybe time to jack it in19:26
bogeyd6garymc, you using zimbra?19:27
garymcbogey no, just installed and configured dovecot and postfix. Just cant seem to get my head around it19:27
garymcbogeyd6 :^19:28
bogeyd6oh yeah it can be puzzling19:28
garymclike i want to make accounts so when im at home and stuff my outlook express can send and recieve emails through my server19:28
garymconce ive installed dovecot and postfix how do i go about sending an email?19:30
bogeyd6you are in luck19:30
bogeyd6!mailserver19:30
ubottuUbuntu supports the Simple Mail Transfer Protocol (SMTP) and provides mail server software of many kinds. You can install a basic email handling configuration with the "Mail server" task during installation, or with the "tasksel" command. See also https://help.ubuntu.com/community/MailServer and https://help.ubuntu.com/9.04/serverguide/C/email-services.html19:30
garymciam?19:30
bogeyd6https://help.ubuntu.com/community/MailServer19:30
bogeyd6someone did all the work for you and put it into a handy guide :)19:31
garymcbogeyd6 : Ive been following this guide and done the postfix one and dovecot one. I dotn really want webmail just yet. I want to use Outlook to send and recieve emails19:33
bogeyd6kk19:33
garymcit doesnt tell me how to do that19:33
bogeyd6so you need to know how to setup outlook express?19:33
garymcwell just outlook19:33
garymci know how i normally do it when i use a hosted service19:33
bogeyd6go to tools, accounts, make a new account19:34
Jeniczekoh19:34
Jeniczekgot DCed19:34
Jeniczekvmware installation in progress ;)19:34
ruben23hi19:34
garymcyeah i know that, but how do I create a new email like john@mydomain.com and gary@mydomain.com etc etc19:34
bogeyd6you mean make a dovecot user?19:35
garymcyes19:35
bogeyd6users get dovecot access19:35
jmarsdenjust create unix user accounts john and gary19:35
garymcright?19:36
jmarsdenyes.19:36
bogeyd6ala sudo adduser blah blah blah19:36
bogeyd6!adduser19:37
ubottuTo add new users to your Ubuntu system, follow the instructions at https://help.ubuntu.com/community/AddUsersHowto - For administrative privileges, users need to be made members of the group "admin" - See !sudo19:37
garymcok well im already there gary19:37
bogeyd6mbox or maildir?19:37
garymcso how do i connect to my server with outlook.19:37
garymcmaildir19:37
bogeyd6create a new account with he information but choose the manual option, dont let it do it automatically19:37
bogeyd6(checkbox at bottom of wizard allows manual)19:38
garymcyep19:38
bogeyd6otherwise outlook like to try to figure out everything but typically fails unless it is an exchange server19:39
garymcyeah. Ive put settings in and its not working19:39
bogeyd6uncomment the listen line in /etc/dovecot/dovecot.conf19:39
garymcthe listen line is uncommented19:40
bogeyd6restart the dovecot server19:41
bogeyd6sudo /etc/init.d/dovecot restart19:41
garymcdone all that19:42
bogeyd6if outlook still wont connect then you need to login ssh style into the server and issue a command such as "telnet localhost 143"19:42
garymcyou talking about the 'socket listen' part of dovecot.conf19:42
garymc?19:42
bogeyd6it should be #listen = *  and you change it to listen = *19:42
garymcive just done telnet localhost 143 . it says * Dovecot ready19:43
garymcok still not working19:45
bogeyd6hmm19:45
bogeyd6you at the same place the server is?19:45
garymcno im ssh ing to it19:47
bogeyd6sudo ufw status19:47
bogeyd6so wait, there is a very good chance there is a firewall between you and the server?19:48
garymcstaus inactive19:48
garymchave i got to open port 25 to the server?19:48
garymcin the firewall router?19:48
bogeyd625 for smtp, and then 143, 993, 110, 99519:49
garymci got to open them in the router?19:49
bogeyd6143 = imap, 993 = imaps, 110 = pop3, 995 = pop3s19:49
bogeyd6yes19:49
bogeyd6and then your ISP has to allow you to be able to send email, such as roadrunner blocks them19:50
bogeyd6Some ISP's do not allow their users to use a third party mail server to send outgoing mail19:51
jmarsdenYou can set postfix to listen on port 587 for mail submissions to work around that, if necessary19:55
garymcyeah i could do that19:56
garymcinstead of port 2519:56
Jeniczek0:20:09] <jmarsden> trying the sudo apt-get install linux-rt sounds reasonable to me at this point.20:06
Jeniczekguyz i have just turned the server app off20:06
Jeniczekso keep fingers crossed20:07
Jeniczekapt-get install linux-rt is goin to be real ;)20:07
jmarsdenJeniczek: Or keep fingers in ears, so you don't hear all those 15-year-olds screaming at you :)20:07
Jeniczekwell20:07
JeniczekDont imagine the chat after the server restart has been initiated20:07
Jeniczekjmarsden if the apt-get install linux-rt wont be succesful20:09
Jeniczekapt-get uninstall linux-rt20:09
Jeniczekis the solution how to get back to original state?20:09
Jeniczekbtw20:10
Jeniczekbogeyd620:10
JeniczekThe following extra packages will be installed:20:10
Jeniczeklinux-image-2.6.27-3-rt linux-image-rt linux-restricted-modules-2.6.27-3-rt linux-restricted-modules-rt20:10
Jeniczekits goin to install this stuff20:10
bogeyd6yah thats normal20:10
Jeniczekhm20:11
Jeniczekit updated the menu.lst20:11
Jeniczekbut theres20:12
Jeniczekdefault 020:12
jmarsdenRe the uninstall, it may be unnecessary.  installing linux-rt should install the rt kernel in parallel with the original linux-image-server one, so you should just be able to boot into either kernel from the grub screen, if you have a way to access that screen (see my point re remote console access earlier!).  If not you can switch which kernel grub will use by default in /boot/grub/menu.lst20:12
Jeniczekbtw why it is called just20:12
JeniczekUbuntu 8.10, kernel 2.6.27-3-rt20:12
Jeniczekand no server string in it?20:12
jmarsdenProbably it is not a server-specific kernel.20:13
jmarsdenRT stuff is useful for (for example) low latency audio recording... which is often done on desktop machines as much as server machines...20:13
Jeniczekhmm20:13
Jeniczekwell the things in menu list20:13
Jeniczekdefault 020:14
Jeniczekthe first entry in the end is 0?20:14
Jeniczeki mean the first kernel20:14
jmarsdenThe first entry (nearest the top of the file) is 0.20:14
Jeniczekso i should edit it to 8 then20:14
Jeniczekok20:14
Jeniczekwell I hope it will boot20:14
Jeniczekif not20:14
Jeniczekthen am fucked up a lot20:15
Jeniczekreboot in progress20:15
jmarsdenThat's why you need the colo provider to give you some form of remote console access and remote reboot capability!20:15
jmarsdenA 200km drive to edit an 8 into a 0 and reboot a machine seems a little awkward :)20:17
bogeyd6i dont know of a colo that doesnt give remote kvm access20:17
garymcbogeyd6 ok i opened the ports and now outlook is asking for username passwaord20:18
garymcis my username gary or gary@mydomain.com20:18
jmarsdengarymc: well, you know what those are :)20:18
bogeyd6the username is just "gary" and the password is the password you use to login20:18
garymcyeah its not having it? :S20:19
Jeniczekhmm20:19
Jeniczekserver still not up...20:19
garymcemails arnt20:20
Jeniczekok server up xD20:20
Jeniczekufff20:20
garymcwhen i do telnet mail.mydomain.com 25 it closes str8 away saying closed by foriegn host20:20
Jeniczekuname -a20:20
JeniczekLinux twinstar 2.6.27-3-rt #1 PREEMPT RT Mon Oct 27 03:02:33 UTC 2008 x86_64 GNU/Linux20:20
Jeniczeksounds good20:21
Jeniczekbut 2y old xD20:21
jmarsdenOK... start the game server and see how things go :)20:21
bogeyd6Jeniczek, 8.10 was released 2 yrs ago20:21
Jeniczekwell am still thinkin if ACE needs to be reconfigured and recompiled20:22
Jeniczekmaybe at this stage it doesnt use the power of RT20:22
garymcso any ideas how i can get my mail server working?20:22
garymcor do some tests?20:22
jmarsdenJeniczek: Very unlikely IMO, unless it has kernel modules it loads.20:23
jmarsdengarymc: nc to port 143 and play with IMAP login there, and then check your server logs for relevant log entries.20:23
bogeyd6garymc, it didnt like your u/p?20:23
garymcu/p ?20:24
jmarsdenusername/password20:24
garymcnope20:24
garymcit didnt20:24
jmarsdennc to server port 143, then type IMAP commands at it... such as   * login gary YOURPASSWORD20:25
jmarsdenand see what it does... troubleshoot.20:25
jmarsdenMake that   . login gary YOURPASSWORD20:26
jmarsden* is an invalid IMAP tag.20:26
garymcsorry to sound stupid but what is "nc to server" ?20:27
garymchey here is something20:28
garymcif i type "telnet mail.mydomain.com 25" I get connection closed by foriegn host.20:28
garymcIf I do "telnet mail.mydomain.com 143"20:28
garymcI get dovecot ready20:28
jmarsdenIt's better to use nc than telnet, but whatever.  So now test it with imap commands, as I already said.20:29
JeniczekGUYZ20:31
Jeniczekwhat the fuck20:31
jpds!ohmy | Jeniczek20:31
ubottuJeniczek: Please remember that all Ubuntu IRC channels share the same attitude of providing friendly and polite interaction with all users of all ages and cultures. Basically, this means no foul language and no abuse towards others.20:31
Jeniczekit doesnt support multiple Cores?20:31
Jeniczekwhy do I see my CPUs as one?20:32
Jeniczekis that normal?20:33
Jeniczekjmarsden bogeyd6 ?20:33
jmarsdenJeniczek: cat /proc/cpuinfo    # how many do you see?20:33
Jeniczekone20:33
bogeyd6oh lol!!!!!!20:34
bogeyd68.10 probably isnt SMP20:34
jmarsdenI think this experiment needs to end :)20:34
bogeyd6The real-time kernel variant included in Ubuntu 8.10 does not include SMP support. Users of UbuntuStudio 8.04 who need real-time kernel support for dual-core, dual-processor, or more complex SMP configurations are advised not to upgrade to UbuntuStudio 8.10 at this time.20:34
bogeyd6out of curiosity Jeniczek , did it fix the issue?20:35
Jeniczekyou think I will run it with one CPU?20:35
Jeniczekoh man20:35
Jeniczekit doesnt even recognieze its multicore20:36
jmarsdenTrading possibly better scheduling latency for 3 CPU cores (or 7 CPu cores, if you have a dual socket server) seems like a poor tradeoff in most circumstances.  But you could test it and see :)20:36
MrZhiwordpress has now become my white whale20:36
garymcjmarsden I get an error BAD when i try to login with my name and password20:36
bogeyd6garymc, you sure you using right username and password?20:36
garymcyes20:36
Jeniczekno20:37
Jeniczekit is unusable20:37
jmarsdengarymc: Sounds like dovecot is not set up corectly or saslauthd is not running or something along those lines.  Time to check your log files.20:37
garymcsaslauth20:37
garymchmm ok20:37
garymcill take another look20:37
bogeyd6Jeniczek, just change your default to the next kernel and reboot20:37
jmarsdenJeniczek: OK, then switch back to the default kernel.20:37
Jeniczekyeah20:38
Jeniczekdid20:38
Jeniczekits actually rebooting20:38
Jeniczekand I g2g20:38
Jeniczeka friend of mine will compelte this20:38
Jeniczekmy gf will kill me anyway20:38
garymcwhere would my password directory be for saslauth as the location im told to add doesnt exist20:38
Jeniczekthanks a lot for your support huys20:38
Jeniczekon mondey debian will show us the truth20:38
=== Jeniczek is now known as Jeniczek|afl
bogeyd6kk20:38
=== Jeniczek|afl is now known as Jeniczek|afk
garymcPWDIR="/var/spool/postfix/var/run/saslauthd"20:38
jmarsdenJeniczek|afk: You're welcome.20:38
garymcthat location doesnt exist20:38
bogeyd6garymc, you said you followed the setup20:39
garymcyes i did. And that doesnt exist20:39
garymcthat folder20:39
jmarsdenThat's the default??20:39
garymcoh yes ubuntu wouldnt add this program libsasl2-220:40
bogeyd6https://help.ubuntu.com/community/Dovecot#Authentication20:40
jmarsdengarymc: Which version of Ubuntu Server (and so which version of the server guide) are you following?20:40
garymcwhen i done sudo apt-get install libsasl2-2 it didnt install anything20:40
garymcim using karmic koala20:40
jmarsdenThen all you needed to do was sudo apt-get install dovecot-postfix20:41
garymchttps://help.ubuntu.com/community/Postfix#Configuration20:41
garymcYeah I did that20:41
garymcbut the guide above tells about saslauthd stuff20:42
garymcso was just looking at that now20:42
jmarsdenYou apparently made a bunch of other changes too, which I suspect broke something.  Just simply doing   sudo apt-get install dovecot-postfix   # and answering the questions, is sufficient to get a working basic email server on karmic.20:42
MrZhifyi, the wordpress package is not for noobs to wordpress20:43
garymcok well i done that. Im now guessing that A.) im using LTSP ubuntu20:43
garymci installed the Jaunty Edition last year. and upgraded to Karmic 2 days ago in the LTSP GUI20:43
garymcso im guessing that done something or never done something and now im having problems20:44
jmarsdenGuessing what version you are running???  You don't *know* ?  What does    lsb_release -d    output?20:44
garymcUbuntu 9.1020:46
jmarsdenOK.  Now try     dpkg-query -W dovecot-postfix    and tell me what that outputs20:46
garymcdovecot-postfix20:46
jmarsdenThere should be a version number too ... ?20:46
garymcno there isnt20:47
garymc:S20:47
garymcif i do sudo apt-get install dovecot-postfix again what would that do?20:47
jmarsdenThen you probably didn't install that package.  I'd suggest you purge dovecot and postfix and then install it.  So    sudo apt-get purge dovecot postfix dovecot-postfix && sudo apt-get install dovecot-postfix20:48
garymcdpkg-query -W dovecot-postfix (output) dovecot-postfix . Nothing else :S20:48
garymcok im going through it nopw20:49
garymc*now20:49
garymcit is saying what would i like to do with dovecot-postfix.conf20:50
garymcreplace, keep20:50
jmarsdenreplace.  Start over.20:50
garymcok20:50
garymcits just sitting there now20:51
garymc:S20:51
jmarsdenSitting where?  back to a shell prompt?20:51
garymcat a shell prompt but i cant do anyting there now?20:51
garymcok its done20:51
garymcbut now i get fail20:51
jmarsdenPastebin the output so we can see it "fail" is too vague :)20:52
garymchttp://pastebin.ca/177234820:52
garymc^ fail20:52
uvirtbotgarymc: Error: "fail" is not a valid command.20:52
garymcFails output ^20:53
garymcaddress already in use20:53
jmarsdenYou seem to have something else listening on port 2000.  Do you know what that is?20:53
garymcnope20:53
garymci dont know why its there20:54
garymcand i dont know how to change dovecot-postfix to listen on a differnt port20:54
jmarsdensudo netstat -ntlp | grep 2000    # and see what is there.20:54
garymchttp://pastebin.ca/177235420:55
garymctcp or something dont know what it is?20:55
jmarsdeninetd!  How did that get to be listening on port 2000?20:56
garymc???20:56
jmarsdenpastebin the contents of /etc/inetd.conf20:56
garymcWhat is inetd20:56
jmarsdenA "superserver" daemon that starts up some other services under it as needed.20:56
garymcim running this server as an ltsp one20:56
garymcthat anything to do with it?20:57
jmarsdenMaybe ltsp uses port 2000 for something else... pastebin me the /etc/inetd.conf so I can find out :)20:57
garymchttp://pastebin.ca/177235620:58
garymcI see port 2000 there at the bottom20:58
jmarsdenYes.  So that's your problem.  Two apps trying to use the same port.20:58
garymcso how do i change the dovecot-postfix to use a free port?20:59
garymc??21:00
jmarsdenI've not had to do that, but it's likely to be an edit to /etc/dovecot/dovecot-postfix.conf21:01
garymcyeah i looked in there and cant see a mention of port 2000 at all21:01
jmarsdenAh, port 2000 is sieve.  I wonder why LTSP reused that port...21:01
garymcthat i dont know21:02
jmarsdenAs an experiment (this may not be a final answer) edit the line starting with protocols =  by removing the word managesieve from it.  Then restart dovecot.21:03
garymcis that in dovecot.conf?21:03
jmarsdenIn /etc/dovecot/dovecot-postfix.conf21:03
garymcok done that21:05
garymcrestarted it and says ok21:05
jmarsdenOK.  Now telnet (or nc) to port 143 and test again.21:06
garymcdoesnt let me connect now lol21:06
jmarsdeneven from the server shell?  does telnet localhost 143    connect ?21:07
garymcconnection refused21:07
garymcill try nc21:08
jmarsdenStrange.  What does    sudo /etc/init.d/dovecot status     output?21:08
garymccould not acces PID file for dovecot21:08
jmarsdenYou forgot the sudo ?21:09
garymcnope21:09
garymc* could not access PID file for dovecot21:09
ruben23hi guys any support oh Hig definition audio..? coz lately im facing problem using ubuntu desktop latest version on using softphones for voip calls, voice quality is not good at all.21:11
jmarsdenEither there is junk from your earlier config still around somehow, or that makes no sense to me...  what does   ps axwu | grep dovecot    output (hopefully several lines, in which case pastebin it)?21:11
jmarsdenruben23: For desktop issues ask in #ubuntu, this is #ubuntu-server :)21:11
ruben23ow sorry21:12
ruben23i will now21:12
garymcjmarsden ok it seems to be working now21:14
jmarsdenOK... :)21:14
garymci can telnet " telnet mail.mydomain.com 2521:14
garymcso how would i test if my email can connect?21:14
jmarsdenBut that's not dovecot, that's postfix...21:14
garymchow do i test dovecot then?21:15
garymcport 14321:15
garymc?21:15
jmarsdenYes,21:15
garymcok says dovecot ready21:15
garymcwhat now21:15
garymc.login thingy21:15
jmarsdenWe went through this earlier... yes.21:15
uvirtbotNew bug: #514883 in kvm (main) "dialog-based applications seem sluggish" [Undecided,New] https://launchpad.net/bugs/51488321:16
garymc.login BAD Error in IMAP command received by server.21:16
garymcthats my output21:16
jmarsdenWhat command did you type (don't tell me your password if you included it) ?21:16
garymcok21:17
garymc.login gary password21:17
jmarsdenYou are missing a space between the . and the login21:18
jmarsden<jmarsden> Make that   . login gary YOURPASSWORD21:18
jmarsdenThat's what I said earlier...21:18
garymcsorry ok i give it ago now21:19
garymc:) logged in21:20
garymc:)21:20
jmarsdenOK.  So now test by sending yourself a short email.     date |mail -s test gary@yourdomain.com21:20
jmarsdenOh, first do . logout21:20
garymci do that command out of telent?21:20
garymcor in telnet?21:20
jmarsden. logout     # to exit the telnet session.21:21
jmarsden date |mail -s test gary@yourdomain.com   # at the shell prompt21:21
garymcdamn how do i quit telnet21:21
jmarsden. logout21:21
garymcah ha21:21
jmarsdenlogs out of IMAP and so closes the session.21:22
garymcthe program "Mail" can not be found21:22
jmarsdenShould be "mail" not "Mail" but anyway...    sudo apt-get install bsd-mailx      # and then try the   date |mail -s test gary@yourdomain.com21:23
garymci didnt realise it would be so hard to install this email server stuff21:24
jmarsdenif you think this is hard, you've not much experience with administering servers :)21:24
garymcok that seems to work. no output though21:25
jmarsdenGood.  Now let's see if it was delivered... back to telnet to port 143 again.21:25
ruben23hi i have install dnsmasq on my ubuntu- server do i need to setup my resolv.conf to start with 127..0.0.1 before the dns forward to my ISP..?21:25
garymcjmarsden : do i login again?21:26
jmarsden. login gary PASSWORD21:26
garymclogged in21:27
jmarsdenand then list the contents of the INBOX... let me find the command...21:27
garymcok21:27
jmarsden. select INBOX21:28
jmarsden. status (MESSAGES)21:28
jmarsdenDoes it say you have a message?21:28
as1965ruben23: no - not unless you want the dnsmasq server to use dnsmasq as well.21:29
as1965The dnsmasq man page is worth a read (+ FAQ)21:29
jmarsdengarymc: Talk to me... did those commands work and show that you have a message in the INBOX ?21:31
jmarsdengarymc: I need to go out for lunch soon, BTW...21:32
garymcsorry had to take a wazzz21:32
garymci just doen the inbox one21:32
garymc0 exists21:33
garymc0 recent21:33
garymcOK UADVALIDITY21:33
jmarsden0 exists seems... not quite what we need.  Looks like the test email did not get delivered.21:33
garymchmm21:33
garymcshould i try the messages one?21:33
jmarsdenMy mailbox has  * 1769 EXISTS   :)21:34
garymclol nice21:34
jmarsdenSure, you can try it.  I doubt it will help though.21:34
garymcdidnt work21:34
jmarsdenOK.   . logout        and then you'll need to look at the logs under /var/log to see what happened to that test email.21:35
jmarsdenBut I need to go eat lunch, I expect I will be back here later on.21:35
garymcok have a nice lunch21:36
jmarsdenThanks.21:36
garymcwhat log file am i looking for there are all sorts21:36
jmarsden/var/log/maillog and /var/log/messages woudl be good places to start with.21:36
garymcok21:37
jmarsdenCheck  /var/log/mail*  (whatever files you have in there starting with mail) ...21:37
garymchave a nice lunch i may still be here but thanks for all your help21:37
jmarsdenBye for now... you're welcome.  You are definitely closer than you were to a working mailserver.21:37
garymc:)21:40
Timreichhartis anybody running freeside?21:47
ruben23 i have a ubuntu server having ipatbles as firewall on my network, now, i have application who are going to used http and https service, how do i open it on my firewall by inputing firewall rules22:13
dvheumenyou might want to look at 'ufw' instead of trying to configure iptables directly22:36
garymcjmarsden you back?22:43
=== lamont is now known as 50UAAANDT
ruben23what happend guys..?23:05
=== bogeyd6 is now known as Guest20795
=== jono is now known as Guest71036
=== Authority is now known as Guest90199
=== jpds is now known as Guest20241
=== jussi01 is now known as Guest98536
=== maxb is now known as Guest41877
garymci think freenode closed down23:06
ruben23upgrade..?23:07
jmarsdengarymc: I'm back now.23:23
garymccool23:24
ruben23yeah..nice23:24
ruben23we need experts here..23:24
jmarsdenfor more on "what happened" see http://blog.freenode.net/23:25
garymcjust to let you know, i sudo ap-get purge bsd-mailx23:26
jmarsdenruben23: Re firewall rules, are the http/https daemons running on the same Ubuntu server machine that is your firewall, or on some other machine?23:26
jmarsdengarymc: OK, but why?23:26
garymcand installed heirloom-mailx23:26
ruben23yes23:26
garymccos i didnt think you was coming back so thought id try the ones ubuntu was recommending23:27
ruben23its running on the same server23:27
jmarsdengarymc: Oh... no big difference between those in practice, but OK.23:27
garymcoh23:27
garymci should have left it now23:27
garymc:(23:27
garymcJust got to do something for the missus be back in 2 mins23:27
jmarsdenruben23: So you can use ufw and add rules like    sudo ufw allow 80/tcp23:27
jmarsdenand sudo ufw allow 443/tcp23:28
ruben23ok, are there no editing of rules directly to the Iptables..?23:28
jmarsdenruben23: You can do it that way if you prefer, it's your server :)23:28
dvheumenruben23, I'm curious, why would you want to manipulate iptables directly?23:29
ruben23dvheumen: learning...how to used the different rules..23:29
jmarsdenruben23: On a production server/firewall, wouldn't it make more sense to learn by using ufw and then looking at the rulesets it creates? :)23:30
dvheumenyeah, that was my thought :)23:30
ruben23ok, i can go with that also23:30
dvheumenand ... iptables is quite lowlevel, ufw does some additional rules automatically for allowing existing connections through and such. If you only use iptables rules, you need to set these rules manually23:31
ruben23dvheumen:ok noted.23:32
garymcjmarsden im back23:32
jmarsdengarymc: OK, so other than swapping out mail/mailx, what was in your logs? :)23:33
jmarsdenDid you see where the test email either was delivered, or why it was not delivered?23:33
garymcok23:34
garymcright i dont know what any of it means :S23:35
garymcill pastebin23:36
garymcjmarsden http://pastebin.ca/177253023:36
jmarsdenOK... but what kind of server admin are you -- you run an LTSP server but have never learned to read log files??  Time to learn!23:36
jmarsdenThe big clue is line 10, mail loops back to myself.23:37
jmarsdenIt means you didn't answer debconf questions about your domain correctly when you installed dovecot-postfix, I suspect.23:38
garymchmm ok23:38
garymcwhat parts have i got wrong do you reckon23:38
garymcis it cos it says mail.mydomain.com?23:39
jmarsdenon phone...23:39
garymcroot@mail.mydomain.com ?]23:39
dvheumenI think the following is interesting: from-mail-domain: mail.thefinancefacility.com, to-mail-domain: thefinancefacility.com23:45
jmarsdengarymc: OK... phone was from paid consulting client... so they get priority :)23:45
dvheumendoes this server know it should also accept/process mail from thefinancefacility.com23:45
dvheumenand not only mail.thefinancefacility.com23:45
jmarsdendvheumen: Probably not.  You're right.23:45
garymcjmarsden : of coarse they do :)23:45
jmarsdengarymc: When you told debconf what the local domains were, how did you answer that question?23:46
garymci put mail.thefinancefacility.com and there where a few others let me get them up23:46
dvheumenit seems to me that (probably based on DNS resolve) it derives that it must handle the mail locally, but it's not programmed to handle that domain locally23:47
garymcok first off. system mail name. thefinancefacility.com23:47
jmarsdengarymc: Try    postconf -n | grep mydestination23:48
garymcmail.thefinancefacility.com, ubuntu.gateway.2wire.net, localhost.gateway.2wire.net, localhost_23:48
garymcthat is for ^^ postfix config23:49
jmarsdenRight.  We need to add thefinancefacility.com to that.23:49
garymci only put the financefacility bit23:49
jmarsdenOr you needed to test by sending date |mail -s test gary@mail.thefinancefacility.com     # if you really prefer that.23:49
garymcno i want it without the mail23:49
jmarsdenOK, so do   sudo postconf -e "mydestination = mail.thefinancefacility.com, ubuntu.gateway.2wire.net, localhost.gateway.2wire.net, localhost, thefinancefacility.com"23:50
jmarsdenand then restart postfix23:50
garymcok done that23:51
garymcdo test mail again23:51
jmarsdenOK, now retest sending ... yes.23:51
garymcok23:51
garymcsent mail23:51
jmarsdenOK, now see if it was delivered; either test with telnet localhost 143, or however else you want to look for the received email.23:52
garymcok23:53
garymcOooohohh we got action23:54
garymc1 exists23:54
dvheumenhehe23:54
garymc1 recent23:55
jmarsdenOK, now go test your real email client (Outlook or whatever you prefer).  I think we've finally got you a working mail server :)23:55
garymcok in outlook i add pop3 account?23:56
jmarsdengarymc: Well, if that is what you want.  IMAP might be better, depends on how you use email and where you want the user's email to be stored/backed up from/etc.23:57
jmarsdenThat's not a Ubuntu server question :)23:57
garymcwell i tried doing an imap one then and no joy23:57
jmarsdenBe specific... what do you mean by "no joy"?  What happened when you tested the newly configured account?23:57
garymcincoming and outgoing mailserver be23:57
garymcmail.thefinancefacility.com23:58
jmarsdengarymc: sure, if that resolves to the IP address of your server.23:58
garymcit didnt work just got error23:58
jmarsdenNo, Outlook is a lot more informative that "it didn't work" or "error".  I work with hundreds of small businesses and thousands of email users, trust me, I know this :)23:59
garymchmm ok that failed23:59
jmarsden"failed" is not specific.23:59
garymcmaybe it isnt mail.thefinancefacility.com ?23:59
jmarsdenYou are *guessing* and your domain and server names???23:59

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