syslog is not getting written


 
Thread Tools Search this Thread
Operating Systems Solaris syslog is not getting written
# 1  
Old 09-26-2012
syslog is not getting written

hi all

syslog is not getting written.
i am getting following two logs snmpd.log & authlog logs.

please tell what are two logs snmpd.log & authlog logs.
why syslog is not written.
# 2  
Old 09-26-2012
is Syslog daemon running?
have you modified /etc/syslog.conf ?
# 3  
Old 09-26-2012
Pls be way more specific, supply system information, log files, conf files, samples of what you tried. Did you write to syslog?
# 4  
Old 09-27-2012
hi orange47 & RudiC thanks for your replay

how to check Syslog daemon running is running or not
i do not have /etc/syslog.conf file
after going to /etc after pressing tab it shows the following
Code:
/etc/sys
sysdef    sysevent/

i found the config directory in /etc/sysevent/config location.
Code:
my syslog location is 
# cd /var/log/
# ls -lrt
total 198
drwxr-xr-x   2 root     sys          512 Jul 19  2011 pool
-rw-r--r--   1 root     other         27 Jul 19  2011 brlog
drwxr-xr-x   2 root     sys          512 Jul 19  2011 swupas
-rw-r--r--   1 root     root        3438 Jul 19  2011 postrun.log
drwxr-xr-x   3 root     sys          512 Jul 19  2011 webconsole
-rw-r--r--   1 root     sys         2304 Oct 19  2011 syslog.7
-rw-r--r--   1 root     other        722 Oct 20  2011 sysidconfig.log
-rw-r--r--   1 root     sys          766 Oct 21  2011 syslog.6
-rw-r--r--   1 root     sys         1229 Nov  7  2011 syslog.5
-rw-r--r--   1 root     sys         1229 Nov 22  2011 syslog.4
-rw-r--r--   1 root     sys         1229 Nov 23  2011 syslog.3
-rw-r--r--   1 root     sys         6053 Dec 26  2011 syslog.2
-rw-------   1 root     sys          112 Jan  3  2012 syslog.1
-rw-------   1 root     sys        44037 Jan 15  2012 syslog.0
-rw-r--r--   1 root     root         329 Sep 25 11:28 snmpd.log
-rw-------   1 root     sys        28080 Sep 26 12:37 authlog

and what are snmpd.log & authlog log why why are generated.

Last edited by Scrutinizer; 09-27-2012 at 05:15 AM.. Reason: code tags
# 5  
Old 09-27-2012
This does not look like syslog is running. Check with ps. If no process exists called sth. like xysyslogdxy, search on. There's quite a few syslog packages in them thar hills - any of them installed? If yes, is it started at system boot? When did you boot last time?
# 6  
Old 09-27-2012
hi RudiC thanks for your replay

there is no process like sth but there is syslogd process
the package is install there it is also (syslog) started at boot we restart 2 days back


# ps -ef|grep sth
root 12130 12128 0 17:01:19 pts/1 0:00 grep sth
#ps -ef|grep sth
root 12130 12128 0 17:01:19 pts/1 0:00 grep sth

# ps -ef|grep syslogd
root 5780 1 0 Sep 25 ? 0:00 /usr/sbin/syslogd
root 12134 12128 0 17:01:56 pts/1 0:00 grep syslogd

# pkginfo |grep -i sendmail
system SUNWsndmr Sendmail (root)
system SUNWsndmu Sendmail (/usr)
# 7  
Old 09-27-2012
If you have the command lsof on your system, issue lsof 5780 and post results. pls use code tags for readability.
BTW, "sth" meant "something".
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How many packets can be written into Kernel sockets per second?

Hi, Its been a long time since i programmed a multithreaded application that can do Tx and Rx of datagrams over unix sockets. I well remember that though the threads were efficiently designed to be independent of each other, and was writing to different sockets, there was a limitation ,... (0 Replies)
Discussion started by: binnyjeshan
0 Replies

2. Programming

Debugging a program written in two languages

Subject: Debugging a program written in two languages Platform: Linux (Kubuntu) I am trying to debug a C application with bindings to some simple functions written in Ada using the GNAT Programming Studio IDE (GPS). The main entry point is in C. The debugger is gdb. I managed to compile... (0 Replies)
Discussion started by: NiGHTS
0 Replies

3. Programming

book on linux application written with c

Just learned c language ,but I don't know where to start to write some applications under Linux ,I really appreciate it if anybody can help me find some books or sites on it. (2 Replies)
Discussion started by: hgdcjq
2 Replies

4. Shell Programming and Scripting

An algorithm to be written in linux command

Hi All, I wrote the following script in R. However, i can not run it. Because the data file is so big. Therefore, i need to write it in shell script. Could you please help me? ###################################### data=as.matrix(read.table("data.txt"))... (3 Replies)
Discussion started by: senayasma
3 Replies

5. Shell Programming and Scripting

written a srcipt with 2 arguments

hello all pls can anybody point me a direction of capturing 2 arguments: one a line of text the other is a file. In paticular how can i get the file so for exampls, i create a script called monalisa monalisa this is an angel from the 7th heaven booboo where monalisa is the script... (6 Replies)
Discussion started by: sam4now
6 Replies

6. Shell Programming and Scripting

Hangman written in Bash. Suggestions please...

qwertyuiop (1 Reply)
Discussion started by: rorey_breaker
1 Replies

7. Shell Programming and Scripting

what's the largest shell script you've ever written?

I've just written a test harness using ksh. One of scripts weighed in at 1206 lines. I came across Eric Raymonds 'Art of Unix programming' on line and he advises against excessively large scripts. I am very interested to hear people's opinions on this and any experiences they have had. (2 Replies)
Discussion started by: OFFSIHR
2 Replies

8. Linux

check written data

I'm using growisofs to write DVD, e.g. $ growisofs -Z /dev/dvd -V "Personal Data, `date +"%b, %d %Y"`" -R -J /mnt/d/* How can I test whether data was written correctly? md5sum or so? (0 Replies)
Discussion started by: Hitori
0 Replies

9. Shell Programming and Scripting

Checking a file is not being written to

Hello All I am attempting to write a shell script (bourne shell script) which will copy a tar'd and compressed file from a directory to a staging area but will not know whether the file is still open for write since files are being ftp's to my site at random times during the day. Once I am... (14 Replies)
Discussion started by: kanejm
14 Replies

10. UNIX for Dummies Questions & Answers

File being used/written

Hello, Which command in unix can tell whether a file is being used/written by another process. e.g. If one process is copying a very big file in some directory and there is another cronjob process which checks for a new file and in this directory and process the file. I want to check, if the... (4 Replies)
Discussion started by: sanjay92
4 Replies
Login or Register to Ask a Question