Unable to apply Sentinel Log Manager Hot Fixes

  • 7005121
  • 11-Jan-2010
  • 26-Apr-2012

Environment

Novell Sentinel Log Manager 1.0.0
Novell Sentinel Log Manager 1.0.0.1 (1.0 Hot Fix 1)
Novell Sentinel Log Manager 1.0.0.2 (1.0 Hot Fix 2)
Novell Sentinel Log Manager 1.0.0.3 (1.0 Hot Fix 3)
Suse Linux Enterprise Server 11 x86_64

Situation

Symptoms:

When the "servicepack.sh" script is executed as user "novell", the following error is returned by the installation process:

--------------------------------------------------
Novell Sentinel Log Manager 1.0 Update Installer
--------------------------------------------------
Always replace is set to false
Update Novell Sentinel Log Manager installation...
Please enter Novell Sentinel Log Manager installation location [/opt/novell/sentinel_log_mgr_1.0_x86-64] =>
Running the update installer ./service_pack.sh as 'novell' ...
Current version is: 1.0.0.0
Exception in thread "main" java.lang.NoClassDefFoundError: esecurity/install/srvpack/SrvPackExecutor
Caused by: java.lang.ClassNotFoundException: esecurity.install.srvpack.SrvPackExecutor
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: esecurity.install.srvpack.SrvPackExecutor. Program will exit.
There was an error applying the hotfix.





Resolution

In order to switch to user "novell" to execute the installation script, the following command was used:

"su novell"

while the command to use, in order to get the full environment properly setup for the installation, is the following:

"su - novell"