=== 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 | ||
stiv2k | hello | 06: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 | ||
kraut | moin | 09: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 | ||
AnRkey | How can I completely remove apache with all configs so that I can reinstall? I have tried dpkg -P and apt-get remove --purge | 12:32 |
AnRkey | when i reinstall apache still is not installed properly | 12:32 |
infinity | Which package are you purging? | 12:51 |
infinity | The conffiles belong to apache2.2-commong (apache2-common in dapper) | 12:51 |
infinity | s/commong/common/ | 12:51 |
AnRkey | infinity, thanks | 01:09 |
AnRkey | i have not purged common yet | 01:09 |
AnRkey | i 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 |
AnRkey | dpkg: error processing apache2-mpm-prefork (--purge): | 01:12 |
AnRkey | subprocess pre-removal script returned error exit status 100 | 01:12 |
AnRkey | Errors were encountered while processing: | 01:12 |
infinity | And that's why you should use apt-get, not dpkg. :/ | 01:12 |
AnRkey | hmm ok | 01:12 |
infinity | Because dpkg happily removed them our of dependency order. | 01:12 |
=== jdstrand [n=james@mail.strandboge.com] has joined #ubuntu-server | ||
AnRkey | well i deleted them thinking that a reinstall would replace them | 01:13 |
AnRkey | been at this now for three days | 01:13 |
infinity | You can edit /var/lib/dpkg/info/apache2-mpm-prefork.prerm and comment out the call to invoke-rcd. | 01:13 |
infinity | And then try harder to purge. :) | 01:13 |
AnRkey | ok | 01:13 |
infinity | (Or just make the shell script not be "set -e") | 01:13 |
AnRkey | tashell script? | 01:14 |
infinity | /var/lib/dpkg/info/apache2-mpm-prefork.prerm is a shell script. | 01:14 |
AnRkey | ok that worked perfectly | 01:20 |
AnRkey | some small probs though | 01:20 |
=== infinity bows. | ||
AnRkey | sudo apache2ctl start | 01:20 |
AnRkey | apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory | 01:20 |
AnRkey | :D | 01:20 |
infinity | Err, that didn't reinstall cleanly, then. | 01:20 |
infinity | The postinst script is meant to create an empty httpd.conf | 01:21 |
infinity | Really, it is. | 01:21 |
AnRkey | :D | 01:21 |
AnRkey | any suggestions | 01:21 |
AnRkey | create one :D | 01:21 |
AnRkey | brb | 01:21 |
infinity | apt-get --purge remove apache2-common && rm -rf /etc/apache2 && apt-get install apache2 | 01:21 |
infinity | (or 2.2-common, whatever version you're on..) | 01:22 |
infinity | I suspect some "I think I'm upgrading!" trickery may have triggered if there was an unclean purge. :/ | 01:22 |
AnRkey | hmm | 01:23 |
infinity | Of 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 |
AnRkey | sudo apache2ctl start | 01:23 |
AnRkey | (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | 01:23 |
AnRkey | no listening sockets available, shutting down | 01:23 |
AnRkey | Unable to open logs | 01:23 |
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server | ||
AnRkey | i created an empty httpd.conf | 01:23 |
AnRkey | owned by root.root | 01:23 |
infinity | Also, why are you using apache2ctl directly? | 01:23 |
AnRkey | cause i get no info from /etc/init.d/apache2 | 01:23 |
infinity | sudo /etc/init.d/apache2 start | 01:23 |
infinity | Address already in use means you already have an apache (or something) running. | 01:24 |
AnRkey | it just does nothing | 01:24 |
infinity | And bound to port 80. | 01:24 |
infinity | sudo lsof -i TCP:80 | 01:24 |
AnRkey | http://paste.ubuntu-nl.org/34517/ | 01:25 |
AnRkey | something is running | 01:26 |
AnRkey | odd | 01:26 |
AnRkey | it looks like apache2 | 01:26 |
AnRkey | but when i /etc/init.d/apache2 stop i get this * Stopping web server (apache2)... httpd (no pid file) not running | 01:27 |
AnRkey | just killed all those process' | 01:28 |
=== Kamping_Kaiser [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server | ||
AnRkey | infinity, it's working, removed everything apache2 related with --purge and then reinstalled. Thanks so very much! | 01:37 |
AnRkey | i reinstalled php5 but it's not processing .php files in apache | 01:42 |
AnRkey | how do i enable php once it's installed? | 01:42 |
=== PanzerMKZ [i=Panzer@07-035.136.popsite.net] has joined #ubuntu-server | ||
infinity | Did you install libapache2-mod-php5? | 02:02 |
infinity | Note 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 | ||
AnRkey | infinity, thanks, trying that now | 02:38 |
AnRkey | thanks 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 |
AnRkey | infinity, my wife says thanks, now she can download torrents again while at work | 02:59 |
infinity | Heh. | 03:02 |
AnRkey | you have a website? | 03:05 |
AnRkey | or blog? | 03:05 |
infinity | I suspect I might have both. | 03:05 |
AnRkey | posting the solution for this to a thread i had going | 03:05 |
AnRkey | wanted to give u the cred | 03:05 |
infinity | Oh, you don't have to credit me, I'm a Canonical employee, this is my job. | 03:05 |
AnRkey | So u in london? | 03:06 |
infinity | I maintained apache and php for years, I should hope I know how they work. :/ | 03:06 |
infinity | No, I live in Melbourne. | 03:06 |
AnRkey | i c | 03:06 |
AnRkey | so 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 | ||
infinity | AnRkey: Err, yes, countless times. I've been working for Canonical for years. | 03:48 |
AnRkey | what he like to work for? | 03:52 |
=== infinity shrugs. | ||
infinity | Like anyone, I suppose. | 04:02 |
=== lousygarua [n=lousygar@85-250-233-229.bb.netvision.net.il] has joined #ubuntu-server | ||
lousygarua | how do i check which scripts were recently run by cron-daemon? | 04:06 |
infinity | lousygarua: grep CRON /var/log/syslog | 04:07 |
sommer | lousygarua: you can try this: grep cron /var/log/syslog | 04:07 |
infinity | lousygarua: (and syslog.0, etc) | 04:07 |
sommer | heh | 04:07 |
lousygarua | ok thanks | 04:07 |
infinity | Note that it really is CRON, in upper case. | 04:08 |
sommer | I concur | 04:08 |
sommer | forgot the -i | 04: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 |
Gat0rvean | something like that, I'd have to reboot it again to see what it really says, but it's /etc/something/something | 05:50 |
infinity | And why would you care if you have a loging prompt if you have no keyboard? :) | 05:50 |
Gat0rvean | well I can't even login remotely if it's not at the prompt | 05:50 |
infinity | Okay, so something is prompting early in the boot sequence? | 05:51 |
infinity | Find out what it is. | 05:51 |
infinity | Because nothing's meant to. | 05:51 |
Gat0rvean | ok, sec | 05:52 |
Gat0rvean | "Running local boot scripts /etc/rc.local" [OK] and stays there, hit enter and the prompt comes up | 05:56 |
infinity | Okay, so did you edit rc.local? | 05:57 |
infinity | Because it does nothing (exit 0) by default. | 05:57 |
Gat0rvean | so change it to "exit 1"? | 05:58 |
Gat0rvean | or just "#exit 0" | 05:58 |
infinity | Uhm, no... | 05:58 |
infinity | "exit 0" is correct. | 05:58 |
infinity | That's all rc.local is doing? | 05:58 |
Gat0rvean | yes | 05:59 |
infinity | Then it's not rc.local that's the problem. | 05:59 |
infinity | On the other hand, rc.local is the very last thing to run, so SSH should be up. | 05:59 |
infinity | Which means, I'm not really sure what the problem is that you're trying to solve... | 06:00 |
infinity | The login prompt not displaying is cosmetic, not sometihng that would prevent you from logging in remotely. | 06:00 |
infinity | Oh, no rmnologin runs after rc.local. | 06:00 |
Gat0rvean | gotcha, so being the noob I am, I probably have something weird with SSH going on | 06:00 |
infinity | Can you paste "ls -l /etc/rc2.d" to me in a private message? | 06:01 |
mathiaz | Gat0rvean: did you install the openssh-server package ? | 06:03 |
mathiaz | Gat0rvean: it's not installed by default. | 06:03 |
Gat0rvean | mathiaz, I did, I can login after I press enter and get the prompt | 06:04 |
infinity | Hence the paste I asked for... | 06:04 |
infinity | I suspect something's happening between rc.local and rmnologin. | 06:04 |
infinity | (rmnologin is what allows you to login, locally and remotely) | 06:04 |
infinity | Equally 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 |
mathiaz | infinity: is the samba package shipped on the livecd ? | 06:06 |
infinity | root@cthulhu:~# apt-cache show samba | grep ^Task | 06:07 |
infinity | Task: edubuntu-server | 06:07 |
infinity | (no) | 06:07 |
mathiaz | infinity: ok. Thanks. | 06:07 |
Gat0rvean | nevermind 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 stupidity | 06:08 |
Gat0rvean | SSH that is | 06: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 |
infinity | You might get a biased opinion in this channel. | 06:13 |
infinity | (ie: We're all likely to say "yes") | 06:13 |
bulio| | heh | 06:14 |
mathiaz | infinity: 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 | ||
tck | or outline main diff between ubuntu server and debian server | 06:33 |
=== YourMomsHero [n=cirish@74.202.196.195] has joined #ubuntu-server | ||
infinity | Release schedule, LTS releases, commercial support from Canonical, and a different logo. | 06:38 |
infinity | Did I miss anything? | 06:38 |
infinity | Do I get a gold star? | 06:39 |
ivoks | :) | 06:42 |
=== arthur_kalm [n=arthur@38.112.100.2] has joined #ubuntu-server | ||
arthur_kalm | Hi 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_kalm | Thanks in advance. | 06:53 |
ivoks | maybe you have network manager? | 06:54 |
ivoks | it's default in desktop instalations | 06:54 |
arthur_kalm | ivoks: I forgot to mention, X is not installed on the server | 06:55 |
ivoks | is there anything in resolv.conf? | 06:56 |
mathiaz | arthur_kalm: are you using dhcp ? | 06:56 |
arthur_kalm | mathiaz: yes | 06:57 |
infinity | apt-get --purge remove resolvconf | 06:57 |
infinity | With great prejudive. | 06:57 |
infinity | Oh, if you're using dhcp, then nevermind. :P | 06:57 |
arthur_kalm | infinity: hehe, and I don't have it installed | 06:58 |
infinity | You need to edit /etc/dhcp3/dhclient.conf to append extra resolver entries. | 06:58 |
mathiaz | arthur_kalm: you're resolv.conf is probably rewritten by you dhcp client | 06:58 |
arthur_kalm | ivoks: yes, I'm trying to add something to the search | 06:58 |
infinity | s/probably/definitely/ | 06:58 |
arthur_kalm | infinity: great thanks | 06:58 |
infinity | man 5 dhcp-options for the full list of crap you can tweak in there. | 06:59 |
arthur_kalm | infinity: hehe OK | 06:59 |
arthur_kalm | I was just about to ask ;) | 06:59 |
arthur_kalm | infinity: o_O. I just want to add another search, i.e. search <company dns> | 07:00 |
infinity | I'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_kalm | infinity: hehe, OK so don't say it ;) | 07:01 |
infinity | prepend domain-name "company.com "; | 07:01 |
infinity | Try 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_kalm | infinity: oh they're huge! | 07:03 |
arthur_kalm | and that's really cool that u can bring down the interface remotely and not get disconnected :D | 07:03 |
arthur_kalm | hmm I get a temporary name server failure | 07:05 |
arthur_kalm | infinity: but I can ping it | 07:05 |
lamont | ScottK: do you admin ubuntu-server mailing list? | 07:05 |
ScottK | lamont: No. Sorry. | 07:05 |
lamont | oh well. | 07:05 |
mathiaz | lamont: I do. | 07:05 |
arthur_kalm | infinity: actually nvm, it works | 07:06 |
lamont | mathiaz: lamont@mmjgroup.com == lamont@u.c | 07:06 |
lamont | if 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 | ||
mathiaz | lamont: done. | 07:14 |
lamont | danke | 07:14 |
=== lamont wanders for a while | ||
kylem | mathiaz, working on getting you new AA now. | 07:16 |
mathiaz | kylem: excellent. Thanks. | 07:17 |
kylem | np. | 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!