[tac_plus] TACACS+ Error socket issue.

ivo ivanlk3 at gmail.com
Thu Mar 29 17:37:34 UTC 2012


Hi Guys,

I need some help with starting and stoping tacacs.

I have several tacacs+ processes running on the backround linux red
hat enterprise server. Tacacs+ version which I use is F4.0.4.19.
The command which I use to start the tacacs processes are:
/usr/local/bin/tac_plus -C /etc/tacacs+/R1_tac_plus.conf -l
/var/log/tacacs/R1_tac_plus.log -d 16 -p 5000
/usr/local/bin/tac_plus -C /etc/tacacs+/R2_tac_plus.conf -l
/var/log/tacacs/R2_tac_plus.log -d 16 -p 5001
/usr/local/bin/tac_plus -C /etc/tacacs+/R3_tac_plus.conf -l
/var/log/tacacs/R3_tac_plus.log -d 16 -p 5002

when I run the tacacs it works fine.
But the problem is with stop of the tacacs. I am using to stop tacacs
on backround
kill -9 <pid>

I am not familiar how start and stop of tacacs+ work.
Could me please somebody write a hint how to regular restart (stop and
start ) tacacs+ process from above backround processes ?
When i "restart" tacacs+ process :

kill -9 <pid>
/usr/local/bin/tac_plus -C /etc/tacacs+/R1_tac_plus.conf -l
/var/log/tacacs/R1_tac_plus.log -d 16 -p 5000

I recieve error into R1_tac_plus.log:
Version F4.0.4.19 Initialized 1
tac_plus server F4.0.4.19 starting
Backgrounded
Error get_socket: bind 5000 Address already in use

Do anybody know how to regular stop and start tacacs process?

-- 
http://www.gmail.com


More information about the tac_plus mailing list