How to debug the Backup Exec Server service

Article:TECH64282  |  Created: 2009-01-07  |  Updated: 2012-11-02  |  Article URL http://www.symantec.com/docs/TECH64282
Article Type
Technical Solution

Product(s)

Issue



How to debug the Backup Exec Server service


Solution



The Backup Exec Server service implements job scheduling, server configuration, job definitions, job history and the Backup Exec management SDK.  Whenever troubleshooting Server Service not starting issues, it might be necessary to debug the Backup Exec Server Service to get more information on what is transpiring.
As an additional troubleshooting step, try changing the account with which the Backup Exec Server service is running to Local System Account
The debug of the Backup Exec Server service can be obtained in the following four ways.  The Registry and BeUtility methods will enable debugging permanently: debugging should be turned off when no longer required in order to preserve disk space.

1.SGMON
Start C:\PROGRAM FILES\SYMANTEC\BACKUP EXEC\SGMON.EXE and select beserver check box. The debug information can be found at C:\Program Files\Symantec\Backup Exec\logs\sgmon.log




2. COMMAND LINE SWITCH
Start the Backup Exec Server service from the command prompt by running the command : beserver -console
Please note that you need to go to the installation directory to run the command which is C:\Program Files\Symantec\Backup Exec\




3. REGISTRY
On the Backup Exec server go to the registry editor and perform the following changes.
Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.
HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\Debug\BEMSDKLog . Change the value from 0 to 1
Recycle Backup Exec services.  The output will be placed in the log_beserver.txt file in the C:\program files\Symantec\Backup Exec\Logs directory




By default the debug level is set to a basic amount of detail.  In order to obtain full verbose debugging information from the Backup Exec Server Service, set the following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\Debug\BEMSDKLevel . Change the value from 1 to ffffffff


4. BEUTILITY

Start C:\PROGRAM FILES\SYMANTEC\BACKUP EXEC\BEUTILITY.EXE and select All Media Servers from the middle column then the name of the media server from the list on the right hand column.  Right click and choose Enable Debug Logs... from the popup menu then tick the box as per below.  The output will be placed in the log_beserver.txt file in the C:\program files\Symantec\Backup Exec\Logs directory




Legacy ID



311994


Article URL http://www.symantec.com/docs/TECH64282


Terms of use for this information are found in Legal Notices