Sponsored Content
Full Discussion: adm: [ID 70291 daemon.error]
Top Forums UNIX for Dummies Questions & Answers adm: [ID 70291 daemon.error] Post 302440673 by xiaochensg on Wednesday 28th of July 2010 01:39:59 AM
Old 07-28-2010
thanks for the replies!!!!

adm is is sys group. I have ran the command before to fix the issue, but after that it'll keep generating the message "/var/adm directory is group writable" or something like that so one way or another i'll see some error. I have other servers with the same configuration but they are not giving me any problem that's why i'm really puzzled by it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

error in /var/adm/messages

I have an error in my /var/adm/messages that states: (*hostname*) inetd : fs/tcp: bind: Address already in use. It repeats it self over and over. I have looked everywhere I can think of on the net but cant find anything. HELP Please:confused: (2 Replies)
Discussion started by: julie
2 Replies

2. Solaris

[urgent help] error log on /var/adm/messages

hi experts, i'm having more error log on /var/adm/messages could anyone help to description what is this error logs means???? and how to fix it? below is the logs : Nov 22 20:03:40 USSDGtbs-1 unix: Nov 22 20:03:40 USSDGtbs-1 ^Mpanic/thread=3001345edc0: Nov 22 20:03:40 USSDGtbs-1 unix: ... (2 Replies)
Discussion started by: bucci
2 Replies

3. Solaris

/var/adm/messages error

I am frequently getting following errors in /var/adm/messages. I am using solaris 8 Nov 7 16:03:03 Server Name SRS Proxy: unhandled exception: compareTimestamps format() Nov 7 16:06:57 servername sendmail: lA2MadB5007315: to=postmaster, delay=4+22:30:07, xdelay=00:00:00, mailer=relay,... (2 Replies)
Discussion started by: sunsri01
2 Replies

4. Solaris

Error messages in /var/adm

Hi, I get this messages in my /var/adm/messages can you please tell me the reason for recieving this kind of messages and how to debug? Admin 2418029 Error: Host port combo with host . Unable to resolve name Tools 2206121 Error: ERROR.. gethostbyname() failed for errno Admin... (3 Replies)
Discussion started by: lbreddy
3 Replies

5. Solaris

Help understanding [daemon.warning] messages in /var/adm/messages

Hi I've been using solaris for a few days now. During the install process i had some problems configuring my nic as i needed to install a third-party driver, which i got from a a linked site from the Sun Device Detector tool a ran prior to installing. I got it working eventually, but i'm... (1 Reply)
Discussion started by: jpg.2009
1 Replies

6. UNIX for Advanced & Expert Users

separate "named daemon" message from /var/adm/messages

Hello group, How can I separate "named daemon" messages to the other file instead of /var/adm/messages. I still want all other daemons log the messages to /var/adm/messages. i.e. named => /var/adm/named.message other daemons => /var/adm/messages. I searched unix.com, and google but I still... (5 Replies)
Discussion started by: dannytrinh
5 Replies

7. Solaris

Error in /var/adm/messages

Hi All, I m new to Solaris environment, Right now I m using Solaris 10. I get continuously following waring message in `messages` file so var partition going to full. plz help me to stop these messages. Feb 8 15:58:47 TSAS px: WARNING: px1: spurious interrupt from ino... (2 Replies)
Discussion started by: vikas898
2 Replies

8. Solaris

Getting continually error message in /var/adm/messages.

Hi Friends, Please help me to resove this issue ASAP. Nov 17 16:25:52 server1 sendmail: pAH8Pnh22099: SYSERR: putoutmsg (NO-HOST): error on output channel sending "553 5.1.3 @123.com.... User address required": File too large Nov 17 16:25:53 server1 sendmail: pAH8Pnh22099:... (1 Reply)
Discussion started by: holds_me
1 Replies

9. Emergency UNIX and Linux Support

Error filling /var/adm/messages

I have Solaris-11 non-global zone running under Solaris-11 global zone. Every few minutes, this message is getting in /var/adm/message of non-global zone Aug 31 08:31:53 zonnjc002dbp01 statd: statd: cannot talk to statd at NAS1, RPC: Timed out(5) NAS1 is already mounted as NFS and working... (2 Replies)
Discussion started by: solaris_1977
2 Replies

10. Solaris

Login error in /var/adm/messages

I had an issue with ssh on one of my servers and noticed the following errors, listed below. Errors in /var/adm/messagessshd lastlog_perform_login: Couln't stat /var/adm/lastlog: permission denied sshd lastlog_openseek: /var/adm/lastlog is not a file or directory! automountd self_check:... (0 Replies)
Discussion started by: bitlord
0 Replies
runacct(8)						      System Manager's Manual							runacct(8)

NAME
runacct - Runs daily accounting SYNOPSIS
/usr/sbin/acct/runacct [mmdd] [State ...] DESCRIPTION
The runacct command is the daily accounting shell procedure. This shell procedure is normally invoked from the cron daemon to process con- nection, fee, disk usage, queuing (printer), and process accounting database files for the current day. The runacct shell procedure pro- duces a /var/adm/acct/nite/dayacct binary daily accounting file and also produces summary files, which the prdaily shell procedure uses to generate ASCII daily file /var/adm/acct/sum/rprtmmdd or to generate files used for billing for the use of various system resources. The /var/adm/acct/nite/dayacct binary daily accounting file is used by the acctmerg command. The acctmerg command adds records from the dayacct file to the /var/adm/acct/sumtacct file. The /var/adm/acct/sumtacct file is a cumulative summary of system resources used during the accounting period. The sumtacct file is used by the monacct command to produce the monthly accounting summary file, /var/adm/acct/fiscal. The runacct command has two parameters that you may enter from the keyboard whenever you must restart the runacct shell procedure. The date parameter, mmdd, is used to specify the day and month for which you want to rerun the accounting shell procedure. The State parameter is used to restart the runacct shell procedure from any of its 13 states. Recovery from a run failure and the runacct shell procedure restart is described under the Restarting Runacct heading on the next page. The runacct command protects active accounting and summary files whenever a run-time error occurs. During execution, the state-to-state progress of the runacct shell process is recorded by writing descriptive messages to the /var/adm/acct/nite/active file. Whenever the runacct shell process detects a run-time error, a mail message is sent to the superuser (root) and to the user named adm when environment variable MAILCOM is set to mail root adm. After writing the mail message the runacct shell procedure aborts. The runacct shell procedure also creates the temporary file named lock in subdirectory /var/adm/acct/nite. This file is used to prevent simultaneous calls to the runacct shell procedure. The runacct shell procedure also uses the lastdate file, in the same subdirectory, to prevent more than one invocation of the runacct command per day. The runacct States The runacct shell procedure is processed in 13 separate restartable states. When the runacct process completes each state, the name of the next state to undergo execution is written to the /var/adm/acct/nite/statefile file. The runacct procedure processes the various states named in the leftmost column below, in the order given. Moves the active accounting files to working files and restarts the active files. Verifies the integrity of the /var/adm/wtmp file and corrects date changes when necessary. Calls the acctcon1 command to write connect session records. Converts connect session records from the /var/adm/wtmp file to total accounting records in total format defined by tacct structure members in the private tacct.h header file. Converts process accounting records from the /var/adm/pacct* file(s) into total accounting records (see CONNECT2 above). Merges the connect and process total accounting records. Converts the output obtained with the chargefee command into total accounting records (see CONNECT2 above) and merges them with other total accounting records. Merges disk accounting records with connect, process, and fee total accounting records. Sorts queue (printer) accounting records, converts them into total accounting records (see CONNECT2 above), and merges them with other total accounting records. Merges the daily total accounting records in the /var/adm/acct/nite/dayacct file with summary total accounting records in the /var/adm/acct/sum/tacct file. Produces command summaries in the file /var/adm/acct/sum/cms. When the shell procedure /var/adm/siteacct exists, and the runacct shell procedure enters this state, the /var/adm/siteacct is called to perform site-dependent account record processing. Deletes all temporary files and exits. Restarting runacct To restart the runacct shell process after it fails, do the following: Check the /var/adm/acct/nite/active file for diagnostic messages. Repair records in any damaged database files, such as /var/adm/pacct or /var/adm/wtmp. Remove the /var/adm/acct/nite/lock and /var/adm/acct/nite/lastdate files. Before restarting the runacct shell procedure, you must specify the mmdd parameter of the runacct com- mand. This parameter specifies the month and day for which the runacct command is to rerun the accounting shell process. The runacct shell procedure determines the entry point for processing by reading the /var/adm/acct/nite/statefile file. To override this default action, specify a state listed above on the runacct command line. It is not a good idea to restart the runacct command in the SETUP state. Instead, perform set-up actions manually and restart accounting in the WTMPFIX state by entering the following command: runacct mmdd WTMPFIX Should the runacct process fail during its PROCESS state, remove the last /var/adm/acct/nite/ptacct*.mmdd file before restarting the runacct shell process because the file does not complete until the next state is entered. EXAMPLES
To start daily accounting procedures for the use of various system resources, add the following command line to a crontabs file so that the runacct shell procedure is automatically called by the cron daemon. 0 4 * * 1-6 /usr/sbin/acct/runacct 2 > /var/adm/acct/nite/accterr This example shows the instructions that the cron daemon reads and then executes. The runacct shell procedure runs at 4:00 a.m. (0 4) every Monday through Saturday (1-6) and redirects errors from the standard error output (2 >) to the /var/adm/acct/nite/accterr file. This com- mand typifies accounting instructions normally passed to the cron daemon from the runacct shell procedure. (See the System Administration.) To start daily accounting procedures for system resources from the command line (start the runacct command), enter: nohup /usr/sbin/acct/runacct 2> /var/adm/acct/nite/accterr& Although it is preferable to have the cron daemon start the runacct procedure auto- matically (see the first example), you may enter the command from the keyboard. The runacct command will run in the background, ignoring all INTERRUPT and QUIT signals (nohup), and write all standard error output (2>) to the /var/adm/acct/nite/accterr file. To restart the system accounting procedures for a specific date, enter a command similar to the following: nohup /usr/sbin/acct/runacct 0601 2>> /var/adm/acct/nite/accterr& In this example, the runacct command is executed on the first day of June (0601). The runacct process reads the /var/adm/acct/nite/statefile file to find the state from which to start. The runacct process runs in the background and ignores all INTER- RUPT and QUIT signals (nohup). The standard error output (2) is appended (>>) to the end of the file named /var/adm/acct/nite/accterr. FILES
Specifies the command path The active login/logout database file. The active process accounting database file. The active disk-usage accounting database file. The active queue (printer) accounting file. The file containing records of fees charged to users. The command and total accounting summary files. The concatenated version of the pacct files. The runacct error message file. Prevents more than one invocation of the runacct shell procedure. Contains the last date the runacct shell procedure was run. Contains the next state to process. A shell procedure containing site-dependent accounting commands. Accounting header file that defines formats for writing accounting files. RELATED INFORMATION
Commands: acct(8), acctcms(8), acctcom(8), acctcon(8), acctmerg(8), acctprc(8), fwtmp(8), wtmpconvert(8). Daemons: cron Functions: acct(2) System Administration delim off runacct(8)
All times are GMT -4. The time now is 04:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy