Download   Online Shop   Red Hat Network
Home  |  Products  |  Shop  |  Services  |  Training  |  Support   
Red Hat Documentation

Starting and Stopping Your Server

Starting and Stopping Your Server

To stop and start the server, run /etc/rc.d/init.d/httpd with either stop or start as an argument.

NotePlease Note
 

Before you can start your Red Hat Linux Secure Server, you must have either a test certificate or a signed certificate installed. If you start the httpd process without having a certificate installed, your non-secure Web server will start, but your secure Web server will not run.

So, if you start httpd, and your non-secure Web server starts correctly, but your secure Web server is not running, check to make sure that your certificate is in the right place: /etc/httpd/conf/server.crt. You must have a test or a signed certificate in /etc/httpd/conf/server.crt or the secure Web server will immediately exit (but the non-secure Web server will run correctly).

To start your server, type the command:

/etc/rc.d/init.d/httpd start
      

Your server will start.

To stop your server, type the command:

/etc/rc.d/init.d/httpd stop
      

The command restart stops and then starts your server:

/etc/rc.d/init.d/httpd restart
      

If you just finished editing something in your httpd.conf file, you don't need to explicitly stop and start your server. Instead you may use the reload command:

/etc/rc.d/init.d/httpd reload
      

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2000 Red Hat, Inc. All right reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat