After Patch to 9400 OpManager have a problem with backup

After Patch to 9400 OpManager have a problem with backup

Hi,

we have a problem with backup OpManager after upgrading to 9400. It works at Linux 32 bit machine.
Here is a output of backup procedure.

# /etc/init.d/opmanager stop

# more /var/log/opmanager.log
Java Home  /opt/ManageEngine/OpManager/jre
inside addon check

Starting AdventNet WebNMS Server Modules, please wait 


Process : GenerateThreadDump             [ Started ]
Process : StartTelnetClient              [ Started ]
Process : OpManagerStatusProcess         [ Started ]
Process : AuthMgr                        [ Started ]
Process : NetFlowProcess                 [ Started ]
Process : DataMgmtRPI                    [ Started ]
Process : NCMProcess                     [ Started ]
Process : NmsPolicyMgr                   [ Started ]
Process : NmsAuthManager                 [ Started ]
Process : UserConfigProcess              [ Started ]
Process : DBServer                       [ Started ]
Process : NmsAuthenticationManager       [ Started ]
Process : CLIFactoryBinder               [ Started ]
Process : SetSecurityProperty            [ Started ]
Process : OpUtilsProcess                 [ Started ]
Process : RunJSPModule                   [ Started ]
Process : LocaleDBModification           [ Started ]
Process : NMSSAServer                    [ Started ]
Process : EventMgr                       [ Started ]
Process : NMSMServer                     [ Started ]
Process : MapServerBE                    [ Started ]
Process : OpManagerProcess               [ Started ]
Process : Collector                      [ Started ]
Process : BenchMarkdata                  [ Started ]
Process : PolicyFE                       [ Started ]
Process : MServerFE                      [ Started ]
Process : NmsSAServerFE                  [ Started ]
Process : AuthorizationManagerFE         [ Started ]
Process : ExampleFE                      [ Started ]
Process : SAServerFE                     [ Started ]
Process : AuthenticationManagerFE        [ Started ]
Process : MapFE                          [ Started ]
Process : AlertFE                        [ Started ]
Process : UserConfigProcessFE            [ Started ]
Process : NmsMainFE                      [ Started ]
Process : StartTelnetClientFE            [ Started ]
Process : PollFE                         [ Started ]
Process : TopoFE                         [ Started ]
Process : EventFE                        [ Started ]
Verifying connection with web server ... verified

OpManager modules started successfully

Please connect your client to the web server on port: 8402 as http://localhost:8402



Trying to Shutdown OpManager

Schedulers Stopped successfully

All Shut Down Observers Notified

Process : NmsSAServerFE                 [ Stopped ]
Process : StartTelnetClientFE           [ Stopped ]
Process : ExampleFE                     [ Stopped ]
Process : UserConfigProcessFE           [ Stopped ]
Process : PolicyFE                      [ Stopped ]
Process : TopoFE                        [ Stopped ]
Process : PollFE                        [ Stopped ]
Process : AlertFE                       [ Stopped ]
Process : EventFE                       [ Stopped ]
Process : MapFE                         [ Stopped ]
Process : AuthorizationManagerFE        [ Stopped ]
Process : AuthenticationManagerFE       [ Stopped ]
Process : MServerFE                     [ Stopped ]
Process : SAServerFE                    [ Stopped ]
Process : OpUtilsProcess                [ Stopped ]
Process : BenchMarkdata                 [ Stopped ]
Process : GenerateThreadDump            [ Stopped ]
Process : LocaleDBModification          [ Stopped ]
Process : NCMProcess                    [ Stopped ]
Process : DataMgmtRPI                   [ Stopped ]
Process : NetFlowProcess                [ Stopped ]
Process : UserConfigProcess             [ Stopped ]
Process : StartTelnetClient             [ Stopped ]
Process : CLIFactoryBinder              [ Stopped ]
Process : AuthMgr                       [ Stopped ]
Process : NmsMainFE                     [ Stopped ]
Process : OpManagerStatusProcess        [ Stopped ]
Process : OpManagerProcess              [ Stopped ]
Process : NmsPolicyMgr                  [ Stopped ]
Process : EventMgr                      [ Stopped ]
Process : Collector                     [ Stopped ]
Process : MapServerBE                   [ Stopped ]
Process : NmsAuthenticationManager      [ Stopped ]
Process : NmsAuthManager                [ Stopped ]
Process : NMSMServer                    [ Stopped ]
Process : NMSSAServer                   [ Stopped ]
Process : DBServer                      [ Stopped ]
Process : RunJSPModule                  [ Stopped ]
Process : SetSecurityProperty           [ Stopped ]

All Database connections disconnected

OpManager Successfully Shut Down
The OpManager Server on host "localhost" was successfully shutdown

# cd /opt/ManageEngine/OpManager/bin/backup/

# ./BackupDB.sh

.....
skipped
.....
Backing up table STATSDATA_DAILY_2012_12_13_4

Please wait ! Netflow plug-in DB backup in progress .......
Successfully completed Netflow plug-in DB backup.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpSession
        at jdbc.BackUpImpl.backupNCMDB(BackUpImpl.java:604)
        at jdbc.BackUpImpl.backupDB(BackUpImpl.java:125)
        at jdbc.BackUpImpl.doBackup(BackUpImpl.java:893)
        at jdbc.BackUpImpl.main(BackUpImpl.java:899)
Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSession
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 4 more

#ls /opt/ManageEngine/OpManager/backup/
temp1

#ls -al /opt/ManageEngine/OpManager/backup/temp1/
total 2939784
drwxr-xr-x 2 root root       4096 Dec 13 09:04 .
drwxr-xr-x 3 root root       4096 Dec 13 08:58 ..
-rw-r--r-- 1 root root      36048 Dec 13 09:04 BackUp_DEC13_2012_07_58_22_9400.log
-rw-r--r-- 1 root root 3010196030 Dec 13 09:04 BackUp_DEC13_2012_07_58_22_9400.sql
-rw-r--r-- 1 root root      85406 Dec 13 08:58 BackUp_DEC13_2012_07_58_22_9400.xml
-rw-r--r-- 1 root root        289 Dec 13 09:04 Backuprestore.properties

#df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2            474824080  38353996 431647636   9% /
tmpfs                  2009652        88   2009564   1% /dev/shm
/dev/sda1               495844     72933    397311  16% /boot

Zip file is not created.

We upgrade all system by yum, but results is the same.

We rename /opt/ManageEngine/OpManager/NetFlow/troubleshooting/BackupDB.sh to not backup NFA data, but no results.

OpManager 9200 have not such problem.


































































































































































                  New to ADSelfService Plus?