[tac_plus] error while loading shared libraries: libtacacs.so.1: cannot open shared object file: No such file or directory
Eugene Fotso
efotso63 at gmail.com
Fri Feb 28 15:54:09 UTC 2014
THANK YOU ALL (*Alan McKinnon & heasley * ), for the proposed solution to
the pblm @ hand.
It helped me address the pblm.
*NEW PBLM*: I am using "tac_plus" to login to an application, It is working
(Authenticating) for command line (ksh Script),
but for login throughj a java based GUI, it is failing with:
...
======
*Thu Feb 27 15:17:48 2014 [573]: session request from tlpri sock=3Thu Feb
27 15:17:48 2014 [17337]: connect from tlpri [X.Y.Z.T]Thu Feb 27 15:17:48
2014 [17337]: Waiting for packetThu Feb 27 15:20:48 2014 [17337]: tlpri:
timeout reading fd 3Thu Feb 27 15:20:48 2014 [17337]: Read -1 bytes from
tlpri , expecting 12Thu Feb 27 15:20:48 2014 [17337]: tlpri: disconnect*
=======
See attached.
Thank You
On Tue, Feb 25, 2014 at 12:40 PM, Eugene Fotso <efotso63 at gmail.com> wrote:
> Hello,
> I CAN'T seem to find SOLUTION for this issue I am having with
> "libtacacs.so.1 "
>
> *OS= RedHat*
> * tac_plusRel=F4.0.4.27a*
>
> I have installed as required, but every time I attemp to run "tac_plus", I
> get "*error while loading shared libraries: libtacacs.so.1: cannot open
> shared object file: No such file or directory"*
>
>
> # /etc/init.d/tac_plus start
>
> Starting Tacacs+ server: /opt/tacacs/bin/tac_plus: *error while loading
> shared libraries: libtacacs.so.1: cannot open shared object file: No such
> file or directory*
> tac_plus.
>
> I HAVE TRIED ALL the available SOLUTIONS online, but still NOT WORKING:
> HELP HELP HELP
>
>
> ---
>
> *# ./configure >/dev/null*
>
> configure: WARNING: i686 not found in cputable
>
> configure: WARNING: linux-gnu not found in ostable
>
> ./configure: line 8717: *pkg-config: command not found*
>
>
>
> *# make >/dev/null*
>
> processarc.o: In function `process_archive':
>
> /opt/TACACS/dpkg-1.14.31/src/processarc.c:173: warning: the use of
> `tmpnam' is dangerous, better use `mkstemp'
>
> archives.o: In function `tarobject':
>
> /opt/TACACS/dpkg-1.14.31/src/archives.c:634: undefined reference to
> `matchpathcon'
>
> /opt/TACACS/dpkg-1.14.31/src/archives.c:640: undefined reference to
> `setfscreatecon'
>
> /opt/TACACS/dpkg-1.14.31/src/archives.c:802: undefined reference to
> `setfscreatecon'
>
> /opt/TACACS/dpkg-1.14.31/src/archives.c:804: undefined reference to
> `freecon'
>
> /opt/TACACS/dpkg-1.14.31/src/archives.c:826: undefined reference to
> `setfscreatecon'
>
> /opt/TACACS/dpkg-1.14.31/src/archives.c:618: undefined reference to
> `is_selinux_enabled'
>
> collect2: ld returned 1 exit status
>
> make[2]: *** [dpkg] Error 1
>
> make[1]: *** [all-recursive] Error 1
>
> make: *** [all] Error 2
>
>
>
> *# cd utils*
>
> *# make install*
>
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
> -DLOCALEDIR=\"/usr/local/share/locale\" -idirafter ../libcompat -I../lib
> -g -O2 -MT start-stop-daemon.o -MD -MP -MF .deps/start-stop-daemon.Tpo -c
> -o start-stop-daemon.o start-stop-daemon.c
>
> mv -f .deps/start-stop-daemon.Tpo .deps/start-stop-daemon.Po
>
> gcc -std=gnu99 -g -O2 -Wl,-O1 -o start-stop-daemon start-stop-daemon.o
> ../libcompat/libcompat.a
>
> make[1]: Entering directory `/opt/TACACS/dpkg-1.14.31/utils'
>
> test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
>
> /usr/bin/install -c 'start-stop-daemon'
> '/usr/local/sbin/start-stop-daemon'
>
> make[1]: Nothing to be done for `install-data-am'.
>
> make[1]: Leaving directory `/opt/TACACS/dpkg-1.14.31/utils'
>
> --
> *Eugene "DeFOT's" FOTSO,*
> *"Be Well, Do Good Work and Above All, KEEP IN TOUCH!"*
>
--
*Eugene "DeFOT's" FOTSO,*
*"Be Well, Do Good Work and Above All, KEEP IN TOUCH!"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20140228/dd1291d7/attachment.html>
-------------- next part --------------
=========== STOP [APP] userID/Passwd ============
# sh ShutDown.sh <userID> <Passwd> (ALL DEFINED AS WELL in tac_plus.conf)
# The [APPS] Server on host "localhost" was successfully shutdown
# Thu Feb 27 15:32:06 CST 2014
==============SUCCESSFUL AUTHENTICATION===============================
Thu Feb 27 15:31:57 2014 [573]: session request from tlpri sock=3
Thu Feb 27 15:31:57 2014 [20330]: connect from tlpri [X.Y.Z.T]
Thu Feb 27 15:31:57 2014 [20330]: Waiting for packet
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=X.Y.Z.T attr=key
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named X.Y.Z.T
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=tlpri attr=prompt
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named tlpri
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: Read AUTHEN/START size=43
Thu Feb 27 15:31:57 2014 [20330]: validation request from tlpri
Thu Feb 27 15:31:57 2014 [20330]: PACKET: key=XXXX[APP]6.0!
Thu Feb 27 15:31:57 2014 [20330]: version 192 (0xc0), type 1, seq no 1, flags 0x1
Thu Feb 27 15:31:57 2014 [20330]: session_id 3900892316 (0xe882e49c), Data length 31 (0x1f)
Thu Feb 27 15:31:57 2014 [20330]: End header
Thu Feb 27 15:31:57 2014 [20330]: type=AUTHEN/START, priv_lvl = 0
Thu Feb 27 15:31:57 2014 [20330]: action=login
Thu Feb 27 15:31:57 2014 [20330]: authen_type=ascii
Thu Feb 27 15:31:57 2014 [20330]: service=unknown 0
Thu Feb 27 15:31:57 2014 [20330]: user_len=4 port_len=4 (0x4), rem_addr_len=9 (0x9)
Thu Feb 27 15:31:57 2014 [20330]: data_len=6
Thu Feb 27 15:31:57 2014 [20330]: User:
Thu Feb 27 15:31:57 2014 [20330]: root
Thu Feb 27 15:31:57 2014 [20330]: port:
Thu Feb 27 15:31:57 2014 [20330]: JAVA
Thu Feb 27 15:31:57 2014 [20330]: rem_addr:
Thu Feb 27 15:31:57 2014 [20330]: Somewhere
Thu Feb 27 15:31:57 2014 [20330]: data:
Thu Feb 27 15:31:57 2014 [20330]: Passwd
Thu Feb 27 15:31:57 2014 [20330]: End packet
Thu Feb 27 15:31:57 2014 [20330]: Authen Start request
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: name=root isuser=1 attr=login rec=1
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_pvalue: returns cleartext Passwd
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: name=root isuser=1 attr=login rec=1
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_pvalue: returns cleartext Passwd
Thu Feb 27 15:31:57 2014 [20330]: choose_authen chose default_fn
Thu Feb 27 15:31:57 2014 [20330]: Calling authentication function
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: name=root isuser=1 attr=nopassword rec=1
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: recurse group = Admin
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_intvalue: returns 0
Thu Feb 27 15:31:57 2014 [20330]: Writing AUTHEN/GETPASS size=28
Thu Feb 27 15:31:57 2014 [20330]: PACKET: key=XXXX[APP]6.0!
Thu Feb 27 15:31:57 2014 [20330]: version 192 (0xc0), type 1, seq no 2, flags 0x1
Thu Feb 27 15:31:57 2014 [20330]: session_id 3900892316 (0xe882e49c), Data length 16 (0x10)
Thu Feb 27 15:31:57 2014 [20330]: End header
Thu Feb 27 15:31:57 2014 [20330]: type=AUTHEN status=5 (AUTHEN/GETPASS) flags=0x1
Thu Feb 27 15:31:57 2014 [20330]: msg_len=10, data_len=0
Thu Feb 27 15:31:57 2014 [20330]: msg:
Thu Feb 27 15:31:57 2014 [20330]: Password:
Thu Feb 27 15:31:57 2014 [20330]: data:
Thu Feb 27 15:31:57 2014 [20330]: End packetThu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named X.Y.Z.T
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=tlpri attr=prompt
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named cienactlori
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: Read AUTHEN/CONT size=27
Thu Feb 27 15:31:57 2014 [20330]: PACKET: key=XXXX[APP]6.0!
Thu Feb 27 15:31:57 2014 [20330]: version 192 (0xc0), type 1, seq no 3, flags 0x1
Thu Feb 27 15:31:57 2014 [20330]: session_id 3900892316 (0xe882e49c), Data length 15 (0xf)
Thu Feb 27 15:31:57 2014 [20330]: End header
Thu Feb 27 15:31:57 2014 [20330]: type=AUTHEN/CONT
Thu Feb 27 15:31:57 2014 [20330]: user_msg_len 6 (0x6), user_data_len 4 (0x4)
Thu Feb 27 15:31:57 2014 [20330]: flags=0x0
Thu Feb 27 15:31:57 2014 [20330]: User msg:
Thu Feb 27 15:31:57 2014 [20330]: Passwd
Thu Feb 27 15:31:57 2014 [20330]: User data:
Thu Feb 27 15:31:57 2014 [20330]: NONE
Thu Feb 27 15:31:57 2014 [20330]: End packet
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: name=root isuser=1 attr=login rec=1
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_pvalue: returns cleartext Passwd
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: name=root isuser=1 attr=expires rec=1
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: recurse group = Admin
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_pvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: name=root isuser=1 attr=acl rec=1
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_value: recurse group = Admin
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_pvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: login query for 'root' port JAVA from tlpri accepted
Thu Feb 27 15:31:57 2014 [20330]: Writing AUTHEN/SUCCEED size=18
Thu Feb 27 15:31:57 2014 [20330]: PACKET: key=XXXX[APP]6.0!
Thu Feb 27 15:31:57 2014 [20330]: version 192 (0xc0), type 1, seq no 4, flags 0x1
Thu Feb 27 15:31:57 2014 [20330]: session_id 3900892316 (0xe882e49c), Data length 6 (0x6)
Thu Feb 27 15:31:57 2014 [20330]: End header
Thu Feb 27 15:31:57 2014 [20330]: type=AUTHEN status=1 (AUTHEN/SUCCEED) flags=0x0
Thu Feb 27 15:31:57 2014 [20330]: msg_len=0, data_len=0
Thu Feb 27 15:31:57 2014 [20330]: msg:
Thu Feb 27 15:31:57 2014 [20330]: data:
Thu Feb 27 15:31:57 2014 [20330]: End packet
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=X.Y.Z.T attr=key
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named X.Y.Z.T
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=tlpri attr=prompt
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named tlpri
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: tlpri: disconnect
==========================FAILED TACACS AUTHENTICATION ==================================
======= Loggin [APP] through Web Client =======
=======Fri Feb 28, 2014 Loggin [APP] through Web Client =======
Fri Feb 28 09:35:45 2014 [573]: session request from tlpri sock=3
Fri Feb 28 09:35:45 2014 [3373]: connect from tlpri [X.Y.Z.T]
Fri Feb 28 09:35:45 2014 [3373]: Waiting for packet
Fri Feb 28 09:36:08 2014 [3373]: tlpri : fd 3 eof (connection closed)
Fri Feb 28 09:36:08 2014 [3373]: Read -1 bytes from tlpri , expecting 12
Fri Feb 28 09:36:08 2014 [3373]: tlpri: disconnect
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=X.Y.Z.T attr=key
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named X.Y.Z.T
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=tlpri attr=prompt
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: no host named tlpri
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_phvalue: returns NULL
Thu Feb 27 15:31:57 2014 [20330]: Waiting for packet
Thu Feb 27 15:31:57 2014 [20330]: cfg_get_hvalue: name=X.Y.Z.T attr=key
More information about the tac_plus
mailing list