iTP Secure WebServer System Administrators Guide (Version 7.5+)
The -restarth option will result in the following error message indicating the function is no
longer supported:
httpd: (#617) Operation restarth is not supported with PTCPIP.
In addition, the following preceding messages might also appear when the iTP Secure WebServer
attempts to communicate with the Distributor:
httpd: (#556) SERVERCLASS_SEND_ error: 233
httpd: (#545) could not verify if distributor is using port 80
httpd: (#556) SERVERCLASS_SEND_ error: 233
httpd: (#545) could not verify if distributor is using port 443
The -restarth option will work only if both the old and the new configurations are using
conventional TCP/IP processes as their transport (the Auto-Accept feature is not enabled).
For Classical TCP/IP Support
If the iTP Secure WebServer is already running and you want to restart it so that changes to the
httpd.config file can take effect, you can bring up your new configuration without stopping
the server first. You can use the script as:
: cd /usr/tandem/webserver/conf
: ./restarth
You should not get any error messages.
The restarth script applies changes to the httpd and Distributor process configurations
only. It ignores the following types of changes in the configuration file:
• The arguments to other server classes such as generic-cgi.pway
• The addition of new server classes or the deletion of existing ones
Do not modify the configuration of the PATHMON itself, for example, its process priority, before
running restarth.
NOTE: It can take several minutes to restart the iTP Secure WebServer environment if you issue
the restarth script from a Ksh script. For better performance, issue the restarth script from a Pathway
CGI program, and invoke the CGI_fflush procedure immediately after the restarth script is run.
For information about Pathway CGI programming, see “Using Common Gateway Interface (CGI)
Programs” (page 138).
Restarting the iTP Secure WebServer Using the restart Script
Use the restart script when you want changes to take effect other than the ones allowed with
the restarth script. The restart script stops the iTP Secure WebServer and immediately starts
it again, allowing any configuration changes that affect the iTP Secure WebServer to take effect.
You can use the script as:
: cd /usr/tandem/webserver/conf : ./restart
You should not get any error messages. The restart script shuts down the PATHMON process
specified in the httpd.config file and restarts the whole environment.
Updating the serverclasses Using the updatesc Script
Use the updatesc script to modify the configuration of individual serverclasses without impacting
other application serverclasses and httpd daemon. The updatesc script restarts the serverclass.
If you specify an invalid serverclass, an error is returned. If the serverclass is not running, the
updatesc script adds the serverclass to the iTP Secure WebServer environment. Use the following
command to run the script:
conf/updatesc httpd.config serverclass-name1 [ serverclass-name2 [serverclass-name3] … ]
84 Managing the iTP Secure WebServer Using Scripts










