/srv/irclogs.ubuntu.com/2009/03/16/#ubuntu-server.txt

mister2hello?00:39
mister2is anybody here?00:39
mister2kinda need some help00:40
mister2hhheeeeeerrrrllllloooooooooooooooooooo?00:40
jhgwhats up?00:41
jhgmister2: whats up?00:42
mister2aha00:44
mister2there is someone00:44
mister2uh00:44
goofeymister2: you will be much more successful is you just state the problem your having or ask the questoin you have rather than aksing if someone is around00:45
mister2i was wondering how to see packaging dependencies via commandline00:45
mister2i realised that00:45
goofeymister2: apt-cache search package_name00:45
mister2i also realised i could have just used the command to see al users00:45
mister2sweet00:45
mister2thanks00:45
goofeymister2: oops, apt-cache showpkg package_name00:46
goofeyMianoSM: np00:46
goofeydang, he left00:46
steelcityjimok my server I believe has suddenly stopped working can any give me some direction on how to troubleshoot00:46
goofeysteelcityjim: what makes you think it has stopped working?  I only ask because you say you believe is has - maybe not sure?00:47
steelcityjimwell my website is not coming up00:47
steelcityjimso im assuming the server ain't working00:47
goofeyso you have physical access to the server?00:48
goofeyer, do?00:48
steelcityjimyes00:48
steelcityjimwell what do you mean by physical00:49
goofeyis the computer running?00:49
steelcityjimyes00:49
goofeyok, can you ping it?00:49
goofeythis tells us if the OS is frozen or just the webserver00:49
goofeyor maybe network or?00:49
goofeylots of reasons why a wesbite won't load00:50
steelcityjimwell I can acess the desktop on the server00:50
goofeyer, website00:50
goofeyok, the OS is running00:50
steelcityjimyes00:50
steelcityjimubuntu00:50
goofeylet's see if the webserver is still running - try ps -ef | grep apache00:50
steelcityjimhang on00:54
goofeyk00:54
geniiIn a .pinerc file, trying to make a line like : inbox-path={mail.mydomain.tld/notls/novalidate-cert/user=$USER}INBOX       however, "$USER" gets translated to a colon for some reason. Is it pine/alpine internal parser of it's config file doing this or am I missing something?00:57
goofeysteelcityjim: if it is still running, you might look in /var/log/apache2/error.log for errors00:59
steelcityjimI cant get this fing hub to switch00:59
genii(I am wanting to make a generalised solution so that there won't have to be a separate inbox-path={mail.mydomain.tld/notls/novalidate-cert/user=fullusername}INBOX     kind of deal for each user00:59
steelcityjimI have a kvm switch and I can't get it to switch over to the server now01:01
goofeysteelcityjim: can you ssh into the server?01:05
steelcityjimlet me try01:08
steelcityjimno wont connect01:10
goofeysteelcityjim: you either have a network issue or the OS is locking up01:11
goofeysteelcityjim: the KVM problems seems to point to the OS locking up01:11
goofeysteelcityjim: does the server respond to ping?01:11
steelcityjimhow do I do that01:11
goofeyping "ip address of server"01:12
goofeyie: ping 192.168.1.10001:12
steelcityjimok I am able to access the file share through the network01:13
goofeysteelcityjim: you have contradictory information - you can access share files, but are unable to ssh or view web pages01:14
steelcityjimyes01:14
steelcityjimssh will not connect01:15
goofeysteelcityjim: and your kvm won't switch to that computer01:15
goofeysteelcityjim: but you've ssh'ed to that box before, right?01:15
steelcityjimwell the kvm is a keybaord issue01:15
steelcityjimyes I have ssh the server01:15
goofeysteelcityjim: best thing (i think) would be plug a keyboard/monitor directly into the server to find out what's going on - my guess is maybe you ran out of disk space or ?????01:16
goofeyor fix the jeyboard so you can use the kvm01:16
goofeyotherwise it's hard to diagnose without ssh access01:16
steelcityjimok got on the sever01:17
steelcityjimnow what?01:17
goofeylet's see if apache and ssh are running01:18
goofeyps -ef | grep apache and ps -ef | grep ssh01:18
goofeyalso check df -h to make sure none of your disks are full01:19
steelcityjimok did ps -ef01:19
steelcityjimbunch of stuff listed01:19
giovani3he wanted you to run " ps -ef | grep apache"01:20
giovani3so you could filter out all of the "stuff" that wasn't apache01:20
goofeythat's what the "| grep apache" is for, it pulls out lines that have the word apache in them01:20
goofeygiovani3: thanks01:20
steelcityjimwhat is that line?01:20
goofeyps -ef | grep apache01:21
steelcityjimI don't see the vertical line on my keyboard01:21
giovani3just copy-paste01:21
goofeyshift \01:21
giovani3but, the vertical line is called a pipe, and is usually shift- and then the key above your enter/return key01:21
goofeyon most keyboards01:21
steelcityjimok got it01:21
steelcityjim6 or 7 lines came up01:22
goofeyok, your webserver is running01:22
steelcityjimwww-data01:22
goofeylet's try:01:22
goofeyps -ef | grep ssh01:22
steelcityjimone line came up01:22
goofeystrange01:23
goofeyyour network appears to be working because you can access files on the server01:23
steelcityjimjim 19384 19314 0 20:22 pts/0 00:00:00 grep ssh01:23
giovani3heh01:23
giovani3no, ssh isn't running :)01:24
steelcityjimactually wait 3 lines came up01:24
steelcityjimroot01:24
giovani3ok ... paste them01:24
goofeygiovani3: ahh, right - thanks!01:24
goofeyubottu: !paste | steelcityjim01:24
ubottusteelcityjim: pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)01:24
steelcityjimhttp:..paste.ubuntu.com/13178601:26
giovani3heh01:27
giovani3ok, ssh is running01:27
steelcityjimim also using no-ip.org as my domain provider01:27
giovani3run ipconfig on the server01:28
giovani3and paste the output in ubuntu's pastebin again01:28
steelcityjimdo I do that from terminal?01:28
steelcityjimipconfig?01:28
giovani3yes01:29
giovani3sorry, ifconfig01:29
giovani3wrong OS :)01:29
steelcityjim13178701:30
giovani3uh ... this is NATed?01:30
giovani3that's an internal IP01:30
giovani3I'm betting you didn't forward your SSH port (properly) -- port 2201:30
steelcityjimwell I had a router issue last week01:35
steelcityjimI just checked the 22 and 80 ports and they had the wrong ip address01:35
steelcityjimI cahnged them but it still does not appear to be working01:35
steelcityjimok im able to access the html pages from the server via ubuntu desktop01:40
steelcityjimim running this through no-ip.org since I don't have a dns address01:47
steelcityjimi wonder if my isp is blocking this01:52
steelcityjimport 80 is the incoming internet traffic correct01:54
goofeysteelcityjim: most isp's do block that port02:03
timburkesteelcityjim is everything correctly forwarded?02:04
steelcityjimyes it was working02:04
timburkehmm... who is your ISP02:04
steelcityjimdls.net02:04
steelcityjimthey offer webhosting so Im wondering if they don't allow it from a residential account02:05
timburkeResidential DLS wireless subscribers may not use their wireless connections to run programs or servers that provide network content or connectivity to any 3rd party not at the location where the connection is installed. Examples of prohibited programs include, but are not limited to, mail, FTP, HTTP, game, newsgroup, proxy, and IRC servers. DLS reminds its customers that illegally distributing copyrighted material over any medium is against U.S02:05
steelcityjimdude02:06
steelcityjimso I can't remote access my own files?02:07
timburkenope02:07
steelcityjimwtf02:07
timburkeyou might want to get AT&T's DSL service.. I believe they serve your area.. they allow servers02:07
steelcityjimyea i know a few that have that service02:08
steelcityjimits a pita02:08
timburkeI personally have Comcast Business.. and run servers off of it - works great02:08
steelcityjimdude I feel censored02:08
timburkesteelcityjim: well, you're using your ISP's network.. they can do what they want with the network02:09
steelcityjimbut I have not files on the webpage02:09
steelcityjimno02:09
steelcityjimits just a lame webpage02:09
timburkesteelcityjim then why not get a cheap webhosting account... http://nearlyfreespeech.net for example02:10
steelcityjimwell i was trying to learn how to do it myself02:10
steelcityjimsince I have the extra equipment laying around02:10
timburkeyou could colo it02:10
timburkethere are several good colo providers here in the chicago area02:11
steelcityjimwhat does colo mean?02:11
timburkecolocation02:11
timburkeyou ship the server off to a provider that will host it02:11
steelcityjimoh im sure they would love my 10 year old compaq pentium 3 showing up02:12
timburkehaha02:12
steelcityjimthey would probably ship it right back02:12
steelcityjimso that explains why my site won't come up they somehow have it blocked02:13
timburkeeither that or you incorrectly configured your router02:13
steelcityjimI did have try downloading a few files rmotely02:13
steelcityjimthey must have seen it on thier end and snipped it02:13
timburkeregardless, this isn't the place to discuss it.. this is only a room to talk about and get support about ubuntu server02:13
timburketry #2,00002:14
steelcityjimunderstood timburke02:14
steelcityjimthanks for the assistance02:14
timburkeno problem02:14
Mal3kodoesnt PAE allow 32 bit server to see 4gb ram?03:27
geniiMal3ko: Yes, far more than 4Gb. But individual processes are still limited to 32bit memory usage03:32
Mal3koi exec free -m and i only see 328203:33
Mal3kowhy i dont see 4096?03:34
geniiMal3ko: Does:  lshw -C cpu              show in the line of: Capabilities         pae        ?03:38
Mal3koyes03:39
Mal3kocapabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm03:39
Mal3koubuntu 8.10 server03:40
geniiProbably "free" itself is 32bit03:40
Mal3koincluding 'top'?03:42
geniiMal3ko: Research indicates kernel needs recompiling with options CONFIG_HIGHMEM64G=y, CONFIG_HIGHMEM4G=y even if PAE is enabled03:48
Mal3kowhy they dont enabled that by default? are there side issues with those options?03:49
geniiI don't have the answers to those questions03:50
roy_hobbsAnyone familiar with the sasl-sample-{client,server} utilities?05:09
xun911hello, I'm running ubuntu server on a Dell XPS laptop, does anyone know how to turn the backlight off on it?06:13
twbxun911: is there anything being displayed on the screen?06:24
xun911at the moment it's a blank screen06:24
twbHmm.06:24
twbIf X is running, try "xset dpms force off"06:24
xun911twb, ya, tried that, did not work.06:25
twbSorry, I don't know what else to try.06:25
xun911it says "unable to open dislpay ""06:25
twbThat would be bcause X isn't running.06:25
xun911yes, because I'm running it as server. this kinda bothers me....06:26
twbYou could just leave the lid shut06:30
xun911twb, ya, but the backlight would still be on06:36
twbxun911: then it's broken06:36
xun911twb, haa... yes it is. the graphic card is displaying crap, that's why i'm using it as a server :) but i doubt if that's the issue06:37
xun911twb, i'm just reroute the display to "external" at boot, then unhook the cable when it's fully started, seems to be working for now, yeah!06:38
Kamping_Kaiseropen it up and unplug the lcd06:44
twbGood idea06:46
twbI still need to learn to use emacspeak so I can be super hard-core and write programs without looking06:46
xun911Kamping_Kaiser, ya, i did that few days ago atempting to fix the graphic card, dont' want to go through that again. also just in case something goes wrong & I can't ssh into it, a semi-working LCD is still useful06:50
Kamping_Kaisertwb, ...06:52
twbhttp://en.wikipedia.org/wiki/Emacspeak or http://emacspeak.sourceforge.net/06:53
Kamping_Kaiseraaah.06:55
twbKamping_Kaiser: so you're sitting there with your external keyboard and your headphones and a zaurus in your shirt front, happily reading email and writing scripts06:56
PecisDarbshi people, is there any good webmin alternatives out there - propably more secure and better looking?07:29
PecisDarbsI know ebox, but it is not quite what I need07:29
_rubenPecisDarbs: then what do you need?07:57
PecisDarbs_ruben: more like webmin, but better looking. Ebox feels like whole different distribution.08:01
_rubenebox is a web interface just like webmin is08:01
_rubenwith the big difference that ebox is supported on ubuntu, and webmin isnt08:02
PecisDarbsok, maybe I have just to try it08:06
iverson0881Hello was having trouble with tab completion on my user. I always get sudo update_reub-sh: <( compgen -d -- 'update_reub' ): No such file or directory for any command i try tab completing. any ideas?08:11
echosystmhi guys08:11
echosystmi need to setup a ubuntu server in vmware, but 8.04.2 isn't supported and 8.04.1 is "experimental"08:11
echosystmif i installed 8.04 and then did an apt-get upgrade, would this be the same as installing 8.04.2 ?08:12
iverson0881echosystm: I've installed 8.0.4.2 on a production environment and works great.08:12
iverson0881echosystm: under VMWare Server08:13
echosystmESX?08:13
iverson0881echosystm: No haven't had the a chance to move to ESX yet08:13
echosystmok08:13
echosystmdid you install the vmware tools?08:13
iverson0881echosystm: No08:14
echosystmok, well that's what doesnt work :P08:14
iverson0881echosystm: When I did install it, sometimes it would cause weird networking issues :-p08:14
echosystmdoesnt it perform badly without vmware tools?08:14
sorenechosystm: Where does it say that 8.04.1 is experimental?08:15
iverson0881soren: word08:15
echosystmUbuntu 8.04.1 LTS – experimental support on Workstation 6.5, 6.5.108:15
soreniverson0881: "word"? What?08:15
echosystmim using workstation08:15
sorenechosystm: *Where*?08:15
iverson0881soren: haha sorry, word as in "I agree"08:15
soreniverson0881: With a question?08:15
echosystmhttp://pubs.vmware.com/guestnotes/wwhelp/wwhimpl/common/html/wwhelp.htm?context=guestnotes&file=guestos_ubuntu804_2.html#490555408:16
echosystmi tried to install 8.04.2 before i read this08:16
iverson0881soren: I was just thinking the same thinking so I was agreeing with your valid question08:16
echosystmgot a tonne of errors08:16
echosystmit doesnt recognise the kernel, so it tries to build all the packages itself08:16
echosystmneedless to say, it doesn't go down too well08:17
soren"build all the packages"?08:17
sorenWhat does that mean?08:17
sorenechosystm: Oh, the vmware installer thing?08:17
echosystmvmware tools yes08:17
echosystmbrb 5 mins08:18
krautmoin08:42
=== cjwatson_ is now known as cjwatson
wo0fwhats the best method the setup kiosk mode with gnome?10:12
kaushalhi11:00
kaushalI am running tomcat 5.5.27 on Ubuntu Server 8.04, sun-jdk-511:02
kaushali am getting An unexpected error has been detected by HotSpot Virtual Machine:11:02
kaushalhttp://rafb.net/p/ejaJv811.html11:02
ttxkaushal: that's a bug in Sun's JDK, I would say11:04
ttxnothing we do in Java should be able to crash it.11:04
kaushalttx, ok11:05
kaushalcan you please confirm via Bug No of Sun JDK if there are any ?11:06
erichammondzul, soren: I'm probably going to miss the server meeting this morning since it's in the middle of my sleep cycle at 9am, but wanted to register my vote *against* making screen the default on login to EC2 instance.11:25
sorenerichammond: I'll pass it on.11:27
erichammondMy primary reason is that the EC2 Ubuntu server should be as close as possible to standard Ubuntu server except where absolutely required because of EC2 environment, but also because screen is not easy for the uninitiated to grasp and I believe in the principle of least surprise.11:27
erichammondThanks.11:27
sorenerichammond: I agree completely. I'm against it as well.11:28
erichammondThat said, I always use screen personally and wouldn't mind if it were installed by default :)11:28
sorenFor much the same reasons.11:28
erichammondespecially if it could be installed by default on the standard server.11:28
sorenIn its current form, screen is simply too invasive. Even moreso with the screen profiles on top.11:28
zulim against it as well for what its worth12:04
=== asac_ is now known as asac
o891_hi12:59
jwstolkhi. I'm running ubuntu-server-64 8.10, kernel 2.6.27-7, which fails to re-build a raid-10 array (known bug: http://bugzilla.kernel.org/show_bug.cgi?id=11967 )13:04
uvirtbotbugzilla.kernel.org bug 11967 in MD "md raid10 fails to resync when disks added" [Blocking,Resolved: code_fix]13:04
jwstolkis there an easy way to switch to kernel 2.6.28 ?13:04
jwstolkor going back to 2.6.26 ?13:05
=== efvefvfev is now known as nickr00tintheb0x
=== nickr00tintheb0x is now known as r00tintheb0x
jwstolk"apt-get install linux-image-2.6.28-4" should work, but how do I find out if 2.6.28-4 is the latest available kernel for ubuntu-server?13:30
Deepsapt-get install linux-image-server13:31
Deepsmetapackage that will always point to the latest 'stable' kernel release13:31
jwstolkDeeps: thanks. (I need a 28 kernel (stable or not...) to be able to re-build my raid volume)13:32
jwstolkhmm. I got 2.6.27-11  :(13:34
jwstolkand that can't rebuild a raid-1013:34
Deepsumm, linux-image-2.6.28-4 is only in jaunty, which is still in pre-release condition13:35
Deepsyou can always build your own kernel13:36
jwstolk(see bug above) I could go back to 2.6.26 ?13:36
Deepsapt-cache search linux-image | grep ^linux-image13:37
Deepswill show you all the kernel images13:37
jwstolkonly 2.6.2713:38
Deepshaving followed your bug link13:39
Deepsit links to https://bugs.launchpad.net/ubuntu/+source/linux/+bug/28515613:40
uvirtbotLaunchpad bug 285156 in linux "mdadm RAID10 arrays cannot be rebuilt, will not use available spare drives" [Undecided,Fix committed]13:40
Deepswhich features: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/285156/comments/1013:40
Deepsand then: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/285156/comments/1113:40
Deepsread the comments in the launchpad bug, has a solution of sorts13:40
Deeps(for intrepid, with a patched .27 kernel)13:41
jwstolkfixed in 2.6.27-9? interesting. didn't seem to work with 2.6.27-11 here...13:41
Deepsyou said you're using 2.6.27-713:42
jwstolkah! should re-boot of coerce.13:42
jwstolkI did install 2.6.27-11 when you said so.13:42
jwstolkrebuilding raid started automatically (like it should) thanks!13:45
jwstolk(after re-boot)13:45
Deepscool13:47
jwstolk1.9% this is going to take a while. I'm running raid-10.f2 using just 2  WesternDigital Green 1TB drives. (on our company file server) the single-file read-speed is really neat.13:49
o891_trying to setup postfix smtp auth13:50
o891_it keeps giving the SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory error, i cant even find the file anywhere, someone know a solution to this?13:50
ScottKo891_: Did you follow the Ubuntu server guide documentation on setting up SASL?13:51
o891_ScottK: sort of, that didnt work for me so I tried a few different things13:51
o891_ScottK: is the file part of the dovecot--common package?13:52
o891_*dovecot-common13:52
ScottKOK.  My first suggestion is to go back to how the Ubuntu docs tell you to set it up.13:52
Deepsum, raid10 using 2 disks? why bother?13:52
ScottKWe chroot postfix by default and I suspect that's where your problem is.13:52
o891_ScottK; ok, well I thing I will trash everything and then start again...13:53
o891_ScottK: thanks anyway13:53
o891_ScottK: by the way: I am so impressed with the ubuntu community (u are all very helpful)13:53
o891_Thanks!13:53
=== photon_ is now known as photon
ScottKo891_: If you follow the docs as exactly as you can and still have problems, that will maximize the chances someone here can help you.13:53
o891_ScottK: yeah true, well I think a clean start is what I should do anyway, the problem is that the documentation doesnt explain how to do virtual mailboxes so I used this: https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto    but it doesnt cover SASL13:54
o891_ScottK: anyway its all gotten a bit messy now, so I should do it again anyway: would you recommend using MySQL for non-unix accounts or would you go with files?13:55
ScottKo891_: You want to start small and work up.  So start with the server guide on sasl and then add stuff.13:56
ScottKo891_: Generally I'm not a big fan of making the reliability of my mail system depend on mysql.  Unless you have a large system with lots of users, it's probably more pain than it's worth.13:57
o891_ScottK, ok well I will do what the doc says till I get it working for one user and then I will try to set up using that virtualMailBoxes Documentation13:58
o891_ScottK: well its not for many users so I will go with files, anyway I think it is more secure too13:58
o891_ScottK: thanks for the help :)13:58
jwstolkDeeps: I wanted the (almost) double read speed for single (large) files. and a bit of redundancy saves a lot of work when replacing drives.13:58
ttxzul: could you have a shot at a samba 3.3.2 merge ? I can't really do it right now and we need to get regression in bug 337037 handled asap...14:29
uvirtbotLaunchpad bug 337037 in samba "MS Office reports "Access Denied" when saving to samba share" [Unknown,Fix released] https://launchpad.net/bugs/33703714:29
zulttx: yep I can do it this afternoon14:30
ttxzul: cool.14:30
ttxcoffeedude: hey. the new sources worked for me as well, we should be all set. Some more review on the packaging today and I'll upload it tomorrow.14:32
coffeedudettx: Wonderferful news !  Thanks :-)  I'll be online pretty constantly for the next few days so if anything comes up, let me know.  Thanks again for the help.14:33
ttxcoffeedude: np, I'll ping you :)14:33
scope006i have a conversation topic if anyone is willing to discuss15:11
scope006what tools do you guys/gals like to use for log consolidation and review15:12
scope006i see that ubuntu ships with ebox, and there's always manually looking at logs15:13
scope006anyone in the community here have any tools / methods that they are really sold on using?15:14
kpettitAnybody have a good recommendation for backup software?  My servers are good, I need to figure out something for my desktops users. Most of my users are offsite with Windows or Mac laptops.15:24
kpettitIt's been awhile sense I've had to deal with desktop users so Im not sure what's the best solution out there that uses Linux for the server component that also has a good Windows desktop piece15:25
sommerkpettit: backuppc is good for clients15:26
kpettitok.  is it pretty easy use15:26
sommerkpettit: I think so... haven't really used it much, but it does backups at the share level, so you don't need to install additional software on the clients, which is nice15:27
sommerkpettit: it has a web interface for configuration and management... there should be a page or two on help.ubuntu.com/community about it15:28
kpettitoh cool.  thanks, I'll check it out15:29
sommernp15:30
zulttx: samba uploaded15:46
ttxyay, one rgression down15:47
bigbyrdoks I am trying to use tomcat server and i need to edit tomcat-users.xml but it says i dont have permission....16:40
bigbyrdI thought when i login into the server i have root access, how do i not have access to this16:40
bigbyrdanyone home?16:41
Vog-workHello bigbyrd16:41
Vog-workWhat are you using to edit the text file16:42
bigbyrdi installed gnome so i could graphically find the files easier... just right clicking and using txt editer, says at the top of page gedit, then below has the no access warning16:43
Vog-workOk, so the problem is you need to be able to run those programs as root first.16:45
Vog-workIt would be simpler to go into the command line, and use "sudo nano and the pathe to the file16:46
Vog-workfor instance "sudo nano /var/www/domain/index.php" without the quotes16:46
bigbyrdok dokie, will try16:47
Vog-workit will prompt you for the root password allowing you to edit the file.16:47
Vog-workAlso try and read up on sudo on the ubuntu forms it will explain a lot.16:48
goofeybut if still want to use the gui, try gtksudo texteditor_of_choice16:48
goofeyubottu: !sudo | bigbyrd16:48
ubottubigbyrd: sudo is a command to run programs with superuser privileges ("root"). Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !gksu (Gnome, XFCE), or !kdesudo (KDE)16:48
Vog-work:) beat me to the punch goofey16:48
goofey:)16:48
goofeyubottu rocks16:49
ubottuSorry, I don't know anything about rocks16:49
goofeylol16:49
bigbyrdyeah, i am a windows user trying to set up server for office to do Document management system16:49
Vog-workbigbyrd: Well hopefully in time you'll feel like a linux user and will be able to help your office save money in licensing fees :)16:50
yeasonI'm trying to setup a mail server and everything seems ok except I cannot connect to the server via telnet to test it. I get 'Connection closed by foreign host'. What's the problem here? I'm out of ideas17:03
olcafowhat's your system? Default Postfix install on 8.10...?17:11
yeasonmore or less default, I've been tinkering for a few days attempting to customize it17:12
yeasonand figure out what the problem is17:12
olcafothe first thing you should do before costomizing it is to make sure it works with the default settings. Makes things much easier to troubleshoot.17:13
yeasonyea... well there's a huge margin dividing the things I do from the things I should do... =P17:13
olcafodo you have a firewall running on the machine blocking port 25?17:13
yeasonyes I have a firewall, port 25 is forwarded to the mail server tho17:13
yeasonand I've tried using the local IP address from the internal network and I get the same error17:14
olcafois it hooked up to the internet? my favourite tool: www.mxtoolbox.com17:14
yeasonlmfao... yea, it's hooked up to the internet...17:15
yeasonI have no problem starting over from scratch on this if that's what you would recommend, try defaults next time17:16
olcafojust looking something up, hold up a sec.17:18
olcafoI know I might be stating the obvious here, but have you checked the mail logs?17:21
olcafowhat do they say regarding the telnet session? does it even record it?17:21
yeasonhang on a sec... let me find it17:21
yeasonhmm... I've got my network ip wrong apparently... let me change it and try again17:23
yeasonhmm... don't mind me, I'm just retarded...17:24
W8TAHgood afternoon everyone -- (or morning or evening depending) ive a server install running that has for some inexplicable reason frozen at updating apt sources -- (roughly 70%) its been sitting there for over an hour -- what do i do?17:24
yeasonI had my 'local networks' set wrong17:24
olcafonext time you'll know where to look ;)17:24
yeasonyup =)17:24
auriguscrtl-C and start over17:24
W8TAHugh - -ok17:25
W8TAHthanks17:25
olcafocould be that the server your downloading from became unavailable17:25
W8TAHok17:25
W8TAHthanks17:25
olcafoI've had it happen to me on the canadian server. I changed to Japan'.17:25
bosco_does anyone know of a good website hits tracker with an ubuntu package17:27
olcafowebalizer17:28
bosco_olcafo, ok installed it via aptitude now what ?? do i have to create symlinks from my /var/www to get it to output ????17:37
olcafothe apache conf should be in /var/www/conf.d/17:38
olcafoyou should just be able to go to www.yourwebsite.com/webalizer17:38
olcafoit will be available to the public by default I believe.17:39
olcafoyou can set up htaccess to retrict it.17:39
bosco_k one sec17:42
bosco_olcafo, nope not available but it is logging in /var/www/webalizer/17:43
olcafoyou can add a alias in you website's apache config to the webalizer directory.17:44
bosco_olcafo, huh???17:45
bosco_ln -s17:46
bosco_you mean symlinks17:46
olcafohttp://httpd.apache.org/docs/2.2/mod/mod_alias.html17:46
bosco_thanks17:46
bosco_so i am linking /var/www/webalizer/ to /home/user/your-site/webalizer/17:49
bosco_with the totorial17:49
olcafopretty much.17:49
olcafoif /home/user/ is where your site is17:49
bosco_yes17:50
bosco_why not just do it with ( ln -s ) symlinks17:50
olcafokeeping it in the apache conf files makes it easier to read and troubleshoot.17:51
bosco_ah ok17:51
olcafoalso, I'm not sure apache would recognize the link... I've never actually tried it.17:52
bosco_olcafo, look at this18:03
bosco_http://pastebin.com/m26ee548918:03
NobleHi, Im having problems starting dhcp3-server. Its set to start on eth1, but somehow eth1 does not get activated on startup even though I have set it to use static IP18:16
Nobleresult, dhcp3 does not start18:16
Noblewhen i do "sudo ifconfig eth1 10.0.0.1" followed by "sudo /etc/init.d/dhcp3-sever start" it works18:17
Noblebut I dont want to do that everytime it starts..18:17
sommerNoble: in /etc/network/interfaces do you have a "auto eth1" line?18:17
Nobleyes18:17
sommerNoble: if you do a /etc/init.d/network restart does the interface come up?18:18
Noblefailed to bring up eth118:19
sommerNoble: are there any errors in /var/log/syslog?18:20
sommerNoble: you might also check dmesg | grep -i net18:20
Noble2 sec18:20
Nobleboth gives me quite a lot output18:21
Noblenot sure what im looking for18:21
sommerNoble: errors related to eth118:22
sommerNoble: there should be something to hint at where the problem is18:22
Noblelets see, Don't seem to be have all the variables for eth1/inet18:23
Noblethats from /etc/init.d/networking18:23
NobleI have set adress netmask broadcast network18:24
Nobleanything else i need?18:24
sommerNoble: gateway18:24
NobleI have no idea what to set as gateway, I have set up 2 nics into NAT18:24
Nobledhcp is on the internal18:25
Nobleeth1 that is18:25
sommerNoble: maybe eth0?18:25
Noblelol probably, do I write the eth0 ip?18:25
sommerNoble: I'd think so... also you might lose network connection playing around with these options, so you might want to make sure you have physical access to the machine18:26
NobleTaken care of ;)18:27
sommerNoble: I'd give it a try then, can't hurt :)18:27
Noblerebooting the server.. 2 sec18:27
Nobleim on the wifi so im up anyways18:27
Nobledont ask..18:27
Noblestill fails18:29
Nobleduring startup it gives me something with rc2 and eth1 not found18:29
Nobleflashes by so i cant see18:29
uvirtbotNew bug: #343762 in openldap (main) "postinst ignores dpkg-statoverride" [Undecided,New] https://launchpad.net/bugs/34376218:30
Noblewait, thats an old script of mine18:31
Nobleremoved :P18:31
NobleWould it solve my problem if I just set eth1 to look for dhcp?18:34
NobleOk, now everything is working, with NAT and shit. Hurray.18:41
NobleStill needs to manually set eth1s ip and then restart dhcp3 and bind918:42
Nobleis it possible to make a startup script for this?18:42
=== lionel_ is now known as lionel
Hans67521hello all19:45
Hans67521has any here used fetchmail19:46
_rubenthis isnt the place to hold polls .. i assume you have another fetchmail related question as well?19:47
Hans67521yes sorry19:47
Hans67521i am using ubuntu8.10 server with postfix dovecot for email19:47
Hans67521i am not using virtual users19:47
Hans67521must i use procmail with fetchmail?19:48
Hans67521my isp is hosting my email, id like to download the mail with fetchmail and push the email thru postfix/spamassassin19:48
Hans67521how should my postfix main.cf be confiured?20:01
bigbyrdi think i installed tomcat twice!!!20:08
uvirtbotNew bug: #343870 in php5 (main) "php-cli segmentation fault with mysql extension" [Undecided,New] https://launchpad.net/bugs/34387020:11
NobleHi, during startup setting static IP fails, which results in dhcp3 not starting. Suggestions?20:15
=== Adri2000_ is now known as Adri2000
alberticohi22:14
alberticohas anyone configured iscsi on ubuntu server 8.04?22:15
sorenalbertico: Yes.22:16
alberticosoren, I have been configuring a server to use a Dell MD3000i, but got lost on the part identifying the device22:17
alberticothese are the steps I did: 1)configured the iscsi.conf file 2)iscsiadm -m discovery -t sendtargets -p <MD3000i IP>22:18
albertico3) iscsiadm --mode node --targetname <LUN ID> -p <MD3000i IP> --login22:19
maesxhello, I would like to add a package cd of ubuntu-server22:19
alberticosoren, then I don't know where to look for the device22:21
sorenalbertico: Try in /dev/disk/by-path, for instance.22:23
pjsturgeonany idea what could be causing a SATA II HDD (plugged into a PCI SATA card) to swap between sda and sdb on boot?22:23
pjsturgeonit takes the point out of an automated system if each time i have to SSH and swap the fstab entry22:24
giovani3pjsturgeon: use UUIDs instead22:26
sorenpjsturgeon: That's *exactly* why Ubuntu uses UUID based mounting.22:26
sorenpjsturgeon: The order in which the kernel discovers stuff is semi-random. Making assumptions about it is a recipe for disaster.22:28
sorenmaesx: What do you mean?22:28
maesxsoren: add a Paket the CD22:30
sorenmaesx: Which package?22:30
pjsturgeonsoren & giovani3: I currently use /dev/sdb1       /media/second-drive     ext3    defaults        0       0  what is correct for a basic ext3 mount?22:32
maesxsoren : one created by my22:32
sorenmaesx: Do you want it added to the official CD's or do you just want to have it on a single CD?22:33
sorenpjsturgeon: Use vol_id to find the UUID.22:33
maesxsoren: added to the official CD's22:34
sorenmaesx: It needs to be in the archive first.22:35
sorenmaesx: You should talk to #ubuntu-motu about including it in the archive.22:36
maesxsoren: is one deb22:37
sorenmaesx: That doesn't change anything :)22:37
pjsturgeonsoren: cheers, testing now22:37
alberticosoren, the server was restarted... I executed the discovery and login commands again... checked /dev/disks/by-path and found two lun devices registered... but then, if I restart the open-iscsi daemon, I get a "no records found" message and can't find the device anymore22:38
maesxsoren : thanks22:38
sorenalbertico: Sorry, it's been a while since I've dealt with iSCSI. I forget how that's supposed to work.22:39
alberticosoren, oh well, thanks anyway22:40
alberticoHas anyone dealt with iSCSI?22:40
alberticoiSCSI anyone?22:46
hoboAny one here have any knowledge on getting broadband cards working?22:52
Vog-workhobo: what sort of card?23:36
Vog-workyou question might be sest answered in #ubuntu not #ubuntu-server23:37

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