Re: socklog-unix problem, on netbsd

Gerrit Pape <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <20060123131747.11409.qmail@edbea058f2e5d2.315fe32.mid.smarden.org>
On Sat, Jan 21, 2006 at 12:16:10AM -0500, George Georgalis wrote:
> I've narrowed this as much as I can, but I cannot
> determine why my socklog-unix process is not working
> under NetBSD 3.0. A few times before I've give up at
> this point... socklog-klog works fine.

> it starts okay...
> 
> # cat /var/log/socklog/main/current                                                   
> listening on /dev/log, gid=39, uid=32767, starting.

> But it won't log anything. /dev/log does indeed seem
> the socket syslogd uses, and syslogd is defiantly
> stopped (though it does work when running). Below is
> the output of "truss logger hello" -- any ideas?

Hi, according to

 http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/syslog.h?rev=1.27&content-type=text/x-cvsweb-markup

it might well be /var/run/log instead of /dev/log.  `grep _PATH_LOG
/usr/include/sys/syslog.h` should tell you for your system.

HTH, Gerrit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.