Netra j 3.0 Administrator's Guide

Capturing Log Files

In some cases, if JavaOS fails, it may broadcast an SNMP trap. The trap can be received by any SNMP manager listening on the (sub)net. There is a simple SNMP trap receiver supplied with JavaOS state information in a log file.

To Capture Log Files for JavaOS
  1. Run the following command on any machine in the (sub)net:


    # /opt/SUNWjsos/bin/snmptrapd -x /opt/SUNWjsos/bin/logdumper&
    

If failures do occur, they are saved in the /tmp directory of the server machine with the following unique file name:


/tmp/javaos.log.<IP address of failed client>@<time
in seconds since January 1, 1970>

You can browse the log file to determine errors that may have caused a failure. You may also want to add the snmptrapd command to the Solaris initialization and booting hierarchy. See the README files in /etc/init.d and /etc/rc2.d for details.


Note -

Not all JavaStation client failures result in a log file creation on the server machine.