/srv/irclogs.ubuntu.com/2007/04/17/#ubuntu-classroom.txt

=== 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
jribrobdeman: hello07:21
robdemanhey jrbi07:21
jribrobdeman: how did you get in this situation?07:22
robdemanehrm jrib that is :)07:22
robdemanwell 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 traffic07:22
robdemanthen I installed Subversion using apt-get07:22
robdemanthen I learned that the Subversion that comes with Ubuntu is too old07:22
robdemanso I removed it and compiled Subversion myself07:23
_phantom_jrib: oh right sounds like fun ;-) Ill have to come in here now and again then07:23
=== flugger [i=flug@71.239.36.58] has joined #ubuntu-classroom
robdemanthen I learned that the Apache2 version that comes with Ubuntu is compiled against older ART libs07:23
robdemansi I removed apache2 and compiled apache2 from source07:23
robdemanwell, that was such a nightmare that I now want to undo07:23
robdemanI just want to get Apache2 + Subversion from the repositories and no more compiled stuff07:24
jribok, so have you managed to remove those two things?07:24
jribthe compiled ones that is07:24
robdemanI am pretty sure about that07:24
jriband subversion is ok now?07:24
robdemanI accidantely removed /etc/inid.d/apache2 by hand07:24
robdemanjrib: subversion is not installed yet07:24
robdemanits just removed07:25
jribok, lets handle apache then07:25
robdemanok07:25
robdeman>> thanks for helping me out here07:25
jribrobdeman: sudo aptitude remove apache2-common && apt-cache policy apache2-common     on pastebin please07:25
robdemanhttp://pastebin.ca/44500907:26
jribapt-cache policy apache2 | grep -i Installed07:27
robdemanjrib: Installed: (none)07:28
jribok, now:  sudo aptitude install apache207:28
jribpastebin if there is anything interesting07:29
robdemanjrib: http://pastebin.ca/44501407:29
jribok, ls /etc/init.d/apache207:30
robdemanjrib: /etc/init.d/apache207:31
robdemanbut wait: I created that file07:31
jribcreated how?07:31
robdemanusing Nano, just an empty file07:32
jribis it still empty?07:32
robdemanb/c when I did apt-get remove apache2-common it complaine dthat It could not remove that missing file...07:32
robdemanye sits still empty07:32
robdemanit wasnt replace by the original one07:32
jribok remove apache2-common again07:32
robdemansudo apt-get remove apache2-common ?07:32
jribyes07:32
robdemanI did07:33
robdemanwant the output in pastebin?07:33
jribdoes /etc/init.d/apache2  still exist?07:33
jribrobdeman: not unless there were errors07:33
robdemanhere it is http://pastebin.ca/44501607:33
jribk, that looks fine07:34
robdemanmm07:36
jribdoes /etc/init.d/apache2  still exist?07:37
robdemanoop ssorry: yes07:37
jribdelete it07:37
robdemanok07:37
jribsudo aptitude install apache207:37
robdemanhttp://pastebin.ca/44502407:38
jribrobdeman: check /etc/init.d/apache2 now07:38
robdemanjrib: ls: /etc/init.d/apache2: No such file or directory07:39
=== jrib whacks apt
robdemanstrange eh?07:39
jribindeed07:39
jribis that the only file that's missing?07:39
robdemanI guess?07:39
robdemanalso .. it doesnt download a fresh installer package...07:40
robdemanit just uses some cached copy of /apache2-common_2.0.55-4ubuntu4_i386.deb07:40
robdemanI dont understand why it doesnt geta fresh one, I replaced the sources.list with some standard stuff\07:40
jribwell delete it from /var/cache/apt/ if you want, but I don't think it matters07:40
robdemanoh well in that case07:41
robdemanI think I already tried that yesterday indeed07:42
robdemanso, are we lost here?07:42
jribpastebin /etc/heh I'm laughing at /var/lib/dpkg/info/apache2.2-common.preinst07:42
jribignore the "pastebin /etc"07:42
robdemanso: /var/lib/dpkg/info/apache2.2-common.preinst ?07:43
jribnah, it's not helpful, but it'sf unny07:43
jriblets try purging instead of removing07:45
jribsudo aptitude purge apache2-common07:46
jribyou might need to 'touch /etc/init.d/apache2' like you did last time07:46
jribdh_installinit -a -r --init-script=apache2 debian/apache2.2-common.init.d -- start 91 0907:49
jribI guess we may need to understand dh_installinit a bit more if this doesn't work07:49
robdemanmm07:51
robdemanhttp://pastebin.ca/44504707:52
jribtry: sudo aptitude purge apache2 apache2-mpm-worker apache2-common07:54
robdemanhttp://pastebin.ca/44505407:55
jriboh you pressed yes last time :)07:55
robdemaneh?07:55
jribyou installed thttpd07:56
robdemanI did?07:56
jribmaybe remove that if you don't want it07:56
robdemanI dont want it..07:56
robdemanok07:56
jribok then sudo aptitude install apache207:56
robdemanah errors while removing thttpd http://pastebin.ca/44505707:57
robdemanshall I continue with sudo aptitude install apache2 ?07:57
jribheh great, another headache, yeah lets get apache2 in there07:58
robdemanah bingo I think http://pastebin.ca/44505908:00
jribcool, now just check to make sure it worked08:00
jribrobdeman: pay attention to the mesage though.  You will need to change that later08:00
robdemanwell08:01
robdemanI think /etc/init.d/apache2 is own by root or eomthing? only sudo can access it08:01
jribyes08:01
jribbut thttpd is in the way right now, we need to get rid of it08:01
jribtry  sudo /etc/init.d/thttpd stop08:02
robdemanok I did08:04
robdemanI changed /etc/init.d/apache2 to 0755 ... b/c it didnt do anything08:04
robdemanhey this is strange:08:05
robdeman  /etc/init.d/apache2 stop ---> shows ' * Stopping apache 2.0 web server..  [ok] '08:05
robdemanbut08:05
robdemanbut /etc/init.d/apache2 start ---> doesnt feedback anything08:06
jribSetting 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
jribthat may be why08:07
robdemanport 80 is open according to my portscanner08:08
jribis it thttpd or apache2 though?08:08
robdemannot sure how can I check that?08:09
jribcheck which one is running08:09
jribps -ef | grep apache08:09
robdemanah //usr/local/apache2/bin/httpd08:09
robdemanthat is my compiled version sint it08:09
jribheh08:09
jrib/usr/local/bin contain any apache stuff?08:10
robdemanno08:10
jribhmm I wonder how it starts08:11
robdemanI think I know08:11
robdemanWebmin started it08:11
jriboh08:11
robdemanusing apache2ctl08:11
robdemanbut08:11
robdemanwebmin cannot find it anymore08:11
robdemansince I removed the compiled version of apache08:11
robdemanmaybe I just need to reboot08:11
jribthe init.d/apache2 script uses apache2ctl as well08:12
jribI'd get rid of thttpd then reboot08:12
robdemansweeet its back!08:13
robdemanhow could I get rid of thttpd  ?08:13
robdeman /etc/init.d/apache2 is back and it works08:14
robdemanI just killed all processes08:14
robdemanof httpd08:14
robdemanand then started apache208:14
robdemannow it works08:14
jribif thttpd is stopped, then try 'sudo aptitude remove thttpd' again08:15
robdemanjrib: http://pastebin.ca/44509408:17
jribrobdeman: try to read /var/lib/dpkg/info/thttpd.prerm and see why it is trying to do08:17
jribs/why/what08:17
robdemanjri: mm http://pastebin.ca/44510008:18
jribrobdeman: meh, just comment the line where it tries to stop it08:19
robdemansweeete08:20
robdemanremoved :)08:20
robdemanpfewwwf08:26
robdemanthanks buddy08:26
robdemanthat helped me a lot08:26
jribnp08:33
robdemanjrib: /etc/inid.d/apache start --> still no feedback08:41
robdemanany idea why?08:41
jribrobdeman: no, not sure08:42
jribrobdeman: what about "restart"?08:43
robdemanlog says: http://pastebin.ca/44514108:43
robdemanrestart -> no feeback either08:44
jribrobdeman: not sure, you can dig around the script, it's all bash08:44
=== philwyett [n=philip@bb-87-81-146-45.ukonline.co.uk] has joined #ubuntu-classroom
robdemanok I fixed it09:13
robdemanjrib: thanks09:13
robdemana 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!