IBM Books

Messages Reference


0020 - Accounting messages


0020-001Cannot open file file name.

Explanation: File may not exist or the permissions may not be correct.

User Response: Verify the file exists and has the permissions -rw-rw-r--.

0020-002Cannot write to file name.

Explanation: An error was encountered while attempting to write to the file. There may not have been free space remaining on the device containing the file.

User Response: Verify that there is space left on the device by issuing the df command

0020-003Cannot read file name.

Explanation: An error was encountered while attempting to read the file.

User Response: Verify the file exists and has permissions set to -rw-rw-r--.

0020-004The /var/adm/acct/nite/jobrecs file contains records that are not start or end job records.

Explanation: The /var/adm/acct/nite/jobrecs file was discovered to contain an accounting record with a command name that was not SJSJSJSJ or EJEJEJEJ.

User Response: Verify the contents of the /var/adm/acct/nite/jobrecs file.

0020-005Cannot Truncate file name.

Explanation: Could not open the file for writing.

User Response: Verify the file has permissions set to -rw-rw-r--

0020-0062 CRONS or Accounting Problems.

Explanation: More than one instance of the program attempted to execute at the same time.

User Response: Verify that the program appears in only one crontab file, if the program is executed out of cron.

0020-007ERROR: locks found, run terminated.

Explanation: The lock file, which ensures that only one instance of the program runs at a time, was found to already exist.

User Response: Verify that multiple instances of the program were not being executed at once (via cron, for instance) and then issue:

rm -f /var/adm/acct/nite/lock* if the problem was with runacct
rm -f /var/adm/cacct/lock* if the problem was with crunacct.

0020-008Insufficient space on filesystem (number of blks); Terminating procedure.

Explanation: The device holding the file system in which accounting was to be run was found to contain insufficient space for accounting to complete.

User Response: Make room on the device and then rerun accounting. If you are attempting to rerun accounting in the same day, you must edit the lastdate file to contain the previous day's date in the form YYYYMMDD.

0020-009ERROR: acctg already run for date: check file name.

Explanation: The lastdate file indicates accounting was already run on the specified date.

User Response: Verify that accounting has not yet completed for the date indicated.

Examine the contents of /var/adm/cacct/statefile (for crunacct) or /var/adm/acct/nite/statefile (for nrunacct). Should the statefile contain something other than COMPLETE, examine the active file for the date. Correct any errors, edit the lastdate file to contain the previous day's date in the form YYYYMMDD, and rerun the program at the appropriate step.

0020-010ERROR: called with arguments that are not valid.

Explanation: The wrong number of arguments was passed to the specified command.

User Response: Rerun the command with the correct number of arguments.

0020-011ERROR: turnacct switch returned return code.

Explanation: An error was encountered when attempting to switch pacct files.

User Response: Examine the /var/adm/acct/nite/accterr file for messages issued by the turnacct command.

0020-012ERROR: file name already exists. File setups probably already run.

Explanation: When the SETUP step of nrunacct attempted to rename the pacct files, it was discovered that the renaming had already been done.

User Response: Verify that all portions of the SETUP step have completed, and restart nrunacct at the WTMPFIX step.

0020-013file name already exists: run setup manually.

Explanation: In the SETUP step of nrunacct it was discovered that a wtmp.YYYYMMDD file already existed for the date being processed.

User Response: Ensure that all portions of SETUP have been executed manually for the date being processed and rerun nrunacct at the WTMPFIX step.

0020-014ERROR: wtmpfix errors. See file name.

Explanation: An error was encountered running the wtmpfix command against the wtmp file, to make corrections to the accounting records.

User Response: Examine the /var/adm/acct/nite/wtmperrorYYYYMMDD file and correct the specified wtmp file problems.

0020-015WARNING: Accounting already run for file name. Remove file name/string to rerun.

Explanation: The PROCESS accounting step was already run for this date.

User Response: Remove the specified files to rerun the PROCESS step for this date.

0020-016An error occurred while executing the acctmerg program. pacct files will be restored in order to prevent the loss of accounting data and all intermediate lock files will be removed.

Explanation: An error was encountered in the acctmerg program, when the pacct files were being merged in the MERGE step of nrunacct.

User Response: Examine the /var/adm/acct/nite/accterr file for error messages generated by acctmerg.

0020-017ERROR: state is not valid, check state

Explanation: An attempt was made to begin nrunacct processing at an unrecognized state. The valid states are: SETUP, WTMPFIX, CONNECT1, CONNECT2, PROCESS, MERGE, FEES, DISK, QUEUEACCT, CMS, USEREXIT and CLEANUP.

User Response: Rerun nrunacct and specify a valid state.

0020-018A valid seconds per charge fee unit was not found in /var/adm/acct/nite/jobcharge.

Explanation: The jobcharge value for exclusive use of the node (as placed in the /var/adm/acct/nite/jobcharge file from the acct_job_charge attribute of the SDR Node Object for this node) was not found or was not a floating point number.

User Response: Verify that the /var/adm/acct/nite/jobcharge file exists and contains a floating point number. Verify that the file contains the value of the acct_job_charge attribute of the Node Object for this node.

Update the value of the acct_job_charge attribute, if it contains an invalid value.

0020-019The previous run of crunacct was not successful. See file name and the file name file for the previous run for more information.

Explanation: The /var/adm/cacct/statefile indicates the previous run of crunacct failed.

User Response: Examine the /var/adm/cacct/active file for the previous run to determine why it failed. Rerun crunacct with the -r option after correcting the problem.

0020-020crunacct [ -r [state]].

Explanation: The crunacct command was invoked incorrectly.

User Response: Examine the usage message and invoke crunacct again.

0020-021crunacct can only be run on the accounting master node.

Explanation: An attempt was made to execute the crunacct command on a node other than the accounting master (as defined by the acct_master attribute of the SP System Data Repository object).

User Response: Rerun the crunacct command on the accounting master.

0020-022Attempt to begin processing at an incorrect state.

Explanation: An attempt was made to begin crunacct processing at an unrecognized state. The valid states are SETUP, DELNODEDATA, MERGETACCT, CMS, USEREXIT and CLEANUP.

User Response: Rerun crunacct and specify a valid state.

0020-0230020-023 Usage: cprdaily [-l] [yyyymmdd] [-c].

Explanation: The cprdaily command was invoked incorrectly.

User Response: Examine the usage message and invoke cprdaily again.

0020-024Cannot print command exception reports except for date.

Explanation: An attempt was made to print a command exception report for a day other than the current date.

User Response: Issue cprdaily -c to produce a command exception report for the current date.

0020-025Could not communicate with node number.

Explanation: The crunacct command could not communicate with the specified node to access its accounting data.

User Response: The account master could not connect to the node because the node was not available during the processing of the crunacct command. Make sure the node is available for the next processing of the crunacct command.

0020-026There is not a statefile for node node number for this cycle.

Explanation: A /var/adm/acct/nite/statefile was not found on the specified node for the accounting cycle being processed.

User Response: Verify that nrunacct was executed for the cycle on the specified node Verify that accounting is enabled for that node, and that the cycle is a date for which you expect accounting to have been run.

0020-027The statefile for node number for this cycle does not say COMPLETE.

Explanation: A /var/adm/acct/nite/statefile was found on the specified node for the accounting cycle being processed. It indicates that the nrunacct script has not successfully completed processing.

User Response: Examine the /var/adm/acct/nite/statefile and /var/adm/acct/nite/active file on the specified node, for the accounting cycle being processed. Correct any errors and rerun the nrunacct script on the node.

0020-028The statefile for node number for date does not say COMPLETE

Explanation: A /var/adm/acct/nite/statefile was found on the specified node for the specified date. It indicates that the nrunacct script has not successfully completed processing.

User Response: Examine the /var/adm/acct/nite/statefile and /var/adm/acct/nite/active file on the specified node, for the specified date. Correct any errors and rerun the nrunacct script on the node.

0020-029Node threshold is set to number percent. Terminating processing for this cycle.

Explanation: The percent of nodes for which accounting data was available was less than the active node threshold (as specified by the spacct_actnode_thresh attribute of the SDR SP object).

User Response: Review the /var/adm/cacct/active file for the day being processed for information on why data was not available from nodes. Correct any problems. If desired, lower the active node threshold.

0020-030The System Data Repository cannot be accessed.

Explanation: An error was encountered, when attempting to access the System Data Repository.

User Response: Verify that the SDR is accessible and rerun the program.

0020-031The /var/adm/cacct/fiscal_periods file has incorrect entries. Should contain a series of lines consisting of only fiscal period begin dates in the form MMDD.

Explanation: The /var/adm/cacct/fiscal_periods file was found to contain entries that were not of the form MMDD.

User Response: Verify that all lines in the /var/adm/cacct/fiscal_periods file are of the form MMDD, where MMDD is the month and day of the start of a fiscal period.

0020-032An error occurred while executing the cp program at state SETUP. Probably insufficient space is detected.

Explanation: While the nightly accounting script, crunacct, was in the setup phase, it attempted to issue the AIX cp command. This command was not successful.

User Response: Issue the df command to determine if any file systems are full, which was most likely the cause of the cp command not succeeding. Restart crunacct from the beginning (because SETUP, which is the first state, didn't even complete) by issuing crunacct.

0020-033An error occurred while executing the cp program at state MERGETACCT.

Explanation: While the nightly accounting script, crunacct, was in the MERGETACCT phase, it attempted to issue the AIX cp command. This command did not succeed.

User Response: Issue the df command to determine if any file systems are full, which was most likely the cause of the cp command not succeeding. Restart crunacct from the MERGETACCT state by issuing crunacct -r MERGETACCT.

0020-034An error occurred while executing the acctmerg program at state MERGETACCT. Probably Insufficient space is detected.

Explanation: While the nightly accounting script, crunacct, was in the MERGETACCT phase, it attempted to execute the AIX acctmerg program. This program did not succeed.

User Response: Issue the df command to determine if any file systems are full, which was most likely the cause of the error. Restart crunacct from the MERGETACCT state by issuingcrunacct -r MERGETACCT.

0020-035An error occurred while executing the cp program at state CMS. Probably insufficient space is detected.

Explanation: While the nightly accounting script, crunacct, was in the CMS phase, it attempted to execute the AIX cpcommand. This command did not succeed.

User Response: Issue the df command to determine if any file systems are full, which was most likely the cause of the error. Restart crunacct from the CMS state by issuing crunacct -r CMS.

0020-036An error occurred while executing the acct program at state CMS. Probably insufficient space is detected.

Explanation: While the nightly accounting script, crunacct, was in the CMS phase, it attempted to execute the AIX acct program. This program did not succeed.

User Response: Issue the df command to determine if any file systems are full, which was most likely the cause of the error. Restart crunacct from the CMS state by issuing crunacct -r CMS.

0020-037An error occurred while executing the acctcms program at state CMS. Probably insufficient space is detected.

Explanation: While the nightly accounting script, crunacct, was in the CMS phase, it attempted to execute the AIX acctcms program. This program did not succeed.

User Response: Issue the df command to determine if any file systems are full, which was most likely the cause of the error. Restart crunacct from the CMS state by issuing crunacct -r CMS.

0020-038An error occurred while executing the sed program at state CMS. Probably insufficient space is detected.

Explanation: While the nightly accounting script, crunacct, was in the CMS phase, it attempted to execute the AIX "sed" program. This program failed.

User Response: Issue the df command to determine if any files ystems are full, which was most likely the cause of the error. Restart crunacct from the CMS state by issuing crunacct -r CMS.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]