|
|
Use these tools and suggestions to diagnose problems with the CiscoWorks2000 Server:
Server tools enable you to gather and analyze information about your CiscoWorks2000 Server (see Table 5-1).
| Task | Purpose | Action |
|---|---|---|
Collect server information. | Provides system information, environment, configuration, logs, and web server information | CiscoWorks2000 Server>Diagnostics> or Enter the following command: |
Perform self test. | Runs self-tests and generates a report with the results | CiscoWorks2000 Server>Diagnostics> |
Check process failures. | Displays the failed process and time failure occurred | CiscoWorks2000 Server>Diagnostics> |
Obtain detailed status of ANI Server. | Displays detailed system configuration and settings for ANI Server | CiscoWorks2000 Server>Diagnostics> |
Check process status. | Checks whether back-end processes are in an interim state | CiscoWorks2000 Server>Administration > |
Query EDS events. | Searches for CiscoWorks2000 or third-party events that pass through EDS and matches a specific criteria | CiscoWorks2000 Server>Diagnostics> |
Verify installed applications and versions. | Lists date and version of currently installed CiscoWorks2000 applications and packages and whether any patches have been applied | CiscoWorks2000 Server>About CiscoWorks2000> |
The connectivity tools enable you to test device connectivity and reachability and troubleshoot nonresponsive devices. Some connectivity tools require system administrative-level privileges (see Table 5-2).
| Task | Purpose | Action |
|---|---|---|
| Administrative Tasks | ||
Check device connectivity. | Verifies that the CiscoWorks2000 server can communicate with the device | CiscoWorks2000 Server>Diagnostics> Connectivity Tools>Management Station to Device |
| All Users | ||
Look up host or device. | Provides device or host information via the name server | CiscoWorks2000 Server>Diagnostics> Connectivity Tools>NSLookup |
Check device traceroute. | Detects routing errors between the network management station and a target device | CiscoWorks2000 Server>Diagnostics> Connectivity Tools>Traceroute |
Ping a device. | Tests device reachability using an ICMP echo message and its reply | CiscoWorks2000 Server>Diagnostics> Connectivity Tools>Ping |
EDS is part of the CD One deliverable but is not enabled without Campus Manager or Resource Manager Essentials. If you are going to install either of these application suites, EDS will be automatically enabled after installation.
The CiscoWorks2000 Server represents a common set of management services which are shared by multiple network management applications. These services are enabled when a suite is installed and an application that relies on a particular service enables it.
If a particular suite of applications does not use a particular services, they might not appear on the CiscoWorks2000 Server desktop. Applications and application suites may not use these features at all or to the fullest extent to which they are available. Refer to the user guide for your application suite to determine the extent to which these features are used.
If you cannot start your CiscoWorks2000 application and receive error messages complaining that the WebServer or ANIServer might not be running (even though pdshow indicates that those processes are up and running), you might need to check how your machine is resolving its server name and IP address.
The CiscoWorks2000 CORBA applications require name resolution to work properly. Choose Domain Name Service (DNS) or any other form of name resolution supported by both your client and server.
Configure the name resolution mechanism and restart the CiscoWorks2000 Server to access the application correctly.
CiscoWorks2000 uses a standard database structure for backing up all suites and applications. See Table 5-3 for sample directory structure for the CiscoWorks2000 Server (represented by the cmf acronym). The cmf directory has two databases: cmf and ani.
| Directory path | Description | Usage Notes |
/tmp/1 | Number of backups | 1, 2, 3... |
/tmp/2/cmf | Application or suite | Backs up CiscoWorks2000 Server applications. |
/tmp/1/cmf/filebackup.tar | CiscoWorks2000 server application tar files | Application data is stored in the datafiles.txt which are compiled into the tar file. |
/tmp/1/cmf/database | CiscoWorks2000 Server database directory | Includes files for each database: xxx_DbVersion.txt xxx.db database files xxx.log database log files xxx.txt database backup manifest file |
The cmf acronym in the database structure represents the Common Management Foundation (CMF). This phrase describes the set of management services provided by the CiscoWorks2000 Server.
There are several reasons why you might have been locked out. Most likely it is due to changes made using the Select Login Module option (see "Understanding Fall Back Options"in the "Setting Up the CiscoWorks2000 Server" chapter). You will need to replace the incorrect login module with a default configuration, log into CiscoWorks2000, and return to the login module to correct one or more of the following:
![]() |
Note Do not alter the existing technologies in the default configuration file. |
If all of the parameters listed above are correct, see the "Troubleshooting Suggestions" section.
Check the status of the ANI Server to determine if it is up-and-running properly:
Step 2 Use the information in Table 5-4 to verify the current status of the ANI Server.
| State | Explanation | Solution |
|---|---|---|
Administrator has shut down the server. | Administrator intentionally shut down the ANI Server. | Start the ANI Server to get it up-and-running again. |
Administrator has shut down the server. | ANI Server has failed to come back up. | Might occur after stopping and restarting the ANI Server. |
Failed to Run. | ANI Server could not start up initially. | Check the log for details:
|
Program started---No mgt msgs received. | ANI Server is in the process of starting up. | Wait a few minutes, and check the status again. |
Running but busy flag set. | Normal state. ANI Server is up-and-running normally. | None. Everything is normal. |
Can also appear when the ANI Server is hung or not responding. | If discovery does not appear to be completing, check the log for details:
| |
The ANI Server cannot load the database. Run reinitdb.pl to reinitialize the database. | The ANI database is corrupted, and the ANI Server cannot run with a corrupted database. | Reinitialize the database: From the command prompt or shell window, where $NMSROOT is the root directory where you installed CiscoWorks2000, run:
|
The CiscoWorks2000 Server includes several tools to verify varying functional states of the ANI Server. To progressively determine the cause of any problems:
Step 2 Select Ciscoworks2000 Server>About CiscoWorks2000>About ANI Server>Devices Support.
Step 3 Select Ciscoworks2000 Server>Diagnostics>Analyze ANI Server.
Use the suggestions in Table 5-5 to resolve errors or other problems with the CiscoWorks2000 Server.
| Symptom | Probable Cause | Possible Solutions |
|---|---|---|
| Desktop | ||
"Authorization required. Please log in with your username and password." | Incompatible browser causing cookie failure (unable to retrieve cookie). | Refer to the installation documentation for supported Internet Explorer/Navigator software. |
Database: ODBC error with Essentials. (Windows NT only.) | ODBC resource.dll and ODBC driver manager are different versions. | Install ODBC from Windows NT CD (selecting SQL server). |
Display: applet cannot start: class browserServer not found. (Solaris only). | The server name is not in the httpd.conf file. | Add the server name in the httpd.conf file in the $NMSROOT\lib\web\conf directory. |
Display: only right side of desktop displayed. | Incompatible browser software. | Refer to the installation documentation for supported Internet Explorer/Navigator software. |
Desktop is not registered in DNS. | Register desktop in DNS. | |
| Setup | ||
"Authorization required. Please log in with your username and password." | Incompatible browser causing cookie failure (unable to retrieve cookie). | Verify that you have Accept all cookies enabled. Refer to the installation documentation for supported Internet Explorer and Netscape Navigator software and setup procedures. |
"Daemon Manager could not start. The port is in use." | The operating system has not yet reallocated the port. | Make sure all CiscoWorks2000 processes are terminated (/usr/ucb/ps -auxww | grep CSCO). Wait five to ten minutes, then try to restart the Daemon Manager. |
User has forgotten his password. | CiscoWorks2000 cannot recover forgotten passwords. | A system administrator-level user must either change the password or delete and then add the user again. |
"The ANI Server cannot load the database. Run reinitdb.pl to reinitialize the database." | The ANI database is corrupted, and the ANI Server cannot run with a corrupted database. | Reinitialize the database: From the command prompt or shell window, where $NMSROOT is the root directory where you installed CiscoWorks2000, run:
|
Cannot access the ANI supported devices. | ANI may have restarted since you last connected.
| Log out of CiscoWorks2000 and log in again: 1. Click Logout. 2. Enter your user name and password. 3. Click Connect and attempt to use the Campus Manager application again. |
Unable to analyze the ANI Server because a message states that you are not authorized. | ||
When using a Campus Manager application, a error occurs: "Cannot connect to ANI Server." | ||
An error message states that Client Application Manager cannot be registered or unregistered. | The web server may be down, preventing Client Application Manager from communicating with the client system. | Verify that the CiscoWorks2000 web server is up and running by selecting CiscoWorks2000 Server>Administration>Process Management>Process Status. |
| Administration | ||
You are locked out of the CiscoWorks2000 Server. | Changes in the login module configuration file might not be correct. Authentication server might be down and there were no fallback logins set. | On UNIX: 1. Log on or su as bin or root. 2. Remove the changed login module override, /opt/CSCOpx/www/classpath/ 3. Restart JRunProxyServer:
4. Reload the browser. |
|
| On Windows NT:
1. Remove the changed login module override, C:\Program Files\CSCOpx\www\classpath\ 2. Restart JRunProxyServer by either of the following methods:
3. Reload the browser. |
The Log File Status window displays files that exceed their limit. | Files need to be backed up so that file size will be reset to zero. | 1. Stop all processes. 2. Enter the log file maintenance command: a. On UNIX---$NMSROOT/cgi-bin/admin/
b. On Windows NT--- %NMSROOT%\ 3. Restart all processes. For detailed instructions refer to the Maintaining Log Files online help (select CiscoWorks2000 Server > Administration > Log File Status, then click Help). |
Database: inaccessible. This can occur if processes are not running. | Server is unable to connect to the database, which is corrupt or inaccessible. | 1. Log in to CiscoWorks2000 as admin. 2. Select CiscoWorks2000 Server> Diagnostics >Process Failures to get a list of CiscoWorks2000 back-end processes that have failed. 3. Select CiscoWorks2000 Server> Diagnostics > Self Test.
4. Select CiscoWorks2000 Server> Diagnostics > Collect Server Info. 5. Click the Product Database Status link to get detailed database status. 6. Contact the Cisco TAC or your customer support to get the information you need to access the database and find out details about the problem. After you have the required information, perform the following tasks for detecting and fixing database errors. |
|
| Depending upon the degree of corruption, the database engine may or may not start. For certain corruptions, such as bad indexes, the database can function normally until the corrupt index is accessed. Database corruptions, such as index corruptions, can be detected by the dbvalid utility, which requires the database engine to be running. To detect database corruption:
1. Log on as root (UNIX) or with administrator privileges (Windows NT). 2. Stop the Daemon manager if it is already running:
3. Make sure no database (dbeng50) processes are running and there is no database log file. For example, if the database file is /opt/CSCOpx/databases/rme/rme.db, the database log file is /opt/CSCOpx/databases/rme/rme.log. This file is not present if the database process shuts down cleanly. |
|
| 4. (UNIX only) Check if the database files(s) and the transaction log file (*.log) are owned by user bin. If not, change the ownership of these files to user bin and group bin. 5. (UNIX only) Set environment variables (K-Shell syntax):
|
|
|
6. Start the database engine:
16384K of memory used for caching Transaction log: xxx.log Starting checkpoint Finished checkpoint Database: xxx.db started Press 'q' to quit |
|
|
7. (UNIX only) If there was no error in step 5, Restart the engine as a daemon:
|
|
|
8. Run dbvalid to detect any other errors such as corrupt indexes:
|
|
|
Validating DBA.xxxx run time SQL error -- Foreign key parent_is has invalid or duplicate index entries 1 error reported
|
|
| To fix database errors: Fatal errors may be due to a corrupt database or a corrupt or missing database transaction log file. If the transaction log is missing or corrupt, the database can be recovered at the cost of a few missing transactions. This can be done by forcibly starting the database without a transaction log; for example: $SQLANY/bin/dbeng50 -f -n rmeTst /opt/CSCOpx/databases/rme/rme.db |
|
| This starts the database engine in recovery mode, recovers the database, and immediately terminates the engine. Messages similar to the following appear during the recovery process: 2648K of memory used for caching Database recovery in progress Starting checkpoint Finished checkpoint Recovery complete Recovered to last checkpoint |
|
| If the corruption is due to bad indexes, the indexes must be dropped and then recreated:
1. Start the engine as in step 6 for Windows NT or step 7 for UNIX. 2. Run the isql utility to fix the bad indexes:
|
|
|
3. Run the following isql commands to delete and add the indexes. This could take a while to run depending upon the number of rows in the table.
|
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Apr 5 14:44:30 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.