Technical article 101616

How do I activate the debug feature in LAN Manager?

OpenServer 5.0.0

Written · Last revised

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 server

3. 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 server
Debug 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 lmx

which 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.repl
The 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."

From the Xinuos technical article database, record 101616. Reproduced with permission. The original is at www.sco.com/ta/101616, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.