2.4.3 Starting Cosminexus HTTP Server (httpsd command)
You can also use the httpsd command to start Cosminexus HTTP Server. Normally, you do not use this method. You use this method to specify an httpsd.conf file name other than the default name or to specify the root directory and the httpsd.conf file when starting the server.
If you are using an encrypted private key for SSL, a request to enter the private key password is displayed when starting Cosminexus HTTP Server.
- Organization of this subsection
- (1) Format
- (2) Options
- (3) How to restart
- (4) How to end
- (5) How to confirm the start
(1) Format
/opt/hitachi/httpsd/sbin/httpsd [[-d directory] [-f file-name] [-R directory] | -v | -t] |
(2) Options
- -d directory
You can specify the default value used when the ServerRoot directive is not specified in the configuration file.
- -f file-name
You can specify the httpsd.conf file. Specify the httpsd.conf file with the absolute path or the relative path from the value specified in the ServerRoot directive.
- -R directory
This option specifies the absolute path of the directory storing the DSO execution library.
- -v
This option displays the version information. If you specify this option, Cosminexus HTTP Server will not start.
- -t
This option checks the configuration file syntax. If there is a syntax error, an error message will be displayed on the screen. If you specify this option, Cosminexus HTTP Server will not start.
(3) How to restart
You can use the kill command to restart Cosminexus HTTP Server:
kill {-HUP | -USR1} `cat PidFile-directive-specified-value` |
- -HUP
Restart as when using the restart option of the httpsdctl command.
- -USR1
Restart as when using the graceful option of the httpsdctl command.
- PidFile-directive-specified-value
Specify a value (file name) that is specified in the PidFile directive.
(4) How to end
When you use the httpsd command to start Cosminexus HTTP Server, execute the following command to end the process and stop Cosminexus HTTP Server:
kill {-TERM | -USR2} `cat PidFile-directive-specified-value` |
- -TERM
Stop as when using the stop option of the httpsdctl command.
- -USR2
Stops as when using the gracefulstop option of the httpsdctl command.
(5) How to confirm the start