[tac_plus] Re: How to stop tacplus logging to /var/log/syslog?

Andy Saykao asaykao at gmail.com
Wed May 19 23:12:12 UTC 2010


Hi John,

Looks like syslog changed the owner of tac_plus.log when I was playing
around with it hence why logs stop going to tac_plus.log.

root at tacplus-1:/var/log/tac_plus# ls -la tac_plus.log
-rw-r--r-- 1 syslog adm 924 2010-05-20 09:04 tac_plus.log

root at tacplus-1:/var/log/tac_plus# chown tacplus tac_plus.log

root at tacplus-1:/var/log/tac_plus# ls -la tac_plus.log
-rw-r--r-- 1 tacplus adm 2944 2010-05-20 09:08 tac_plus.log

All good now...

Thanks again.

Andy

On Wed, May 19, 2010 at 12:34 AM, john heasley <heas at shrubbery.net> wrote:
> Fri, May 14, 2010 at 12:22:18PM +1000, Andy Saykao:
>> Thanks for the man page John.
>>
>> I have a slight dilemma now. I did what you suggested and got tacplus
>> to log to news (logging=news), but after having re-read your email and
>> finding that no matter what I do, it will always continue to log to
>> syslog, I removed the lines from tac_plus.conf and syslog.conf and
>> reverted things back to the way it was originally.  Now I am not
>> getting any auth logs being sent to the tac_plus.log file??? I've
>> restarted both the tac_plus and sysklogd daemon.
>>
>> All I see is in the tac_plus.log file is the daemon starting up...
>>
>> Fri May 14 12:10:29 2010 [4744]: Reading config
>> Fri May 14 12:10:29 2010 [4744]: Version F4.0.4.19 Initialized 1
>> Fri May 14 12:10:29 2010 [4744]: tac_plus server F4.0.4.19 starting
>> Fri May 14 12:10:29 2010 [4745]: Backgrounded
>>
>> root at tacplus-1# ps aux | grep tac
>> tacplus   4746  0.2  0.0   2388   612 ?        S    12:10   0:00
>> /tac_plus/bin/tac_plus -C /tac_plus/etc/tac_plus.conf -d 16
>>
>> Any ideas why this is happening now and how to fix it?
>
> My guess would be permissions or file location.  see config.log for the
> value of TACPLUS_LOGFILE or tac_plus.conf(5).  its normally in /var/log.
>
>> Thanks.
>>
>> Andy
>>
>> On Fri, May 7, 2010 at 5:35 PM, john heasley <heas at shrubbery.net> wrote:
>> > Fri, May 07, 2010 at 04:19:58PM +1000, Andy Saykao:
>> >> Sorry John, I don't see where to set this to in the tac_plus.conf file???
>> >
>> > tac_plus.conf(5)
>> > ? ? ? logging
>> > ? ? ? ? ? ? ?Specifies the syslog(3) facility used. ? By ?default, ?logs ?are
>> > ? ? ? ? ? ? ?posted to the daemon facility.
>> >
>> > ? ? ? ? ? ? ? ? ?logging = <syslog_fac>
>> >
>> >> > it logs to daemon by default. ?change it to something like news in
>> >> > tac_plus.conf and use news.none in the syslog.conf line. ?but it always
>> >> > logs to syslog.
>> >> >
>> >
>


More information about the tac_plus mailing list