How to debug the Backup Exec Server service

Article: 100019347
Last Published: 2023-10-23
Ratings: 0 0
Product(s): Backup Exec

Problem

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 The Backup Exec Debug Monitor via the Backup Exec GUI from the icon upper left, then Technical Support, then Collect debug output or from C:\PROGRAM FILES\Veritas\BACKUP EXEC\SGMON.EXE and select beserver check box. The debugger log output can be found at C:\Program Files\Veritas\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\Veritas\Backup Exec\

IMPORTANT:  Disk Storage Lockdown must be disabled for the command line switch method.  




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\Veritas\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\Veritas\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\Veritas\Backup Exec For Windows\Backup Exec\Debug\BEMSDKLevel . Change the value from 1 to ffffffff hex


4. BEUTILITY

Start C:\PROGRAM FILES\Veritas\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\Veritas\Backup Exec\Logs directory

 

Was this content helpful?