Results 1 to 10 of 11
i have installed the Fedora core 4 today...i am trying to start the httpd server
but whenever i tried by pressing the start button; it says failed to start the
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-03-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 44
problem on httpd
i have installed the Fedora core 4 today...i am trying to start the httpd server
but whenever i tried by pressing the start button; it says failed to start the
server. naturally it should report any error with line number if there is one in
the httpd.conf file but it just saying failed to start server.
i have configure httpd.conf this way:
Listen 127.0.0.1:80
ServerAdmin root@localhost
ServerName root:80
for your information i am using the default fire wall...
please help!
- 09-03-2005 #2Linux Engineer
- Join Date
- Aug 2004
- Posts
- 826
Code:# /etc/init.d/httpd start
- 09-04-2005 #3Just Joined!
- Join Date
- May 2005
- Posts
- 44
it's all the same shouldn't be? i have tried to start the httpd server by Desktop->System Settings->Server Settings-> Services->then selected httpd and click on start button.
but still it didnt work.
however i have tried by your code and put it into the httpd.conf but still no result!
any idea?
- 09-04-2005 #4Just Joined!
- Join Date
- May 2005
- Posts
- 44
here's typo correction.... i meant to say... i have tried your code on the shell(instead of httpd.conf) but still it doesnt worked!
- 09-04-2005 #5
if it doesn't report any errors when starting, are there any errors in your log files?
- 09-04-2005 #6Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
you might have it set as a default service, in which case it would be running on boot up...try to restart it instead of starting it with
orCode:service httpd restart
do you get an OK or a FAILED?Code:service httpd stop service httpd start
Operating System: GNU Emacs
- 09-04-2005 #7Linux Engineer
- Join Date
- Aug 2004
- Posts
- 826
The reason I told you to enter the command was so that we could see more verbose output.
Originally Posted by hassanLinux
- 09-05-2005 #8Just Joined!
- Join Date
- Sep 2005
- Posts
- 2
Re: problem on httpd
Why don't you start the server using apachectl command?
Originally Posted by hassanLinux
You need to log in as root, then type
apachectl start
To stop the server type
apachectl stop.
You might need to locate the command if the path is not defined in the start up script
e.g. this way:
#find / -name apachectl
- 09-09-2005 #9Just Joined!
- Join Date
- Sep 2005
- Posts
- 8
Re: problem on httpd
Originally Posted by hassanLinux
check /var/log/audit/audit.log or /var/log/messages to see the errmsg httpd gives you when you try to start httpd.
- 09-09-2005 #10Just Joined!
- Join Date
- Sep 2005
- Posts
- 1
Me, too
I just built a new Fedora Core 4 machine, and am having a similar problem. starting httpd using /usr/sbin/apachectl start works just fine, but starting it with /etc/init.d/http start gives me this:
Starting httpd: [Failed]
I tried running it with sh - x and I didn't see any obvious errors.
I'd be perfectly happy with using apachectl, but for some reason, even if I put a link named S99httpd that points to it in /etc/rc3.d, apache doesn't start during boot.
[/code]


Reply With Quote
