adm: [ID 70291 daemon.error]


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers adm: [ID 70291 daemon.error]
# 1  
Old 07-27-2010
adm: [ID 70291 daemon.error]

Hi all I have been having this error in dmesg for quite some time and I'm not sure what's the errors associate with it. The closest I can get is the error in the fd2log,

mv: cannot rename pacct.0 to SPacct.0.xxxx: Permission denied

I initially solved the problem by setting the folder group writable, but I'll receive the error that the folder is group writable, so in one way or another, I keep receiving different errors.

Pls kindly advise on these!!!!!
# 2  
Old 07-27-2010
Need you give the O/P:

Code:
ls -ld /var/adm
ls -l pacct.0

# 3  
Old 07-28-2010
Thanks for the reply!!!!

ls -ld /var/adm
drwxr-xr-x 9 root sys 2048 Jul 27 11:54 /var/adm/

ls -l pacct.0
-rw-r--r-- 1 adm adm 1685680 Jul 27 02:30 /var/adm/pacct.0

---------- Post updated 07-27-10 at 10:07 PM ---------- Previous update was 07-26-10 at 10:58 PM ----------

would anyone give me any advice on this? Thank you!
# 4  
Old 07-28-2010
On my Solaris system the 'adm' user performs actions on the accounting information. In order to rotate the logs, the 'adm' user needs to have write access to the /var/adm directory.

Code:
 # ls -ald /var/adm
drwxrwxr-x  10 root     sys           54 Jul 28 13:00 /var/adm

Code:
# id -a adm
uid=4(adm) gid=4(adm) groups=3(sys),7(tty),8(lp)

Your /var/adm directory is 755. Is your 'adm' user part of the 'sys' group? If so, the permissions on this directory are wrong and need to be 775

Which OS are you running?
# 5  
Old 07-28-2010
Agree, check the folder /var/adm date, Looks someone update it yesterday on Jul 27 11:54

you can run below command to confirm user adm's group:

Code:
id -a adm

If adm is in group sys, then run the command to fix the issue:

Code:
chmod 775 /var/adm

# 6  
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.
# 7  
Old 07-30-2010
Hi anyone has the similar experience?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question