HP-UX NSA HTTP B.11.23.01.01 Release Notes

HP-UX NSA HTTP B.11.23.01.01 Release Notes
Deactivating and Deinstalling NSA HTTP
Chapter10
Deactivating and Deinstalling NSA HTTP
This section contains procedures for deactivating and deinstalling HP-UX NSA HTTP.
Deactivating NSA HTTP
1. Stop the Web server being used with the NSA HTTP service.
2. Deregister the NSA HTTP application port used by the web server (the default port
number is 80, or otherwise configured in /etc/rc.config.d/nsahttpconf):
nsahttp -D -p port_num
3. Restart the Web server.
Deinstalling NSA HTTP
Follow the procedure listed below to deinstall NSA HTTP.
NOTE Although the NSA HTTP kernel module, nsamod, is a DLKM, there are cases
when deinstalling NSA HTTP on a system where the Web server was serving a
local Web client may cause the swremove utility to reboot the system. For more
information, refer to Known Problems and Workarounds on page 11.
1. Stop the Web server being used with the NSA HTTP service.
2. Deregister the NSA HTTP application port used by the web server (the default port
number is 80, or otherwise configured in /etc/rc.config.d/nsahttpconf):
nsahttp -D -p port_num
3. Restart the Web server.
4. If you want to retain any NSA HTTP log files in the /var/nsa directory, copy the files to a
backup medium or move them to another directory, such as /tmp. Removing the NSA
HTTP product in the next step will also remove the /var/nsa directory.
5. Remove the NSA HTTP product by executing the following command:
swremove -x autoreboot=true NSAHTTP
The swremove utility requires the -x autoreboot=true option because the NSA HTTP
product includes a DLKM (nsamod), and it cannot determine if a reboot is required at the
time you issue the swremove command. In most cases, no reboot is necessary.