syslog


 
Thread Tools Search this Thread
Operating Systems Solaris syslog
# 1  
Old 01-29-2011
syslog

Hi all,

OS : solaris 9 .

/var/log is the location it generates logfiles with name syslog , syslog.0 , syslog.1 up syslog.7 and it will delete the files after syslog.7 the old files but in my case i dont find any logfile in the /var/log location. This issues arises after some abnormal shutdown to the server before everything working as normal.
Any help or pointer to check the cause of the issue.

Regards
# 2  
Old 01-29-2011
what is "it"? the solaris syslog goes to /var/adm/messages so "it" is an application? also you might want to check out the manpage of "logadm".

http://www.softpanorama.org/Logs/Log..._solaris.shtml
# 3  
Old 01-29-2011
erm...I was under the impression that Solaris puts its syslog files in /var/adm...I thought only Linux used /var/log.
Check your /etc/syslog*.conf configuration file.

Cheers.
# 4  
Old 01-29-2011
Hi ,
Code:
#ls -ltr

-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprod1yaqcb
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprod0ua4Bj
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprod0KayZf
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodqbaOqL
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodo1aWhA
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodfPaGAp
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraproda4aOhg
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodP7aOiT
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodK7aqIx
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodJta4jx
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodFPayNH
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprodDmaGiv
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprod6FaOyF
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprod4fa4_z
-rw-------   1 oraprod  mail           0 Jan 29 10:41 oraprod3daiCe
-rw-rw----   1 sys      mail       51320 Jan 29 11:05 sys
-rw-rw----   1 prodappl mail      163953 Jan 29 11:12 prodappl
-rw-rw-rw-   1 root     other    1063407002 Jan 29 17:33 root
-rwxrwxrwx   1 oraprod  mail     2147483041 Jan 29 17:33 oraprod

Regards

Last edited by Scott; 01-29-2011 at 11:01 AM.. Reason: Code tags, please...
# 5  
Old 01-29-2011
ok, and this tells us what?
# 6  
Old 01-30-2011
Hi,
under this /var/mail location found root and oraprod growing very fast as before this was not the case.

-rw-rw-rw- 1 root other 1063407002 Jan 29 17:33 root
-rwxrwxrwx 1 oraprod mail 2147483041 Jan 29 17:33 oraprod

any help or pointer is appreciated

Regards

---------- Post updated at 06:40 AM ---------- Previous update was at 01:41 AM ----------

Hi,
thanks for your support
problem resolved there was one cronjob which was sechedule for running every min couldnot able execute , the scripts contains wrong path for the file due to that cronjob was sending mail to oraprod user for everyminute thats the way the file growth was happening. I corrected the cronjob now everything normal.

Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. AIX

Cannot send syslog event from AIX 6.1 to RHEL Syslog server

Hi everyone, I am trying to configure AIX 6.1 using syslogd to send syslog event to syslog server configured on RHEL. However, RHEL never receives the events. I have tried to redirect the syslog event on AIX to a local file and successful. Only forwarding to remote server fails. Firewall... (10 Replies)
Discussion started by: michael_hoang
10 Replies

2. Solaris

Which are the available entries to forward syslog in syslog.conf?

Hi Community Which are the available entries to forward syslog in syslog.conf i have put *.err;kern.debug;daemon.notice;mail.crit;user.alert;user.emerg;kern.notice;auth.notice;kern.warning @172.16.200.50 and it's not going through.giving error message like below: syslogd:... (2 Replies)
Discussion started by: bentech4u
2 Replies
Login or Register to Ask a Question