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

[NSM] How to enable/disable debug mode for NSM processes



Article ID: KB9840 KB Last Updated: 12 Mar 2014Version: 8.0

For troubleshooting purposes, sometimes it is necessary to enable or disable debug mode for either the NSM GUI or Device Server. This article explains how to turn debug mode on and off.


I need to troubleshoot the GUI or Device server, how do I turn on debug mode? 


Debug mode can be enabled for both the GUI (GuiSvr) and Device Server (DevSvr) as described below.

Note: After enabling or disabling debug mode, restart the NSM services to bring it into effect. KB11263 - Proper order for starting and stopping NSM services

GuiSvr:  Remove the # character from the beginning of the line for the following lines from the configuration file /usr/netscreen/GuiSvr/var/guiSvr.cfg :

guiSvrManager.printLevel debug

guiSvrDirectiveHandler.printLevel debug

DevSvr: Remove the # character from the beginning of the line for the following lines from the configuration file /usr/netscreen/DevSvr/var/devSvr.cfg :
devSvrManager.printLevel debug

devSvrDirectiveHandler.printLevel debug

Note: It is recommended to disable debug mode when it is not required any more. To disable it, place a # character before those lines.

Related Links

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