[tac_plus] tac_plus on centos7, script vs. manual startup

Rick Coloccia coloccia at geneseo.edu
Mon Feb 12 20:41:14 UTC 2018


Hi Alan, thanks.

I did use a tac_plus rpm that is distributed for centos7.

Centos7 does have some backwards compatibility with sysvinit. There are 
a few other sysvinit startup scripts in place.

The startup script does get executed on boot, and the binary does get 
started. It just doesn't work.

Log locations and permissions- I will pursue those ideas.

Either way, it seems we need to fix the rpm...

Thanks for the pointers!



On 2/12/2018 3:20 PM, Alan McKinnon wrote:
> On 12/02/2018 18:02, Rick Coloccia wrote:
>> Hi,
>>
>> I've been using tac_plus for years, never any issues. Thanks for it!
>>
>> Last week we replaced an older centos box with a cenos7 box. I 
>> installed tac_plus using an rpm from pbone.net.
>>
>> I could not get it to work to save my life. I messed around with the 
>> tacplus config, the pam config, no luck at all. I was at witt's end.
>>
>> I started the process manually with a bunch of -d from the cli and it 
>> lit right up. Then I killed it, started it without all the -d from 
>> the cli and it still worked.
>>
>> So now I'm confused. When I allow the binary to start using the 
>> scripts it won't function, when I start it from cli it works fine.
>>
>> when I run:
>>
>> [root at localhost log]# ps auxw | grep tac_
>> root     16163  0.0  0.0  26000   528 ?        S    10:30   0:00 
>> /usr/bin/tac_plus -C /etc/tac_plus.conf
>>
>> and when I run:
>>
>> [root at localhost log]# netstat -anp | grep tac_
>> tcp        0      0 0.0.0.0:49 0.0.0.0:*               LISTEN 
>> 16163/tac_plus
>> unix  2      [ ]         DGRAM                    6079166 16163/tac_plus
>>
>>
>> The output is the same regardless of whether I started via cli or 
>> scripts.
>>
>>
>> I just don't know where to go from here. Looking for suggestions.
>
> "scripts" are unlikely to work on Centos 7 as that uses systemd not 
> SysVInit. I'm guessing your rpm was built for a much older Centos and 
> quite likely is getting the log location wrong, or doesn't account for 
> permissions. Just starting the daemon on the cli does the right thing 
> and there's no interfering script messing up the works
>
>

-- 
Rick Coloccia, Jr.
Network Manager
State University of NY College at Geneseo
1 College Circle, 119 South Hall
Geneseo, NY 14454
V: 585-245-5577
F: 585-245-5579



More information about the tac_plus mailing list