Jump to content

Apache not starting


Recommended Posts

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...