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