Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 15:05:54 -0800 (PST)
From:      Doug Silver <dsilver@quantified.com>
To:        stable@FreeBSD.ORG
Subject:   Odd syslogd error
Message-ID:  <Pine.LNX.4.21.0203081455190.949-100000@danzig.sd.quantified.net>
In-Reply-To: <20020308145222.A14319@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
I can't get syslogd to start up again on one of my 4.4-Stable
machines.  It had been running since January without a problem until
today.

Here's what happens when I start it up:

# /usr/sbin/syslogd -s -d
sending on inet and/or inet6 socket
off & running....
init
cfline("*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages", f, "*", "*")
cfline("security.* /var/log/security", f, "*", "*")
cfline("mail.info					/var/log/maillog", f, "*", "*")
cfline("cron.*						/var/log/cron", f, "*", "*")
cfline("console.info
/var/log/console.log", f, "*", "*")
7 5 2 5 5 5 6 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 X FILE: /var/log/messages
X X X X X X X X X X X X X 8 X X X X X X X X X X X FILE: /var/log/security
X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog
X X X X X X X X X 8 X X X X X X X X X X X X X X X FILE: /var/log/cron
X X X X X X X X X X X X X X 6 X X X X X X X X X X FILE: /var/log/console.log
logmsg: pri 56, flags 4, from izzy, msg syslogd: restart
syslogd: restarted
logmsg: pri 6, flags 16, from izzy, msg pid 24973 (syslogd), uid 0: exited
on signal 4 (core dumped)
Logging to FILE /var/log/messages
Illegal instruction (core dumped)

from /var/log/messages:
/kernel: pid 24964 (syslogd), uid 0: exited on signal 4 (core dumped)

from /var/log/console.log
/kernel: syslogd: cannot create /var/run/log: Address already in use

# ll /var/run
total 380
drwxr-xr-x   2 root  wheel     512 Mar  8 14:58 ./
drwxr-xr-x  20 root  wheel     512 Jan 14 10:40 ../
-rw-r--r--   1 root  wheel       4 Feb 23 00:51 clockspeed.pid
-rw-r--r--   1 root  wheel       4 Feb 23 00:51 cron.pid
-rw-r--r--   1 root  wheel   32768 Feb 23 00:51 dev.db
-rw-r--r--   1 root  wheel    2313 Feb 23 00:51 dmesg.boot
-r--r--r--   1 root  wheel     183 Feb 23 00:51 ld-elf.so.hints
-r--r--r--   1 root  wheel      87 Feb 23 00:51 ld.so.hints
srw-rw-rw-   1 root  wheel       0 Mar  8 14:58 log=
-rw-r--r--   1 root  wheel       4 Feb 23 00:51 sshd.pid
-rw-r--r--   1 root  wheel       6 Mar  8 14:58 syslog.pid
-rw-------   1 root  wheel  335872 Mar  8 14:58 syslogd.core
-rw-r--r--   1 root  wheel     704 Mar  8 14:17 utmp

I've tried several times now to rm syslog* and log out of /var/run and
restart syslogd, but no dice.  Any suggestions?

TIA

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Quantified Systems, Inc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0203081455190.949-100000>