|
|
When you install Network Registrar, you copy directories and files onto your system. This appendix lists those directories and files.
The Network Registrar nrcmd command uses specific error codes to denote certain error conditions. This appendix lists those error codes.
This appendix also contains a list of Solaris commands that you might find useful when running Network Registrar.
Network Registrar consists of the files and directories shown in Table A-1.
| Directories | Definition |
|---|---|
BIN | Contains server executable files and dynamically loadable libraries (.dll) |
DATA | Contains database files |
LOGS | Contains logs files |
TEMP | Contains temporary files |
README.TXT | Contains release note information |
unregistrar.dll | Used by the uninstall program |
DelsL1.isu | Used by the uninstall program |
Network Registrar consists of the directories listed in Table A-2. The read-only files are located in /opt/nwreg2 and the writable files are located in /var/nwreg2/data.
| Directories | Definition |
|---|---|
bin | (/opt/nwreg2) Contains the program executables |
conf | (/opt/nwreg2) Contains product-specific configuration files, such as aic.conf |
data | (/var/nwreg2/data) Contains database files |
docs | (/opt/nwreg2) Contains documention files of various NR command features |
examples | (/opt/nwreg2) Contains example CNR extension scripts |
extensions | (/opt/nwreg2) Contains a holding area for CNR extension scripts that you write (such as a C program or a tickle program) |
lib | (/opt/nwreg2) Contains the libraries that the executables use |
logs | (/var/nwreg2/data) Contains log files |
misc | (/opt/nwreg2) Contains the Cisco Network Registrar Management Information Bases (MIBs) |
temp | (/var/nwreg2/data) Contains temporary files |
usrbin | (/opt/nwreg2) Contains user commands |
WebUI | (/opt/nwreg2) Contains the Web user interface for the product (such as Java scripts and Perl scripts |
Table A-3 lists the files located in the bin directory.
| File | Definition |
|---|---|
Manages locks for the MCD database | |
Manages the other servers (DNS and DHCP) | |
Checks the consistency of database files | |
Contains the DHCP server executable | |
Contains the DNS server executable | |
Contains the guiobj Tcl script interpreter | |
Rebuilds a specified database | |
Imports and exports text versions of the MCD database | |
Can be used to initiate a snapshot copy of the MCD database for a backup copy | |
The script for guitest that provides a simple directory shell to the MCD database | |
Provides RPC services for the MCD database | |
The template used to create nrcmd | |
The nrcmd command processor | |
Runs the TFTP server |
Table A-4 lists the usrbin files.
| File | Definition |
|---|---|
The script that displays the pids of the current Network Registrar server | |
The customized wrapper that issues nrcmd.tcl | |
Starts the Network Registrar application |
Table A-5 lists the conf file.
| File | Definition |
|---|---|
The standard control script | |
aicstatus.orig | The standard status monitor script |
The standard configuration file | |
The database | |
The text version of the initial database | |
The database schema |
Table A-6 lists the lib files.
| File | Definition |
|---|---|
The AIC library | |
The AIC event library | |
The AIC Remote Procedure Call library | |
The AIC security library | |
The AIC SNMP library | |
The AIC TCL library | |
The framework library | |
The guiobject library | |
Library used by the Network Registrar GUI | |
The LDAP library used by CNR | |
The MCD library | |
The MCD database library | |
The Manage Control Protocol library | |
The DHCP client used for the import leases command | |
lib*42.so and windu_*42 | Wind/U files used by the Network Registrar GUI |
Table A-7 lists the currently defined error codes that you might see when using the Network Registrar nrcmd program.
| Number | Fixed Message Text |
|---|---|
100 | "OK" |
201 | "Some lease requests failed" |
202 | "Invalid RR" |
203 | "Possibly leftover lock" |
301 | "No Server Found" |
302 | "No Server Found" |
303 | "No Server Found" |
304 | "No Policy Found" |
305 | "Too many " |
306 | "Unknown command" |
307 | "Unknown keyword" |
308 | "Unknown parameter" |
309 | "Too many arguments" |
310 | "Too few arguments" |
311 | "No response to lease request" |
312 | "Unexpected response from server" |
313 | "No match" |
314 | "Duplicate object:" |
315 | "Import Failure" |
316 | "Invalid" |
317 | "Open failed" |
401 | "Login Failure" |
402 | "Permission denied" |
403 | "Couldn't lock database" |
501 | "Connection Failure" |
502 | "Server Failure" |
Table A-8 lists some Solaris commands you might find useful.
| Command | Description |
|---|---|
Package remove for uninstalling Network Registrar | |
Package install for installing Network Registrar from the CD-ROM | |
/etc/init.d/aicservagt [start|stop] | AIC Server Agent for starting or stopping Network Registrar and its servers |
/opt/nwreg2/usrbin/aicstatus | Status command for checking the status of the servers that are running. |
/opt/nwreg2/usrbin/ntwkreg | Network Registrar User Interface |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Feb 3 10:54:34 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.