Manual startup
You can start HP SMH from the HP-UX command line.
Use the /opt/hpsmh/bin/smhstartconfig script
to configure the startup mode of the HP SMH server and the Tomcat instance
that HP SMH uses.
Syntax: smhstartconfig [ -a {on|off} -b {on|off} ] [ -t {on|off} ]
Options:
- -a {on|off}
Enable/disable the autostart URL mode.
- -b {on|off}
Enable/disable the automatic startup on boot mode.
- -t {on|off}
Set the Tomcat startup mode where:
- on
Start Tomcat when HP SMH starts.
- off
Start Tomcat on demand (default).
If no options are specified, then smhstartconfig displays the current startup mode. The smhstartconfig command does not accept -a on and -b
on options simultaneously.
For more information, see the smhstartconfig(1M) manpage:
man smhstartconfig or man sam
After changing the autostart mode to "on boot" (with the smhstartconfig -b on -a off command), without rebooting
you can start the HP-UX Apache-based Web Server processes with the
/opt/hpsmh/lbin/hpsmh start command.