Novell Home

How to put SMDR into Debug Mode on Linux

Novell Cool Solutions: Tip
By Dean Giles

Digg This - Slashdot This

Posted: 28 Apr 2006
 

PROBLEM:

SMDR is the communications piece of SMS. If backups aren't connecting, or the remote server to backup isn't showing up in the list of servers, then it could be due to an SMDR problem. SMDR runs as a daemon in Linux. The following is a tip on how to put SMDR into debug mode and get a debug log.

SOLUTION:

How to put SMDR into debug mode on Linux:

  1. Stop the smdrd daemon with the following command:
    /etc/init.d/novell-smdrd stop


  2. Start smdrd with the debug options with the following command:
    /opt/novell/sms/bin/smdrd --smsdebug fffffffc --smsdebug2 fffffffc


  3. The debug log will scroll on the console and will be written to a log at the same time. The debugging can be stopped by hitting control-c from the scrolling console, or from another console typing the following:
    /etc/init.d/novell-smdrd stop


  4. Retrieve the log at /var/opt/novell/log/sms/smdrd_debug_xxxx.log (where xxxx is the process id).


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell