|
|
This chapter presents some scripts and procedures that might prove useful in troubleshooting and maintaining your Cisco Access Manager (CAM) software. The following topics are covered:
If CAM is not functioning correctly just after installation, you can determine if the CAM package has been installed, by entering one of the following commands:
Table 9-1 lists the log files that can be useful in troubleshooting CAM.
| Types | File Names1 | Content |
|---|---|---|
UNIX cron jobs. | ||
CAM log file | CAM.log | Overall log files for all the User Interface transactions to the CAM server. CAM is the name specified in the apm.ini file. |
$CAM_DBPATH2/sql/output/database_install.log | Created during CSCOcam and CSCOcamdb installation. | |
$CAM_DBPATH/sql/output/schema_update.log | Created during CSCOcam and CSCOcamdb installation upgrades. Contains the log of any update operation that is performed on the CAM database. | |
$CAM_DBPATH/sql/output/database_status.log | Latest status of the Oracle database. | |
Log of the Netscape FastTrack Admin Server and Web server installation. | ||
Output of the script that invokes the poller, rollup, and purging activities. | ||
Log of Cisco AccessPath system poller activity. | ||
Log of Cisco AccessPath system poller activity. | ||
Log of System Controller poller activity. | ||
Log of System Controller poller activity. | ||
Log for FTP of files from System Controller. | ||
Database rollup and purge activity. | ||
Scheduler log files | Log of all user scheduled jobs. | |
Log of all internal tasks. | ||
ApmCronReport.log | Log of all scheduled reports. | |
Detailed output of activity on scheduled reports, including information such as whether a report ran and e-mailed without errors. | ||
The most recently completed daily scheduled reports. | ||
CAM configuration | Stack and shelf configuration logs containing the output of the session during which CAM connected to the shelf and downloaded Cisco IOS commands. |
If you need to change the IP address of the CAM server, you need to:
Step 1 Log in as the CAMadmin user root and shut down the CAM daemons such as poller and cron:
Step 2 Change the IP address of the CAM Server on the UNIX machine.
Step 3 Run the APM Data shell program:
where db_user_id and db_user_password are your database id and password.
Step 4 Start the CAM daemons such as poller and cron:
Step 5 Edit the /opt/CSCOcam/ns-home/admserv/ns-admin.conf file and restart the Netscape FastTrack Admin Server. For multiple addresses, use this format:
To start up the CAM Oracle database, run the following script:
#!/bin/sh
# Copyright (c) 1996, by Cisco Systems, Inc.
# All Rights Reserved
#
# Start Oracle Server
#
echo "Cisco Access Path Manager Oracle Database Server starting... \c"
su - oracle -c $ORACLE_HOME/bin/dbstart
echo ""
exit 0
Configuration files and template files larger than 28K cannot be edited or saved using CAM. If you try to edit or save a configuration or template file larger than 29K, one of the following error messages is returned:
"my_temp too large. Please edit `/tmp/my_temp' on CAM server then import it again"
"my_cfg too large. Please edit `/tmp/my_cfg.xxx' on CAM server then import it again"
To edit and save a configuration or template file that is larger than 28K:
Step 1 Telnet to the CAM server running on the UNIX machine.
Step 2 Use an editor, such as vi or emacs, to edit the configuration or template file that is in the /tmp directory.
Step 3 (Optional.) Rename the configuration or template file. The filename used on the server for this file will be used by the CAM Configuration Manager and Template Manager. However, to use the same name in the Configuration manager or Template manager, you must delete it from the CAM GUI first.
Step 4 Import the newly modified configuration or template file from CAM server.
Step 5 Remove your file from /tmp directory after you have completed the import and no longer need the file. The import function in CAM will not delete the file from the CAM server.
Step 6 Disconnect from the CAM server.
|
|