/srv/irclogs.ubuntu.com/2007/08/21/#ubuntu-server.txt

=== CrummyGummy [n=CrummyGu@dsl-244-246-102.telkomadsl.co.za] has joined #ubuntu-server
=== PanzerMKZ [i=Panzer@09-122.136.popsite.net] has joined #ubuntu-server
=== pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server
=== dantalizing [n=dan@wsip-70-184-147-28.ga.at.cox.net] has joined #ubuntu-server
=== dantalizing_ [n=dan@wsip-70-184-147-28.ga.at.cox.net] has joined #ubuntu-server
=== dantalizing__ [n=dan@wsip-70-184-147-28.ga.at.cox.net] has joined #ubuntu-server
=== AnRkey [n=AnRkey@87-194-62-131.bethere.co.uk] has joined #ubuntu-server
=== PanzerMKZ_ [i=Panzer@dialup-4.88.73.208.Dial1.Atlanta1.Level3.net] has joined #ubuntu-server
=== sahafeez [n=sahafeez@12.25.46.209] has joined #ubuntu-server
=== YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server
=== osmosis [n=steven@cpe-76-80-88-199.socal.res.rr.com] has joined #ubuntu-server
=== lionel_ [n=lionel@ip-149.net-89-3-208.rev.numericable.fr] has joined #ubuntu-server
=== PanzerMKZ [i=Panzer@09-122.136.popsite.net] has joined #ubuntu-server
stiv2khello06:55
=== Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-server
=== Starting logfile irclogs/ubuntu-server.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-server
=== Topic for #ubuntu-server: Ubuntu Server discussion and support | for general (not server specific) support visit #ubuntu | Seriously good guide to asking questions on IRC: http://www.sabi.co.uk/Notes/linuxHelpAsk.html
=== Topic (#ubuntu-server): set by nealmcb at Sat Jul 7 23:04:50 2007
krautmoin09:07
=== crummygummy_ [n=CrummyGu@dsl-244-246-102.telkomadsl.co.za] has joined #ubuntu-server
=== CrummyGummy [n=CrummyGu@dsl-244-246-102.telkomadsl.co.za] has joined #ubuntu-server
=== dexem [n=dani@222.Red-88-23-207.staticIP.rima-tde.net] has joined #ubuntu-server
=== ewook [n=ewook@5.234.216.81.static.han.vf.siwnet.net] has joined #ubuntu-server
=== olem [n=olem@195.33.65.134] has joined #ubuntu-server
=== Markon [n=Markon@host201-144-dynamic.8-79-r.retail.telecomitalia.it] has joined #ubuntu-server
=== Markon [n=Markon@host201-144-dynamic.8-79-r.retail.telecomitalia.it] has left #ubuntu-server ["Prima]
=== ICU [n=me@sechzig.dd.ewetel.de] has joined #ubuntu-server
=== tck [n=tck@A-57-104.cust.iol.ie] has joined #ubuntu-server
=== AnRkey [n=AnRkey@host-83-146-42-229.bulldogdsl.com] has joined #ubuntu-server
AnRkeyHow can I completely remove apache with all configs so that I can reinstall? I have tried dpkg -P and apt-get remove --purge12:32
AnRkeywhen i reinstall apache still is not installed properly12:32
infinityWhich package are you purging?12:51
infinityThe conffiles belong to apache2.2-commong (apache2-common in dapper)12:51
infinitys/commong/common/12:51
AnRkeyinfinity, thanks01:09
AnRkeyi have not purged common yet01:09
AnRkeyi can't remove apache2.2-common as it is needed by apache2-mpm-prefork and when i try purge apache2-mpm-prefork it gives me this invoke-rc.d: unknown initscript, /etc/init.d/apache2 not found.01:12
AnRkeydpkg: error processing apache2-mpm-prefork (--purge):01:12
AnRkey subprocess pre-removal script returned error exit status 10001:12
AnRkeyErrors were encountered while processing:01:12
infinityAnd that's why you should use apt-get, not dpkg. :/01:12
AnRkeyhmm ok01:12
infinityBecause dpkg happily removed them our of dependency order.01:12
=== jdstrand [n=james@mail.strandboge.com] has joined #ubuntu-server
AnRkeywell i deleted them thinking that a reinstall would replace them01:13
AnRkeybeen at this now for three days01:13
infinityYou can edit /var/lib/dpkg/info/apache2-mpm-prefork.prerm and comment out the call to invoke-rcd.01:13
infinityAnd then try harder to purge. :)01:13
AnRkeyok01:13
infinity(Or just make the shell script not be "set -e")01:13
AnRkeytashell script?01:14
infinity /var/lib/dpkg/info/apache2-mpm-prefork.prerm is a shell script.01:14
AnRkeyok that worked perfectly01:20
AnRkeysome small probs though01:20
=== infinity bows.
AnRkeysudo apache2ctl start01:20
AnRkeyapache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory01:20
AnRkey:D01:20
infinityErr, that didn't reinstall cleanly, then.01:20
infinityThe postinst script is meant to create an empty httpd.conf01:21
infinityReally, it is.01:21
AnRkey:D01:21
AnRkeyany suggestions01:21
AnRkeycreate one :D01:21
AnRkeybrb01:21
infinityapt-get --purge remove apache2-common && rm -rf /etc/apache2 && apt-get install apache201:21
infinity(or 2.2-common, whatever version you're on..)01:22
infinityI suspect some "I think I'm upgrading!" trickery may have triggered if there was an unclean purge. :/01:22
AnRkeyhmm01:23
infinityOf course, just touching an empty httpd.conf would fix the above, but I'm concerned other things might have broken for you too in all your mangling. :)01:23
AnRkeysudo apache2ctl start01:23
AnRkey(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8001:23
AnRkeyno listening sockets available, shutting down01:23
AnRkeyUnable to open logs01:23
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server
AnRkeyi created an empty httpd.conf01:23
AnRkeyowned by root.root01:23
infinityAlso, why are you using apache2ctl directly?01:23
AnRkeycause i get no info from /etc/init.d/apache201:23
infinitysudo /etc/init.d/apache2 start01:23
infinityAddress already in use means you already have an apache (or something) running.01:24
AnRkeyit just does nothing01:24
infinityAnd bound to port 80.01:24
infinitysudo lsof -i TCP:8001:24
AnRkeyhttp://paste.ubuntu-nl.org/34517/01:25
AnRkeysomething is running01:26
AnRkeyodd01:26
AnRkeyit looks like apache201:26
AnRkeybut when i /etc/init.d/apache2 stop i get this  * Stopping web server (apache2)...  httpd (no pid file) not running01:27
AnRkeyjust killed all those process'01:28
=== Kamping_Kaiser [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server
AnRkeyinfinity, it's working, removed everything apache2 related with --purge and then reinstalled. Thanks so very much!01:37
AnRkeyi reinstalled php5 but it's not processing .php files in apache01:42
AnRkeyhow do i enable php once it's installed?01:42
=== PanzerMKZ [i=Panzer@07-035.136.popsite.net] has joined #ubuntu-server
infinityDid you install libapache2-mod-php5?02:02
infinityNote that if you did the "rm -rf /etc/apache2" thing, you'd need to purge libapache2-mod-php5 and reinstall it as well (since it has conffiles there...)02:03
=== olem [n=olem@195.33.65.134] has joined #ubuntu-server
=== dendrobates [n=rclark@67.66.67.2] has joined #ubuntu-server
AnRkeyinfinity, thanks, trying that now02:38
AnRkeythanks infinity that did the trick for php too. I had to install php5-mysql for torrentflux to work but it's cruising along quite nicely now.02:55
AnRkeyinfinity, my wife says thanks, now she can download torrents again while at work02:59
infinityHeh.03:02
AnRkeyyou have a website?03:05
AnRkeyor blog?03:05
infinityI suspect I might have both.03:05
AnRkeyposting the solution for this to a thread i had going03:05
AnRkeywanted to give u the cred03:05
infinityOh, you don't have to credit me, I'm a Canonical employee, this is my job.03:05
AnRkeySo u in london?03:06
infinityI maintained apache and php for years, I should hope I know how they work. :/03:06
infinityNo, I live in Melbourne.03:06
AnRkeyi c03:06
AnRkeyso you met mark yet?03:06
=== noah [i=29572@WideOpenBSD.ORG] has left #ubuntu-server []
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server
=== dantalizing [n=dan@n128-227-5-37.xlate.ufl.edu] has joined #ubuntu-server
=== gamble6x [i=bbg@gateway/tor/x-6951c63d300f1492] has joined #ubuntu-server
infinityAnRkey: Err, yes, countless times.  I've been working for Canonical for years.03:48
AnRkeywhat he like to work for?03:52
=== infinity shrugs.
infinityLike anyone, I suppose.04:02
=== lousygarua [n=lousygar@85-250-233-229.bb.netvision.net.il] has joined #ubuntu-server
lousygaruahow do i check which scripts were recently run by cron-daemon?04:06
infinitylousygarua: grep CRON /var/log/syslog04:07
sommerlousygarua: you can try this: grep cron /var/log/syslog04:07
infinitylousygarua: (and syslog.0, etc)04:07
sommerheh04:07
lousygaruaok thanks04:07
infinityNote that it really is CRON, in upper case.04:08
sommerI concur04:08
sommerforgot the -i04:09
=== mathiaz [n=mathiaz@dsl-207-112-82-183.tor.primus.ca] has joined #ubuntu-server
=== tck_ [n=tck@78.16.28.142] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== tck_ [n=tck@78.16.28.142] has joined #ubuntu-server
=== rbrunhuber [n=Miranda@highway.mvi.de] has joined #ubuntu-server
=== boggle [n=spindler@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== boggle [n=spindler@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== dendrobates [n=rclark@67.66.67.2] has left #ubuntu-server []
=== tck_ [n=tck@213-202-177-23.bas504.dsl.esat.net] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== Styles [n=Styles@67.138.244.194] has joined #ubuntu-server
=== gamble6x [i=bbg@gateway/tor/x-9c952759ffcd8281] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== osmosis [n=steven@cpe-76-80-88-199.socal.res.rr.com] has joined #ubuntu-server
=== nictuku [n=yves@200-140-164-227.bsace706.dsl.brasiltelecom.net.br] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== Gat0rvean [n=gat0rvea@74-140-172-217.dhcp.insightbb.com] has joined #ubuntu-server
Gat0rvean I'm trying to boot my Ubuntu Server 7.04 without a keyboard, I've configured the bios, but when It loads the modules, it stops at /etc/scripts and I have to press enter to get to the login prompt, how can I disable that?05:49
infinity"stops at /etc/scripts"?05:49
infinity(There is no /etc/scripts, so what do you really mean?)05:49
Gat0rveansomething like that, I'd have to reboot it again to see what it really says, but it's /etc/something/something05:50
infinityAnd why would you care if you have a loging prompt if you have no keyboard? :)05:50
Gat0rveanwell I can't even login remotely if it's not at the prompt05:50
infinityOkay, so something is prompting early in the boot sequence?05:51
infinityFind out what it is.05:51
infinityBecause nothing's meant to.05:51
Gat0rveanok, sec05:52
Gat0rvean"Running local boot scripts /etc/rc.local" [OK]  and stays there, hit enter and the prompt comes up05:56
infinityOkay, so did you edit rc.local?05:57
infinityBecause it does nothing (exit 0) by default.05:57
Gat0rveanso change it to "exit 1"?05:58
Gat0rveanor just "#exit 0"05:58
infinityUhm, no...05:58
infinity"exit 0" is correct.05:58
infinityThat's all rc.local is doing?05:58
Gat0rveanyes05:59
infinityThen it's not rc.local that's the problem.05:59
infinityOn the other hand, rc.local is the very last thing to run, so SSH should be up.05:59
infinityWhich means, I'm not really sure what the problem is that you're trying to solve...06:00
infinityThe login prompt not displaying is cosmetic, not sometihng that would prevent you from logging in remotely.06:00
infinityOh, no rmnologin runs after rc.local.06:00
Gat0rveangotcha, so being the noob I am, I probably have something weird with SSH going on06:00
infinityCan you paste "ls -l /etc/rc2.d" to me in a private message?06:01
mathiazGat0rvean: did you install the openssh-server package ?06:03
mathiazGat0rvean: it's not installed by default.06:03
Gat0rveanmathiaz, I did, I can login after I press enter and get the prompt06:04
infinityHence the paste I asked for...06:04
infinityI suspect something's happening between rc.local and rmnologin.06:04
infinity(rmnologin is what allows you to login, locally and remotely)06:04
infinityEqually possible is that you've done something very terrible to your environment that's causing rmnologin to prompt, but that seems unlikely.  And a bit weird.06:05
mathiazinfinity: is the samba package shipped on the livecd ?06:06
infinityroot@cthulhu:~# apt-cache show samba | grep ^Task06:07
infinityTask: edubuntu-server06:07
infinity(no)06:07
mathiazinfinity: ok. Thanks.06:07
Gat0rveannevermind guys, I figured it out, I did not install it on the actual server, I installed it on the VMware I had setup before the install = / sorry for the stupidity06:08
Gat0rveanSSH that is06:08
=== Gat0rvean [n=gat0rvea@74-140-172-217.dhcp.insightbb.com] has left #ubuntu-server ["Ex-Chat"]
=== bulio| [n=bulio@unaffiliated/bulio] has joined #ubuntu-server
bulio|is Ubuntu a good server distro?06:13
infinityYou might get a biased opinion in this channel.06:13
infinity(ie: We're all likely to say "yes")06:13
bulio|heh06:14
mathiazinfinity: we should add a factoid about this question.06:14
=== bulio| [n=bulio@unaffiliated/bulio] has left #ubuntu-server []
=== rbrunhuber [n=Miranda@highway.mvi.de] has joined #ubuntu-server
=== leonel [n=leonel@189.155.150.228] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
tckor outline main diff between ubuntu server and debian server06:33
=== YourMomsHero [n=cirish@74.202.196.195] has joined #ubuntu-server
infinityRelease schedule, LTS releases, commercial support from Canonical, and a different logo.06:38
infinityDid I miss anything?06:38
infinityDo I get a gold star?06:39
ivoks:)06:42
=== arthur_kalm [n=arthur@38.112.100.2] has joined #ubuntu-server
arthur_kalmHi everyone, I'm trying to add an entry to my resolv.conf file but for some reason the entry keeps disappearing. I googled around and I can't seem to find the "proper" way of adding entries to resolv.conf. I don't have resolvconf installed...06:53
arthur_kalmThanks in advance.06:53
ivoksmaybe you have network manager?06:54
ivoksit's default in desktop instalations06:54
arthur_kalmivoks: I forgot to mention, X is not installed on the server06:55
ivoksis there anything in resolv.conf?06:56
mathiazarthur_kalm: are you using dhcp ?06:56
arthur_kalmmathiaz: yes06:57
infinityapt-get --purge remove resolvconf06:57
infinityWith great prejudive.06:57
infinityOh, if you're using dhcp, then nevermind. :P06:57
arthur_kalminfinity: hehe, and I don't have it installed06:58
infinityYou need to edit /etc/dhcp3/dhclient.conf to append extra resolver entries.06:58
mathiazarthur_kalm: you're resolv.conf is probably rewritten by you dhcp client06:58
arthur_kalmivoks: yes, I'm trying to add something to the search06:58
infinitys/probably/definitely/06:58
arthur_kalminfinity: great thanks06:58
infinityman 5 dhcp-options for the full list of crap you can tweak in there.06:59
arthur_kalminfinity: hehe OK06:59
arthur_kalmI was just about to ask ;)06:59
arthur_kalminfinity: o_O. I just want to add another search, i.e. search <company dns>07:00
infinityI'd say "don't use DHCP on servers", but I'd be a hypocrite, I've had entire datacenters running with DHCP in the past.07:00
arthur_kalminfinity: hehe, OK so don't say it ;)07:01
infinityprepend domain-name "company.com ";07:01
infinityTry that, and then "ifdown eth0 && ifup eth0" and see what resolv.conf looks like.07:01
infinity(Yes, you can drop the interface remotely, if you bring it up on the same shell line... And if you have reasonably large testicles)07:02
arthur_kalminfinity: oh they're huge!07:03
arthur_kalmand that's really cool that u can bring down the interface remotely and not get disconnected :D07:03
arthur_kalmhmm I get a temporary name server failure07:05
arthur_kalminfinity: but I can ping it07:05
lamontScottK: do you admin ubuntu-server mailing list?07:05
ScottKlamont: No.  Sorry.07:05
lamontoh well.07:05
mathiazlamont: I do.07:05
arthur_kalminfinity: actually nvm, it works07:06
lamontmathiaz: lamont@mmjgroup.com == lamont@u.c07:06
lamontif you would be so kind as to approve me.07:06
=== nandemonai [n=nandemon@ppp121-45-31-190.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server
mathiazlamont: done.07:14
lamontdanke07:14
=== lamont wanders for a while
kylemmathiaz, working on getting you new AA now.07:16
mathiazkylem: excellent. Thanks.07:17
kylemnp.07:17
=== AnRkey [n=AnRkey@87-194-62-131.bethere.co.uk] has joined #ubuntu-server
=== osmosis [n=steven@cpe-76-80-88-199.socal.res.rr.com] has joined #ubuntu-server
=== lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server
=== nandemonai [n=nandemon@ppp121-45-24-52.lns10.adl2.internode.on.net] has joined #ubuntu-server
=== rbrunhuber [n=Miranda@highway.mvi.de] has joined #ubuntu-server
=== tck [n=tck@213-202-177-23.bas504.dsl.esat.net] has joined #ubuntu-server
=== lamont`` [n=lamont@mix.mmjgroup.com] has joined #ubuntu-server
=== osmosis [n=steven@cpe-76-80-88-199.socal.res.rr.com] has joined #ubuntu-server
=== tck [n=tck@213-202-177-23.bas504.dsl.esat.net] has joined #ubuntu-server

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