Management
Reply
Contributor
Nasim
Posts: 23
Registered: ‎04-27-2008
0

NSM 2008.2R2 GuiSer & Device Server Not working after restart

 Dear Experts,
 
The GuiServ and DeviceSer are not starting after the restart of the of linux. I don't understand what is the issue, below  are the commands which I am running
 
[root@MCIT-NSM bin]# ./guiSvr.sh status
Retrieving status..

[root@MCIT-NSM bin]# ./guiSvr.sh restart
Stopping apps...
Cleaning up remaining instances of guiSvrMasterController...
Stopped guiSvrMasterController as nsm (pid 2730)                               
Cleaning up remaining instances of guiSvrDirectiveHandler...
Stopped guiSvrDirectiveHandler as nsm (pid 3010)                               
Cleaning up remaining instances of guiSvrLicenseManager...
Stopped guiSvrLicenseManager as nsm (pid 3471)                                 
Cleaning up remaining instances of guiSvrWebProxy...
Stopped guiSvrWebProxy as nsm (pid 4750)                                       
Starting apps...
Starting guiSvrManager as nsm..................failed
Starting guiSvrMasterController as nsm.........failed
Starting guiSvrDirectiveHandler as nsm.........failed
Starting guiSvrLicenseManager as nsm...........failed
Starting guiSvrStatusMonitor as nsm............failed
Starting guiSvrWebProxy as nsm.................java.io.FileNotFoundException: /usr/netscreen/GuiSvr/var/webproxy/axis2/tldCache.ser (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:316)
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4302)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4139)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        at net.juniper.webproxy.main.WebProxy.startServer(WebProxy.java:73)
        at net.juniper.webproxy.main.WebProxy.main(WebProxy.java:55)
failed
 
 
[root@MCIT-NSM bin]# ./devSvr.sh status
Retrieving status...
devSvrDbSvr.......................................off 
 
 Can someone point me what is the issue here. It is a fresh installation of linux RHEL 5.0 AS, NSM 2008.2R2, managing only two IDP 250 inline/transparent. 
 
I installed NSM 2008.2r2 from CD whihc I burned and installation went perfectly fine and before restarting the Linux NSM was working fine with reports and other things 
 
Thanks 
 
Recognized Expert
Daniele
Posts: 164
Registered: ‎11-06-2007
0

Re: NSM 2008.2R2 GuiSer & Device Server Not working after restart

Hi,

are you sure that all the partitions were mounted during the boot as expected?

 

This log:

/usr/netscreen/GuiSvr/var/webproxy/axis2/tldCache.ser (No such file or directory)

 

is quite suspicious...

please check that the directories

/var/netscreen/GuiSrv/

/var/netscreen/DevSvr

/usr/netscreen/GuiSvr/

/usr/netscreen/DevSvr/

 

are available and readeable from the user 'nsm'.

As "root", you can use:

su - nsm

to switch to user "nsm" and move to these directories.

 

Also, check the disk space as tipically if a server run out of space the "/etc/init.d/guiSvr status" doesn't show any output.

 

Hope this helps!

Daniele

***Contributor at Router Freak blog***
Contributor
Nasim
Posts: 23
Registered: ‎04-27-2008
0

Re: NSM 2008.2R2 GuiSer & Device Server Not working after restart

[ Edited ]

For the space this is the output of the df -h

 

[root@MCIT-NSM installers]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/cciss/c0d0p1      16G  1.4G   14G  10% /

/dev/cciss/c0d0p5     5.7G  156M  5.3G   3% /tmp

/dev/cciss/c0d0p3      13G   12G     0 100% /var

/dev/cciss/c0d0p2      16G  6.6G  7.8G  46% /usr

tmpfs                1013M     0 1013M   0% /dev/shm

 

Where VAR is utilizing 100% of the space

 

The following directory is not even present by logging with root server, 

[root@MCIT-NSM ~]# cd /usr/netscreen/GuiSvr/var/webproxy/axis2

-bash: cd: /usr/netscreen/GuiSvr/var/webproxy/axis2: No such file or directory 

 

Instead  

[root@MCIT-NSM ~]# cd /usr/netscreen/GuiSvr/var/webproxy/installers 

[root@MCIT-NSM installers]# ls

SESSIONS.ser  tldCache.ser

 

is present and inside the installers direcoty tldcahce.ser is present

 

Does it seems to me that I have the "SIZE" issue, I put the size of 13gb for var during the installation, How much should I put it as the hardisk I have is only 80GB

 

Please guide me in this regards in details

 

Thanks

 

 

Message Edited by Nasim on 08-17-2009 06:01 PM
Recognized Expert
Daniele
Posts: 164
Registered: ‎11-06-2007
0

Re: NSM 2008.2R2 GuiSer & Device Server Not working after restart

On the Installation Guide there's an appendix with the Hardware Recommendations, but I would definitively put at least 20GB on the /var partition...

 

 

As an example, this is the partition table of an NXMxpress appliance that has 2x250GB HDD:

 

 

 [root@saruman ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             4.9G  1.9G  2.8G  41% /
none                  2.0G     0  2.0G   0% /dev/shm
/dev/sda9             3.9G   83M  3.6G   3% /tmp
/dev/sda7              20G  4.6G   14G  26% /usr
/dev/sda6              81G   11G   66G  15% /var
/dev/sda3              49G   85M   46G   1% /var/cores
/dev/sdb2             224G  1.9G  211G   1% /var/netscreen/DevSvr
/dev/sda5              49G  360M   46G   1% /var/netscreen/DevSvr/profiler_data
/dev/sda8              20G  3.9G   15G  22% /var/netscreen/GuiSvr

 

 

Ciao :smileyhappy:

Daniele

***Contributor at Router Freak blog***
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.