- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java_wrapper - no such file or directory
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-02-2004 08:47 PM
тАО09-02-2004 08:47 PM
java_wrapper - no such file or directory
My collegue was in the process of installing commandview SDM on an rp8400. After the installation the armdiscover produces the following error:
/opt/java1.4/bin/PA_RISC2.0>armdiscover
Cannot exec - /opt/sanmgr/jre/bin/PA_RISC2.0/PA_RISC2.0/.java_wrapper
execvp(): No such file or directory
/opt/java1.4/bin/PA_RISC2.0
the directory does exist but the file dosent.
Any ideas?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 12:13 AM
тАО09-03-2004 12:13 AM
Re: java_wrapper - no such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 12:47 AM
тАО09-03-2004 12:47 AM
Re: java_wrapper - no such file or directory
you should check with 'ldd armdiscover'
and 'chatr armdiscover' which libraries are claimed.
Then check if the directories/files are there.
And search in /opt/java1.4/bin with find for '.java_wrapper'.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 01:35 AM
тАО09-03-2004 01:35 AM
Re: java_wrapper - no such file or directory
UX Ver: 11.11
Java ver 1.4
CMDVIEW SDM ver: 1.08.01
The java_wrapper file is present in the /opt/java1.4/bin directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 01:43 AM
тАО09-03-2004 01:43 AM
Re: java_wrapper - no such file or directory
if the .java_wrapper is in /opt/java1.4/bin ,then I believe 'armdiscover' is searching in the wrong directory.
One simple solution is to make a link there where 'armdiscover' is looking for the binary.
The other solution is to pass the right pathes in SHLIB_PATH or PATH to the application.
As I told you use 'ldd' and 'chatr' to find out where 'armdiscover' is looking for it's libraries/binaries.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 01:55 AM
тАО09-03-2004 01:55 AM
Re: java_wrapper - no such file or directory
I get the following when trying the suggestions:
/opt/sanmgr/jre # ldd armdiscover
ldd: cannot open "armdiscover".
ldd: No such file or directory
/opt/sanmgr/jre # chatr armdiscover
chatr(error): cannot open file armdiscover
/opt/sanmgr/jre #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 01:58 AM
тАО09-03-2004 01:58 AM
Re: java_wrapper - no such file or directory
are you sure that armdiscover is in /opt/sanmgr/jre?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 02:02 AM
тАО09-03-2004 02:02 AM
Re: java_wrapper - no such file or directory
just to explain:
you have to do 'ldd' and 'chatr' in the directory where the file armdiscover is ...
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 02:03 AM
тАО09-03-2004 02:03 AM
Re: java_wrapper - no such file or directory
/opt/sanmgr/commandview/client/sbin # ldd armdiscover
ldd: Invalid file type: "armdiscover". Shared executable or shared libray expect
ed.
/opt/sanmgr/commandview/client/sbin # chatr armdiscover
chatr(error): chatr cannot recognize file type of file armdiscover
Above is the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 02:05 AM
тАО09-03-2004 02:05 AM
Re: java_wrapper - no such file or directory
V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 02:13 AM
тАО09-03-2004 02:13 AM
Re: java_wrapper - no such file or directory
I have attached the output of the 'armdiscover script' probably means more to you than me.
# Script used to run the Device Discovery application
#
ScriptPath=$(dirname $0)
# Set up the common environment variables
. ${ScriptPath}/PanScriptCommon.sh
# Set up the class path
CLASSPATHA=${ClCls}disc.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}DeviceDB.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}DOFactory.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}jcore.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}panutils.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}sandevice.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}clui.jar
CLASSPATHA=${CLASSPATHA}:${ClCls}CVSDMLicensing.jar
CLASSPATHA=${CLASSPATHA}:${INSTDIR}/../cssi/Licensing/classes/Licensing.jar
CLASSPATHA=${CLASSPATHA}:${INSTDIR}/../security/lib/cssisec.jar
# Set the main class and associated required options
# The option passes in the directory containing the
# Device property files.
CLASSMAIN=com.hp.Array2001Mgr.clui.armdiscover
# Execute Java
${JREEXE} -classpath ${CLASSPATHA} ${CLASSMAIN} ${OPT} "$@"
ExitVal=$?
exit ${ExitVal}
Hope that this helps somewhat.
Kind regards
Shokhat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 02:32 AM
тАО09-03-2004 02:32 AM
Re: java_wrapper - no such file or directory
${JREEXE} seems to be the file, but where is it set?
You start it with 'armdiscover' in '/opt/java1.4/bin/PA_RISC2.0' ?
Can you give me an 'ls -la' from this directory 'opt/sanmgr/commandview/client/sbin' ?
Or does anybody else know this application?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 07:31 PM
тАО09-05-2004 07:31 PM
Re: java_wrapper - no such file or directory
I did a complete swremove of commandviewsdm, including HPOVSAMJR, HPOVSAMHA,HPOVSAMDA, HPOVSAMHB, HPOVSAMSG, HPOVLIC, SSLIC, SMI-S_VA
and also did "rm -r /opt/sanmgr/jre"
Reinstalled COMMANVIEWSDM and it seems to have fixed the problem, however now I am getting the following:
# armdiscover -v
This could take several minutes ...
Remote discovery failed with status: Error connecting to HostDiscovery.
I have not spent much time investigating this, and ideas?
Thanks for all the assistance thus far.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 10:30 PM
тАО09-06-2004 10:30 PM
Re: java_wrapper - no such file or directory
sorry don't know this application.
Are there man pages installed?
'man armdiscover' or any hints about option '-v'?
Maybe you should start a new thread with the subject 'COMMANVIEWSDM' itself? So anybody who knows this app will look in.
Volkmar