Solaris 8 syslog trouble

2007-12-24 20:16:00

Hi all

I'm running a SUN Enterprise 220R with Solaris 8:

$ uname -a
SunOS hostname 5.8 Generic_108528-08 sun4u sparc
$

I have some troubles with my syslog-daemon. It does not log
anything.

Here's an example log entry from an other machine:

| Jul 1 15:14:21 otherhost postfix/master[562]: [ID 197553
| mail.info] terminating on signal 15

This gets logged when "postfix stop" is executed. On my
machine, nothing gets logged when I do a "postfix stop".

But I believe, I configured syslog the right way. From my
/etc/syslog.conf:

mail.info;mail.err;mail.notice ifdef(`LOGHOST', /var/log/syslog, @loghost)

(Yes, there's a tab between "notice" and "ifdef")

Now I'm wondering, why nothing gets logged to /var/log/syslog. Here's what=
I
get by running /usr/sbin/syslogd -d:

--<--<--<--

syslogd: version 1.85
Started: Wed Jul 4 15:14:09 2001
Input message count: system 0, network 0
# Outputs: 13

------------------------ priority =3D [file, facility] --------------------=
----

0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1=20
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9=20
----------------------------------------
5 3 3 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 CONSOLE: /dev/sysmsg
7 3 2 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 FILE: /var/adm/messages
3 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 USERS: operator
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 USERS: root
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 WALL:=20
X X X X X X X X X X X X X X X X X X X 6 FILE: /var/adm/tcpdlog
X X X 5 X X X X X X X X X X X X X X X X FILE: /var/adm/inetdlog
X X X X 5 X X X X X X X X X X X X X X X FILE: /var/log/authlog
X X 5 X X X X X X X X X X X X X X X X X FILE: /var/log/syslog
X 3 X X X X X X X X X X X X X X X X X X CONSOLE: /dev/sysmsg
X 3 X X X X X X X X X X X X X X X X X X FILE: /var/adm/messages
X 1 X X X X X X X X X X X X X X X X X X USERS: root, operator
X 0 X X X X X X X X X X X X X X X X X X WALL:=20

Facilities:
[00] kern: 0
[01] user: 8
[02] mail: 16
[03] daemon: 24
[04] auth: 32
[05] security: 32
[06] mark: 192
[07] syslog: 40
[08] lpr: 48
[09] news: 56
[10] uucp: 64
[11] cron: 120
[12] local0: 128
[13] local1: 136
[14] local2: 144
[15] local3: 152
[16] local4: 160
[17] local5: 168
[18] local6: 176
[19] local7: 184

Priorities:
[00] panic: 0
[01] emerg: 0
[02] alert: 1
[03] crit: 2
[04] err: 3
[05] error: 3
[06] warn: 4
[07] warning: 4
[08] notice: 5
[09] info: 6
[10] debug: 7
[11] none: 16

Per File Statistics
File Tot Dups Nofwd Errs
---- --- ---- ----- ----
/dev/sysmsg 0 0 0 0
/var/adm/messages 0 0 0 0
operator 0 0 0 0
root 0 0 0 0
WALL 0 0 0 0
/var/adm/tcpdlog 0 0 0 0
/var/adm/inetdlog 0 0 0 0
/var/log/authlog 0 0 0 0
/var/log/syslog 0 0 0 0
/dev/sysmsg 0 0 0 0
/var/adm/messages 0 0 0 0
root,operator 0 0 0 0
WALL 0 0 0 0

-->-->-->--

Does one of you have an idea, what I do wrong?

Cheers!
--=20
.-. Thomas Bader =B7 thomasb at trash.net.remove =B7 http://www.t-bader.ch=
/ .-.
oo| o=
o|
/`'\ Einen Unix-Shellaccount gibt es unter http://www.trash.net/ /`=
'\
(\_;/) PGP Key-ID: 0x3A4B7F5D (RSA) 0x7584F5D8 (DSA/EG) (\_=
;/)

Comments

Got something to say?

You must be logged in to post a comment.