Re: Do not see log files
"Asif Iqbal" <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
On 11/1/06, Asif Iqbal <[email protected]> wrote: > On 11/1/06, Gerrit Pape <[email protected]> wrote: > > 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 > > > > Hi Asif, > > > > I suggest to use the socklog-conf program to create the service > > directory, please read > > http://smarden.org/socklog/readme.solaris.html > > Now it is working!! > > This is what I did to make it work w/ daemontools on solaris 8 > > 1. ran the socklog-conf like this > socklog-conf unix syslog log /etc/socklog-inet /var/log/socklog-inet Small typo in the above line. It should be read as /var/log/socklog > 2. stop the syslogd > 3. changed the exec command for the /etc/socklog-inet/socklog-inet/run script to > exec envuidgid syslog socklog sun_stream /dev/log /var/run/syslog_door > 4. changed the exec command for log/run script to > exec setuidgid log multilog s4999999 n10 /var/log/socklog/all > 5. ln -s /etc/socklog-inet/socklog-inet /service/socklog > > No more rotating logs .. eehaaa! > > Thanks a lot. > > > > > Regards, Gerrit. > > > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu