ibmproxy command

Purpose

Use the ibmproxy command to start the server.

You can set all these flags (except -r) using the directives in the server configuration file.

It is common practice to create a file named README containing instructions or notices to be read by anyone new to the directory. By default, the ibmproxy command embeds any README file in the hypertext version of a directory. The README file instructions can also be set with the DirReadme configuration directive.

Format

ibmproxy [-Flag [-Flag [-Flag..]]]

Parameters

-nobg
Runs the server as a foreground process, not as a background process. The default is to run as a background process.
-nosnmp
Turns SNMP support off.
-p port-number
Listens on this port number. The default port number is 80. This flag overrides the Port directive specified in the configuration file. To use the default value or the value specified in the configuration file, omit this flag.
-r configuration-file
Specifies the file to use as the configuration file. You must use this flag if you want to start the server with a configuration file other than the default configuration file. This allows use of multiple configuration files.
-restart
Restarts a server that is currently running. The ibmproxy command gets the process number of the server that is running from the PidFile and sends the process number to the HangUP signal (HUP). It then reloads its configuration files and reopens its log files. To avoid corruption do not run two instances of the server at the same time using the same PidFile, log files, and proxy cache.

Because the http daemon must read the configuration file the server is currently using in order to access the PidFile, you must specify the same configuration file when restarting. If you used the -r flag and a specific configuration file when you started the server, then you must specify this flag and the same file with -restart.

-snmp
Turns SNMP support on.
-unload
On Linux, this removes the associated firewall rules.

Signal handling options also exist on Linux and UNIX platforms only. On Linux and UNIX platforms, the following options are available.

SIGTERM
The ibmproxy command stops and exits when complete. You can use SIGKILL or CANCEL to immediately terminate.
SIGHUP
If running, the ibmproxy command restarts, reloads the configuration file, and continues processing.

Examples