On Wed, 17 Mar 2010, Luke Vanderfluit wrote:
>Hi.
>
>I have a solaris 10 box that houses samba shares. The box becomes inaccessible
>at unpredictable times. I want to enable logging to see what activity is going
>on and log that to /var/adm/messages
>
>I have edited the syslog.conf file and added the following lines:
>user.debug /var/adm/messages
>user.info /var/adm/messages
>user.crit /var/adm/messages
>user.emerg /var/adm/messages
>user.err/var/adm/messages
>user.alert /var/adm/messages
Luke, see syslog.conf(4) - you should use just one line with the
highest level you need, it automatically logs all less eloquent levels.
also, facility.level *must* be separated from the file via
tabelators, not spaces, if that could be an issue there as well. I also
suggest to log to a specific file, it will be easier to read then. Do
not forget to manually touch the file before restarting the syslogd, it
will not be automatically created.
J.
>
>then I restart syslogd. I dont see any messages in /var/adm/messages other
>than:
>Mar 18 09:32:09 storage.interact syslogd: going down on signal 15
>
>I want to see user activity to the samba shares... how do I do that...?
>
>TIA.
>
>Kr.
>Luke Van
>
--
Jan Pechanec
http://blogs.sun.com/janp
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org