=== apokryphos [i=apokryph@unaffiliated/apokryphos] has left #ubuntu-classroom [] | ||
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom | ||
=== GaiaX11 [n=vagner@201.57.125.2] has joined #ubuntu-classroom | ||
=== tonyyarusso [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-classroom | ||
=== Crusher [n=You@ppp145-160.lns11.adl6.internode.on.net] has joined #ubuntu-classroom | ||
=== pradeep [n=pradeep@unaffiliated/pradeep] has joined #ubuntu-classroom | ||
=== hybrid [n=x@easyubuntu/supporter/hybrid] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslc-082-082-131-141.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== b3tzi [n=b3tzi@adsl196-28-211-217-196.adsl196-15.iam.net.ma] has joined #Ubuntu-Classroom | ||
=== b3tzi [n=b3tzi@adsl196-28-211-217-196.adsl196-15.iam.net.ma] has left #Ubuntu-Classroom ["Leaving"] | ||
=== hedix [i=usr93564@c1.edrana.lt] has joined #ubuntu-classroom | ||
=== philwyett [n=philip@bb-87-81-146-45.ukonline.co.uk] has joined #ubuntu-classroom | ||
=== iKs [n=iks@82.243.59.107] has joined #ubuntu-classroom | ||
=== tonyy [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-classroom | ||
=== PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-classroom | ||
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslc-082-082-131-141.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom | ||
=== LjL [n=ljl@ubuntu/member/ljl] has joined #ubuntu-classroom | ||
=== silwol [n=silwol@teacheradsl245.eduhi.at] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslc-082-082-139-162.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== DerXero [n=patrick@dslb-082-083-133-249.pools.arcor-ip.net] has joined #ubuntu-classroom | ||
=== pradeep [n=pradeep@unaffiliated/pradeep] has joined #ubuntu-classroom | ||
=== silwol [n=silwol@teacheradsl245.eduhi.at] has left #ubuntu-classroom [] | ||
=== pradeep [n=pradeep@unaffiliated/pradeep] has left #ubuntu-classroom [] | ||
=== robdeman [n=robdeman@b71069.upc-b.chello.nl] has joined #ubuntu-classroom | ||
=== _phantom_ [n=phantom@82-46-12-56.cable.ubr07.azte.blueyonder.co.uk] has joined #ubuntu-classroom | ||
jrib | robdeman: hello | 07:21 |
---|---|---|
robdeman | hey jrbi | 07:21 |
jrib | robdeman: how did you get in this situation? | 07:22 |
robdeman | ehrm jrib that is :) | 07:22 |
robdeman | well I installed Ubuntu 6.10 Server - LAMP (no gui) | 07:22 |
jrib | _phantom_: someitmes there are classes here about ubuntu (not recently) but we also use it when we need a place with less traffic | 07:22 |
robdeman | then I installed Subversion using apt-get | 07:22 |
robdeman | then I learned that the Subversion that comes with Ubuntu is too old | 07:22 |
robdeman | so I removed it and compiled Subversion myself | 07:23 |
_phantom_ | jrib: oh right sounds like fun ;-) Ill have to come in here now and again then | 07:23 |
=== flugger [i=flug@71.239.36.58] has joined #ubuntu-classroom | ||
robdeman | then I learned that the Apache2 version that comes with Ubuntu is compiled against older ART libs | 07:23 |
robdeman | si I removed apache2 and compiled apache2 from source | 07:23 |
robdeman | well, that was such a nightmare that I now want to undo | 07:23 |
robdeman | I just want to get Apache2 + Subversion from the repositories and no more compiled stuff | 07:24 |
jrib | ok, so have you managed to remove those two things? | 07:24 |
jrib | the compiled ones that is | 07:24 |
robdeman | I am pretty sure about that | 07:24 |
jrib | and subversion is ok now? | 07:24 |
robdeman | I accidantely removed /etc/inid.d/apache2 by hand | 07:24 |
robdeman | jrib: subversion is not installed yet | 07:24 |
robdeman | its just removed | 07:25 |
jrib | ok, lets handle apache then | 07:25 |
robdeman | ok | 07:25 |
robdeman | >> thanks for helping me out here | 07:25 |
jrib | robdeman: sudo aptitude remove apache2-common && apt-cache policy apache2-common on pastebin please | 07:25 |
robdeman | http://pastebin.ca/445009 | 07:26 |
jrib | apt-cache policy apache2 | grep -i Installed | 07:27 |
robdeman | jrib: Installed: (none) | 07:28 |
jrib | ok, now: sudo aptitude install apache2 | 07:28 |
jrib | pastebin if there is anything interesting | 07:29 |
robdeman | jrib: http://pastebin.ca/445014 | 07:29 |
jrib | ok, ls /etc/init.d/apache2 | 07:30 |
robdeman | jrib: /etc/init.d/apache2 | 07:31 |
robdeman | but wait: I created that file | 07:31 |
jrib | created how? | 07:31 |
robdeman | using Nano, just an empty file | 07:32 |
jrib | is it still empty? | 07:32 |
robdeman | b/c when I did apt-get remove apache2-common it complaine dthat It could not remove that missing file... | 07:32 |
robdeman | ye sits still empty | 07:32 |
robdeman | it wasnt replace by the original one | 07:32 |
jrib | ok remove apache2-common again | 07:32 |
robdeman | sudo apt-get remove apache2-common ? | 07:32 |
jrib | yes | 07:32 |
robdeman | I did | 07:33 |
robdeman | want the output in pastebin? | 07:33 |
jrib | does /etc/init.d/apache2 still exist? | 07:33 |
jrib | robdeman: not unless there were errors | 07:33 |
robdeman | here it is http://pastebin.ca/445016 | 07:33 |
jrib | k, that looks fine | 07:34 |
robdeman | mm | 07:36 |
jrib | does /etc/init.d/apache2 still exist? | 07:37 |
robdeman | oop ssorry: yes | 07:37 |
jrib | delete it | 07:37 |
robdeman | ok | 07:37 |
jrib | sudo aptitude install apache2 | 07:37 |
robdeman | http://pastebin.ca/445024 | 07:38 |
jrib | robdeman: check /etc/init.d/apache2 now | 07:38 |
robdeman | jrib: ls: /etc/init.d/apache2: No such file or directory | 07:39 |
=== jrib whacks apt | ||
robdeman | strange eh? | 07:39 |
jrib | indeed | 07:39 |
jrib | is that the only file that's missing? | 07:39 |
robdeman | I guess? | 07:39 |
robdeman | also .. it doesnt download a fresh installer package... | 07:40 |
robdeman | it just uses some cached copy of /apache2-common_2.0.55-4ubuntu4_i386.deb | 07:40 |
robdeman | I dont understand why it doesnt geta fresh one, I replaced the sources.list with some standard stuff\ | 07:40 |
jrib | well delete it from /var/cache/apt/ if you want, but I don't think it matters | 07:40 |
robdeman | oh well in that case | 07:41 |
robdeman | I think I already tried that yesterday indeed | 07:42 |
robdeman | so, are we lost here? | 07:42 |
jrib | pastebin /etc/heh I'm laughing at /var/lib/dpkg/info/apache2.2-common.preinst | 07:42 |
jrib | ignore the "pastebin /etc" | 07:42 |
robdeman | so: /var/lib/dpkg/info/apache2.2-common.preinst ? | 07:43 |
jrib | nah, it's not helpful, but it'sf unny | 07:43 |
jrib | lets try purging instead of removing | 07:45 |
jrib | sudo aptitude purge apache2-common | 07:46 |
jrib | you might need to 'touch /etc/init.d/apache2' like you did last time | 07:46 |
jrib | dh_installinit -a -r --init-script=apache2 debian/apache2.2-common.init.d -- start 91 09 | 07:49 |
jrib | I guess we may need to understand dh_installinit a bit more if this doesn't work | 07:49 |
robdeman | mm | 07:51 |
robdeman | http://pastebin.ca/445047 | 07:52 |
jrib | try: sudo aptitude purge apache2 apache2-mpm-worker apache2-common | 07:54 |
robdeman | http://pastebin.ca/445054 | 07:55 |
jrib | oh you pressed yes last time :) | 07:55 |
robdeman | eh? | 07:55 |
jrib | you installed thttpd | 07:56 |
robdeman | I did? | 07:56 |
jrib | maybe remove that if you don't want it | 07:56 |
robdeman | I dont want it.. | 07:56 |
robdeman | ok | 07:56 |
jrib | ok then sudo aptitude install apache2 | 07:56 |
robdeman | ah errors while removing thttpd http://pastebin.ca/445057 | 07:57 |
robdeman | shall I continue with sudo aptitude install apache2 ? | 07:57 |
jrib | heh great, another headache, yeah lets get apache2 in there | 07:58 |
robdeman | ah bingo I think http://pastebin.ca/445059 | 08:00 |
jrib | cool, now just check to make sure it worked | 08:00 |
jrib | robdeman: pay attention to the mesage though. You will need to change that later | 08:00 |
robdeman | well | 08:01 |
robdeman | I think /etc/init.d/apache2 is own by root or eomthing? only sudo can access it | 08:01 |
jrib | yes | 08:01 |
jrib | but thttpd is in the way right now, we need to get rid of it | 08:01 |
jrib | try sudo /etc/init.d/thttpd stop | 08:02 |
robdeman | ok I did | 08:04 |
robdeman | I changed /etc/init.d/apache2 to 0755 ... b/c it didnt do anything | 08:04 |
robdeman | hey this is strange: | 08:05 |
robdeman | /etc/init.d/apache2 stop ---> shows ' * Stopping apache 2.0 web server.. [ok] ' | 08:05 |
robdeman | but | 08:05 |
robdeman | but /etc/init.d/apache2 start ---> doesnt feedback anything | 08:06 |
jrib | Setting Apache2 not to start, as something else appears to be using Port 80. To allow apache2 to start, set NO_START to 0 in /etc/default/apache2. Apache2 has been set to listen on port 80 by default, so please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works. | 08:06 |
jrib | that may be why | 08:07 |
robdeman | port 80 is open according to my portscanner | 08:08 |
jrib | is it thttpd or apache2 though? | 08:08 |
robdeman | not sure how can I check that? | 08:09 |
jrib | check which one is running | 08:09 |
jrib | ps -ef | grep apache | 08:09 |
robdeman | ah //usr/local/apache2/bin/httpd | 08:09 |
robdeman | that is my compiled version sint it | 08:09 |
jrib | heh | 08:09 |
jrib | /usr/local/bin contain any apache stuff? | 08:10 |
robdeman | no | 08:10 |
jrib | hmm I wonder how it starts | 08:11 |
robdeman | I think I know | 08:11 |
robdeman | Webmin started it | 08:11 |
jrib | oh | 08:11 |
robdeman | using apache2ctl | 08:11 |
robdeman | but | 08:11 |
robdeman | webmin cannot find it anymore | 08:11 |
robdeman | since I removed the compiled version of apache | 08:11 |
robdeman | maybe I just need to reboot | 08:11 |
jrib | the init.d/apache2 script uses apache2ctl as well | 08:12 |
jrib | I'd get rid of thttpd then reboot | 08:12 |
robdeman | sweeet its back! | 08:13 |
robdeman | how could I get rid of thttpd ? | 08:13 |
robdeman | /etc/init.d/apache2 is back and it works | 08:14 |
robdeman | I just killed all processes | 08:14 |
robdeman | of httpd | 08:14 |
robdeman | and then started apache2 | 08:14 |
robdeman | now it works | 08:14 |
jrib | if thttpd is stopped, then try 'sudo aptitude remove thttpd' again | 08:15 |
robdeman | jrib: http://pastebin.ca/445094 | 08:17 |
jrib | robdeman: try to read /var/lib/dpkg/info/thttpd.prerm and see why it is trying to do | 08:17 |
jrib | s/why/what | 08:17 |
robdeman | jri: mm http://pastebin.ca/445100 | 08:18 |
jrib | robdeman: meh, just comment the line where it tries to stop it | 08:19 |
robdeman | sweeete | 08:20 |
robdeman | removed :) | 08:20 |
robdeman | pfewwwf | 08:26 |
robdeman | thanks buddy | 08:26 |
robdeman | that helped me a lot | 08:26 |
jrib | np | 08:33 |
robdeman | jrib: /etc/inid.d/apache start --> still no feedback | 08:41 |
robdeman | any idea why? | 08:41 |
jrib | robdeman: no, not sure | 08:42 |
jrib | robdeman: what about "restart"? | 08:43 |
robdeman | log says: http://pastebin.ca/445141 | 08:43 |
robdeman | restart -> no feeback either | 08:44 |
jrib | robdeman: not sure, you can dig around the script, it's all bash | 08:44 |
=== philwyett [n=philip@bb-87-81-146-45.ukonline.co.uk] has joined #ubuntu-classroom | ||
robdeman | ok I fixed it | 09:13 |
robdeman | jrib: thanks | 09:13 |
robdeman | a bunch! | 09:13 |
=== robdeman [n=robdeman@b71069.upc-b.chello.nl] has left #ubuntu-classroom [] | ||
=== sacater [n=sacater@colchester-lug/member/sacater] has joined #ubuntu-classroom | ||
=== Mez [n=Mez@ubuntu/member/mez] has joined #ubuntu-classroom | ||
=== ryanakca [n=ryanakca@ubuntu/member/ryanakca] has joined #ubuntu-classroom |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!