Return-Path:
If you are on a PUT13 or higher system, or have PJ27214 installed,
+ you can use syslog for Apache's ErrorLog.
+ To have the option of using syslog you must do one of the following:
+
You also need to add "INCLUDE OBJLIB(CSYLOG40)" to your link JCL.
+See TPF Transmission Control Protocol/Internet Protocol for more information + about the Syslog Daemon: + http://www.ibm.com/tpf/pubs/tpfpubs.htm.
+You cannot run Apache from the command line on TPF. However - you can use those Apache command line options which don't - actually start the server. This requires PJ27277 which shipped - on PUT13.
+Apache can be invoked with various options, such as "-f". + Some of these options display information about the server or perform syntax checks + but they don't actually start the server. + These "information only" options are useful with TPF's ZFILE command line feature: + -h, -l, -L, -S, -t, -T, -v, and -V. +
+ +Another option, -X, is used when actually running the server. + It is passed to Apache through the ZINET XPARM field since ZINET is the only way to start the server on TPF.
+ +A third group of options apply to both the informational displays (ZFILE) and + running the server (ZINET XPARM): -d, -D and -f.
+ +The rest of Apache's options are either not applicable or are not supported on TPF.
-Using dash options requires PJ27277 which shipped on PUT13.
+ +-d directory
- Specify an alternate initial ServerRoot directory.
- Default is /usr/local/apache.
-f file
- Specify an alternate server configuration file.
- Default is conf/httpd.conf.
-h
- List a short summary of available command line options.
- (Note that this outputs all options, not just those supported
- on TPF.)
-l
- List modules compiled into the server.
-L
- List available configuration directives. (Note that this
- outputs all configuration directives, not just those
- supported on TPF.)
-S
- Show the settings as parsed from the configuration file.
- Currently only shows the virtualhost settings.
-t
- Run syntax tests for configuration files (with document root
- checks)
-T
- Run syntax tests for configuration files (without document
- root checks)
-v
- Show the version number.
-V
- Show the version number and various compile settings.
See http://httpd.apache.org/docs/programs/httpd.html - for more information about these command line options.
+Option + | ZFILE | +ZINET + | Description |
-d path | +ZFILE | +ZINET | +Set the initial value for the ServerRoot directive. |
-D define | +ZFILE | +ZINET | +Set a configuration parameter which can be used with <IfDefine>...</IfDefine> sections in the configuration file to conditionally skip or process commands. |
-f filename | +ZFILE | +ZINET | +Use an alternate configuration file instead of the default conf/httpd.conf file. |
-h | +ZFILE | ++ | List a short summary of available command line options then exit. + Note that this outputs all options, not just those supported on TPF. |
-l | +ZFILE | ++ | List modules compiled into the server then exit. |
-L | +ZFILE | ++ | List available configuration directives then exit. Note that this outputs all configuration directives, not just those supported on TPF. |
-S | +ZFILE | ++ | Show the settings as parsed from the configuration file then exit. Currently Apache only shows the virtual host settings. |
-t | +ZFILE | ++ | Run syntax tests for configuration files with document root checks then exit. |
-T | +ZFILE | ++ | Run syntax tests for configuration files without document root checks then exit. |
-v | +ZFILE | ++ | Show the version number then exit. |
-V | +ZFILE | ++ | Show the version number and various compile settings then exit. |
-X | ++ | ZINET | +Run in single-process mode for internal debugging purposes only. + The parent process does not fork any children. |
Note: On TPF Apache arguments are supported only on the - command line, not through the ZINET XPARM field.
+See http://httpd.apache.org/docs/programs/httpd.html + for more information about these command line options.
Ensure Apache (CHTA) is loaded
@@ -431,7 +478,6 @@ zfile chmod 755 /bin/httpd(See "ZFILE-Activate a TPF Segment or Script" in @@ -439,7 +485,7 @@ href="http://www.ibm.com/tpf/pubs/tpfpubs.htm">http://www.ibm.com/tpf/pubs/tpfpubs.htm.)
-zfile httpd -v
@@ -451,17 +497,75 @@ END OF DISPLAYzfile httpd -t -f - /usr/local/apache/conf/httpd.conf.new
+ /usr/local/apache/conf/alt.confFILE0002I 11.47.26 START OF ERROR DISPLAY FROM httpd
-t ...
Syntax OK
END OF DISPLAY
(See "ZINET ADD-Add an Internet Server Application Entry" and + "ZINET ALTER-Change an Internet Server Application Entry" in + the Operations guide for more information about using the XPARM field: + http://www.ibm.com/tpf/pubs/tpfpubs.htm.)
+The syslog daemon is a server process that provides a message logging facility for application and system processes. + It can be used to write messages to log files or to tapes. + See TPF Transmission Control Protocol/Internet Protocol for detailed information about using the syslog daemon on TPF: + http://www.ibm.com/tpf/pubs/tpfpubs.htm. + And see the Apache ErrorLog directive documentation + for details on how to use syslog with Apache.
+ +Syslog capabilities were added with PJ27214 which shipped with PUT13. + You must follow the syslog specific installation instructions + in order to have the option of using syslog with Apache.
+ + +This section provides some tips on using syslog with Apache. + It is not meant to replace the syslog documentation in the TPF TCP/IP publication.
+ +