04-24-2009 07:39 AM
In fact, ani.log has a last mod timestamp from prior to the LMS 3.1 upgrade. Data Collection is scheduled daily at 10pm. How do I ensure DC has actually been running and ani.log is logging the activities?
Does the above have anything to do with the following picture?
ocessName ProcessState ProcessId ProcessRC ProcessSigNo ProcessStartTime ProcessStopTime
1. 1195 Program started - No mgt msgs received 2314 0 0 04/17/09 17:50:00 Not applicable
2. 1395 Never started 0 0 0 N/A Not applicable
3. 1396 Never started 0 0 0 N/A Not applicable
4. 2061 Never started 0 0 0 N/A Not applicable
5. 2070 Never started 0 0 0 N/A Not applicable
6. 2191 Never started 0 0 0 N/A Not applicable
7. 2214 Never started 0 0 0 N/A Not applicable
/usr/ucb/ps -auxwww |grep 1195
casuser 2314 0.1 0.217735233944 ? S Apr 17 8:05 CSCO.1195 -cw:jre lib/jre -cp /opt/CSCOpx/MDC/tomcat/shared/lib/MICE.jar:/opt/CSCOpx/MDC/tomcat/shared/lib/NATIVE.jar:/opt/CSCOpx/MDC/tomcat/shared/lib/jdom.jar:/opt/CSCOpx/MDC/tomcat/shared/lib/xalan.jar:/opt/CSCOpx/MDC/tomcat/shared/lib/xerces.jar:/opt/CSCOpx/MDC/tomcat/common/lib/servlet.jar:/opt/CSCOpx/lib/classpath:/opt/CSCOpx/www/classpath:www/classpath/vbjorb.jar:MDC/tomcat/webapps/rme/WEB-INF/classes:MDC/tomcat/webapps/rme/WEB-INF/lib/log4j.jar:MDC/tomcat/webapps/rme/WEB-INF/lib/ags.jar:MDC/tomcat/webapps/rme/WEB-INF/lib/xdi.jar:MDC/tomcat/webapps/rme/WEB-INF/lib/ctm.jar:MDC/tomcat/shared/lib/MICE.jar:MDC/tomcat/shared/lib/NATIVE.jar -Dnm.jrm.jobid=1195 -Dnm.jrm.instanceid=655 -DappName=CDA com.cisco.nm.rmeng.inventory.cda.job.CdaPurgeJob
root 13598 0.0 0.0 1272 1024 pts/3 S 11:35:55 0:00 grep 1195
/usr/ucb/ps -auxwww |grep 1395
root 13603 0.0 0.0 1272 1024 pts/3 S 11:36:38 0:00 grep 1395
/usr/ucb/ps -auxwww |grep 1396
root 13607 0.0 0.0 1272 1024 pts/3 S 11:36:45 0:00 grep 1396
/usr/ucb/ps -auxwww |grep 2061
root 13609 0.0 0.0 1272 1024 pts/3 S 11:36:48 0:00 grep 2061
/usr/ucb/ps -auxwww |grep 2070
root 13615 0.0 0.0 1272 1024 pts/3 S 11:36:52 0:00 grep 2070
/usr/ucb/ps -auxwww |grep 2191
casuser 9804 0.1 7.517487761219176 ? S Mar 30 343:22 /opt/CSCOpx/lib/jre/bin/java -Xmx1024m -Xminf0.1 -Xmaxf0.1 -XX:MaxPermSize=256m -XX:PermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dlog4j.ignoreTCL=true -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -Djava.security.auth.login.config=/opt/CSCOpx/MDC/tomcat/conf/jaas.config -Djava.endorsed.dirs=/opt/CSCOpx/lib/jre/lib/endorsed:/opt/CSCOpx/MDC/tomcat/common/endorsed -classpath /opt/CSCOpx/lib/jre/lib/tools.jar:/opt/CSCOpx/MDC/tomcat/bin/bootstrap.jar:/opt/CSCOpx/MDC/tomcat/bin/commons-logging-api.jar -Dlog4j.ignoreTCL=true -Dcatalina.base=/opt/CSCOpx/MDC/tomcat -Dcatalina.home=/opt/CSCOpx/MDC/tomcat -Djava.io.tmpdir=/opt/CSCOpx/MDC/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 13617 0.0 0.0 1272 1024 pts/3 S 11:36:55 0:00 grep 2191
casuser 9832 0.0 0.121912 5928 ? S Mar 30 0:16 /opt/vgi/csco/CSCOpx/objects/wfengine/program/GGProxy
/usr/ucb/ps -auxwww |grep 2214
root 13654 0.0 0.0 1272 1024 pts/3 S 11:37:22 0:00 grep 2214
04-24-2009 09:35 AM
Post the NMSROOT/campus/etc/cwsi/ANIServer.properties.
04-24-2009 09:42 AM
04-24-2009 09:48 AM
Your log file is no longer ani.log. It's /opt/CSCOpx/campus/ani-trace.log.
04-24-2009 10:05 AM
How did that happen??? Which one *should* it be?
The orig points to ani.log. While the current one was restored from LMS 2.6, but it could well be from 2.2 or older.
-rw-r--r-- 1 root other 15433 Nov 29 21:19 ANIServer.properties
-rw-rw---- 1 casuser casusers 13493 Jun 11 2008 ANIServer.properties.orig
04-24-2009 10:24 AM
You must have changed it. The log file is completely customizable. It's really up to you where you want the ANI log to go.
04-24-2009 10:34 AM
No, I didn't. I bet it's the old LMS 2.x default getting restored by the restorebackup.pl script over 3.x default.
The orig points to ani.log. While the current one was restored from LMS 2.6, but it could well be from 2.2 or older.
-rw-r--r-- 1 root other 15433 Nov 29 21:19 ANIServer.properties
-rw-rw---- 1 casuser casusers 13493 Jun 11 2008 ANIServer.properties.orig
grep ani.log ANIServer*
ANIServer.properties.orig:LogMsg.logfile=ani.log
grep ani-trace ANIServer*
ANIServer.properties:LogMsg.logfile=/opt/CSCOpx/campus/ani-trace.log
04-24-2009 11:11 AM
This is not a default location, even for LMS 2.2. You, or someone in the organization must have set this location. But this is not a problem. If you don't like the new path, then change it under Campus Manager > Admin > Debugging Options > Data Collection.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide