/var/adm/meesages file empty


 
Thread Tools Search this Thread
Operating Systems Solaris /var/adm/meesages file empty
# 1  
Old 09-23-2009
/var/adm/meesages file empty

Do not know the reason y messages file is empty already restarted the syslog daemon but still its showing empty .

Code:
xxxxxxx# more /var/adm/messages
xxxxxx#

# ps -efo zone,pid,ppid,time,comm | grep syslog | grep global
  global 11861     1       00:10 /usr/sbin/syslogd


 svcs /system/system-log
STATE          STIME    FMRI
online         Sep_10   svc:/system/system-log:default

# 2  
Old 09-23-2009
maybe nothing has needed to log since the log was rolled.

try this...
Code:
# logger -p local0.alert "test,test,test!"

then have a look in your messages file.


Quote:
Originally Posted by fugitive
Do not know the reason y messages file is empty already restarted the syslog daemon but still its showing empty .

Code:
xxxxxxx# more /var/adm/messages
xxxxxx#

# ps -efo zone,pid,ppid,time,comm | grep syslog | grep global
  global 11861     1       00:10 /usr/sbin/syslogd


 svcs /system/system-log
STATE          STIME    FMRI
online         Sep_10   svc:/system/system-log:default

# 3  
Old 09-24-2009
# tail /var/adm/messages
Sep 24 02:25:00 xxxxx-dinfsi18 root: [ID 702911 local0.alert] test,test,test


yes it does show but i do not believe that there is nothing in the system to log .. as when i try to login with wrong root passwd it does not log that failed attempt too .
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Not logging ftp connections in /var/adm/wtmpx file (in last command output)

Hi all, I have F5 load balancer on my system and checking service status by opening an ftp session in every 30 seconds. These ftp sessions are being logged in /var/adm/wtmpx and filling up the file. when i run the last command most of the output is this ftp session. I was wondering if there is a... (1 Reply)
Discussion started by: cepxat
1 Replies

2. Solaris

/var/adm/messages empty

Hi all, One of the server is showing empty messages # logger -p user.error HELLO_SYSLOGD # dmesg Mon Apr 23 15:11:19 MYT 2012 /etc/syslog.conf file, i tried copy the conf file from another server, still it is not working *.err;kern.notice;auth.notice /dev/sysmsg... (8 Replies)
Discussion started by: beginningDBA
8 Replies

3. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

4. Solaris

/var/adm & /var/sadm

what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os please can any one respond quickly thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies

5. AIX

/var/adm/messages file is missing

Hi, The server is p570 with AIX@5300-10... The messages file is missing...how do I get it back and start logging the messages?? Can I just create the file again? (2 Replies)
Discussion started by: gkr747
2 Replies

6. Solaris

/var/adm/messages file rotation

I have a solaris 10 machine, lately I had a drive error issue so the dmesg command would show a screen full, now that the drive issue is resolved I want to have a fresh start for my #dmesg command output. The root cron looks like this The /etc/logadm.conf file has this entry If I manually... (2 Replies)
Discussion started by: Tirmazi
2 Replies

7. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

8. AIX

Impacts of emptying /var/adm/wtmp file ?

In our operating procedures, if a workstation has a space problem in the /var filesystem, one of the most frequent case we were told is the size of the /var/adm/wtmp file. Someone once told me it is dangerous to do this. Is it ? I cannot say for certain that whomever wrote that procedure is... (2 Replies)
Discussion started by: Browser_ice
2 Replies

9. UNIX for Dummies Questions & Answers

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It becomes a large file in a short time. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (3 Replies)
Discussion started by: cloudsmell
3 Replies

10. Filesystems, Disks and Memory

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It soon becomes a large file. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (1 Reply)
Discussion started by: cloudsmell
1 Replies
Login or Register to Ask a Question