Security, Performance, and Accounting Administration
この本のみを検索
PDF 文書ファイルをダウンロードする

Error Messages

C

This appendix documents the error messages generated by the accounting and ASET tools. The error messages are shown in Courier font and are listed in alphabetical order. For each message, the following is given:
Meaning: This section clarifies and expands the message.
Action: This section explains how to resolve or fix the problem that is causing the message to be issued.

Accounting Error Messages

ERROR: locks found, run aborted

Meaning: The files lock and lock1 were found. Either two processes are
trying to run runacct simultaneously or the last runacct aborted abnormally
without cleaning up the locks. Check the fd2log for messages.

Action: Remove the files and restart runacct.

ERROR: acctg already run for today's date: check
/var/adm/acct/nite/lastdate

Meaning: The date in lastdate and today's date are the same.
Action: Remove lastdate.
ERROR: turnacct switch returned rc=n

Meaning: The accton program must be owned by root and have the setuid
bit set.

Action: Check the integrity of turnacct and accton. Make sure the accton
program is owned by root and the setuid bit is set.

ERROR: Spacctn.MMDD already exists: file setups probably
already run

Meaning: The Spacctn.MMDD file exists.

Action: Check status of files, then run setups manually, if necessary.

ERROR: /var/adm/acct/nite/wtmp.MMDD already exists: run
setup manually

Meaning:/var/adm/wtmp has already been copied to
/var/adm/acct/nite/wtmp.MMDD.

Action: Run the set up manually.

ERROR: wtmpfix errors see /var/adm/acct/nite/wtmperror.MMDD

Meaning: wtmpfix detected a corrupted wtmp file.

Action: Use fwtmp to correct the corrupted file.

ERROR: Invalid state, check /var/adm/acct/nite/statefile

Meaning: The file, statefile, is probably corrupted.
Action: Check statefile and read active before restarting.
ERROR: runacct called with invalid arguments

Meaning: You have typed the command incorrectly.
Action: Check your parameters and try again.

ASET Error Messages

This section lists and describes the error messages produced by ASET.
ASET failed.
Usage:      aset    [-n user[@host]]
                    [-d aset_dir]
                    [-l sec_level]
                    [-u user_file]
                    [-p]

Meaning: A command line syntax error was made when you invoked ASET.

Action: Re-enter the command following the correct syntax. Refer to the
aset(1M) manual page for a detailed explanation of the command line syntax.

ASET failed: no mail program found.

Meaning: ASET is directed to send the execution log to a user, but no mail
program can be found.

Action: Install a mail program.

Usage: aset [-n user[@host]] in /bin/mail or
/usr/ucb/mail.

Cannot decide current and previous security levels.

Meaning: ASET cannot determine what the security levels are for the current and previous invocations.
Action: Ensure the current security level is set either through the command line option or the ASETSECLEVEL environment variable. Also, ensure that the last line of ASETDIR/archives/asetseclevel.arch correctly reflects the previous security level. If these values are not set or are incorrect, specify them correctly.
ASET working directory undefined.
To specify, set ASETDIR environment variable or
use command line option -d.
ASET startup unsuccessful.

Meaning: The ASET working (operating) directory is not defined, or defined incorrectly.
Action: Use the ASETDIR environment variable or the -d command line option to specify it correctly, and restart ASET.
ASET working directory $ASETDIR missing.
ASET startup unsuccessful.

Meaning: The ASET working (operating) directory is not defined, or it is defined incorrectly. This may be because the ASETDIR variable or the -d command line option refers to a nonexistent directory.
Action: Ensure that the correct directory-- that is, the directory containing the ASET directory hierarchy--is referred to correctly.
Cannot expand $ASETDIR to full pathname.

Meaning: ASET cannot expand the directory name given by the ASETDIR
variable or the -d command line option to a full path name.

Action: Ensure that the directory name is given correctly, and that it refers to
an existing directory to which the user has access.

aset: invalid/undefined security level.
To specify, set ASETSECLEVEL environment variable or
use command line option -l, with argument= low/med/high.

Meaning: The security level is not defined or it is defined incorrectly. Only the values low, med, or high are acceptable.
Action: Use the ASETSECLEVEL variable or the -l command line option to specify one of the three values.
ASET environment file asetenv not found in $ASETDIR.
ASET startup unsuccessful.

Meaning: ASET cannot locate an asetenv file in its working directory.

Action: Ensure there is an asetenv file in ASET's working directory. See the
asetenv(4) manual page for the details about this file.

filename doesn't exist or is not readable.

Meaning: The file referred to by filename doesn't exist or is not readable. This can specifically occur when using the -u option where you can specify a file that contains a list of users whom you want to check.
Action: Ensure the argument to the -u option exists and is readable.
ASET task list TASKLIST undefined.

Meaning: The ASET task list, which should be defined in the asetenv file, is not defined. This can mean that your asetenv file is bad.
Action: Examine your asetenv file. Ensure the task list is defined in the User Configurable section. Also check other parts of the file to ensure the file is intact. See the asetenv(4) manual page for the content of a good asetenv file.
ASET task list $TASKLIST missing.
ASET startup unsuccessful.

Meaning: The ASET task list, which should be defined in the asetenv file, is not defined. This can mean that your asetenv file is bad.
Action: Examine your asetenv file. Ensure the task list is defined in the User Configurable section. Also check other parts of the file to ensure the file is intact. See the asetenv(4) manual page for the content of a good asetenv file.
Schedule undefined for periodic invocation.
No tasks executed or scheduled. Check asetenv file.

Meaning: ASET scheduling is requested using the -p option, but the variable
PERIODIC_SCHEDULE is undefined in the asetenv file.

Action: Check the User Configurable section of the asetenv file to ensure
the variable is defined and is in proper format.

Warning! Duplicate ASET execution scheduled.
Check crontab file.

Meaning: ASET is scheduled more than once. In other words, scheduling is requested while a schedule is already in effect. This is not necessarily an error if more than one schedule is indeed desired, just a warning that normally this is unnecessary since you should use the crontab(1) scheduling format if you want more than one schedule.
Action: Verify, through the crontab(1) command interface, that the correct schedule is in effect. Ensure that no unnecessary crontab entries for ASET are in place.