LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 12-12-2002, 06:22 PM   #1
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Rep: Reputation: 15
upgrading apache 2.0.40 (RH8 included) to 2.0.43 help needed


RH8 comes with apache 2.0.40, i wanted to update to the latest one, 2.0.43. i had no content on the server and only a couple changes in the httpd.conf file so i didnt care about losing it.

so downloaded the file from apache.org, did the whole gzip and tar thing. i used # /.configure --prefix=/etc/httpd where RH8 has it installed thinking itd just install over it. after, my httpd.conf file was still the same (not overwritten). i did a #rpm -qa httpd and #rpm -qa | grep httpd and it returned httpd-2.0.40-8.

so i thought id try installing into a new location, i went with the default /usr/local/apache2 and it seemed to install fine, all the files where present, i could start the server with apachectl. but strangely, server ID tags say "apache 2.0.40" and when i do a #rpm -qa | grep httpd again it still returns only 2.0.40.

did i do something wrong? which apache am i actually running?

thanks
 
Old 12-12-2002, 11:30 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Well, uninstall apache rpm
rpm -e apache
then edit the startup files
/etc/init.d/httpd, it's been a long time sinse I used RH setup, so you might thinker with it for a while.
 
Old 12-13-2002, 01:50 PM   #3
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Original Poster
Rep: Reputation: 15
couldnt uninstall, too many dependencies. i guess ill just keep looking at the config files. i mean, if it installed into a new dir with all files present, and im starting it from apachectl in the new bin dir, im pretty sure its 2.0.43, theres probaly some config someplace pointing everything to the old one. but rpm -qa should still find the 2.0.43 package.
 
Old 12-16-2002, 01:53 PM   #4
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Original Poster
Rep: Reputation: 15
are there any patching / upgrade docs anywhere? the ones on apache are more for 1.3.9 - 2 than 2 - 2.0.43
 
Old 12-17-2002, 05:34 AM   #5
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Original Poster
Rep: Reputation: 15
ttt
 
Old 01-27-2003, 06:46 AM   #6
kernelphr34k
LQ Newbie
 
Registered: Jan 2003
Location: Vegas
Distribution: Suse 9.3 / Custom Slack 10
Posts: 12

Rep: Reputation: 0
I'm wondering the same thing here. . .
 
Old 01-27-2003, 01:15 PM   #7
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 45
Well probably there are a lot of depencies like PHP, etc. post the depencies errors here ... Apache v2.0.44 is out by the way ... and if you want a working configuration (incl. PHP) why not check out this thread. Ignore the chrooting part and just read the configure part and the httpd.conf. After installing that you have a secured PHP able server ... probably you will need to customize the modules ... the Apache v2.0 Documentation is just excellent :-)
 
Old 01-27-2003, 04:14 PM   #8
kernelphr34k
LQ Newbie
 
Registered: Jan 2003
Location: Vegas
Distribution: Suse 9.3 / Custom Slack 10
Posts: 12

Rep: Reputation: 0
WOW!!

You've done a GREAT job on the documentation on that!!

Thank you so much!!!

Now how would I remove/uninstall the prior install of apache 2.0.40? I would want to do this right? Since I wont have the same locations for DocRoot, and the other apache files, it would be wise to remove them?

thank you!

*side note* Your doing this all from the tar.gz file correct?
 
Old 01-28-2003, 12:44 AM   #9
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 45
Yes of course from the .tar.gz files ... well for removing it I am not sure what RPM's have been installed. Honestly I never installed Apache or PHP via RPM. But first of all try rpm -a apache if that fails then post the error message here :-)
 
Old 01-28-2003, 02:37 AM   #10
kernelphr34k
LQ Newbie
 
Registered: Jan 2003
Location: Vegas
Distribution: Suse 9.3 / Custom Slack 10
Posts: 12

Rep: Reputation: 0
“rpm –a apache” & “rpm –a httpd”

It tells me the version of rpm:

RPM version 4.1

That's all...

Basically I want to uninstall the current version of Apache 2.0.40 and then install Apache 2.0.44. I would think it would be simple, but it looks like it is not.

I want to get ride of ALL traces of apache 2.0.40 on my current box. (i.e folders, conf files, dir root, doc root etc) And then install Apache 2.0.44. I'm not sure if I can just "rm -r" or what?

This can't be that hard. Maybe this is just the wrong forum to ask? Wrong section?

Thank you for your help, as its MUCH appreciated!
 
Old 01-28-2003, 05:35 PM   #11
epeus
Member
 
Registered: Oct 2002
Posts: 41

Rep: Reputation: 15
hi....

i have found using rpms is a real pain in the rear sometimes...especially when u want to uninstall something, i usually stick to the command line options but i have found sometimes a stubborn package can be removed using the gui's.

for example:

trying to install snort or whatever! i found it required me to update some packages but when i try to install them i get errors of "already installed" or if trying to remove "this package is not installed" (that is very frustrating when u just installed it 5 mins ago!)

so i often pull out "GnoRPM+ (gnomes gui for rpm management) and also "Kpackage" (KDES RPM manager) and try to remove or install stubborn rpms, sometimes ignoring deps if u are going to install a newer version later.

while these guis do not always work and they crash sometimes, i find it to be an additional tool that may help when removing or installing packages.


just my experience with rpms


Ed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out if DSO support is included in Apache installation? john lee Linux - Newbie 3 05-04-2005 03:35 AM
Apache included? carlosinfl Debian 1 10-14-2004 05:56 PM
Upgrading to RH9 from RH8 toastyspoon Red Hat 2 04-27-2004 09:49 AM
vsFTP on RH8.0 help needed hau Linux - Networking 1 08-14-2003 08:36 PM
upgrading mozilla on rh8.0 linowes Linux - Software 3 01-17-2003 04:20 AM


All times are GMT -5. The time now is 01:45 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration