tech291083 Posted September 17, 2006 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. Link to comment Share on other sites More sharing options...
aioshin Posted September 18, 2006 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 Link to comment Share on other sites More sharing options...
jlc Posted September 18, 2006 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now