Chapter 3 Configuring the Server
Maintaining Log Files
3-78
User Guide for CiscoWorks Common Services
78-16571-01
Maintaining Log Files
Log files can grow and fill up disk space. CiscoWorks includes a script that
enables you to control this growth.
Files maintained by this script include the following log files:
•
Daemon manager
•
Web server log files
Most log files are located in directories in the PX_LOGDIR directory.
On UNIX systems, this directory is /var/adm/CSCOpx/log and on Windows, it
is NMSROOT\log.
Caution
As part of the file back-up procedure, CiscoWorks Daemon Manager is shut down
and restarted. To prevent loss of data, make sure you are not running any
critical tasks.
The following section provides information on maintaining log files n Unix, and
Windows:
•
Maintaining Log Files on UNIX
•
Maintaining Log Files on Windows
Maintaining Log Files on UNIX
To maintain log files on UNIX:
Step 1
Make sure the new location has sufficient disk space.
Step 2
Log in as the superuser, and enter the root password.
Step 3
Stop all processes, and enter
/etc/init.d/dmgtd stop