Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EOL/EOE] [NSM] 'guiSvrWebProxy.pid exists but guiSvrWebProxy is off' status

0

0

Article ID: KB22729 KB Last Updated: 18 Oct 2020Version: 3.0
Summary:

Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE).  Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.


This article describes the issue of the status being shown as guiSvrWebProxy.pid exists but guiSvrWebProxy is off when trying to restart the guiSvrWebProxy.

Symptoms:

A customer tries to restart guiSvrWebProxy, but it still displays the following:

[root@NSMXpress ~]# /etc/init.d/guiSvr status 
nsm owner is nsm 
Retrieving status... 
guiSvrManager (pid 17430)..........................ON 
guiSvrMasterController (pid 17604).................ON 
guiSvrDirectiveHandler (pid 17758).................ON 
guiSvrLicenseManager (pid 17935)...................ON 
guiSvrStatusMonitor (pid 18073)....................ON 
guiSvrWebProxy.pid exists, but guiSvrWebProxy is off 

The following information is displayed in the webproxy log:

2011/11/30-18:56:24.641 DEBUG  [TP-Processor4] common.ChannelSocket - Accepted socket Socket[addr=/127.0.0.1,
port=34384,localport=8009]
2011/11/30-18:56:25.644 INFO   [Thread-35] core.StandardService - Stopping service Catalina
2011/11/30-18:56:25.647 DEBUG  [Thread-35] ContainerBase.[Catalina] - EngineConfig: Processing STOP
2011/11/30-18:56:25.656 DEBUG  [Thread-35] [localhost].[/installers] - Stopping filters
2011/11/30-18:56:25.659 DEBUG  [Thread-35] core.StandardContext - Sending application stop events
2011/11/30-18:56:25.697 DEBUG  [Thread-35] core.StandardContext - Processing standard container shutdown
2011/11/30-18:56:25.732 DEBUG  [Thread-35] core.StandardContext - resetContext Catalina:j2eeType=WebModule,
name=//localhost/installers,J2EEApplication=none,J2EEServer=none null
2011/11/30-18:56:25.732 DEBUG  [Thread-35] core.StandardContext - Stopping complete
2011/11/30-18:56:25.745 DEBUG  [Thread-35] [localhost].[/index_files] - Stopping filters
2011/11/30-18:56:25.745 DEBUG  [Thread-35] core.StandardContext - Sending application stop events
2011/11/30-18:56:25.763 DEBUG  [Thread-35] core.StandardContext - Processing standard container shutdown
2011/11/30-18:56:25.763 DEBUG  [Thread-35] core.StandardContext - resetContext Catalina:j2eeType=WebModule,
name=//localhost/index_files,J2EEApplication=none,J2EEServer=none null
2011/11/30-18:56:25.763 DEBUG  [Thread-35] core.StandardContext - Stopping complete
2011/11/30-18:56:25.765 DEBUG  [Thread-35] [localhost].[/] - Stopping filters
2011/11/30-18:56:25.765 DEBUG  [Thread-35] core.StandardContext - Sending application stop events
2011/11/30-18:56:25.775 DEBUG  [Thread-35] core.StandardContext - Processing standard container shutdown
2011/11/30-18:56:25.775 DEBUG  [Thread-35] core.StandardContext - resetContext Catalina:j2eeType=WebModule,
name=//localhost/,J2EEApplication=none,J2EEServer=none null
2011/11/30-18:56:25.775 DEBUG  [Thread-35] core.StandardContext - Stopping complete
2011/11/30-18:56:25.794 DEBUG  [Thread-35] [localhost].[/axis2] - Stopping filters
2011/11/30-18:56:25.794 DEBUG  [Thread-35] core.StandardContext - Sending application stop events
2011/11/30-18:56:25.819 ERROR  [Thread-35] session.ManagerBase - IOException while saving persisted sessions: 
java.io.FileNotFoundException: /usr/netscreen/GuiSvr/var/webproxy/axis2/SESSIONS.ser (No such file or directory)
java.io.FileNotFoundException: /usr/netscreen/GuiSvr/var/webproxy/axis2/SESSIONS.ser (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.(FileOutputStream.java:179)
        at java.io.FileOutputStream.(FileOutputStream.java:70)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:488)
        at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
        at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4358)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
        at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)
2011/11/30-18:56:25.820 ERROR  [Thread-35] session.ManagerBase - Exception unloading sessions to persistent storage
java.io.FileNotFoundException: /usr/netscreen/GuiSvr/var/webproxy/axis2/SESSIONS.ser (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.(FileOutputStream.java:179)
        at java.io.FileOutputStream.(FileOutputStream.java:70)
        at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:488)
        at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
        at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4358)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
        at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
        at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
        at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
        at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)
2011/11/30-18:56:25.820 DEBUG  [Thread-35] core.StandardContext - Processing standard container shutdown
2011/11/30-18:56:25.824 DEBUG  [Thread-35] core.StandardContext - resetContext Catalina:
j2eeType=WebModule,name=//localhost/axis2,J2EEApplication=none,J2EEServer=none null
2011/11/30-18:56:25.824 DEBUG  [Thread-35] core.StandardContext - Stopping complete
Cause:

The above information indicates that the IP, configured in the Tomcat (web server), is wrong.

Solution:

To resolve this issue:

  1. Go to /usr/netscreen/GuiSvr/lib/webproxy/conf/server.xml.

  2. Look for the keystoreType="PKCS12" address= string and correct the IP address:
    keystoreType="PKCS12" address="172.27.103.149"

    Note: If the old IP address is 127.0.0.1, then you do not need to change it.

  3. Restart guiSvrWebProxy:
    /usr/netscreen/GuiSvr/bin/guiSvrWebProxy.sh restart
  4. Check guiSvrWebProxy:
    /usr/netscreen/GuiSvr/bin/guiSvrWebProxy.sh status
Modification History:
2020-10-18: Tagged article for EOL/EOE.
 
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search