LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2004, 07:37 AM   #1
apffal
Member
 
Registered: Sep 2003
Posts: 72

Rep: Reputation: 15
Apache Suse 9.1


When I try starting Apache from Runlevel editor, in Suse 9.1, always get the following message :

/etc/init.d/apache2 start returned 7 (program not running)
Starting httpd2 (prefork) ..failed

I can't either starting Apache as root from command line.

Can someone help ?
 
Old 10-10-2004, 07:55 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
SuSE starts apache a bit differently then other distros(?). Try:

rcapache2 start

you could, alternatively, run Apache from YaST, under Runlevel editor...

Good luck!

EDIT: sorry, did not see that you've already tried to run apache from YaST >> Runlevel editor. Hopefully the command line will work for you...

Last edited by Mega Man X; 10-10-2004 at 07:56 AM.
 
Old 10-10-2004, 10:15 AM   #3
apffal
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
Doesn't work !
Still gives me the same error ...
 
Old 10-10-2004, 01:04 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Looks really bad. Fire up YaST and remove Apache. Then, choose the option "Simple Webserver with Apache" under the "Install / Remove Applications". Doing that, you will make sure that Apache, PHP and MySQL packages and modules are correctly installed. (even if you don't need/want PHP and MySQL, you can remove it later).

After that, try to restart apache (either with YaST or the command I gave you...). If still does not work, make sure to update your system... it could be a bug and SuSE tends to fix things pretty quick.

I also found this thread for you:

http://coolsolutions.com/forums/view...564&highlight=

and things seems to get fixed once you reinstall apache.

Well, I think those were all my Pokemon cards in this thread .

Good luck!
 
Old 10-11-2004, 10:56 AM   #5
apffal
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
I' ve reinstalled Apache and now it works.
However, on http://localhost, it gives me an "access forbidden" error message and doesn't recognize PHP file extensions.
I've added one line to conf file, with "AddType application/x-http-php .php", and nothing changed.
How to solve this ?
 
Old 10-31-2004, 03:24 PM   #6
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
Ugh my apache is failing to start as well. I just uninstalled the package and reinstalled it, but it stil doesn't start. Returned 7 same error as above.

Now, forgive my ignorance, but do I need to set up the DHCP Server, DNS Server, or DNS and Host Name first?
Thanks.
 
Old 10-31-2004, 04:26 PM   #7
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
Well, now I get an error. Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... failed.

When I look in httpd.conf, I don't see ServerName listed in there. If I add it and put in localhost, it still does not start, but I don't get that error anymore..

I'm lost. I need a SuSe book. I can't find info on the web that solves the problem.
 
  


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
Apache on SuSE 9.1 D4ve G Linux - Networking 3 06-25-2005 09:39 PM
Apache on Suse 9.2 scdark Linux - Software 1 05-25-2005 04:45 PM
SUSE 9.2/Apache help Gustin SUSE / openSUSE 6 04-14-2005 01:08 AM
Suse and Apache davidt03 Linux - Software 5 01-25-2005 01:49 AM
Apache 2.0 on Suse 9 help!! kiono Linux - Newbie 0 02-24-2004 08:38 PM

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

All times are GMT -5. The time now is 04:43 PM.

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