Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: syslogd not running



In article <20090330203933.GA10199%isb2501.ub.uni-mainz.de@localhost>,
Kurt Schreiner  <ks%ub.uni-mainz.de@localhost> wrote:
>Hi,
>
>there's no syslogd anymore on my i386 and amd64 machines (at least).
>ktruss'ing shows kevent50 failing w/ illegal argument:
>
>[...]
>
>  1747      1 syslogd  __gettimeofday50(0xbfbfe4cc, 0) = 0
>  1747      1 syslogd  write(0x1, 0xbb701000, 0x7c) = 124
>      
>"2009-03-30T22:35:28.876328+02:00:/u/NetBSD/src/usr.sbin/syslogd/sign.c:sign_get_sg:0596\t"
>  1747      1 syslogd  __gettimeofday50(0xbfbfe4fc, 0) = 0
>  1747      1 syslogd  write(0x1, 0xbb701000, 0x7b) = 123
>      
>"2009-03-30T22:35:28.876410+02:00:/u/NetBSD/src/usr.sbin/syslogd/syslogd.c:fprintlog:2389"
>  1747      1 syslogd  writev(0x9, 0xbfbfe578, 0x2) = 46
>       "\nar 30 22:35:28 ipaddi syslogd[1747]: restart\^P"
>  1747      1 syslogd  __sigprocmask14(0x3, 0xbfbfe674, 0xbfbfe664) = 0
>  1747      1 syslogd  __sigprocmask14(0x3, 0xbfbfec4c, 0) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0xf, 0xbfbfec68, 0xbfbfec50,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x2, 0xbfbfec68, 0xbfbfec50,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x3, 0xbfbfec68, 0xbfbfec50,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbfbfec04, 0x1, 0, 0, 0xbfbfec20) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0xf, 0xbfbfebb4, 0xbb7370a0,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbfbfec04, 0x1, 0, 0, 0xbfbfec20) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x2, 0xbfbfebb4, 0xbb7370c0,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbfbfec04, 0x1, 0, 0, 0xbfbfec20) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x3, 0xbfbfebb4, 0xbb7370e0,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbfbfec04, 0x1, 0, 0, 0xbfbfec20) = 0
>  1747      1 syslogd  __clock_gettime50(0x3, 0xbfbfec00) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0xd, 0xbfbfec68, 0xbfbfec50,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x1, 0xbfbfec68, 0xbfbfec50,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbfbfec04, 0x1, 0, 0, 0xbfbfec20) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x1, 0xbfbfebb4, 0xbb737140,
>0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbfbfec04, 0x1, 0, 0, 0xbfbfec20) = 0
>  1747      1 syslogd  __sigaction_sigtramp(0x1e, 0xbfbfebb4,
>0xbb737160, 0xbb96d360, 0x2) = 0
>  1747      1 syslogd  __gettimeofday50(0xbfbfec6c, 0) = 0
>  1747      1 syslogd  write(0x1, 0xbb701000, 0x66) = 102
>      
>"2009-03-30T22:35:28.876640+02:00:/u/NetBSD/src/usr.sbin/syslogd/syslogd.c:main:0630\tOff
> "
>  1747      1 syslogd  __clock_gettime50(0x3, 0xbfbfebb0) = 0
>  1747      1 syslogd  __clock_gettime50(0x3, 0xbfbfebb0) = 0
>  1747      1 syslogd  __kevent50(0x6, 0xbb755800, 0x3, 0xbb756000,
>0x40, 0xbfbfeba0) Err#22 EINVAL
>  1747      1 syslogd  issetugid()                 = 0
>  1747      1 syslogd  issetugid()                 = 0
>[warn] kevent: Invalid argument
>2009-03-30T22:35:28.887201+02:00:/u/NetBSD/src/usr.sbin/syslogd/syslogd.c:main:0634
>     event_dispatch() returned -1
>2009-03-30T22:35:28.887290+02:00:/u/NetBSD/src/usr.sbin/syslogd/syslogd.c:logerror:2753
> Fatal error, exiting
>2009-03-30T22:35:28.887371+02:00:/u/NetBSD/src/usr.sbin/syslogd/sign.c:sign_global_free:0453
>    sign_global_free()
>2009-03-30T22:35:28.887452+02:00:/u/NetBSD/src/usr.sbin/syslogd/sign.c:sign_free_string_queue:0717
> sign_free_string_queue(0x8069640)
>  1747      1 syslogd  open("/var/db/services.db", 0, 0xbfbfd9e8) Err#2 ENOENT
>  1747      1 syslogd  open("/var/db/services.db", 0, 0xbfbfd9e8) = 20
>
>[...]
>
>Is this just me?

My bad, cvs update kern_event.c

christos



Home | Main Index | Thread Index | Old Index