[tac_plus] tac_plus on centos7, script vs. manual startup
heasley
heas at shrubbery.net
Mon Feb 12 21:10:08 UTC 2018
Mon, Feb 12, 2018 at 03:41:14PM -0500, Rick Coloccia:
> 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...
I'd check that it has the correct uid/user, isnt chroot()ed, and for
similar "helpful" things that linux tends to add as defaults.
> 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
>
> _______________________________________________
> tac_plus mailing list
> tac_plus at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/tac_plus
More information about the tac_plus
mailing list