tech291083 Posted September 17, 2006 Report Share Posted September 17, 2006 i have been trying to start apache server on fedora 5 but some how it is not working. it went to the services icon on the menu and entered the root password and then ticked httpd and clicked on restart but it is taking ages. help me please. thanks. Quote Link to comment Share on other sites More sharing options...
aioshin Posted September 18, 2006 Report Share Posted September 18, 2006 check your log files... as root, restart apache while viewing your logs... command as root: tail -f /var/log/messages or do a config test, make sure you do su - then apachectl configtest it will tell you if you have some syntax error on httpd.conf Quote Link to comment Share on other sites More sharing options...
jlc Posted September 18, 2006 Report Share Posted September 18, 2006 You can also try starting it from the command line a couple different ways. # service httpd start Starting httpd: [ OK ] # service httpd stop Stopping httpd: [ OK ] or # service httpd stop Stopping httpd: [ OK ] # /etc/init.d/httpd stop Stopping httpd: [ OK ] or Use this if your httpd.conf is located some were else. (maybe not a default FC package) # /usr/sbin/apachectl -f /tools/IBM/httpd/conf/httpd.conf -k start # /usr/sbin/apachectl -f /tools/IBM/httpd/conf/httpd.conf -k stop Probably more ways but heh. Like aioshin mentioned, run the apachectl configtest to make sure your httpd.conf is ok. # apachectl configtest Syntax OK Is your Apache the default one that comes with FC or did you build your own? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.