Problem
LAN Manager has a limited debug feature, to provide an aid to
diagnostics, as part of the product. How is this activated
and debug output obtained from the LAN Manager processes ?The procedure below is also applicable to the SCO Advanced File and
Print Server Product. The options, however, are not listed in the
documentation. This has been reported to SCO Engineering. Solution
1. Log in as the user "root".
2. Stop the LAN Manager server using;
#net stop server3. Edit the "lanman.ini" control file as follows:
#cd /usr/net/servers/lanman
#vi lanman.ini...
...4. Add this under the "[lmxserver]" section:
debug=yes
debugsignal=yes
...
...5. Restart the LAN Manager Server:#net start serverDebug files will now be placed in the "/usr/net/servers/lanman/debug"
directory. The debug feature may be toggled on and off using the
"#kill -16 <PID>" command, where <PID> is the Process ID of the
particular LAN Manager process.You can obtain the PID using the command:
#ps -ef |grep lmxwhich will return a display similar to:
=> root 12842 12786 0 Mar 5 ? 336:04 lmx.srv -s 1
root 12786 1 0 Mar 5 ? 7:23 lmx.ctrl
root 12859 1 0 Mar 5 ? 6:01 lmx.dmn
root 12868 1 0 Mar 5 ? 417.26 lmx.replThe command:"#kill -16 12842"will, in this example, either toggle on or off the collection of debug data to the file "Debug-12842" in the debug directory.
If you are turning on the debug feature to examine a specific problem that may be occurring, it is best to first empty any debug files using the "kill -16" command twice, run the test commands and capture the relevant data, and then turn off debug with another "kill -16" command.
See also
"Microsoft LAN Manager for UNIX Systems, Administrators Guide, Appendix B, B-15."