Re: Do not see log files

"George Georgalis" <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On Mon, Oct 30, 2006 at 02:37:00PM -0500, Asif Iqbal wrote:
>I installed socklog 2.1.0 on Solaris 8
>
>Created the run and log script as in daemontools
>
>cat /etc/socklog/run
>#!/bin/sh
> exec 2>&1
> exec envuidgid nobody socklog unix /dev/log

verify /dev/log is the socket used by your system.

# ls -l /var/run/log
srwxrwxrwx  1 root  wheel  0 Aug 10 17:04 /var/run/log
# ls -l /dev/log
lrwxr-xr-x  1 root  wheel  12 Feb 28  2006 /dev/log -> /var/run/log
# cat /var/service/socklog-unix/run
#!/bin/sh
exec 2>&1
exec chpst -Unobody socklog unix /var/run/log

you don't need a symlink, unless your runscript
points to the wrong place.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
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.