What directories and files are not located under the installation directory
Question
What directories and files are not located under the installation directory?
Answer
tpcinstaller.sh
date
and version: 2007/07/05, revision 17.The following list describes various directories and files that are associated with Network
Capture that do not reside with the installation directory, which defaults to
/usr/local/dncauser
. Some paths are directly used by the
software. Some are user configurable, and some are touch through the course of
normal administration and usage of the software.
/archive [optional]
The optional directory is documented in the procedure for performing a minimal installation of Red Hat Enterprise Linux™. It exists in case packet archiving must be enabled to diagnose various capture issues. It is not required for normal operation and is not used by default.
/etc/cron.d/Discover
The Discover-DNCA package installs the crontab for use by the package.
/etc/init.d/Discover-DNCA.sh
/etc/init.d/Discover-startup.sh
The Discover-DNCA package installs the Discover-DNCA.sh
and Discover-startup.sh
scripts
to control the startup and shutdown of the software.
/etc/opt/Discover
Network Capture uses the directory for various configuration and installation settings. For
example, the Discover-DNCA package uses this directory to record
the installation directory in file /etc/opt/Discover/config/installprefix
and to record the location of the Discover symbolic link in file /etc/opt/Discover/config/discovercmd
. The tpcinstaller.sh
script uses
this directory for its configuration files, including SSL keys that must be
automatically imported.
/etc/syslog.conf
Network Capture uses the syslog facility to log messages, which are configured in the file.
/etc/group
, /etc/passwd
,
and other user-account related files.
The Discover-DNCA package creates a user and a group account for running the software if they do not exist. These operations modify various system files that are updated when user accounts are created or updated.
/tmp/Discover-DNCA-11-prein.log
/tmp/Discover-DNCA-12-postin.log
/tmp/Discover-DNCA-21-preun.log
/tmp/Discover-DNCA-22-postun.log
The Discover-DNCA package creates the log files to record various installation-related activities.
/tmp/Discover-DNCA.log
The Discover-DNCA package uses the log file to record various installation-related activities.
/tmp/tpcinstaller.log
The tpcinstaller.sh
script
uses the log file to record its activities.
/usr/local/bin/Discover
The above file is a symbolic link to the Discover command in the bin
subdirectory of the installation directory. For example:
/usr/local/dncauser/bin/Discover
.
Environment variables DISCOVERCMDDIR
and
DISCOVERCMDENABLE
manage location and creation of this symbolic
link.
/var/log/messages
Network Capture uses the syslog facility to log messages, which can affect the log file,
configured in /etc/syslog.conf
.
/var/log/Discover
Network Capture uses the directory for its log files.