LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2007, 10:59 AM   #1
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Rep: Reputation: 15
Problems installing Apache 2.2.6


I am brand new to Linux. I am trying to install Apache 2.2.6 on a Red Hat Enterprise Linux (RHEL) 4 machine. The machine currently has Apache 2.0.52-9.ent on it. I don't have a key with this machine (since it's a test box), so I can't do the up2date command. I downloaded the source files and did a ./configure, then 'make', then a 'make install' and it seemed to work. However, when I try to restart Apache, I get the following message:

--------------------------------------------------------------------
Starting httpd:
Apache 1.3 configuration directives found
please read /usr/share/doc/httpd-2.0.52/migration.html
[FAILED]

--------------------------------------------------------------------

I read somewhere that this could be the result of the httpd.init file pointing to the wrong Apache install, but I don't have an httpd.init file. If no one knows the answer to this, can someone tell me how to completely delete whatever Apache installs I have (can't just do "rpm -e httpd" because it says other things depend on it) and install Apache 2.2.6 from scratch? Thanks.

Sysop1911
 
Old 12-07-2007, 11:01 AM   #2
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
I accidentally put this in the wrong forum, maybe an admin can move it to Server or Newbie? Thanks.
 
Old 12-07-2007, 11:27 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Moved to Software.
 
Old 12-07-2007, 12:13 PM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
It sounds like your httpd.conf file is the wrong version. Find where it is located (I'm guessing in /etc/httpd/conf), back it up, and replace it w/ the one from the source distribution. If this allows you to start Apache (or gives a different error), then you can configure it to match your old configuration.

HTH

Forrest
 
Old 12-07-2007, 12:24 PM   #5
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
It may also be that your apache startup script isn't the correct one. That may be a better thing to look to update.

Forrest
 
Old 12-07-2007, 02:29 PM   #6
Sysop1911
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks for your help, forrestt. I got Apache started because of your help, but now the problem is it's still version 2.0.52-9. This is probably because the httpd.conf file from the source distribution (for version 2.2.6) was basically a blank template. I was able to fill in most of the information, but the LoadModule lines I had to copy from the old httpd.conf file. If you were upgrading from 2.0.52-9 to version 2.2.6, can you kind of walk me through the steps you'd take, starting from where you'd download the source distribution? Like I said in my first post, I am pretty new to the Linux world and can barely even open a window in Linux. Thanks.

Sysop1911
 
Old 12-07-2007, 02:39 PM   #7
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
This Page should show you how to convert a 2.0.x install into a 2.2.x install. I would also try to uninstall the old version if I wasn't using it. I know you said there were some dependencies preventing you from performing an "rpm -e httpd". What were the dependencies, and do you really need those as well?

HTH

Forrest
 
  


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
Problems installing fastcgi on Fedora Core 3/Apache segmentation 11 faults bax Linux - Software 3 05-29-2005 10:38 PM
apache problems after installing PHP madBASHer Programming 1 05-20-2005 03:55 PM
Problems installing Apache/PHP from source minorgod Mandriva 0 09-11-2004 07:45 PM
Problems installing Apache 2.0.49, PHP 4.3.6, and GD 2.0.22 Thorin98 Linux - Newbie 1 04-20-2004 02:13 AM
Problems with Apache after installing qmail Nailer Red Hat 1 04-15-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 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
Open Source Consulting | Domain Registration