CASA Authentication Token Service on Linux Hangs while Stopping

  • 7013090
  • 22-Aug-2013
  • 26-Aug-2016


Novell ZENworks Configuration Management Linux Server


ZENworks server will not reboot and hangs with the following message:

Stopping casa_atsd...

Also, found that this issue could prevent a system update from occurring and the following error is recorded to the system-update.log:

DEBUG;;;Unable to stop daemon /etc/init.d/casa_atsd. -1

When stopping or restarting the services with novell-zenworks-configure -c Start, the process hangs after the loader service stops with the following in the console:

INFO: Novell ZENworks Service Monitor Stopped
INFO: Novell ZENworks Management Agent Stopped
INFO: Novell ZENworks Server Stopped
INFO: Novell ZENworks Loader Stopped
^CSEVERE: There was an error stopping CASA Authentication Token Service.
Stopping casa_atsd...

One of the following messages can be found in /srv/www/casaats/logs/stop.log:

PID file (/var/lib/CASA/authtoken/svc/ found but no matching process was found. Stop aborted.

$CATALINA_PID was set (/var/lib/CASA/authtoken/svc/ but the specified file does not exist. Is Tomcat running? Stop aborted.

The following may be seen in /srv/www/casaats/logs/catalina.out:

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina


  1. If the above ClassNotFoundException is seen, verify that the common.loader line is proper in /srv/www/cataats/conf/ and /opt/novell/zenworks/share/tomcat/conf/
    NOTE: To verify, compare the files to those from a working Primary Server of the same version, or contact ZENworks Technical Support for help.
  2. Verify that the casa_atsd service is running with the following command:
    ps aux | grep casaatsd | grep -v grep
  3. If the service is still running, kill it with this command:
    ps aux | grep casaatsd | grep -v grep | awk '{print $2}' | xargs kill -9
  4. Verify that the casa_atsd service will now stop with this command:
    /etc/init.d/casa_atsd stop

Additional Information

The following is a command helpful for comparing CASA install files between Primary Servers. The rpm -V command by itself isn't sufficient since ZENworks changes the package files after they are installed by rpm.
NOTE: The envvars, server-sun.xml, and CasaAuthTokenSvc.war files are expected to be different between Primary Servers.

rpm -V CASA_auth_token_svc | cut -d" " -f4,5 | sed 's/ //g' | xargs -I replace md5sum replace 2> /dev/null