- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Radius: aaa libraries not found
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 10:41 PM
01-20-2005 10:41 PM
All the necessary pre-requisites are installed
and the software installation did not generate
any errors or warning.
When I run the command
/opt/aaa/remotecontrol/rmistart.sh
I get the following error
Error! Could not find AAA Server libraries
make sure they are in the shared library path
There are 3 libraries
libjniAgent.so libradlib.so librpilib.so
in the directory /opt/aaa/lib
The script points at this directory using
the option in the script
os=`uname -a | grep -i "HP"`
if [ "$os" = "" ]
then
LD_LIBRARY_PATH=/opt/aaa/lib
export LD_LIBRARY_PATH
else
SHLIB_PATH=/opt/aaa/lib
export SHLIB_PATH
fi
Anybody have any ideas?
I have already reinstalled the product and
installed in on another itanium platform with
the same result
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 10:51 PM
01-20-2005 10:51 PM
Re: Radius: aaa libraries not found
The paths embeded in an executable can be changes with chatr command. man chatr (option -s if I remember correctly.)
Also the perms on /opt/aaa/lib should be appropriate and the perms on file sunder it.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 11:11 PM
01-20-2005 11:11 PM
Re: Radius: aaa libraries not found
/opt/java1.4/bin/java -Djava.rmi.server.useCodebaseOnly=true -Djava.security.policy=/opt/aaa/remotecontrol/java.policy -cp /opt/aaa/remotecontrol com.hp.aaa.rmiserver.RMIServerManagement -radius -start -port 7790 -config /opt/aaa/remotecontrol &
I tried running chatr on it but it returns
the following error
chatr(error): file /opt/java1.4/bin/java is not a valid ELF file
The permissions on /opt/aaa/lib are
dr-xr-xr-x root aaa
and for the lib files
-r-xr-x--- root aaa
and the script has permisssions
-rwxrwx--- root aaa
I am the root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 11:30 PM
01-20-2005 11:30 PM
Re: Radius: aaa libraries not found
Is this being run on HP-UX?? Which version??
Is there an option on java to specify the libraries to use??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 10:43 PM
01-24-2005 10:43 PM
Re: Radius: aaa libraries not found
export JAVA_HOME=/opt/java1.4
before running
/opt/aaa/remotecontrol/rmistart.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 08:19 PM
01-25-2005 08:19 PM
Re: Radius: aaa libraries not found
I got the response
/opt/java1.4/bin/java: PA-RISC1.1 shared executable dynamically linked -not str
ipped dynamically linked
As far as I can see there is no option to
set the shared libraries path when I use
java -h to get the options
I did export JAVA_HOME=/opt/java1.4
when I ran the script and no luck with that
either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 08:42 PM
01-25-2005 08:42 PM
Re: Radius: aaa libraries not found
# sh -x /opt/aaa/remotecontrol/rmistart.sh 2>&1 | tee foo.log
Then look in foo.log to see what part of the script is being called when you get the error "Error! Could not find AAA Server libraries" and if there are any other errors around that time. We are assuming that it is the java call that is causing the problem?
Another shot in the dark might be to create symlinks in /opt/aaa/lib
libjniAgent.sl ->libjniAgent.so
libradlib.sl -> libradlib.so
librpilib.sl ->librpilib.so
although that really is clutching at straws :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 08:46 PM
01-25-2005 08:46 PM
Re: Radius: aaa libraries not found
I tried that and I got the following. It doesn't appear to narrow down the issue.
See an extract from the file below.
Creating RMIRadiusAcctServer...
RMIRadiusAcctServer named "rmiaccountingserver" created.
Try to bind the server...
RMIRadiusAcctServer named "rmiaccountingserver" ready...
Creating RMIMaintenanceServer...
RMILogfileServer named "rmilogfileserver" created.
Try to bind the server...
RMILogfileServer named "rmilogfileserver" ready...
Error! Could not find AAA Server libraries
make sure they are in the shared library path
Shutting down all RMI servers
Caught exception while shutting down RMI servers:
java.rmi.NotBoundException: rmisessionserver
I actually have tried creating the sym
links previously and it didn't do any
good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 03:04 AM
01-26-2005 03:04 AM
Re: Radius: aaa libraries not found
Of course I could be talking total gibberish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 03:15 AM
01-26-2005 03:15 AM
Re: Radius: aaa libraries not found
it contains 7 binaries and 3 shell files.
I did a chatr on all the binaries and each
contains /opt/aaa/lib as an embedded library
path along with /usr/lib, /usr/lib/hpux32.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 03:35 AM
01-26-2005 03:35 AM
Re: Radius: aaa libraries not found
do a:
ldd /opt/aaa/remotecontrol/rmistart.sh
and
chatr /opt/aaa/remotecontrol/rmistart.sh
Is /opt/aaa/remotecontrol also an executable?
Then do both also for it.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 08:31 PM
01-26-2005 08:31 PM
Re: Radius: aaa libraries not found
I tried that and got the following errors
bash-2.05b# ldd /opt/aaa/remotecontrol/rmistart.sh
ldd: Invalid file type: "/opt/aaa/remotecontrol/rmistart.sh". 64-bit shared exec
utable or shared library expected.
bash-2.05b# chatr /opt/aaa/remotecontrol/rmistart.sh
chatr(error): file /opt/aaa/remotecontrol/rmistart.sh is not a valid ELF file
/opt/aaa/remotecontrol is a directory not an
executable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:13 PM
01-26-2005 09:13 PM
Re: Radius: aaa libraries not found
you start your executable with
/opt/aaa/remotecontrol/rmistart.sh - right?
So there must be an executable file inside this script - you have to do 'ldd' and 'chatr' with this exe.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:37 PM
01-26-2005 09:37 PM
Re: Radius: aaa libraries not found
shared library dynamic path search:
SHLIB_PATH enabled first
or
shared library dynamic path search:
SHLIB_PATH enabled second
The important bit is the 'enabled'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:38 PM
01-26-2005 09:38 PM
Re: Radius: aaa libraries not found
I tried the chatr command previously on the
java binary within the script (see the
earlier comments) and it failed. The ldd
command fails also. They fail with the same
reasons as stated previously for the shell
script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:40 PM
01-26-2005 09:40 PM
Re: Radius: aaa libraries not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:40 PM
01-26-2005 09:40 PM
Re: Radius: aaa libraries not found
in /opt/aaa/bin, the SHLIB_PATH is enabled
third with LD_LIBRARY_PATH enabled second
and the embedded path enabled first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:43 PM
01-26-2005 09:43 PM
Re: Radius: aaa libraries not found
with the radius install and which is to be
executed to start radius. As you can see all
it does basically is set a shared lib path
and execute the java binary which is supposed
to startup radius.
os=`uname -a | grep -i "HP"`
if [ "$os" = "" ]
then
LD_LIBRARY_PATH=/opt/aaa/lib
export LD_LIBRARY_PATH
else
SHLIB_PATH=/opt/aaa/lib
export SHLIB_PATH
fi
/opt/java1.4/bin/java -verbose -Djava.rmi.server.useCodebaseOnly=true -Djava.se
urity.policy=/opt/aaa/remotecontrol/java.policy -cp /opt/aaa/remotecontrol com.
p.aaa.rmiserver.RMIServerManagement -radius -start -port 7790 -config /opt/aaa/
emotecontrol &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:43 PM
01-26-2005 09:43 PM
Re: Radius: aaa libraries not found
So is there a executable radius?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:50 PM
01-26-2005 09:50 PM
Re: Radius: aaa libraries not found
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 09:59 PM
01-26-2005 09:59 PM
Re: Radius: aaa libraries not found
you execute the script /opt/aaa/remotecontrol/rmistart.sh
This in turn executes the java binary which
is supposed to start the radius server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 10:14 PM
01-26-2005 10:14 PM
Re: Radius: aaa libraries not found
find /opt/aaa -exec grep -l "Could not find AAA Server libraries" {} \; -print 2> /dev/null
give you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 10:17 PM
01-26-2005 10:17 PM
Re: Radius: aaa libraries not found
It just returns to the command line after
executing and nothing is returned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 10:21 PM
01-26-2005 10:21 PM
Re: Radius: aaa libraries not found
find /opt/aaa -exec grep -l "Could not find" {} \; -print 2> /dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 10:28 PM
01-26-2005 10:28 PM
Re: Radius: aaa libraries not found
I'm trying to find out where the error message comes from BTW (if you hadn't already guessed)/