LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2005, 04:00 PM   #1
nyumedic2000
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Upgrading Appache


Greetings!

I recently installed RH9 with has apache/httpd 2.0.40. verified by httpd -v.
my desire is to upgrade to apache 2.0.44.

I used a tar.gz instead of an rpm.

./configure --prefix=/usr/local/apache2
make
make install

after completion when I go to /usr/local/apache2/bin/ and apply apachectl start
the box returns an error: (98) Address already in use: make_sock:.....

After some research i foound I needed to stop the first instance of httpd. I did that by:

Going to /usr/local/apache/bin/ and apply apachectl stop

then go to /usr/local/apache2/bin/ and apply apachectl start

httpd -v shows httpd 2.0.40

However, after i rebbot or restart server

httpd -v returns httpd 2.0.40!

can someone advise how i can:

Remove the redhad rpm forever
and get the server to boot with 2.0.44!

Thanks
Ed
 
Old 03-19-2005, 04:15 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
To remove the Red Hat RPM, do "rpm -e httpd" -- you'll need to uninstall all of the dependencies. Also, if you want to compile Apache from source, you really should go with 2.0.53, which is the latest version.

BTW, the reason 2.0.40 came up after your reboot is that the Red Hat initialization script in /etc/rc.d/init.d still points at your old installation. It will be removed with the rpm -e and you'll need to redo the initialization (probably the easiest way for a newbie is just to add /usr/local/apache2/bin/apachectl start to /etc/rc.local).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
running appache webserver problems drebbin Linux - Newbie 1 01-02-2005 07:53 PM
Appache indexing NewtonIX Linux - Software 7 08-21-2004 09:46 PM
SSI and appache jax8 Linux - Newbie 1 03-23-2004 04:15 AM
appache sever authentication najeeb Linux - General 1 09-21-2003 10:14 AM
appache servername illtbagu Linux - Software 8 02-26-2003 11:28 PM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration