When a Websense v5000 or v10000 appliance is forcefully shutdown due to power loss or hard system failure, upon restart the Filtering service, Policy service, User service and Usage monitor can fail to start in the Websense Appliance Manager portal. This is an issue I have seen more then once and as a result decided to do a write-up.
This issue occurs due to a number of temporary files which are not cleaned up (a process that occurs during a graceful shutdown). To remove these files manually, we must connect to the appliance using an SSH shell session.
To connect to a shell session you need to login to Websense Appliance Manager first then under Administration --> Toolbox, click Technical Support Tools and find the passcode under "Websense Remote Access". This is the password used for SSH which is randomly generated by the appliance.
After the temporary files have been removed, restart all websense services. This can be done from the Websense Appliance Manager website or from the shell by running the following command:
./WebsenseAdmin restart
Now all the Websense services on the appliance have returned to a running healthy state.
This issue occurs due to a number of temporary files which are not cleaned up (a process that occurs during a graceful shutdown). To remove these files manually, we must connect to the appliance using an SSH shell session.
To connect to a shell session you need to login to Websense Appliance Manager first then under Administration --> Toolbox, click Technical Support Tools and find the passcode under "Websense Remote Access". This is the password used for SSH which is randomly generated by the appliance.
Next login to the IP address of the Websense Appliance (the same IP you used for the Appliance Manager web interface).
The username is "websense-ts" and the password is the one obtained above.
Navigate to /opt/Websense/bin and remove all temporary p12 files which were not deleted due to an incorrect shutdown.
rm -f *.p12
Also remove the journal.dat file under the /opt/Websense/bin using the following command:
rm -f 'journal.dat
After the temporary files have been removed, restart all websense services. This can be done from the Websense Appliance Manager website or from the shell by running the following command:
./WebsenseAdmin restart
Now all the Websense services on the appliance have returned to a running healthy state.
0 Response to "Websense Appliance Services Not Starting after Hard Shutdown"
Post a Comment