[00:31] <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/514570
[01:04] <simmerz> Hi. 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:09] <jmarsden> simmerz: 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:10] <simmerz> no errors. nothing fixed
[01:10] <simmerz> the only thing i'm using is a custom kernel from my hosting provider's repository
[01:11] <simmerz> everything else is straight ubuntu
[01:11] <jmarsden> Hmmm... so maybe I guessed wrong :)  Can you go back to a real Ubuntu kernel, reboot, and then try the upgrade?
[01:11] <simmerz> I don't have another one installed. what is the right package to install? I'm thinking some virtual one or something?
[01:12] <simmerz> ah, additional thing: it's a kvm host
[01:13] <simmerz> in which case it's between linux-image-server and linux-image-virtual
[01:14] <jmarsden> simmerz: 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] <simmerz> rent the entire machine
[01:14] <simmerz> and i'm upgrading the host, not the guests
[01:14] <jmarsden> OK, then linux-image-server should be the one.
[01:14] <simmerz> ok
[01:15] <simmerz> wonder if just by having it installed, the upgrade might work..
[01:16] <simmerz> that'll be a no
[01:17] <jmarsden> I'd really doubt that would do anything useful.
[01:17] <simmerz> so i'll need to reboot into this kernel now and try that?
[01:17] <jmarsden> I'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] <jmarsden> Yes.
[01:18] <simmerz> wondering if running it and then uninstalling the custom one might do it?
[01:18] <simmerz> given it suggests that one of the causes of that problem is using software not from ubuntu.
[01:18] <jmarsden> simmerz: Make very sure your sevrer runs fine with the default one before trying that :)
[01:18] <simmerz> i intend to!
[01:19] <simmerz> there are 4 client guests on the box that i have no intention of buggering up!
[01:19] <jmarsden> Do you know why the hosting provider created their own kernel, and what exactly they did to it?
[01:19] <simmerz> jmarsden: mostly to support some legacy hardware, and they've stuck with it. but generally they appear to be moving to stock kernels now
[01:20] <simmerz> mostly because they also do vps with their custom kernel too...
[01:20] <jmarsden> OK.  Then as long as your server doesn't have that legacy hardware, you should be fine.
[01:20] <simmerz> it's Bytemark if you're wondering (UK hosting provider)
[01:23] <simmerz> hmm. installing didn't add the kernel to grub
[01:25] <simmerz> update-grub seems to not have been run
[01:25] <simmerz> done it now
[01:34] <jmarsden> That 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] <simmerz> yes
[01:34] <simmerz> now I can't get the vm's started again though. incl. on the old kernel :D
[01:35] <jmarsden> Hmmm, 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] <simmerz> i'm back on the old kernel atm. just to work out what i'm doing wrong
[01:36] <simmerz> shouldn't need to load it. kvm_amd and kvm are loaded
[01:36] <simmerz> joyfully, I get naff all by way of bug reporting
[01:37] <jmarsden> So you try to start a VM and it just returns as though it succeeded?  Strange.
[01:37] <simmerz> but without it running. I'm using kvmctl
[01:38] <simmerz> what an idiot. could not aquire pidfile. istr having to create a directory in /var/run :D
[01:38] <android6011> I 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:39] <simmerz> how can i automate that?
[01:43] <jmarsden> simmerz: Automate creating /var/run/somedirectory?  Stick  an mkdir /var/run/somedirectory command in /etc/rc.local ?
[01:43] <simmerz> will test that shortly
[01:43] <simmerz> just making sure kvm runs on the stock kernel nicely
[01:46] <simmerz> i'm aiming at upgrading as far as karmic and getting libvirt running again
[01:52] <jmarsden> Sounds doable...
[01:54] <simmerz> jmarsden: all guests running happily on the stock kernel now
[01:55] <jmarsden> You are well on your way.  Good.  I'm off to transport a bunch of kids around, will probably be back here later.
[01:58] <simmerz> still no joy :( even after removing the kernel and the deb line in /etc/apt
[02:04] <jmarsden> simmerz: So it's something else... nothing obvious comes to mind, I'd google a bit and hope someone else documented a solution.
[02:04] <simmerz> yeah that's what I've been doing :(
[02:33] <simmerz> jmarsden: you won't believe this. It worked when I changed the deb sources to use the official mirror instead of my hosting provider's one
[02:49] <simmerz> why would grub not automatically update? my machine thinks it's dealing with lilo
[02:56] <twb> d-i will install lilo if you don't put /boot somewhere grub can find it
[02:59] <twb> You might also want to check /etc/kernel-img.conf
[03:00] <twb> Note that (at least with GRUB Legacy) "updating grub" means updating /boot/grub/menu.lst, NOT re-writing the MBR.
[03:09] <jumbers> Is it possible to configure Ubuntu Server to do a clean shutdown on power button press?
[03:10] <twb> jumbers: aptitude install acpid
[03:10] <twb> It annoys me that this isn't in the default install.
[03:11] <twb> Last 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:13] <jumbers> Right, because you're likely to bump into the power button on a rack mounted server
[03:13] <twb> jumbers: well, everyone has kicked out the UPS at least once :-)
[03:17] <simmerz> jmarsden: all happy now :)
[03:18] <jmarsden> Cool!  Happy and running Karmic?  Or still Jaunty? :)
[03:19] <jumbers> twb: At least that was super easy
[03:20] <twb> Yeah
[03:20] <twb> It'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:21] <twb> s/base support/the daemon itself/
[03:22] <twb> I guess people like you and me are a big enough minority that splitting powerbtn.sh out of the "everything else" package made sense
[03:22] <jumbers> Because it's stupid to not support that
[03:23] <jumbers> I put it on my home server, though I wouldn't put it on my server in the data center
[03:23] <twb> jumbers: but why is the power button more special than, say, the CPU fan?
[03:24] <jumbers> :iiam:
[03:25] <simmerz> jmarsden: Jaunty for now. It's 3.30am so going to sleep and doing the karmic upgrade in the morning
[03:25] <jmarsden> twb: Maybe because the cpu fan does something useful (spins, cools) without acpid; the power button *needs* acpid to do its job? :)
[03:25] <jmarsden> simmerz: OK; sleep well :)
[03:25] <twb> jmarsden: I guess...
[03:25] <twb> Technically the power button does work without acpid -- hold it down and it'll do a hard halt
[03:25] <simmerz> jmarsden: thanks for the pointers. sort of guided me into trying more stuff
[03:25] <jmarsden> simmerz: You're welcome.
[03:26] <jumbers> twb: But that's at hardware level
[03:26] <jumbers> Not kernel
[03:26] <jmarsden> jumbers: So is the cpu fan :)
[03:26] <jumbers> The kernel doesn't monitor and adjust the fan accordingly?
[03:27] <jmarsden> Without 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.
[07:02] <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/514629
[07:20] <MTecknology> lilzeus-web: hi
[07:20] <lilzeus-web> hello
[07:20] <lilzeus-web> wow, that was fast
[07:20] <lilzeus-web> sleeping
[07:20] <MTecknology> I'm always in here
[07:21] <MTecknology> anyway - ya - most are US timezone
[07:21] <MTecknology> so let's get started
[07:21] <MTecknology> where is your server?
[07:21] <MTecknology> physical location according to where you are
[07:22] <lilzeus-web> OK, 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 requested
[07:22] <lilzeus-web> I am in Cali
[07:22] <lilzeus-web> err, its at my feet and I am on it now
[07:23]  * jmarsden does not recommend standing on servers :)
[07:23] <MTecknology> what's the ip?
[07:23] <MTecknology> jmarsden: I've done it :P
[07:23] <MTecknology> they're warm
[07:24] <lilzeus-web> don't hack me
[07:24] <lilzeus-web> 173.58.165.11
[07:24] <lilzeus-web> hopefully you get 'It works!!'
[07:24] <MTecknology> yup
[07:25] <MTecknology> !loopback
[07:25] <lilzeus-web> hell, I got nothing worth hacking...lol
[07:25] <MTecknology> that's not it...
[07:25] <MTecknology> lilzeus-web: language.. gotta watch it outside of -offtopic ;)
[07:25] <MTecknology> lemme find a link....
[07:25] <MTecknology> meh - I'll explain
[07:26] <MTecknology> lilzeus-web: what is the local IP of your server
[07:26] <jmarsden> MTecknology: Since you see "It works!", it works... the server is alive and visible.
[07:26] <MTecknology> 192.168.1.5 ?
[07:26] <lilzeus-web> 192.168.1.5
[07:26] <MTecknology> :P
[07:26] <lilzeus-web> how did you know?
[07:26] <MTecknology> type that in your web browser
[07:26] <MTecknology> just a guess
[07:26] <lilzeus-web> seriously?
[07:27] <lilzeus-web> you guessed?
[07:27] <MTecknology> it's a common one
[07:27] <lilzeus-web> hmm, I just picked it randomly
[07:27] <lilzeus-web> lol
[07:27] <MTecknology> anyway - go there in your browser
[07:27] <lilzeus-web> It works!
[07:27] <MTecknology> yup
[07:27] <MTecknology> now try your public IP
[07:27] <lilzeus-web> same
[07:28] <MTecknology> that shouldn't work
[07:28] <MTecknology> it should time out
[07:28] <jmarsden> MTecknology: It would work if his router is smart enough to do loopback routing :)
[07:28] <MTecknology> nice router you have then i guess...
[07:28] <MTecknology> jmarsden: first router I've ever heard of being that smart :P
[07:28] <lilzeus-web> oh yeah, its one of the smartest
[07:28] <lilzeus-web> trained it myself
[07:29] <jmarsden> Really?  Plenty do it, mostly the higher end ones.  Sonicwalls do it, for example.
[07:29] <lilzeus-web> it can sit, stay...roll over is tough though
[07:29] <MTecknology> my servers roll over - and die
[07:29] <lilzeus-web> its a one turn trick, huh
[07:29] <lilzeus-web> my router is a Verizon
[07:30] <jmarsden> lilzeus-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-web> err Westell Ultraline
[07:30] <MTecknology> lilzeus-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 happen
[07:31] <lilzeus-web> jmarsden: sort of...I have two websites actually...everything was hunky dory a few days ago
[07:31] <jmarsden> So which one has the issue -- sounds like MTecknology just tested the working one :)
[07:31] <lilzeus-web> strange, cuz I didnt really change anything
[07:32] <MTecknology> lilzeus-web: give us links to go check out
[07:32] <lilzeus-web> I tried installing PHPBB...ubuntu updated...the router got a new IP...thats about it
[07:32] <lilzeus-web> www.lilzeus.net
[07:32] <lilzeus-web> try that 1990's html, if you dare!
[07:33] <MTecknology> that's a lot of changing
[07:33] <MTecknology> lilzeus-web: that page loads fine
[07:33] <lilzeus-web> ???
[07:33] <qman__> yes, works here too
[07:33] <lilzeus-web> before I go too far, where is the 'hosts' folder?
[07:33] <MTecknology> I see that resolves to 64.158.56.58 and 63.251.179.58
[07:33] <patdk-lap> hmm
[07:33] <MTecknology> /etc/hosts
[07:34] <lilzeus-web> errr what????
[07:34] <lilzeus-web> you see a website at www.lilzeus.net???
[07:34] <qman__> yes
[07:34] <jmarsden> lilzeus-web: Me too.
[07:34] <MTecknology> not very eye appealing
[07:35] <lilzeus-web> easy....
[07:35] <lilzeus-web> :)
[07:35] <patdk-lap> it's probably cause lilzeus is hosting it on his firewall
[07:35] <lilzeus-web> I did that way back in the 90's
[07:35] <patdk-lap> and 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] <MTecknology> patdk-lap: yuppers
[07:35] <MTecknology> lilzeus-web: read that loopback part again
[07:36] <MTecknology> lilzeus-web: in your router setup dns forwarding from lilzeus.net -> 64.158.56.58
[07:36] <MTecknology> lilzeus-web: they were right in #httpd; it's your DNS that needs fixing; not external DNS hosting - but your internal DNS
[07:37] <lilzeus-web> fine, but they were a$$holes for the 95% of the time until the figured it out...and still didn't offer help
[07:37] <lilzeus-web> lol
[07:38] <patdk-lap> heh?
[07:38] <patdk-lap> irc exists to solve your issues?
[07:38] <patdk-lap> no wonder you didn't get help
[07:38] <MTecknology> I'll agree there; they could have explained things better :P
[07:39] <MTecknology> lilzeus-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 breaking
[07:39] <lilzeus-web> hey pat, nice straw man/nonsquitur there
[07:39] <patdk-lap> heh?
[07:39] <lilzeus-web> so, were you there in #httpd?
[07:40] <patdk-lap> nope
[07:40] <patdk-lap> I'm just going by how your acting in here :)
[07:40] <lilzeus-web> sorry pat, that question was for MT
[07:41] <MTecknology> patdk-lap: I think they both handled things poorly in there; nothing wrong with how he's acting here
[07:41] <lilzeus-web> pat: #httpd says it is supposed to help you, was I expecting to much when I went there for help?
[07:41] <MTecknology> lilzeus-web: I'm everywhere
[07:41] <lilzeus-web> MT: so it would seem...
[07:41] <lilzeus-web> ;)
[07:41] <lilzeus-web> so, I can remove that entry into the hosts file
[07:42] <MTecknology> It's how I caught one person and caused them to be pretty much banished from the web entirely :P
[07:42] <lilzeus-web> that they had me put in...it was for the other website anyways
[07:42] <MTecknology> lilzeus-web: probably; just put it in your router
[07:42] <lilzeus-web> I can't find this entry you mentioned in my router
[07:42] <lilzeus-web> where were you getting that 65.x.x.x??
[07:43] <lilzeus-web> errr 64.x.x.x?
[07:43] <lilzeus-web> all the port forwarding was set up correctly before...I didn't change any settings in my router before all of this...
[07:44] <MTecknology> you'll want to use the most direct IP you can to get to it. This isn't port forwarding
[07:44] <patdk-lap> the router is port forwarding EXTERNAL connections inside :)
[07:44] <patdk-lap> your are already inside
[07:44] <patdk-lap> so it won't forward it inside to your webserver
[07:45] <lilzeus-web> ok, so it works for you guys but not me
[07:45] <patdk-lap> yes
[07:45] <MTecknology> example; 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.5
[07:45] <lilzeus-web> MT: ah
[07:45] <patdk-lap> if your router lets you
[07:45] <jmarsden> MTecknology: inappropriate use of "forward".  I think you mean "resolve" ?
[07:46] <patdk-lap> you can also forward connections going to the routers internal ip to your webserver, to make that work
[07:46] <MTecknology> jmarsden: ya, that one
[07:46] <patdk-lap> but most won't let you
[07:46] <MTecknology> jmarsden: in my defense I should be sleeping :P
[07:46] <patdk-lap> mt, I thought you where on the west coast :)
[07:46] <MTecknology> CST
[07:46] <MTecknology> -0600
[07:46] <lilzeus-web> well, 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-lap> EST here :)
[07:47] <patdk-lap> lilzeus-web, yes
[07:47] <patdk-lap> but when you do that, your using the external ip
[07:47] <patdk-lap> and your router won't let internal ip's be redirected to internal servers
[07:47] <patdk-lap> now if you use split dns
[07:47] <patdk-lap> one result for external people
[07:47] <patdk-lap> and your internal ip for internal hosts, it will work fine
[07:48] <patdk-lap> just a pain to manage somewhat
[07:48] <lilzeus-web> hmm
[07:48] <MTecknology> pfsense lets you do it very easily
[07:48] <patdk-lap> ya, I have shorewall solve that issue for me
[07:48] <lilzeus-web> so, if I am using external ip then why aren't my pages loading?
[07:49] <patdk-lap> cause your internal
[07:49] <lilzeus-web> omfg
[07:49] <lilzeus-web> it just worked
[07:49] <lilzeus-web> I have done nothing
[07:49] <patdk-lap> heh?
[07:49] <lilzeus-web> lets try the other site
[07:49] <MTecknology> I wish there was a pretty picture for this loopback issue. It's so common and it's beginners that need to understand it..
[07:50] <lilzeus-web> bam...now IT works too
[07:50] <lilzeus-web> what in the world
[07:50] <patdk-lap> what does nslookup say for it?
[07:50] <lilzeus-web> one minute my laptop would not resolve either address...now, it does
[07:50] <lilzeus-web> I didn't change anything in my router either
[07:50] <MTecknology> ok.... I'm gonna forget this and go to sleep
[07:51] <patdk-lap> but it's only 2am for you :)
[07:51] <lilzeus-web> MT: sounds like a good idea
[07:51] <MTecknology> patdk-lap: look up split dns
[07:51] <MTecknology> patdk-lap: I get up early
[07:51] <MTecknology> ~6
[07:51] <patdk-lap> why look up split dns?
[07:51] <patdk-lap> I just recommened he use split dns
[07:51] <lilzeus-web> thanks for the actual help, MT
[07:51] <lilzeus-web> ;)
[07:52] <MTecknology> patdk-lap: just so he understands the loopback
[07:52] <MTecknology> lilzeus-web: gotta thank the other two guys too :)
[07:52] <lilzeus-web> well, only one of them actually helped and started to troubleshoot
[07:53] <MTecknology> lilzeus-web: I mean patdk-lap and jmarsden
[07:53] <lilzeus-web> the other was just being an a$$...purposefully I think
[07:53] <lilzeus-web> oh
[07:53] <lilzeus-web> lol
[07:53] <lilzeus-web> thought you meant the jerks in #httpd
[07:53] <MTecknology> just drop that
[07:53] <lilzeus-web> thanks pat and jmarsden
[07:54] <MTecknology> lilzeus-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 solutions
[07:54] <MTecknology> it'll blow your mind; and help you a lot later on
[07:54] <jmarsden> lilzeus-web: You're welcome.
[07:54] <patdk-lap> yay for cisco docs : http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml
[07:54] <patdk-lap> nat loopback :)
[07:55] <lilzeus-web> uh, just looking at that address, I am not touching it
[07:55] <patdk-lap> cisco is the only place I could find with pictures
[07:55] <lilzeus-web> pictures? really, then maybe I will...lol
[07:56] <patdk-lap> ya, just ignore all the cisco commands :)
[07:56] <MTecknology> patdk-lap: that's awsome
[07:56] <MTecknology> lilzeus-web: you need to read that
[07:56] <patdk-lap> lets talk about my issues
[07:56] <patdk-lap> nat loopback with a loadbalancer in between :)
[07:57] <lilzeus-web> lets not
[07:57] <patdk-lap> that really made things fun :)
[07:57] <lilzeus-web> ;)
[07:57] <lilzeus-web> so really, my problem was my router got a new IP address
[07:57] <MTecknology> patdk-lap: my mind can't handle non-trivial
[07:58] <patdk-lap> hehe :)
[07:58] <patdk-lap> or my cisco router that ignores routes :)
[07:58] <patdk-lap> so I have to push arp packets to it to direct traffic :)
[07:58] <patdk-lap> nothing like cron'ing arp pings every min :)
[07:59] <MTecknology> anyway - because I don't run my own datacenter for cisco..... I'm turning the rest of my mind off now
[07:59] <MTecknology> I can't handle any more learning today
[07:59] <patdk-lap> oh, but it's fun :)
[07:59] <lilzeus-web> it is
[08:00] <lilzeus-web> now I just need to set up PHPBB
[08:00] <MTecknology> I'm learning to do debian packaging; physics; other college classes; grow my itty bitty company.....
[08:00] <MTecknology> that's what I worked on today
[08:00] <lilzeus-web> physics of the impossible
[08:00] <MTecknology> also had to recompile my kernel and touch it up a little
[08:01] <patdk-lap> I got nothing done at all today
[08:01] <MTecknology> and fixed up an issue on my servers; another issue to deal with tomorrow
[08:01] <patdk-lap> besides explain blades/server/... to MTecknology
[08:01] <MTecknology> oh - also applied for a PT job
[08:02] <MTecknology> patdk-lap: and teaching me what I can do if I ever have some realy money rolling in
[08:02] <patdk-lap> hmm, no
[08:02] <MTecknology> I wonder what it costs per month to run that massive beast
[08:02] <patdk-lap> hire someone to deal with it for you :)
[08:02] <patdk-lap> fully loaded?
[08:03] <patdk-lap> almost 2k in electricity a month
[08:03] <MTecknology> wow
[08:03] <patdk-lap> add 1k for a place to put it
[08:03] <MTecknology> plus rack space
[08:03] <patdk-lap> and whatever for bandwidth
[08:03] <MTecknology> that's insane
[08:04] <MTecknology> If I can ever afford something like that - :D
[08:04] <MTecknology> then I'll know we did something right
[08:04] <MTecknology> until then..... it's sleepy time
[08:04] <patdk-lap> at that point is normally when things start going the other way :(
[08:04] <MTecknology> why's that?
[08:05] <patdk-lap> you feel that you have *made it*
[08:05] <patdk-lap> and stop paying attention or caring as much
[08:05] <patdk-lap> and things just happen, and starts to go down
[08:05] <lilzeus-web> live in a sunny area? go solar
[08:05] <patdk-lap> heh
[08:05] <patdk-lap> solar takes 25years to pay for itself
[08:05] <patdk-lap> and only lasts for 30years :(
[08:06] <patdk-lap> without goverment aid atleast
[08:06] <lilzeus-web> pat: you couldn't be more wrong
[08:06] <patdk-lap> only cause the goverment gives you all kinds of writeoffs for it
[08:06] <lilzeus-web> so, take the aid
[08:06] <patdk-lap> ya, but that isn't real
[08:06] <patdk-lap> it's hardly *profitable*
[08:07] <patdk-lap> wind is so much more profitable
[08:07] <patdk-lap> and more abundent
[08:07] <lilzeus-web> so, the state isn't 'really' giving me a $9100+ rebate?
[08:07] <MTecknology> patdk-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 costs
[08:07] <patdk-lap> lilzeus-web, but where did that 9k come from? your taxes last year :)
[08:07] <lilzeus-web> so
[08:07] <lilzeus-web> :)
[08:08] <lilzeus-web> better that I get my tax money back and put to a good use
[08:08] <patdk-lap> one way or another it evens out
[08:08] <patdk-lap> so it's still the goverment attempting to make it look good
[08:08] <lilzeus-web> we are way off-topic, I am just waiting to get booted
[08:08]  * patdk-lap will only ever support using solar in a remote, offgrid, purpose :)
[08:09] <lilzeus-web> it is good, people are just not smart enough to crunch the numbers...we want instant gradification
[08:09] <MTecknology> lilzeus-web: maybe during the day when most people here are awake
[08:09] <patdk-lap> heh, it seems to be pretty dead during the day also
[08:09] <lilzeus-web> we can't stand to wait a few years for an investment to mature
[08:09] <MTecknology> This probably is pretty far off topic though :P
[08:10] <lilzeus-web> but either way, you could be cash positive in the first month, depending on the size of the system
[08:10] <patdk-lap> I can still drag it a few miles :)
[08:10] <MTecknology> personally - I can't afford soalr technology - so it doesn't matter to me
[08:11] <lilzeus-web> and I am not salesman, I am just the kind of person who researches these kinds of things to death
[08:11] <patdk-lap> for me, it uses way too much space
[08:11] <patdk-lap> using solar heating is much more cost effective
[08:11] <lilzeus-web> too much space?  you are using your roof for something?
[08:11]  * patdk-lap solarheats mtecks servers :)
[08:12] <patdk-lap> lilzeus-web, using high capacity solar panels, I would cover 100% of my roof, and not create enough power
[08:12] <lilzeus-web> oh, for your servers or home?
[08:12] <patdk-lap> no servers
[08:12] <patdk-lap> just home
[08:12] <patdk-lap> really, just wife
[08:12] <patdk-lap> leaving 4+ tv's on all day :(
[08:12] <lilzeus-web> you have a small home?
[08:13] <patdk-lap> pretty small
[08:13] <lilzeus-web> well, it certainly isn't going to hurt either
[08:13] <MTecknology> g'night all
[08:14] <lilzeus-web> we 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 power
[08:14] <lilzeus-web> g'night MT!
[08:14] <lilzeus-web> and thanks for being friendly
[08:15] <lilzeus-web> in August, we had a bill that came close to $500
[08:15] <patdk-lap> I pay <1k a year for electricity
[08:16] <patdk-lap> my highest runs around 145
[08:16] <lilzeus-web> that's great!
[08:16] <patdk-lap> and that is with a 26year old a/c unit :)
[08:16] <patdk-lap> 8seer I think, maybe 6
[08:17] <patdk-lap> this house is so energy non-efficitent, it's sick
[08:17] <lilzeus-web> ours may be that old...we have 2 actually
[08:17] <patdk-lap> but the bills are so low
[08:17] <lilzeus-web> where do you live?
[08:17] <patdk-lap> maryland
[08:17] <lilzeus-web> I live in Cali
[08:18] <lilzeus-web> power is expensive
[08:18] <patdk-lap> ya, much much more
[08:18] <patdk-lap> does make solar like 3x more attractive
[08:18] <patdk-lap> then it would me
[08:18] <lilzeus-web> we actually have a tiered system out here...like taxes
[08:19] <lilzeus-web> the more you consume, the higher the rate
[08:19] <lilzeus-web> to top bracket is like ~0.31/kwh
[08:20] <patdk-lap> hmm
[08:20] <patdk-lap> I'm paying .12 per kwh, including all fees and taxes
[08:20] <lilzeus-web> yep
[08:20] <lilzeus-web> we may have a bracket that gets that low or lower...but its so small
[08:21] <patdk-lap> my usage runs around 800kwh per month
[08:21] <lilzeus-web> that is pretty high
[08:21] <patdk-lap> 400-500 during winter
[08:21] <patdk-lap> 1200 or so during summer
[08:22] <lilzeus-web> we had a high of about 1800 during the summer
[08:22] <patdk-lap> dunno, everyone complains at how expensive there electric bill is around here, and mine is so much lower
[08:22] <patdk-lap> and I use craploads more power
[08:23] <lilzeus-web> and we have only been here about 7-8 months
[08:23] <patdk-lap> I dunno if they just don't manage their a/c correctly or what
[08:23] <lilzeus-web> 6-7
[08:23] <lilzeus-web> you don't seem to be using all that much power
[08:23] <lilzeus-web> could be worse!
[08:24] <patdk-lap> oh, could be half of what it is
[08:24] <patdk-lap> should be by next winter
[08:24] <lilzeus-web> why is that?
[08:24] <patdk-lap> have orig siding, windows, ...
[08:24] <patdk-lap> getting everything replaced
[08:24] <lilzeus-web> nice
[08:24] <lilzeus-web> get the windows with argon in them
[08:24] <patdk-lap> single pane glass windows :)
[08:24] <patdk-lap> yep, triple
[08:24] <lilzeus-web> wow, triple
[08:25] <patdk-lap> know a guy with tripple argon sliding door, it is really good
[08:25] <patdk-lap> touch the glass and it's warm inside
[08:25] <patdk-lap> outside it's <20f
[08:25] <guntbert> I know the channel is quiet - but I do get some "off topic" feelings .... :)
[08:25] <lilzeus-web> we have 5 sliding doors...a couple are jumbo sized
[08:25] <patdk-lap> we are talking about saving power to run our servers :)
[08:25] <lilzeus-web> well, of course
[08:25] <patdk-lap> can't let the channel die of bitrot :)
[08:26] <lilzeus-web> bitrot?
[08:26] <patdk-lap> bit-rot
[08:26] <lilzeus-web> do I gotta look that up or can I take your word for it?
[08:26] <patdk-lap> byte rot?
[08:27] <lilzeus-web> yeah
[08:27] <patdk-lap> hmm
[08:27] <patdk-lap> can't think of the easy way to explain that
[08:27] <patdk-lap> guess it would be easy to compare it to food
[08:28] <patdk-lap> you let it sit, it spoils
[08:28] <jmarsden> http://www.jargon.net/jargonfile/b/bitrot.html
[08:28] <patdk-lap> so you have to use it
[08:29]  * patdk-lap wonders if he is showing his age
[08:29] <lilzeus-web> ah, the wiki was more technical
[08:29] <patdk-lap> oh, I would of gotten into memory refreshing :)
[08:29] <lilzeus-web> as far as I can tell, you are fully clothed, no worries
[08:29] <patdk-lap> from the 8086 days :)
[08:30] <lilzeus-web> just saw a movie that made reverence to vacuum tubes
[08:30] <patdk-lap> damn, we scared him away :(
[08:30] <lilzeus-web> first computer etc
[08:30] <patdk-lap> heh :)
[08:30] <lilzeus-web> REvolutionary Road?
[08:30] <patdk-lap> haven't seen it yet
[08:30] <patdk-lap> wife has
[08:31]  * patdk-lap keeps going back to wargames
[08:31] <lilzeus-web> its not bad
[08:31] <lilzeus-web> I like Tron
[08:31] <patdk-lap> tron was an odd one for me
[08:32] <patdk-lap> I saw it when it came out
[08:32] <patdk-lap> didn't understand a thing about it, other than the motorcycles where cool
[08:32] <patdk-lap> I think I was 4
[08:32] <lilzeus-web> it was more technical...interesting to watch and catch all the jargon
[08:32] <lilzeus-web> uh oh, now you maybe to showing your age!
[08:36] <patdk-lap> hehe
[08:36] <lilzeus-web> woah
[08:36] <patdk-lap> irc servers finally updates I guess
[08:36] <lilzeus-web> btw, I am older than you are, I think
[08:36] <lilzeus-web> :)
[08:36] <lilzeus-web> if you were 4 when Tron came out, anyways
[08:37] <patdk-lap> guess I need to lookup when it came out
[08:37] <lilzeus-web> '82
[08:37] <patdk-lap> na, 5
[08:37] <patdk-lap> close guess
[08:38] <lilzeus-web> Indeed, I am older
[08:38] <lilzeus-web> :)
[08:39] <lilzeus-web> so pat, where do you think I could get help setting up PHPBB on ubuntu?
[08:39] <patdk-lap> heh, phpbb
[08:40] <patdk-lap> I offically dislike that :)
[08:40] <patdk-lap> it's not hard to setup at all
[08:40] <patdk-lap> but I'm having endless issues upgrading a phpbb2 to phpbb3 :(
[08:40] <lilzeus-web> well, I have tried, and I think I failed
[08:41] <patdk-lap> well, you should just unpack it into your /var/www directory
[08:41] <patdk-lap> create a db user and db
[08:41] <patdk-lap> and run the setup
[08:42] <lilzeus-web> hmm
[08:42] <patdk-lap> not sure on the *ubuntu* way
[08:42] <lilzeus-web> I have this thing called turnkey phpbb
[08:42] <patdk-lap> cause I generally do stuff that like that manually
[08:43] <patdk-lap> oh, it's a vm built already
[08:43] <patdk-lap> you should just have to use the webinterfaces then
[08:44] <lilzeus-web> I mean, I see it in synaptic
[08:45] <patdk-lap> hmm, turnkey phpbb is a virtual machine
[08:45] <patdk-lap> that means you need something to run it on, not sure what it was built for or anything myself
[08:45] <patdk-lap> but normally that means, vmware, virtualbox, kvm, ...
[08:46] <patdk-lap> if you just want phpbb on that machine, and not inside a virtual machine, you want to load phpbb3 from synaptic
[08:47] <lilzeus-web> well, I am trying to install it from synaptic, it seems caught in a loop
[08:47] <patdk-lap> it should bring in everything it needs, mysql, apache, php, ...
[08:48] <lilzeus-web> hmm
[08:48] <patdk-lap> you actually see turnkey phpbb in synamtic?
[08:48] <lilzeus-web> its stuck at Debconf
[08:48] <lilzeus-web> no
[08:48] <patdk-lap> I don't in 9.10 atleast
[08:48] <patdk-lap> heh?
[08:48] <lilzeus-web> I am just installing phpbb from synaptic
[08:48] <patdk-lap> what does debconf say?
[08:49] <lilzeus-web> installation failed
[08:49] <lilzeus-web> I can try again
[08:49] <patdk-lap> of what package?
[08:50] <patdk-lap> if you didn't have anything else on that system yet
[08:50] <patdk-lap> it's going bring in like 10+ other things
[08:50] <patdk-lap> and it could be any one of those that failed
[08:50] <patdk-lap> can't really help you at all unless I know what one
[08:50] <lilzeus-web> you are almost certainly correct
[08:51] <lilzeus-web> cant connect to MYSQL
[08:52] <patdk-lap> so mysql isn't starting
[08:52] <lilzeus-web> heck, I can't even fully remove phpbb now either
[08:52] <lilzeus-web> lol
[08:52] <patdk-lap> I wonder if it attempting to upgrade you from mysql 5.0 to 5.1
[08:52] <patdk-lap> I know when it did that on my system it has issues
[08:52] <lilzeus-web> how do I know if I even have mysql?
[08:53] <patdk-lap> try, /etc/init.d/mysql stop
[08:53] <lilzeus-web> ok
[08:53] <lilzeus-web> it stopped it
[08:53] <patdk-lap> well, you have it
[08:53] <lilzeus-web> that is, no errors
[08:53] <patdk-lap> or it would of said, mysql not found :)
[08:53] <patdk-lap> try, /etc/init.d/mysql start
[08:54] <lilzeus-web> fail
[08:54] <lilzeus-web> lol
[08:54] <patdk-lap> probably need to check the log files and see what it says about mysql
[08:54] <patdk-lap> forget what ones, I will see if I can find out
[08:54] <lilzeus-web> it failed to start
[08:55] <patdk-lap> look in /var/log/daemon.log
[08:55]  * patdk-lap notes I am totally way too on topic
[08:56] <lilzeus-web> what am I looking for?
[08:56] <patdk-lap> end of file
[08:56] <patdk-lap> anything that says mysql
[08:56] <patdk-lap> hopefully something about a problem :)
[08:56] <lilzeus-web> plenty about mysql
[08:57] <lilzeus-web> lol
[08:57] <patdk-lap> pastebin it?
[08:58] <lilzeus-web> http://pastebin.com/m1fa294bf
[09:00] <patdk-lap> hmm, does /etc/mysql/debian.cnf exists?
[09:01] <lilzeus-web> lets find out
[09:01] <lilzeus-web> yes, but it says unknown file type
[09:01] <lilzeus-web> it has an X in top right corner
[09:02] <patdk-lap> that is all that is in it?
[09:02] <patdk-lap> should have like
[09:02] <patdk-lap> username=, password=, ...
[09:02] <lilzeus-web> in it?
[09:02] <patdk-lap> ya
[09:02] <lilzeus-web> debeian.cnf?
[09:02] <patdk-lap> in /etc/mysql/debian.cnf
[09:03] <lilzeus-web> there is no 'in it'...it won't open...it says 'unknown file type'
[09:03] <patdk-lap> oh, your using gui stuff :)
[09:03] <patdk-lap> tell it to use gedit or something
[09:03] <lilzeus-web> "Could not display "/etc/mysql/debian.cnf"."
[09:03] <patdk-lap> I only use cli
[09:04] <lilzeus-web> so, what do you want me to do?
[09:04] <patdk-lap> open it with gedit
[09:04] <patdk-lap> well, guess you can't do that either, without being root
[09:05] <lilzeus-web> no permissions
[09:05] <patdk-lap> filesize?
[09:05] <jmarsden> Was /etc/init.d/mysql start done as root?  if not, that would explain many of the errors you got ...
[09:05] <lilzeus-web> 333 bytes
[09:05] <patdk-lap> sounds good
[09:05] <patdk-lap> sudo /etc/init.d/mysql start
[09:05] <patdk-lap> :)
[09:06]  * patdk-lap forgets about that, I assume root :)
[09:06] <jmarsden> Bad idea, Ubuntu has no root login by default... :)
[09:06] <lilzeus-web> ok
[09:06] <lilzeus-web> I think it started
[09:06] <patdk-lap> jmarsden, well, I normally help people that know that :)
[09:07] <jmarsden> OK... I need to sleep, but at least you now have a running mysql server :)
[09:07] <jmarsden> Goodnight all.
[09:07] <lilzeus-web> indeed!
[09:07] <lilzeus-web> g'night
[09:07] <patdk-lap> check the logs for errors, again, just incase :)
[09:07] <lilzeus-web> the daemon thing?
[09:07] <patdk-lap> ya
[09:09] <lilzeus-web> looks good as far as I can tell
[09:09] <patdk-lap> try install again?
[09:10] <lilzeus-web> looks like version 5.1
[09:10] <lilzeus-web> from synaptics?
[09:10] <patdk-lap> I think that might of been my issue also
[09:10] <patdk-lap> yep
[09:10] <patdk-lap> the upgrade fails, cause mysql isn't running
[09:10] <patdk-lap> but if you start it manually, it upgrades properly and is fine
[09:10] <lilzeus-web> mark for re-installation, complete removal???
[09:10] <patdk-lap> has issues when I went from hoary to karmic
[09:11] <patdk-lap> removal?
[09:12] <lilzeus-web> mark for re-installation, mark for removal, mark for complete removal are my choices
[09:12] <patdk-lap> reinstallation
[09:13] <lilzeus-web> password for database admin user?
[09:13] <patdk-lap> dunno, you should of set one when mysql was installed
[09:14] <lilzeus-web> ok
[09:14] <lilzeus-web> hmm
[09:14] <lilzeus-web> it just quit
[09:15] <lilzeus-web> it won't run now
[09:16] <lilzeus-web> weird
[09:16] <lilzeus-web> as soon as I put in the password, it just quit the install and I am back to synaptic
[09:17] <patdk-lap> wrong password?
[09:17] <lilzeus-web> phpbb does not show a check that it is installed, its a green box
[09:17] <lilzeus-web> maybe
[09:17] <patdk-lap> at the command line
[09:17] <lilzeus-web> I only use one though
[09:17] <patdk-lap> or in terminal
[09:17] <patdk-lap> or whatever you want to call it :)
[09:17] <lilzeus-web> uh
[09:17] <lilzeus-web> neither
[09:17] <patdk-lap> try: mysqladmin -p status
[09:18] <patdk-lap> and keep trying, till you guess your correct password :)
[09:18] <patdk-lap> could probably reset it, but I really don't want to get into that :(
[09:18] <lilzeus-web> hmm
[09:19] <patdk-lap> try: mysqladmin -uroot -p status
[09:19] <patdk-lap> that might work better
[09:19] <patdk-lap> cause your not doing this as root
[09:19] <patdk-lap> should give you something like:
[09:19] <patdk-lap> Uptime: 433174  Threads: 19  Questions: 9995924  Slow queries: 156  Opens: 1499  Flush tables: 1  Open tables: 280  Queries per second avg: 23.76
[09:20] <lilzeus-web> yep
[09:20] <lilzeus-web> it did
[09:20] <patdk-lap> so that is the good password
[09:20] <lilzeus-web> uptime 826
[09:20] <patdk-lap> same one you tried for the phpbb install?
[09:20] <lilzeus-web> yes
[09:20] <patdk-lap> odd
[09:20] <patdk-lap> not sure I can help with that
[09:21] <patdk-lap> I haven't had to diagnose a package install issue before
[09:21] <patdk-lap> if I did, I normally just install it manually :)
[09:21] <cemc> is there any nice graphical network monitoring too, but not the server type, more like a graphical ping or something
[09:21] <cemc> in which I can add multiple IP addresses and it pings them and shows the loss, rtt, etc
[09:22] <patdk-lap> dunno, I just use mtr
[09:22] <lilzeus-web> now its asking for the MYSQL application password for phpbb
[09:23] <lilzeus-web> and a confirmation...so I guess I am creating a password this time
[09:23] <patdk-lap> hmm
[09:23] <patdk-lap> oh, so it is creating the user this time, that is good
[09:23] <patdk-lap> maybe you accidentally types it wrong the other time
[09:24] <lilzeus-web> nah, I have been this far before
[09:24] <lilzeus-web> its at the DEbconf on ubuntu-webserver window now
[09:24] <lilzeus-web> "configuring phphbb3
[09:24] <lilzeus-web> Next step for database installation:
[09:25] <lilzeus-web> my choices are: abort, retry, retry (skip questions) ignore
[09:25] <lilzeus-web> ah, there are errors
[09:26] <lilzeus-web> everything already exists
[09:27] <patdk-lap> ignore?
[09:27] <lilzeus-web> just tried that
[09:28] <lilzeus-web> I am back at synaptic again
[09:28] <lilzeus-web> phpbb3 has a green box
[09:29] <lilzeus-web> ok, I did a complete removal
[09:29] <lilzeus-web> marking for installation
[09:30] <lilzeus-web> applying
[09:31] <lilzeus-web> so, I think its installed
[09:32] <lilzeus-web> isn't that what the green box means?
[09:32] <patdk-lap> yep
[09:32] <lilzeus-web> ok, its installed then
[09:32] <lilzeus-web> now what?
[09:32] <lilzeus-web> where the heck is it?
[09:32] <patdk-lap> try it?
[09:32] <lilzeus-web> lol
[09:32] <patdk-lap> on the website
[09:33] <lilzeus-web> where??
[09:34] <patdk-lap> I dunno :)
[09:34] <patdk-lap> maybe localhost/phpbb/
[09:34] <quentusrex> Is there a reason it seems that ubuntu breaks openldap?
[09:34] <lilzeus-web> no dice
[09:43] <lilzeus-web> /usr/share/phpbb3/www/
[10:08] <Maleko> does ubuntu server iso comes with gparted tool?
[10:09] <twb> Yes
[10:10] <Maleko> how do i boot into gparted, through rescue mode?
[10:14] <Maleko> twb: i meant the livecd mode
[10:15] <twb> Maleko: the server CD isn't a live CD.
[10:20] <Maleko> opps
[10:50] <simmerz> anyone know why i'd get this with the stock karmic kernel? http://pastie.org/801619
[13:55] <jongbergs> hi, planning to setup squid proxy server for our company network..should i go to transparent or non-transparent proxy?
[14:03] <KurtKraut> jongbergs, 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:06] <jongbergs> KurtKraut: 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:07] <KurtKraut> jongbergs, 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:08] <mrp> is it possible to log ufw to its own file?
[14:09] <jdstrand> mrp: the logs are generated by the kernel
[14:09] <jdstrand> mrp: if you are using rsyslog, you can, but regular syslog, no
[14:09] <mrp> can you push them to firewall.log or something
[14:10] <mrp> yeah im running rsyslog :)
[14:10] <jdstrand> 10.04 will ship an rsyslog file
[14:10] <mrp> 9.10 has rsyslogd by default.
[14:11] <mrp> well the jeos install on my vps did.
[14:11] <jdstrand> I mean ufw in 10.04 will ship a fil
[14:11] <jdstrand> e
[14:11] <twb> jdstrand: why can't "traditional" syslog file kernel.<whatever level> to ufw.log?
[14:11] <jongbergs> KurtKraut: i have thought of that also..but i think non-transparent gives your more control on whom can surf the web..
[14:12] <mrp> jdstrand: is it hard to setup for now?
[14:12] <jdstrand> twb: 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 out
[14:13] <twb> jdstrand: how does rsyslog do it, then?
[14:13] <twb> Does 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] <jdstrand> ufw 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't
[14:14] <jdstrand> twb: regexp-- yeah
[14:14]  * twb grumbles about "when all you have is a regexp..."
[14:15] <mrp> jdstrand: know of something particularly floating around the net about this?
[14:15] <jdstrand> mrp: this is probably what will end up in 10.04: http://paste.ubuntu.com/365704/
[14:15] <jdstrand> mrp: drop in /etc/rsyslog.d/20-ufw.conf
[14:16] <mrp> jdstrand: ooo champ :-)
[14:16] <jdstrand> twb: 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] <jdstrand> twb: it is worth checking out though
[14:17] <mrp> what is the 20 infront of the file name?
[14:18] <jdstrand> mrp: rsyslog process files in /etc/rsyslog.d in order-- the 20 makes sure it is in the right spot
[14:18] <twb> jdstrand: obviously I'll be using rsyslog when I migrate to 10.04 and Debian 6
[14:19] <mrp> jdstrand: sweet thanks
[14:20] <mrp> <3 ufw frontend
[14:20] <jdstrand> mrp: glad you like it :)
[14:25] <mrp> the limit action is like failban eh?
[14:26] <mrp> fail2ban sorry
[14:26] <jdstrand> mrp: sorta
[14:27] <mrp> it will do for ssh on my VPS
[14:29] <jdstrand> iirc, fail2ban can do more, but the basic idea is the same: limit brute-force attacks
[14:36] <mrp> jdstrand: yeah it can do more with other apps but i just need sshd bruteforce protection cheers
[15:07] <garymc> Hi anyone help me get my dovecot and postfix working?
[16:28] <Jeniczek> hi there
[16:28] <Jeniczek> anybody skilled around?
[16:31] <bogeyd6> yes
[16:31] <Jeniczek> I 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] <bogeyd6> support here is free
[16:31] <Jeniczek> Am guessing, that it is gonna be somethin bad with network subsystem.. but am not sure
[16:31] <Jeniczek> yeah
[16:31] <Jeniczek> here...
[16:32] <bogeyd6> 2k http connections?
[16:32] <Jeniczek> But 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 in
[16:32] <Jeniczek> no
[16:32] <Jeniczek> TCP conenctions
[16:32] <Jeniczek> on different port
[16:33] <bogeyd6> please be much more specific about what the server is doing
[16:33] <Jeniczek> its a game server with realy high population
[16:33] <bogeyd6> erp
[16:33] <bogeyd6> by difftime do you mean lag time?
[16:33] <Jeniczek> yeah
[16:34] <Jeniczek> but not lag as latency but diff as delay
[16:34] <Jeniczek> the time how much the application recalulates all functions
[16:34] <Jeniczek> so the more diff time is, the more time the game needs to recalculate and the less its playable
[16:35] <bogeyd6> if you run a free command are you using swap space?
[16:35] <Jeniczek> for example you type some chat, and with diff 500 you have to wat 0.5sec unitl other saw it
[16:35] <Jeniczek> Swap: 2570360 0 2570360
[16:35] <Jeniczek> the rig got 2x 5430 latest Xeons and 24gig ram
[16:36] <Jeniczek> 2x 15k SAS HDDs
[16:36] <Jeniczek> the CPU load is less than 5
[16:36] <Jeniczek> so it must be somethin in the OS
[16:36] <Jeniczek> the appliaction has been profiled as well... so its not the app either
[16:36] <bogeyd6> kk
[16:36] <Jeniczek> I thin it must be somethin with networkin
[16:37] <Jeniczek> anyway today I treid to pgrade the kernel
[16:37] <bogeyd6> you using verizon fios?
[16:37] <Jeniczek> the OS runnin in there is ubuntu server x64 8.10
[16:37] <Jeniczek> 2.6.27-16-server #1 SMP Tue Dec 1 20:06:14 UTC 2009 x86_64 GNU/Linux
[16:37] <bogeyd6> oh.....
[16:37] <bogeyd6> why not 8.0.4.3 LTS?
[16:37] <Jeniczek> verizon?
[16:37] <Jeniczek> its an Fujitsu Siemens RX300S4 server
[16:38] <bogeyd6> can you pastebin mii-tool -v
[16:38] <Jeniczek> sure, mmt
[16:39] <Jeniczek> http://www.pastebin.cz/f52114801ee2e0
[16:40] <bogeyd6> Jeniczek, now do ethtool eth0
[16:41] <Jeniczek> hmm seems i have to install this package
[16:41] <bogeyd6> well check out the dependencies and make a choice
[16:41] <Jeniczek> http://www.pastebin.cz/dd9fdc7ed630ed
[16:42] <bogeyd6> well jeni everything seems fine, you are running full speed full duplex
[16:42] <Jeniczek> well, so maybe some TCP settings are not fine...
[16:42] <Jeniczek> I knwo that am runnin full duplex
[16:43] <Jeniczek> but somethin is bad... the high diff starts with 2.1k connections
[16:43] <Jeniczek> I have tuned MySQL as well, so theres really nothin left except the OS itself
[16:44] <bogeyd6> Jeniczek, maybe changing the mtu to a small number would result in more packets but less fragmentation?
[16:44] <Jeniczek> dunno
[16:44] <Jeniczek> I think some IPv4 settings should be the importantones
[16:45] <Jeniczek> but am not a nix networkin guy :(
[16:45] <bogeyd6> Jeniczek, ok then go with an "ifconfig -v"
[16:45] <Jeniczek> one think that I should mention, If i lost the connection to the box
[16:45] <Jeniczek> than am fcked up a lot ;)
[16:45] <bogeyd6> ifconfig -v only displays things
[16:46] <Jeniczek> yeah, I just wanted to mention
[16:46] <Jeniczek> i know ifconfig -v
[16:46] <Jeniczek> http://www.pastebin.cz/0f63b2718b17f1
[16:46] <bogeyd6> Jeniczek, http://www.ubuntu.com/support/services   << go there before you pay someone on IRC
[16:47] <bogeyd6> everything is checking out, there are no problems with your networking
[16:48] <Jeniczek> hm
[16:48] <Jeniczek> I know there must be somethin wrong
[16:48] <Jeniczek> but anyway thanks a lot for your time
[16:50] <bogeyd6> Jeniczek, 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/RealTime
[16:50] <bogeyd6> might could interuppt your remote access to the bawx
[16:51] <Jeniczek> hmmm
[16:51] <Jeniczek> the wiki for the REalTime is empty
[16:51] <Jeniczek> what is that used for?
[16:51] <bogeyd6> !rt
[16:52] <bogeyd6> and Jeniczek a quick google came up with http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
[16:52] <bogeyd6> they also suggest going to a real time kernel for a game server
[16:54] <Jeniczek> hm
[16:54] <Jeniczek> but am not that hardcore nixer to compile myself a kernel
[16:55] <Jeniczek> I will try to google for a page, where is some command by command guide how to switch to RT
[17:00] <bogeyd6> the package is linux-rt
[17:01] <bogeyd6> linux-headers-rt
[17:01] <bogeyd6> and you can go here for the part on installing that kernel
[17:01] <bogeyd6> https://help.ubuntu.com/community/UbuntuStudioPreparation
[17:02] <bogeyd6> that should give you a good run Jeniczek
[17:02] <Jeniczek> ok
[17:02] <Jeniczek> am goin to read it all
[17:02] <Jeniczek> last question
[17:02] <Jeniczek> if I want to backup actual kernel
[17:02] <Jeniczek> and if anything goes wrong
[17:02] <Jeniczek> do you know the commands for backin it up and restoring it?
[17:03] <bogeyd6> the kernel will be there you will just need to change your boot loader to use the other kernel
[17:04] <Jeniczek> okok, I will investigate more
[17:05] <Jeniczek> thanks a lot
[17:05] <bogeyd6> like uhm
[17: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 try
[17:05] <bogeyd6> you edit menu.lst and change the default= option to change to the other kernel
[17:06] <bogeyd6> so 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 options
[17:06] <Jeniczek> wheres that menu.lst located:
[17:10] <bogeyd6> it is in /boot/grub
[17:10] <bogeyd6> first option is default
[17:12] <Jeniczek> oh i see
[17:12] <Jeniczek> title, uuid, kernel, initrd, quiet
[17:12] <bogeyd6> when 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 again
[17:13] <Jeniczek> yeah, got it that
[17:14] <Jeniczek> so you think that goin with that guide is a not good go?
[17:14] <Jeniczek> http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
[17:14] <Jeniczek> theres the whole process some way described
[17:14] <Jeniczek> its not like doin apt-get install linuxt-rt
[17:15] <twb> What, an MMO server needs RTOS?
[17:15] <Jeniczek> I dunno, bogeyd6 says that
[17:16] <Jeniczek> I have never heard about RT on MMO
[17:16] <twb> 04: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 try
[17:16] <Jeniczek> so?
[17:17] <Jeniczek> you think it will be even worse?
[17:18] <Jeniczek> Am 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 me
[17:18] <Jeniczek> but hes russians
[17:18] <Jeniczek> russians are good nixers ;)
[17:18] <twb> Jeniczek: "better results" at what?
[17:18] <Jeniczek> at the diff
[17:19] <Jeniczek> my diff with 2700 conections is around 600
[17:19] <Jeniczek> he got 150
[17:19] <twb> What is a "diff"?
[17:19] <Jeniczek> so in my case the game is really no well playable, and with less than 200 its really perfect game
[17:19] <Jeniczek> [17:34:02] <Jeniczek> the time how much the application recalulates all functions
[17:19] <Jeniczek> [17:34:38] <Jeniczek> so the more diff time is, the more time the game needs to recalculate and the less its playable
[17: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 it
[17:20] <twb> That sounds more like latency.
[17:21] <Jeniczek> no, the diff is not dependant on your network
[17:21] <Jeniczek> even with dialup connection you can have diff 50
[17:21] <Jeniczek> its the application measurement
[17:21] <Jeniczek> not the network connection one
[17:21] <Jeniczek> thats the latency - also called lags
[17:22] <garymc> Hi guys
[17:22] <garymc> ive 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] <Jeniczek> like my develpoer said
[17:22] <Jeniczek> diff is
[17:22] <Jeniczek> slow update cycles
[17:23] <twb> garymc: have you told those services to bind to non-loopback interfaces?
[17:23] <garymc> twb im a noob
[17:23] <garymc> Im trying to setup a mail server
[17:23] <garymc> at work
[17:23] <twb> garymc: 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:24] <twb> garymc: OK, have you gone through the relevant sections of the server admin guide?
[17:24] <garymc> yes
[17:24] <twb> garymc: are the daemons running?
[17:25] <Jeniczek> so twb, you think that the RT is not a good go for MMO?
[17:25] <guntbert> garymc: please don't setup a *public* mail server if you are not pretty sure what you are doing
[17:25] <garymc> hmm ok
[17:25] <twb> guntbert: that's a good point.
[17:25] <garymc> i need one though
[17:25] <twb> Jeniczek: running a kernel with RTOS extensions will not magically make normal applications faster.
[17:26] <guntbert> garymc: the world is full of open mail relays because "they needed it" and that get you into deep troubles with your employer too
[17:26] <guntbert> *that can get ...
[17:26] <garymc> guntbert : it wont get me into trouble with my employeer as iam my employer
[17:27] <garymc> anyone fancy doing it for me?
[17:27] <twb> Even worse!  *Management* is setting up the mail server
[17:27] <garymc> im self employed and trying to get stuff done
[17:28] <guntbert> garymc: then it will get you into trouble with your ISP - please play with one in a secure environment first until you are comfortable with it
[17:28] <garymc> i just need some help
[17:28] <Jeniczek> twb hmmmm
[17:28] <Jeniczek> twb and do you have any idea what could my OS have set wrong?
[17:28] <garymc> well im playing with it now.
[17:28] <garymc> so will anyone help me out?
[17:29] <garymc> i just want to host my own emails
[17:29] <garymc> for me and my partners
[17:29] <garymc> on our server
[17:29] <guntbert> garymc: you yourself said "im a noob" - mail servers are nothing for "noobs"
[17:29] <garymc> We already host our own website
[17:29] <garymc> well im noobish
[17:30] <garymc> have been using ubuntu for about 6 months
[17:30] <twb> Hosting your own mailserver is even more dangerous than hosting your own webserver.
[17:30] <garymc> and just thought i would try and get this installed. Figured i need some help when trying to do this
[17:30] <guntbert> garymc: a web server is an entirely different beast - it doesn't matter how much linux experience you have
[17:31] <guntbert> garymc: I won't say anything more - just don't!!!
[17:31] <garymc> ok 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 now
[17:31] <garymc> ok how easy would it be for someone with experiance to set up?
[17:32] <guntbert> garymc: no, get yourself a decent mail provider - or get yourself someone with the know how
[17:32] <garymc> guntbert can you set them up?
[17:33] <guntbert> garymc: yes, I did several times and it was *not fun*
[17:34] <Jeniczek> twb 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 connections
[17:35] <twb> Jeniczek: I think the best thing for you to do would be to go get a book on performance analysis.
[17:35] <Jeniczek> ;)
[17:36] <Jeniczek> Well, 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:37] <garymc> ok so anyway why would my connection be closing when i telnet to the mail.mydomain.com 25?
[17:37] <twb> I don't think this is the right place to be looking for contractors.
[17:37] <Jeniczek> I 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 that
[17:37] <Jeniczek> I 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] <twb> garymc: 04:24 <twb> garymc: are the daemons running?
[17:38] <twb> Jeniczek: doing a specific job for money is contract work.
[17:38] <garymc> twb what daemons?
[17:38] <twb> garymc: postfix and dovecot
[17:38] <garymc> yes
[17:38] <Jeniczek> WEll 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] <garymc> they restart fine
[17:39] <twb> Jeniczek: you must recompile any third-party kernel modules, but the userspace doesn't change.
[17:40] <Jeniczek> 3rd party modules? If I have not installed any, just the ones included with the installation, then am fine?
[17:40] <Jeniczek> or the bundled ones are needed to be recompiled as wel?
[17:40] <Jeniczek> anyway I have just bought VMware workstation few minutes ago and am goin to try it virtually
[17:41] <garymc> twb : heres what i get when i run the telnet command. http://pastebin.ca/1772130
[17:41] <garymc> im just trying to test To see if SMTP-AUTH and TLS work properly
[17:42] <twb> garymc: are the daemons binding to the IP you're connecting to?
[17:42] <garymc> how could i tell?
[17:42] <twb> netstat lists active bindings
[17:42] <twb> Incidentally, you should use nc (netcat) or socat, rather than telnet.
[17:43] <garymc> just type netstat
[17:44] <garymc> i cnat see anything to do with ip adress in netstat
[17:45] <garymc> *cant
[17:46] <twb> You probably want netstat --listening
[17:46] <garymc> ok
[17:47] <twb> I usually just do "sudo netstat -nap" because I'm too lazy to learn ss properly.
[17:49] <garymc> heres my output http://pastebin.ca/1772142
[17:49] <garymc> Ill give that one a try too
[17:53] <twb> garymc: so you can see that processes are bound to *:imaps and *:smtp
[17:53] <twb> That means they're listening on all interfaces, not just loopback.
[17:53] <garymc> so that means?
[17:54] <twb> Cf. the mysql binding, which is loopback-only.
[17:55] <twb> So the next thing to check is the firewall.
[17:56] <garymc> how do i check the firewall?
[17:56] <twb> Well, the one that's in Ubuntu you'd check by running "iptables-save"
[17:57] <twb> If it prints anything, you have a firewall, and it might be blocking your smtp connection test.
[17:57] <garymc> ok i know the ports i need to open
[17:58] <twb> Incidentally, we (this channel) discourage running a GUI on servers.
[17:58] <garymc> http://pastebin.ca/1772150
[17:58] <garymc> thats my iptables output
[17:59] <garymc> Im running a LTSP server
[17:59] <twb> You don't have a firewall.
[17:59] <twb> garymc: ah, OK
[17:59] <garymc> any other ideas?
[18:00] <twb> Does "nc localhost smtp" work?
[18:02] <garymc> something is happening
[18:02] <twb> garymc: do you know how to speak SMTP?
[18:02] <garymc> lol no
[18:02] <garymc> you?
[18:03] <twb> Type "HELO example.net"
[18:03] <twb> You should get a 2xx response back.
[18:03] <twb> If 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:04] <twb> I guess you should also check /etc/hosts.{allow,deny}, but those are rarely used these days.
[18:04] <garymc> yes it wokrs
[18:04] <garymc> works
[18:04] <garymc> Now it says on the ubuntu site if it gives that response i got that dovecot and postfix are configured fine
[18:05] <twb> dovecot isn't involve in the smtp connection.
[18:05] <garymc> actually sorry
[18:05] <garymc> SMTP-AUTH and TLS
[18:05] <garymc> so now how do i add a email address and connect to it with outlook express or something?
[18:07] <twb> I'm going to bed.  Good luck.
[18:07] <garymc> ok so apparently ive got dovecot and postfix installed correctly. What else do i need to do to get emails to work?
[18:07] <garymc> ok good night
[18:09] <garymc> anyone?
[18:09] <garymc> Hey 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:23] <bogeyd6> Jeniczek, how is the RT kernel treating you?
[18:24] <Jeniczek> am waitin till the VMware will download
[18:24] <Jeniczek> got slow connection here :(
[18:24] <Jeniczek> but accordin to what twb said, it wont help me
[18:24] <Jeniczek> but why not to give it a try
[18:24] <bogeyd6> Jeniczek, i was reading your earlier stuff about diff time
[18:25] <Jeniczek> well I asked one of my developers to explain what diff time is in egnlish
[18:25] <Jeniczek> he said
[18:25] <Jeniczek> it is slow update cycles
[18:27] <bogeyd6> you 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 seeing
[18:28] <Jeniczek> and the regular kernel in debian is not doin this?
[18:29] <bogeyd6> The 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] <Jeniczek> si why is the RT not turned on as default?
[18:29] <bogeyd6> because not all things need RT
[18:29] <jmarsden> bogeyd6: 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] <bogeyd6> things needing rt include video, audio, and etc...
[18:30] <Jeniczek> and what is the disadvantage of RT?
[18:30] <bogeyd6> game servers, they need RT
[18:30] <Jeniczek> there bust be any
[18:30] <jmarsden> The "latency" you are talkingh about is process switching latency, there are many other kinds...
[18:30] <bogeyd6> jmarsden, please excuse yourself from entering the middle of a conversation
[18:30] <jmarsden> Indeed.  I did read the scrollback, though.
[18:30] <bogeyd6> jmarsden, how many processes you think a game server with 2000 people on it need?
[18:30] <jmarsden> Welcome to IRC :)
[18:31] <jmarsden> It depends how the app is structured :)
[18:31] <Jeniczek> not many
[18:31] <bogeyd6> whatever, stay on the RT topic or go privmsg
[18:31] <bogeyd6> *insert blah blah blah*
[18:32] <jmarsden> This 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] <Jeniczek> well jmarsden is right, that it depends on the structure of app
[18:32] <jmarsden> bogeyd6: You have no right or reason to try and restrict discussion in this channel to RT.
[18:32] <Jeniczek> and trinitycore, which is the application name, doesnt need so many process to be dependant of
[18:33] <Jeniczek> the main communication layer is ACE
[18:33] <Jeniczek> but am not an developer, but as guys told me, the problem is in OS
[18:33] <bogeyd6> awesome :) good luck Jeniczek, sounds like you and jmarsden gonna get that thing solved :)
[18:33] <Jeniczek> we have also profiled the whole core
[18:34] <Jeniczek> well, I dunno, maybe jmarsden will got some idea
[18:34] <Jeniczek> anyway I will try the RT kernel as you adviced me
[18:34] <jmarsden> Jeniczek: So are you seeing high user CPU use, hit interrupt rates, too much I/O waiting... what is the bottleneck?
[18:34] <Jeniczek> jmarsden well thats the point... we dont see any bottleneck
[18:34] <Jeniczek> as we got two most modern Intel Xeon 4core processors
[18:35] <Jeniczek> and the load is nearly at 5 in the peak, with no thread goin for 100% usage
[18:35] <Jeniczek> the disk I/O is also pretty fair, just mysqld / which does make sense/ but nothin big
[18:35] <Jeniczek> the SQL DB itself is larger then 3GB atm, but its tuned also perfectly by a DB pro
[18:36] <Jeniczek> So all of us are tryin to say that it must be somethin with networkin, but i dunno
[18:36] <Jeniczek> like some TCP/IP or some stuff like this
[18:37] <Jeniczek> As 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 ppl
[18:37] <Jeniczek> * russain
[18:37] <Jeniczek> russian ;)
[18:37] <Jeniczek> geez, that laptop keyboard
[18:37] <jmarsden> There 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] <Jeniczek> So accordin to oprofilation, the neck is not in the sources
[18:38] <Jeniczek> I dunno if am victim ot that problem
[18:39] <jmarsden> I 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] <jmarsden> http://www.citi.umich.edu/projects/linux-scalability/reports/accept.html
[18:40] <jmarsden> But as you can see, that paper is 10 years old... the issue was supposed to have been fixed by now :)
[18:40] <bogeyd6> thats for the 2.2 kernel
[18:41] <Jeniczek> well this seems realy old
[18:41] <jmarsden> I have been a Linux system and network admin longer than that... so I must be *REALLY* old then :)
[18:41] <Jeniczek> ;)
[18:41] <bogeyd6> that actually explains alot
[18:42] <Jeniczek> Well, if you are that pro with nix, maybe you can give me some nasty command to explain whats goin on in there ;)
[18:42] <Jeniczek> we have really really powerful rig, and we cant get the power from it ecause of some bottleneck we dont know
[18:43] <jmarsden> I 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] <Jeniczek> ok, so more than one ;)
[18:44] <Jeniczek> or 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] <jmarsden> You've done all the usual things with sar and vmstat and iostat already, looking at the basics, right?
[18:44] <Jeniczek> is the difference between those OSes so big?
[18:44] <Jeniczek> no I did not
[18:44] <Jeniczek> we did everything except the OS itself
[18:44] <Jeniczek> we tuned MySQL
[18:44] <Jeniczek> we tuned the source of application
[18:44] <jmarsden> Jeniczek: 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] <Jeniczek> but it seems its not the problematic part
[18:45] <lavin> i 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 this
[18:45] <Jeniczek> Because none of us is really Linux expert, so we dont know what to look for
[18:45] <jmarsden> If 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] <Jeniczek> so jmarsden, whats sar, vmstat and iostat?
[18:46] <Jeniczek> hm
[18:46] <Jeniczek> sar
[18:46] <Jeniczek> Cannot open /var/log/sysstat/sa30: No such file or directory
[18:46] <Jeniczek> :P
[18:47] <jmarsden> They 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] <Jeniczek> here you ahve iostat
[18:47] <Jeniczek> and now its the peak
[18:47] <Jeniczek> 2650connections
[18:48] <Jeniczek> we have set the limit of the app to 2650 because it already ,,laggs,, a lot
[18:48] <Jeniczek> http://www.pastebin.cz/21c51904ae80a6
[18:48] <Jeniczek> ok waitin for vmstat till it ends
[18:49] <jmarsden> Will take 100 seconds (5 times 20) :)
[18:49] <Jeniczek> oh, ok ;)
[18:49] <Jeniczek> did that iostat tell you somethin usefull?
[18:49] <Jeniczek> we got 15k RPM SAS HDDs and 24Gigs of FB DDR2 ECC mem
[18:50] <Jeniczek> to be precise 2HDDs in Mirror
[18:50] <jmarsden> Then 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] <Jeniczek> here you go
[18:50] <Jeniczek> http://www.pastebin.cz/1abd23ba72181e
[18:52] <jmarsden> at first glance, interrupt load and context switches are pretty high.
[18:52] <jmarsden> How many NICs are involved in handling the network connections?
[18:53] <Jeniczek> here goes the iostat
[18:53] <Jeniczek> http://www.pastebin.cz/2e3109adab7daa
[18:53] <Jeniczek> one nic
[18:53] <Jeniczek> 100mbit full duplex
[18:54] <Jeniczek> I have the server in server housing company having one Cat5e cable with 100/100 connectivity
[18:55] <jmarsden> Gut 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] <Jeniczek> Physically 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] <Jeniczek> huh
[18:55] <Jeniczek> that sounds interestin
[18:56] <Jeniczek> Well 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 same
[18:56] <Jeniczek> but we tried to renice just the process and its threads.. nothin more
[18:56] <Jeniczek> It was just a try ;)
[18:57] <jmarsden> I'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:58] <jmarsden> As 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:59] <Jeniczek> Well 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] <Jeniczek> jmarsden well this kiddo is under big load of 15years kids ;)
[19:00] <jmarsden> :)
[19:00] <Jeniczek> 2650connected online and more than 400waitin in a queue
[19:00] <jmarsden> For a server on this size, your data center should give you remote console access so you can reinstall and reboot remotely, surely!
[19:01] <jmarsden> If you have to drive 200km to do that they are not giving you the kind of service you need.
[19:01] <Jeniczek> Hm, 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 anyway
[19:01] <Jeniczek> jmarsden you mean KVM?
[19:02] <jmarsden> Jeniczek: Or some other solution, like a serial console.
[19:02] <Jeniczek> Well, goin there and reinstall the OS is not that big if it will solve my problem...
[19:03] <Jeniczek> I havent been there almost whole year...
[19:03] <Jeniczek> ;)
[19:03] <jmarsden> But there is no guarantee that it will solve the issue, because at this point the issue is not understood.
[19:03] <Jeniczek> yeah
[19:04] <jmarsden> Would 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] <Jeniczek> well thats not possible, the hardware is mine.. they just do host
[19:05] <jmarsden> Ah, you're colocating.  OK.
[19:05] <Jeniczek> all they do provide is a rack space, air conditionined and dust free evnironment and wan connectivity
[19:05] <Jeniczek> thats all
[19:06] <Jeniczek> Yeah, sorry for my english, am not a native one :(
[19:06] <jmarsden> OK.  Ideally, you want someone "a bit like me, but more up to date" to check out the server and make recommendations to you...
[19:07] <jmarsden> Does the colo provider have serious linux experts you can hire by the hour for that kind of thing?
[19:07] <Jeniczek> Well 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 knowledge
[19:07] <Jeniczek> no, I dont think so
[19:07] <Jeniczek> but am not sure
[19:07] <jmarsden> It would be worth asking them, at least.
[19:08] <Jeniczek> Yeah, anyway , have you got any idea what should be the bottleneck?
[19:08] <Jeniczek> Anyway am ready to set up for Debain mission... :P
[19:08] <Jeniczek> and I feel that it will end it up that way
[19:10] <jmarsden> You 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:11] <jmarsden> And 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] <Jeniczek> yeah
[19:12] <Jeniczek> but anyeay they got holidays on monday
[19:12] <Jeniczek> so a lot of them will be breathing on my back ;)
[19:12] <bogeyd6> you can rt kernel in like 15 minutes and back to the old kernel
[19:12] <Jeniczek> jmarsden have you found out how to try to tune that cpu affinity?
[19:12] <Jeniczek> bogeyd6 installin vmware right now
[19:13] <bogeyd6> 15 mins is worth trying vs reinstall
[19:13] <jmarsden> Jeniczek: Well, the basic utility is taskset.  man taskset for info on that,
[19:13] <Jeniczek> anyway, I have found, that I can do apt-get install linux-rt
[19:13] <Jeniczek> but it seems that it will isntall some old rt kernel
[19:13] <bogeyd6> with 8.10 they will all be old
[19:15] <Jeniczek> well I can download a newer one one the page the wiki is refering to
[19:15] <Jeniczek> Jeniczek: 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] <Jeniczek> http://kernel.org/pub/linux/kernel/v2.6/
[19:15] <Jeniczek> sorry pad paste
[19:15] <Jeniczek> I was just pastin what jmarsden thought about the switch do Debian to my guys ;)
[19:16] <Jeniczek> and heres a list of kernel patches for 2.6 kernels
[19:16] <Jeniczek> http://kernel.org/pub/linux/kernel/projects/rt/
[19:16] <Jeniczek> so I dont think that this depends on the age of the distro
[19:16] <bogeyd6> you should get 2.6.27.3.4
[19:17] <bogeyd6> 2.6.27-7 is the most up2date i think
[19:17] <Jeniczek> hmm, why this one? I can see 2.6.31.12-rt20 here
[19:17] <Jeniczek> http://kernel.org/pub/linux/kernel/projects/rt/patch-2.6.31.12-rt20.gz
[19:17] <Jeniczek> heres a patch
[19:17] <Jeniczek> http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.12.tar.gz
[19:17] <Jeniczek> heres the kernel
[19:18] <bogeyd6> going off the reservation a little bit
[19:18] <bogeyd6> turning a 15 minute project into so much more
[19:18] <Jeniczek> whattya mean?
[19:18] <Jeniczek> so you think that I should just give a try to apt-get install linux-rt ?
[19:18] <Jeniczek> not to do stuff like compilin own rt kernel?
[19:19] <bogeyd6> correct
[19:19] <bogeyd6> give it a shot, you get an improvement, you compile your own
[19:19] <Jeniczek> bcuz this guide gives some optimization options before compilation as well
[19:19] <Jeniczek> http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
[19:19] <Jeniczek> hmm
[19:19] <Jeniczek> well, thats also an option
[19:19] <bogeyd6> trying to minimize your down time
[19:20] <jmarsden> trying the sudo apt-get install linux-rt    sounds reasonable to me at this point.
[19:20] <bogeyd6> jmarsden, but you had so many other ideas!!!

[19:20] <jmarsden> which are also worth a try...
[19:21] <Jeniczek> hmmmm
[19:21] <bogeyd6> i know, some people have to check everything and other people connect the dots quicker
[19:21] <Jeniczek> ok, why not to give that a try
[19:21] <Jeniczek> does the server needs to be rebooted for that?
[19:21] <Jeniczek> I guess it does
[19:22] <bogeyd6> i wonder what happens to ubuntu when they finally make it to Z
[19:23] <patdk-wk> heh? I thought they already did
[19:23] <Jeniczek> btw dont you know, if ACE ( http://www.cs.wustl.edu/~schmidt/ACE.html ) needs to be fully recompiled after the kernel switch?
[19:24] <bogeyd6> does it include kernel modules like vmware?
[19:24] <Jeniczek> I really dont know
[19:24] <bogeyd6> generally you dont need to recompile for the linux-rt
[19:24] <Jeniczek> mmkay
[19:25] <Jeniczek> but the server reboot is requested for kernel change, right? ;)
[19:25] <bogeyd6> http://rt.wiki.kernel.org/index.php/Frequently_Asked_Questions#Do_I_need_to_recompile_my_applications_to_get_realtime_performance.3F
[19:25] <bogeyd6> Jeniczek, yes
[19:25] <Jeniczek> maybe stupid question.. but its 21st century.. so everythin is possible
[19:25] <Jeniczek> okok
[19:26] <garymc> yep im totally lost with this email server stuff, maybe time to jack it in
[19:27] <bogeyd6> garymc, you using zimbra?
[19:27] <garymc> bogey no, just installed and configured dovecot and postfix. Just cant seem to get my head around it
[19:28] <garymc> bogeyd6 :^
[19:28] <bogeyd6> oh yeah it can be puzzling
[19:28] <garymc> like i want to make accounts so when im at home and stuff my outlook express can send and recieve emails through my server
[19:30] <garymc> once ive installed dovecot and postfix how do i go about sending an email?
[19:30] <bogeyd6> you are in luck
[19:30] <bogeyd6> !mailserver
[19:30] <garymc> iam?
[19:30] <bogeyd6> https://help.ubuntu.com/community/MailServer
[19:31] <bogeyd6> someone did all the work for you and put it into a handy guide :)
[19:33] <garymc> bogeyd6 : 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 emails
[19:33] <bogeyd6> kk
[19:33] <garymc> it doesnt tell me how to do that
[19:33] <bogeyd6> so you need to know how to setup outlook express?
[19:33] <garymc> well just outlook
[19:33] <garymc> i know how i normally do it when i use a hosted service
[19:34] <bogeyd6> go to tools, accounts, make a new account
[19:34] <Jeniczek> oh
[19:34] <Jeniczek> got DCed
[19:34] <Jeniczek> vmware installation in progress ;)
[19:34] <ruben23> hi
[19:34] <garymc> yeah i know that, but how do I create a new email like john@mydomain.com and gary@mydomain.com etc etc
[19:35] <bogeyd6> you mean make a dovecot user?
[19:35] <garymc> yes
[19:35] <bogeyd6> users get dovecot access
[19:35] <jmarsden> just create unix user accounts john and gary
[19:36] <garymc> right?
[19:36] <jmarsden> yes.
[19:36] <bogeyd6> ala sudo adduser blah blah blah
[19:37] <bogeyd6> !adduser
[19:37] <garymc> ok well im already there gary
[19:37] <bogeyd6> mbox or maildir?
[19:37] <garymc> so how do i connect to my server with outlook.
[19:37] <garymc> maildir
[19:37] <bogeyd6> create a new account with he information but choose the manual option, dont let it do it automatically
[19:38] <bogeyd6> (checkbox at bottom of wizard allows manual)
[19:38] <garymc> yep
[19:39] <bogeyd6> otherwise outlook like to try to figure out everything but typically fails unless it is an exchange server
[19:39] <garymc> yeah. Ive put settings in and its not working
[19:39] <bogeyd6> uncomment the listen line in /etc/dovecot/dovecot.conf
[19:40] <garymc> the listen line is uncommented
[19:41] <bogeyd6> restart the dovecot server
[19:41] <bogeyd6> sudo /etc/init.d/dovecot restart
[19:42] <garymc> done all that
[19:42] <bogeyd6> if 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] <garymc> you talking about the 'socket listen' part of dovecot.conf
[19:42] <garymc> ?
[19:42] <bogeyd6> it should be #listen = *  and you change it to listen = *
[19:43] <garymc> ive just done telnet localhost 143 . it says * Dovecot ready
[19:45] <garymc> ok still not working
[19:45] <bogeyd6> hmm
[19:45] <bogeyd6> you at the same place the server is?
[19:47] <garymc> no im ssh ing to it
[19:47] <bogeyd6> sudo ufw status
[19:48] <bogeyd6> so wait, there is a very good chance there is a firewall between you and the server?
[19:48] <garymc> staus inactive
[19:48] <garymc> have i got to open port 25 to the server?
[19:48] <garymc> in the firewall router?
[19:49] <bogeyd6> 25 for smtp, and then 143, 993, 110, 995
[19:49] <garymc> i got to open them in the router?
[19:49] <bogeyd6> 143 = imap, 993 = imaps, 110 = pop3, 995 = pop3s
[19:49] <bogeyd6> yes
[19:50] <bogeyd6> and then your ISP has to allow you to be able to send email, such as roadrunner blocks them
[19:51] <bogeyd6> Some ISP's do not allow their users to use a third party mail server to send outgoing mail
[19:55] <jmarsden> You can set postfix to listen on port 587 for mail submissions to work around that, if necessary
[19:56] <garymc> yeah i could do that
[19:56] <garymc> instead of port 25
[20:06] <Jeniczek> 0:20:09] <jmarsden> trying the sudo apt-get install linux-rt sounds reasonable to me at this point.
[20:06] <Jeniczek> guyz i have just turned the server app off
[20:07] <Jeniczek> so keep fingers crossed
[20:07] <Jeniczek> apt-get install linux-rt is goin to be real ;)
[20:07] <jmarsden> Jeniczek: Or keep fingers in ears, so you don't hear all those 15-year-olds screaming at you :)
[20:07] <Jeniczek> well
[20:07] <Jeniczek> Dont imagine the chat after the server restart has been initiated
[20:09] <Jeniczek> jmarsden if the apt-get install linux-rt wont be succesful
[20:09] <Jeniczek> apt-get uninstall linux-rt
[20:09] <Jeniczek> is the solution how to get back to original state?
[20:10] <Jeniczek> btw
[20:10] <Jeniczek> bogeyd6
[20:10] <Jeniczek> The following extra packages will be installed:
[20:10] <Jeniczek> linux-image-2.6.27-3-rt linux-image-rt linux-restricted-modules-2.6.27-3-rt linux-restricted-modules-rt
[20:10] <Jeniczek> its goin to install this stuff
[20:10] <bogeyd6> yah thats normal
[20:11] <Jeniczek> hm
[20:11] <Jeniczek> it updated the menu.lst
[20:12] <Jeniczek> but theres
[20:12] <Jeniczek> default 0
[20:12] <jmarsden> Re 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.lst
[20:12] <Jeniczek> btw why it is called just
[20:12] <Jeniczek> Ubuntu 8.10, kernel 2.6.27-3-rt
[20:12] <Jeniczek> and no server string in it?
[20:13] <jmarsden> Probably it is not a server-specific kernel.
[20:13] <jmarsden> RT stuff is useful for (for example) low latency audio recording... which is often done on desktop machines as much as server machines...
[20:13] <Jeniczek> hmm
[20:13] <Jeniczek> well the things in menu list
[20:14] <Jeniczek> default 0
[20:14] <Jeniczek> the first entry in the end is 0?
[20:14] <Jeniczek> i mean the first kernel
[20:14] <jmarsden> The first entry (nearest the top of the file) is 0.
[20:14] <Jeniczek> so i should edit it to 8 then
[20:14] <Jeniczek> ok
[20:14] <Jeniczek> well I hope it will boot
[20:14] <Jeniczek> if not
[20:15] <Jeniczek> then am fucked up a lot
[20:15] <Jeniczek> reboot in progress
[20:15] <jmarsden> That's why you need the colo provider to give you some form of remote console access and remote reboot capability!
[20:17] <jmarsden> A 200km drive to edit an 8 into a 0 and reboot a machine seems a little awkward :)
[20:17] <bogeyd6> i dont know of a colo that doesnt give remote kvm access
[20:18] <garymc> bogeyd6 ok i opened the ports and now outlook is asking for username passwaord
[20:18] <garymc> is my username gary or gary@mydomain.com
[20:18] <jmarsden> garymc: well, you know what those are :)
[20:18] <bogeyd6> the username is just "gary" and the password is the password you use to login
[20:19] <garymc> yeah its not having it? :S
[20:19] <Jeniczek> hmm
[20:19] <Jeniczek> server still not up...
[20:20] <garymc> emails arnt
[20:20] <Jeniczek> ok server up xD
[20:20] <Jeniczek> ufff
[20:20] <garymc> when i do telnet mail.mydomain.com 25 it closes str8 away saying closed by foriegn host
[20:20] <Jeniczek> uname -a
[20:20] <Jeniczek> Linux twinstar 2.6.27-3-rt #1 PREEMPT RT Mon Oct 27 03:02:33 UTC 2008 x86_64 GNU/Linux
[20:21] <Jeniczek> sounds good
[20:21] <Jeniczek> but 2y old xD
[20:21] <jmarsden> OK... start the game server and see how things go :)
[20:21] <bogeyd6> Jeniczek, 8.10 was released 2 yrs ago
[20:22] <Jeniczek> well am still thinkin if ACE needs to be reconfigured and recompiled
[20:22] <Jeniczek> maybe at this stage it doesnt use the power of RT
[20:22] <garymc> so any ideas how i can get my mail server working?
[20:22] <garymc> or do some tests?
[20:23] <jmarsden> Jeniczek: Very unlikely IMO, unless it has kernel modules it loads.
[20:23] <jmarsden> garymc: nc to port 143 and play with IMAP login there, and then check your server logs for relevant log entries.
[20:23] <bogeyd6> garymc, it didnt like your u/p?
[20:24] <garymc> u/p ?
[20:24] <jmarsden> username/password
[20:24] <garymc> nope
[20:24] <garymc> it didnt
[20:25] <jmarsden> nc to server port 143, then type IMAP commands at it... such as   * login gary YOURPASSWORD
[20:25] <jmarsden> and see what it does... troubleshoot.
[20:26] <jmarsden> Make that   . login gary YOURPASSWORD
[20:26] <jmarsden> * is an invalid IMAP tag.
[20:27] <garymc> sorry to sound stupid but what is "nc to server" ?
[20:28] <garymc> hey here is something
[20:28] <garymc> if i type "telnet mail.mydomain.com 25" I get connection closed by foriegn host.
[20:28] <garymc> If I do "telnet mail.mydomain.com 143"
[20:28] <garymc> I get dovecot ready
[20:29] <jmarsden> It's better to use nc than telnet, but whatever.  So now test it with imap commands, as I already said.
[20:31] <Jeniczek> GUYZ
[20:31] <Jeniczek> what the fuck
[20:31] <jpds> !ohmy | Jeniczek
[20:31] <Jeniczek> it doesnt support multiple Cores?
[20:32] <Jeniczek> why do I see my CPUs as one?
[20:33] <Jeniczek> is that normal?
[20:33] <Jeniczek> jmarsden bogeyd6 ?
[20:33] <jmarsden> Jeniczek: cat /proc/cpuinfo    # how many do you see?
[20:33] <Jeniczek> one
[20:34] <bogeyd6> oh lol!!!!!!
[20:34] <bogeyd6> 8.10 probably isnt SMP
[20:34] <jmarsden> I think this experiment needs to end :)
[20:34] <bogeyd6> The 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:35] <bogeyd6> out of curiosity Jeniczek , did it fix the issue?
[20:35] <Jeniczek> you think I will run it with one CPU?
[20:35] <Jeniczek> oh man
[20:36] <Jeniczek> it doesnt even recognieze its multicore
[20:36] <jmarsden> Trading 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] <MrZhi> wordpress has now become my white whale
[20:36] <garymc> jmarsden I get an error BAD when i try to login with my name and password
[20:36] <bogeyd6> garymc, you sure you using right username and password?
[20:36] <garymc> yes
[20:37] <Jeniczek> no
[20:37] <Jeniczek> it is unusable
[20:37] <jmarsden> garymc: 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] <garymc> saslauth
[20:37] <garymc> hmm ok
[20:37] <garymc> ill take another look
[20:37] <bogeyd6> Jeniczek, just change your default to the next kernel and reboot
[20:37] <jmarsden> Jeniczek: OK, then switch back to the default kernel.
[20:38] <Jeniczek> yeah
[20:38] <Jeniczek> did
[20:38] <Jeniczek> its actually rebooting
[20:38] <Jeniczek> and I g2g
[20:38] <Jeniczek> a friend of mine will compelte this
[20:38] <Jeniczek> my gf will kill me anyway
[20:38] <garymc> where would my password directory be for saslauth as the location im told to add doesnt exist
[20:38] <Jeniczek> thanks a lot for your support huys
[20:38] <Jeniczek> on mondey debian will show us the truth
[20:38] <bogeyd6> kk
[20:38] <garymc> PWDIR="/var/spool/postfix/var/run/saslauthd"
[20:38] <jmarsden> Jeniczek|afk: You're welcome.
[20:38] <garymc> that location doesnt exist
[20:39] <bogeyd6> garymc, you said you followed the setup
[20:39] <garymc> yes i did. And that doesnt exist
[20:39] <garymc> that folder
[20:39] <jmarsden> That's the default??
[20:40] <garymc> oh yes ubuntu wouldnt add this program libsasl2-2
[20:40] <bogeyd6> https://help.ubuntu.com/community/Dovecot#Authentication
[20:40] <jmarsden> garymc: Which version of Ubuntu Server (and so which version of the server guide) are you following?
[20:40] <garymc> when i done sudo apt-get install libsasl2-2 it didnt install anything
[20:40] <garymc> im using karmic koala
[20:41] <jmarsden> Then all you needed to do was sudo apt-get install dovecot-postfix
[20:41] <garymc> https://help.ubuntu.com/community/Postfix#Configuration
[20:41] <garymc> Yeah I did that
[20:42] <garymc> but the guide above tells about saslauthd stuff
[20:42] <garymc> so was just looking at that now
[20:42] <jmarsden> You 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:43] <MrZhi> fyi, the wordpress package is not for noobs to wordpress
[20:43] <garymc> ok well i done that. Im now guessing that A.) im using LTSP ubuntu
[20:43] <garymc> i installed the Jaunty Edition last year. and upgraded to Karmic 2 days ago in the LTSP GUI
[20:44] <garymc> so im guessing that done something or never done something and now im having problems
[20:44] <jmarsden> Guessing what version you are running???  You don't *know* ?  What does    lsb_release -d    output?
[20:46] <garymc> Ubuntu 9.10
[20:46] <jmarsden> OK.  Now try     dpkg-query -W dovecot-postfix    and tell me what that outputs
[20:46] <garymc> dovecot-postfix
[20:46] <jmarsden> There should be a version number too ... ?
[20:47] <garymc> no there isnt
[20:47] <garymc> :S
[20:47] <garymc> if i do sudo apt-get install dovecot-postfix again what would that do?
[20:48] <jmarsden> Then 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-postfix
[20:48] <garymc> dpkg-query -W dovecot-postfix (output) dovecot-postfix . Nothing else :S
[20:49] <garymc> ok im going through it nopw
[20:49] <garymc> *now
[20:50] <garymc> it is saying what would i like to do with dovecot-postfix.conf
[20:50] <garymc> replace, keep
[20:50] <jmarsden> replace.  Start over.
[20:50] <garymc> ok
[20:51] <garymc> its just sitting there now
[20:51] <garymc> :S
[20:51] <jmarsden> Sitting where?  back to a shell prompt?
[20:51] <garymc> at a shell prompt but i cant do anyting there now?
[20:51] <garymc> ok its done
[20:51] <garymc> but now i get fail
[20:52] <jmarsden> Pastebin the output so we can see it "fail" is too vague :)
[20:52] <garymc> http://pastebin.ca/1772348
[20:52] <garymc> ^ fail
[20:53] <garymc> Fails output ^
[20:53] <garymc> address already in use
[20:53] <jmarsden> You seem to have something else listening on port 2000.  Do you know what that is?
[20:53] <garymc> nope
[20:54] <garymc> i dont know why its there
[20:54] <garymc> and i dont know how to change dovecot-postfix to listen on a differnt port
[20:54] <jmarsden> sudo netstat -ntlp | grep 2000    # and see what is there.
[20:55] <garymc> http://pastebin.ca/1772354
[20:55] <garymc> tcp or something dont know what it is?
[20:56] <jmarsden> inetd!  How did that get to be listening on port 2000?
[20:56] <garymc> ???
[20:56] <jmarsden> pastebin the contents of /etc/inetd.conf
[20:56] <garymc> What is inetd
[20:56] <jmarsden> A "superserver" daemon that starts up some other services under it as needed.
[20:56] <garymc> im running this server as an ltsp one
[20:57] <garymc> that anything to do with it?
[20:57] <jmarsden> Maybe ltsp uses port 2000 for something else... pastebin me the /etc/inetd.conf so I can find out :)
[20:58] <garymc> http://pastebin.ca/1772356
[20:58] <garymc> I see port 2000 there at the bottom
[20:58] <jmarsden> Yes.  So that's your problem.  Two apps trying to use the same port.
[20:59] <garymc> so how do i change the dovecot-postfix to use a free port?
[21:00] <garymc> ??
[21:01] <jmarsden> I've not had to do that, but it's likely to be an edit to /etc/dovecot/dovecot-postfix.conf
[21:01] <garymc> yeah i looked in there and cant see a mention of port 2000 at all
[21:01] <jmarsden> Ah, port 2000 is sieve.  I wonder why LTSP reused that port...
[21:02] <garymc> that i dont know
[21:03] <jmarsden> As 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] <garymc> is that in dovecot.conf?
[21:03] <jmarsden> In /etc/dovecot/dovecot-postfix.conf
[21:05] <garymc> ok done that
[21:05] <garymc> restarted it and says ok
[21:06] <jmarsden> OK.  Now telnet (or nc) to port 143 and test again.
[21:06] <garymc> doesnt let me connect now lol
[21:07] <jmarsden> even from the server shell?  does telnet localhost 143    connect ?
[21:07] <garymc> connection refused
[21:08] <garymc> ill try nc
[21:08] <jmarsden> Strange.  What does    sudo /etc/init.d/dovecot status     output?
[21:08] <garymc> could not acces PID file for dovecot
[21:09] <jmarsden> You forgot the sudo ?
[21:09] <garymc> nope
[21:09] <garymc> * could not access PID file for dovecot
[21:11] <ruben23> hi 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] <jmarsden> Either 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] <jmarsden> ruben23: For desktop issues ask in #ubuntu, this is #ubuntu-server :)
[21:12] <ruben23> ow sorry
[21:12] <ruben23> i will now
[21:14] <garymc> jmarsden ok it seems to be working now
[21:14] <jmarsden> OK... :)
[21:14] <garymc> i can telnet " telnet mail.mydomain.com 25
[21:14] <garymc> so how would i test if my email can connect?
[21:14] <jmarsden> But that's not dovecot, that's postfix...
[21:15] <garymc> how do i test dovecot then?
[21:15] <garymc> port 143
[21:15] <garymc> ?
[21:15] <jmarsden> Yes,
[21:15] <garymc> ok says dovecot ready
[21:15] <garymc> what now
[21:15] <garymc> .login thingy
[21:15] <jmarsden> We went through this earlier... yes.
[21:16] <garymc> .login BAD Error in IMAP command received by server.
[21:16] <garymc> thats my output
[21:16] <jmarsden> What command did you type (don't tell me your password if you included it) ?
[21:17] <garymc> ok
[21:17] <garymc> .login gary password
[21:18] <jmarsden> You are missing a space between the . and the login
 Make that   . login gary YOURPASSWORD
[21:18] <jmarsden> That's what I said earlier...
[21:19] <garymc> sorry ok i give it ago now
[21:20] <garymc> :) logged in
[21:20] <garymc> :)
[21:20] <jmarsden> OK.  So now test by sending yourself a short email.     date |mail -s test gary@yourdomain.com
[21:20] <jmarsden> Oh, first do . logout
[21:20] <garymc> i do that command out of telent?
[21:20] <garymc> or in telnet?
[21:21] <jmarsden> . logout     # to exit the telnet session.
[21:21] <jmarsden>  date |mail -s test gary@yourdomain.com   # at the shell prompt
[21:21] <garymc> damn how do i quit telnet
[21:21] <jmarsden> . logout
[21:21] <garymc> ah ha
[21:22] <jmarsden> logs out of IMAP and so closes the session.
[21:22] <garymc> the program "Mail" can not be found
[21:23] <jmarsden> Should be "mail" not "Mail" but anyway...    sudo apt-get install bsd-mailx      # and then try the   date |mail -s test gary@yourdomain.com
[21:24] <garymc> i didnt realise it would be so hard to install this email server stuff
[21:24] <jmarsden> if you think this is hard, you've not much experience with administering servers :)
[21:25] <garymc> ok that seems to work. no output though
[21:25] <jmarsden> Good.  Now let's see if it was delivered... back to telnet to port 143 again.
[21:25] <ruben23> hi 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:26] <garymc> jmarsden : do i login again?
[21:26] <jmarsden> . login gary PASSWORD
[21:27] <garymc> logged in
[21:27] <jmarsden> and then list the contents of the INBOX... let me find the command...
[21:27] <garymc> ok
[21:28] <jmarsden> . select INBOX
[21:28] <jmarsden> . status (MESSAGES)
[21:28] <jmarsden> Does it say you have a message?
[21:29] <as1965> ruben23: no - not unless you want the dnsmasq server to use dnsmasq as well.
[21:29] <as1965> The dnsmasq man page is worth a read (+ FAQ)
[21:31] <jmarsden> garymc: Talk to me... did those commands work and show that you have a message in the INBOX ?
[21:32] <jmarsden> garymc: I need to go out for lunch soon, BTW...
[21:32] <garymc> sorry had to take a wazzz
[21:32] <garymc> i just doen the inbox one
[21:33] <garymc> 0 exists
[21:33] <garymc> 0 recent
[21:33] <garymc> OK UADVALIDITY
[21:33] <jmarsden> 0 exists seems... not quite what we need.  Looks like the test email did not get delivered.
[21:33] <garymc> hmm
[21:33] <garymc> should i try the messages one?
[21:34] <jmarsden> My mailbox has  * 1769 EXISTS   :)
[21:34] <garymc> lol nice
[21:34] <jmarsden> Sure, you can try it.  I doubt it will help though.
[21:34] <garymc> didnt work
[21:35] <jmarsden> OK.   . logout        and then you'll need to look at the logs under /var/log to see what happened to that test email.
[21:35] <jmarsden> But I need to go eat lunch, I expect I will be back here later on.
[21:36] <garymc> ok have a nice lunch
[21:36] <jmarsden> Thanks.
[21:36] <garymc> what log file am i looking for there are all sorts
[21:36] <jmarsden> /var/log/maillog and /var/log/messages woudl be good places to start with.
[21:37] <garymc> ok
[21:37] <jmarsden> Check  /var/log/mail*  (whatever files you have in there starting with mail) ...
[21:37] <garymc> have a nice lunch i may still be here but thanks for all your help
[21:37] <jmarsden> Bye for now... you're welcome.  You are definitely closer than you were to a working mailserver.
[21:40] <garymc> :)
[21:47] <Timreichhart> is anybody running freeside?
[22:13] <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 rules
[22:36] <dvheumen> you might want to look at 'ufw' instead of trying to configure iptables directly
[22:43] <garymc> jmarsden you back?
[23:05] <ruben23> what happend guys..?
[23:06] <garymc> i think freenode closed down
[23:07] <ruben23> upgrade..?
[23:23] <jmarsden> garymc: I'm back now.
[23:24] <garymc> cool
[23:24] <ruben23> yeah..nice
[23:24] <ruben23> we need experts here..
[23:25] <jmarsden> for more on "what happened" see http://blog.freenode.net/
[23:26] <garymc> just to let you know, i sudo ap-get purge bsd-mailx
[23:26] <jmarsden> ruben23: 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] <jmarsden> garymc: OK, but why?
[23:26] <garymc> and installed heirloom-mailx
[23:26] <ruben23> yes
[23:27] <garymc> cos i didnt think you was coming back so thought id try the ones ubuntu was recommending
[23:27] <ruben23> its running on the same server
[23:27] <jmarsden> garymc: Oh... no big difference between those in practice, but OK.
[23:27] <garymc> oh
[23:27] <garymc> i should have left it now
[23:27] <garymc> :(
[23:27] <garymc> Just got to do something for the missus be back in 2 mins
[23:27] <jmarsden> ruben23: So you can use ufw and add rules like    sudo ufw allow 80/tcp
[23:28] <jmarsden> and sudo ufw allow 443/tcp
[23:28] <ruben23> ok, are there no editing of rules directly to the Iptables..?
[23:28] <jmarsden> ruben23: You can do it that way if you prefer, it's your server :)
[23:29] <dvheumen> ruben23, I'm curious, why would you want to manipulate iptables directly?
[23:29] <ruben23> dvheumen: learning...how to used the different rules..
[23:30] <jmarsden> ruben23: 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] <dvheumen> yeah, that was my thought :)
[23:30] <ruben23> ok, i can go with that also
[23:31] <dvheumen> and ... 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 manually
[23:32] <ruben23> dvheumen:ok noted.
[23:32] <garymc> jmarsden im back
[23:33] <jmarsden> garymc: OK, so other than swapping out mail/mailx, what was in your logs? :)
[23:33] <jmarsden> Did you see where the test email either was delivered, or why it was not delivered?
[23:34] <garymc> ok
[23:35] <garymc> right i dont know what any of it means :S
[23:36] <garymc> ill pastebin
[23:36] <garymc> jmarsden http://pastebin.ca/1772530
[23:36] <jmarsden> OK... 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:37] <jmarsden> The big clue is line 10, mail loops back to myself.
[23:38] <jmarsden> It means you didn't answer debconf questions about your domain correctly when you installed dovecot-postfix, I suspect.
[23:38] <garymc> hmm ok
[23:38] <garymc> what parts have i got wrong do you reckon
[23:39] <garymc> is it cos it says mail.mydomain.com?
[23:39] <jmarsden> on phone...
[23:39] <garymc> root@mail.mydomain.com ?]
[23:45] <dvheumen> I think the following is interesting: from-mail-domain: mail.thefinancefacility.com, to-mail-domain: thefinancefacility.com
[23:45] <jmarsden> garymc: OK... phone was from paid consulting client... so they get priority :)
[23:45] <dvheumen> does this server know it should also accept/process mail from thefinancefacility.com
[23:45] <dvheumen> and not only mail.thefinancefacility.com
[23:45] <jmarsden> dvheumen: Probably not.  You're right.
[23:45] <garymc> jmarsden : of coarse they do :)
[23:46] <jmarsden> garymc: When you told debconf what the local domains were, how did you answer that question?
[23:46] <garymc> i put mail.thefinancefacility.com and there where a few others let me get them up
[23:47] <dvheumen> it 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 locally
[23:47] <garymc> ok first off. system mail name. thefinancefacility.com
[23:48] <jmarsden> garymc: Try    postconf -n | grep mydestination
[23:48] <garymc> mail.thefinancefacility.com, ubuntu.gateway.2wire.net, localhost.gateway.2wire.net, localhost_
[23:49] <garymc> that is for ^^ postfix config
[23:49] <jmarsden> Right.  We need to add thefinancefacility.com to that.
[23:49] <garymc> i only put the financefacility bit
[23:49] <jmarsden> Or you needed to test by sending date |mail -s test gary@mail.thefinancefacility.com     # if you really prefer that.
[23:49] <garymc> no i want it without the mail
[23:50] <jmarsden> OK, so do   sudo postconf -e "mydestination = mail.thefinancefacility.com, ubuntu.gateway.2wire.net, localhost.gateway.2wire.net, localhost, thefinancefacility.com"
[23:50] <jmarsden> and then restart postfix
[23:51] <garymc> ok done that
[23:51] <garymc> do test mail again
[23:51] <jmarsden> OK, now retest sending ... yes.
[23:51] <garymc> ok
[23:51] <garymc> sent mail
[23:52] <jmarsden> OK, now see if it was delivered; either test with telnet localhost 143, or however else you want to look for the received email.
[23:53] <garymc> ok
[23:54] <garymc> Oooohohh we got action
[23:54] <garymc> 1 exists
[23:54] <dvheumen> hehe
[23:55] <garymc> 1 recent
[23:55] <jmarsden> OK, now go test your real email client (Outlook or whatever you prefer).  I think we've finally got you a working mail server :)
[23:56] <garymc> ok in outlook i add pop3 account?
[23:57] <jmarsden> garymc: 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] <jmarsden> That's not a Ubuntu server question :)
[23:57] <garymc> well i tried doing an imap one then and no joy
[23:57] <jmarsden> Be specific... what do you mean by "no joy"?  What happened when you tested the newly configured account?
[23:57] <garymc> incoming and outgoing mailserver be
[23:58] <garymc> mail.thefinancefacility.com
[23:58] <jmarsden> garymc: sure, if that resolves to the IP address of your server.
[23:58] <garymc> it didnt work just got error
[23:59] <jmarsden> No, 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] <garymc> hmm ok that failed
[23:59] <jmarsden> "failed" is not specific.
[23:59] <garymc> maybe it isnt mail.thefinancefacility.com ?
[23:59] <jmarsden> You are *guessing* and your domain and server names???