System information
Troubleshooting CiscoWorks
Book Title
23-466
Table 23-3 CiscoWorks: Sybase Login Fails
The $SYBASE Interfaces File Format
If the $SYBASE interfaces file has been modified, Sybase logins can fail. The $SYBASE interfaces
file should always be found in the $SYBASE directory. This section describes the format for the
interfaces file for different platforms.
Possible Problem Solution
Misconfigured environment
Step 1 Check the environment settings for your CiscoWorks installation
using the printenv command. Make sure the settings shown point to
the directories where you installed CiscoWorks.
Step 2 If any of these variables point at the wrong location, Sybase logins
fail. Set any incorrect variables to the proper value and attempt to use
the CiscoWorks application again.
For more information about the default values, descriptions, or locations of
the CiscoWorks environment variables, see the section “CiscoWorks
Environment Variables” earlier in this chapter.
Dataserver is not running Check whether the dataserver is running. On HP-UX, Solaris, and AIX use
the command ps -ef | grep dataserver. On SunOS, use the command ps
-auxww | grep dataserver. On any of these systems, executing
$NMSROOT/etc/isalive also returns status.
nscpwd file is corrupted
Step 1 Check to see whether the nscpwd file is corrupted. Enter the
command ls -al $NMSROOT/etc/ncspwd and check the output for
the following:
4 (date) (year) (time) ncspwd
Step 2
If the output begins with anything other than 4, run the following
command, answering the prompts as shown:
$NMSROOT/bin/nmsanms
Name: sa
Password: sybasesa
Key: beta
$SYBASE interfaces file has been
modified
Step 1 Check to make sure that the $SYBASE interfaces file is present in the
$SYBASE directory and that $SYBASE and the path to $SYBASE are
defined in the environment variables.
If you are using Solaris and the IP address of the management station
has changed, you must recalculate the decimal-to-hexadecimal IP
address specification. See the section “The $SYBASE Interfaces File
Format” later in this chapter.
Step 2 Make sure the DSQUERY environment variable correctly specifies
the Sybase server name indicated
in the $SYBASE interfaces file (the default is CW_SYBASE). For
more information, see the section “CiscoWorks Environment
Variables” earlier in this chapter.
To find out the proper format for the $SYBASE interfaces file on your
platform, see the section “The $SYBASE Interfaces File Format” later in this
chapter.