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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-10-2004, 07:37 AM
|
#1
|
Member
Registered: Sep 2003
Posts: 72
Rep:
|
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 ?
|
|
|
10-10-2004, 07:55 AM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
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.
|
|
|
10-10-2004, 10:15 AM
|
#3
|
Member
Registered: Sep 2003
Posts: 72
Original Poster
Rep:
|
Doesn't work !
Still gives me the same error ...
|
|
|
10-10-2004, 01:04 PM
|
#4
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
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!
|
|
|
10-11-2004, 10:56 AM
|
#5
|
Member
Registered: Sep 2003
Posts: 72
Original Poster
Rep:
|
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 ?
|
|
|
10-31-2004, 03:24 PM
|
#6
|
Member
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102
Rep:
|
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.
|
|
|
10-31-2004, 04:26 PM
|
#7
|
Member
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|