This page describes how to solve problems in the runing system involving servers and clients.
You need a test program to tell if solaris messages are reaching cmlogServer
Log into any of our unix machines and set up the ENVS environment
Run one of these test programs. (-help gives you help for them).
cmlogMsgLine -help (this reads the message from the command line)
cmlogMsgStdin -help (this reads the message from stdin)
Messages from Java client programs don't reach cmlogServer but C/C++ do
- The problem is that the pipe gets clogged (or broken) between the java clients and cmlogClient on opi00dev00. The symptom was that AIDA messages were not being logged through Err. Here is the workaround.
- Take these steps:
0) Log onto opi00dev00 as cddev and source $CD_SOFT/dev/script/ENVS.csh
1) Delete pipes
2) Kill client daemon process
ps -ef | grep cmlog
kill #pid(pid for cmlogClientD process)
3) Restart client daemon
cmlog_activate [-log logfile]
4) Start any client/test programs you want
**** Here is a java test program ***
Do Step 2) above, then cd to /afs/slac/package/cmlog/prod/java/classes
(Make sure . is in your CLASSPATH)
Run "java cmlogClient 1", a cmlogClientD should start and you should see
messages logging. If messages don't get logged, kill cmlogClientD
and restart it using cmlog_activate.
Kill the test program once you've confirmed that messages are logging.
RETURN TO SLAC CMLOG HOME PAGE
SLAC Original version: 10-Sept-
2004 by Ron MacKenzie