Why can I not stop the web console processes
Question
Why can't I stop the web console processes?
Answer
The default location of the httpd.pid
file that is used by the Discover
script to find the web console has changed. This
file used to reside in the logfile directory
yet was moved to the
/usr/local/dncauser/var
directory to accomodate other feature
work.
If you previously
modified the httpd.conf
so that it differed from
the httpd.conf.default
, then your httpd.conf
is preserved when the new httpd.conf.default
is installed by a later Discover-DNCA package. This preservation means the newer Discover script in a 3100 or later package cannot find the httpd.pid
because the web console continues to write it
to the old location specified by the httpd.conf
.
To resolve this issue, do the following steps:
- Stop all current web console processes by using the following
command as root:
killall httpd
- Review the changes between
httpd.conf
and the default file from the package,httpd.conf.default
. For example, you can view the changes by using thediff
command as follows:cd /usr/local/dncauser/etc diff -c httpd.conf.default httpd.conf
- Isolate the changes that were made locally for the DNCA Application server (for example, basic authentication, disabling the non-SSL port) from the changes that are introduced by the package.
- Save off the existing
httpd.conf
, overwrite thehttpd.conf
with thehttpd.conf.default
, and merge in the isolated changes from step 3.