=== 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 [07:21] robdeman: hello [07:21] hey jrbi [07:22] robdeman: how did you get in this situation? [07:22] ehrm jrib that is :) [07:22] well I installed Ubuntu 6.10 Server - LAMP (no gui) [07:22] _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] then I installed Subversion using apt-get [07:22] then I learned that the Subversion that comes with Ubuntu is too old [07:23] 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 === flugger [i=flug@71.239.36.58] has joined #ubuntu-classroom [07:23] then I learned that the Apache2 version that comes with Ubuntu is compiled against older ART libs [07:23] si I removed apache2 and compiled apache2 from source [07:23] well, that was such a nightmare that I now want to undo [07:24] I just want to get Apache2 + Subversion from the repositories and no more compiled stuff [07:24] ok, so have you managed to remove those two things? [07:24] the compiled ones that is [07:24] I am pretty sure about that [07:24] and subversion is ok now? [07:24] I accidantely removed /etc/inid.d/apache2 by hand [07:24] jrib: subversion is not installed yet [07:25] its just removed [07:25] ok, lets handle apache then [07:25] ok [07:25] >> thanks for helping me out here [07:25] robdeman: sudo aptitude remove apache2-common && apt-cache policy apache2-common on pastebin please [07:26] http://pastebin.ca/445009 [07:27] apt-cache policy apache2 | grep -i Installed [07:28] jrib: Installed: (none) [07:28] ok, now: sudo aptitude install apache2 [07:29] pastebin if there is anything interesting [07:29] jrib: http://pastebin.ca/445014 [07:30] ok, ls /etc/init.d/apache2 [07:31] jrib: /etc/init.d/apache2 [07:31] but wait: I created that file [07:31] created how? [07:32] using Nano, just an empty file [07:32] is it still empty? [07:32] b/c when I did apt-get remove apache2-common it complaine dthat It could not remove that missing file... [07:32] ye sits still empty [07:32] it wasnt replace by the original one [07:32] ok remove apache2-common again [07:32] sudo apt-get remove apache2-common ? [07:32] yes [07:33] I did [07:33] want the output in pastebin? [07:33] does /etc/init.d/apache2 still exist? [07:33] robdeman: not unless there were errors [07:33] here it is http://pastebin.ca/445016 [07:34] k, that looks fine [07:36] mm [07:37] does /etc/init.d/apache2 still exist? [07:37] oop ssorry: yes [07:37] delete it [07:37] ok [07:37] sudo aptitude install apache2 [07:38] http://pastebin.ca/445024 [07:38] robdeman: check /etc/init.d/apache2 now [07:39] jrib: ls: /etc/init.d/apache2: No such file or directory === jrib whacks apt [07:39] strange eh? [07:39] indeed [07:39] is that the only file that's missing? [07:39] I guess? [07:40] also .. it doesnt download a fresh installer package... [07:40] it just uses some cached copy of /apache2-common_2.0.55-4ubuntu4_i386.deb [07:40] I dont understand why it doesnt geta fresh one, I replaced the sources.list with some standard stuff\ [07:40] well delete it from /var/cache/apt/ if you want, but I don't think it matters [07:41] oh well in that case [07:42] I think I already tried that yesterday indeed [07:42] so, are we lost here? [07:42] pastebin /etc/heh I'm laughing at /var/lib/dpkg/info/apache2.2-common.preinst [07:42] ignore the "pastebin /etc" [07:43] so: /var/lib/dpkg/info/apache2.2-common.preinst ? [07:43] nah, it's not helpful, but it'sf unny [07:45] lets try purging instead of removing [07:46] sudo aptitude purge apache2-common [07:46] you might need to 'touch /etc/init.d/apache2' like you did last time [07:49] dh_installinit -a -r --init-script=apache2 debian/apache2.2-common.init.d -- start 91 09 [07:49] I guess we may need to understand dh_installinit a bit more if this doesn't work [07:51] mm [07:52] http://pastebin.ca/445047 [07:54] try: sudo aptitude purge apache2 apache2-mpm-worker apache2-common [07:55] http://pastebin.ca/445054 [07:55] oh you pressed yes last time :) [07:55] eh? [07:56] you installed thttpd [07:56] I did? [07:56] maybe remove that if you don't want it [07:56] I dont want it.. [07:56] ok [07:56] ok then sudo aptitude install apache2 [07:57] ah errors while removing thttpd http://pastebin.ca/445057 [07:57] shall I continue with sudo aptitude install apache2 ? [07:58] heh great, another headache, yeah lets get apache2 in there [08:00] ah bingo I think http://pastebin.ca/445059 [08:00] cool, now just check to make sure it worked [08:00] robdeman: pay attention to the mesage though. You will need to change that later [08:01] well [08:01] I think /etc/init.d/apache2 is own by root or eomthing? only sudo can access it [08:01] yes [08:01] but thttpd is in the way right now, we need to get rid of it [08:02] try sudo /etc/init.d/thttpd stop [08:04] ok I did [08:04] I changed /etc/init.d/apache2 to 0755 ... b/c it didnt do anything [08:05] hey this is strange: [08:05] /etc/init.d/apache2 stop ---> shows ' * Stopping apache 2.0 web server.. [ok] ' [08:05] but [08:06] but /etc/init.d/apache2 start ---> doesnt feedback anything [08:06] 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:07] that may be why [08:08] port 80 is open according to my portscanner [08:08] is it thttpd or apache2 though? [08:09] not sure how can I check that? [08:09] check which one is running [08:09] ps -ef | grep apache [08:09] ah //usr/local/apache2/bin/httpd [08:09] that is my compiled version sint it [08:09] heh [08:10] /usr/local/bin contain any apache stuff? [08:10] no [08:11] hmm I wonder how it starts [08:11] I think I know [08:11] Webmin started it [08:11] oh [08:11] using apache2ctl [08:11] but [08:11] webmin cannot find it anymore [08:11] since I removed the compiled version of apache [08:11] maybe I just need to reboot [08:12] the init.d/apache2 script uses apache2ctl as well [08:12] I'd get rid of thttpd then reboot [08:13] sweeet its back! [08:13] how could I get rid of thttpd ? [08:14] /etc/init.d/apache2 is back and it works [08:14] I just killed all processes [08:14] of httpd [08:14] and then started apache2 [08:14] now it works [08:15] if thttpd is stopped, then try 'sudo aptitude remove thttpd' again [08:17] jrib: http://pastebin.ca/445094 [08:17] robdeman: try to read /var/lib/dpkg/info/thttpd.prerm and see why it is trying to do [08:17] s/why/what [08:18] jri: mm http://pastebin.ca/445100 [08:19] robdeman: meh, just comment the line where it tries to stop it [08:20] sweeete [08:20] removed :) [08:26] pfewwwf [08:26] thanks buddy [08:26] that helped me a lot [08:33] np [08:41] jrib: /etc/inid.d/apache start --> still no feedback [08:41] any idea why? [08:42] robdeman: no, not sure [08:43] robdeman: what about "restart"? [08:43] log says: http://pastebin.ca/445141 [08:44] restart -> no feeback either [08:44] robdeman: not sure, you can dig around the script, it's all bash === philwyett [n=philip@bb-87-81-146-45.ukonline.co.uk] has joined #ubuntu-classroom [09:13] ok I fixed it [09:13] jrib: thanks [09:13] a bunch! === 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