- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Unable to finish the hpsmh-tomcat installation.
Operating System - Linux
1753485
Members
4455
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-24-2008 06:26 AM
тАО01-24-2008 06:26 AM
Unable to finish the hpsmh-tomcat installation.
i have installed hpsmh and hpsmh-tomcat-1.0-11.linux package also.
After installing hpsmh-tomcat-1.0-11.linux.rpm got a message to finish the installation by running /opt/hp/hpsmh/tomcat/bin/tomcat_cfg script file.
But while running this throws an error saying that
chown: cannot access `/opt/hp/hpsmh/tomcat/keystore': No such file or directory
chgrp: cannot access `/opt/hp/hpsmh/tomcat/keystore': No such file or directory
chmod: cannot access `/opt/hp/hpsmh/tomcat/keystore': No such file or directory.
Before running the script keystore file was present and file was empty.
Any thoughts?
After installing hpsmh-tomcat-1.0-11.linux.rpm got a message to finish the installation by running /opt/hp/hpsmh/tomcat/bin/tomcat_cfg script file.
But while running this throws an error saying that
chown: cannot access `/opt/hp/hpsmh/tomcat/keystore': No such file or directory
chgrp: cannot access `/opt/hp/hpsmh/tomcat/keystore': No such file or directory
chmod: cannot access `/opt/hp/hpsmh/tomcat/keystore': No such file or directory.
Before running the script keystore file was present and file was empty.
Any thoughts?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2008 06:29 AM
тАО01-24-2008 06:29 AM
Re: Unable to finish the hpsmh-tomcat installation.
Might wish to post this in the Linux forum to get more responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2008 04:51 AM
тАО01-25-2008 04:51 AM
Re: Unable to finish the hpsmh-tomcat installation.
Which Linux Operating System (Distribution) are you using?
If the files is actually present, then possibly user permissions are preventing the chown, chgrp & chmod operations on that file.
If the files is actually present, then possibly user permissions are preventing the chown, chgrp & chmod operations on that file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2008 03:05 AM
тАО04-03-2008 03:05 AM
Re: Unable to finish the hpsmh-tomcat installation.
I was facing the same problem. After looking into it, I found out that tomcat_cfg relies on a complete Java package. That's why it asks you the path for the java executable in fact.
In my case, by default, it was pointing at /usr/bin/java. Since the file was existing and looking good, I thought it was Ok so I pressed ENTER and then got your error. But in fact /usr/bin/java was a link to something else, not a complete JRE distribution. The problem is that tomcat_cfg does not only invokes the java executable, but also various other Java tools such as "keytool", which tomcat_cfg expects to find in the directory you specified, in my case /usr/bin/java.
Since it's not a regular distribution, keytool and the other Java tools were absent. Because of this, the key generation process that creates your "keystore" file could not work properly. It doesn't create it at all, and so the errors you got...
To fix your problem, you have to install or indicate the path to a real Java distribution on your server. That's what I did and the errors disapeared!
But then my problems weren't over! The tomcat_cfg script contains a trap for non-English countries. If your LANG variable is pointing at a on-English langage (French in my case), then tomcat_cfg will enter an endless loop because the 'yes' process, that is piped to keytool in the script in order to provide it dummy parameters only answers "y" messages whatever the LANG settings you have. Since my LANG was set to FRENCH, keytool was expecting an "o" (for "oui") to close the keytool dialog. Since 'yes' was only saying "y", keytool was considering it an "n", and therefore was entering another sequence of parameters definition, which was again terminated by an "y" that was interpreted as an "n", etc, etc...
So, to summarize, you have to :
- Indicate the path of a real Java distribution to tomcat_cfg so that it finds out the required extra tools
- Set your LANG to C before invoking tomcat_cfg.
Hope this helps!
Best regards,
Pascal.
In my case, by default, it was pointing at /usr/bin/java. Since the file was existing and looking good, I thought it was Ok so I pressed ENTER and then got your error. But in fact /usr/bin/java was a link to something else, not a complete JRE distribution. The problem is that tomcat_cfg does not only invokes the java executable, but also various other Java tools such as "keytool", which tomcat_cfg expects to find in the directory you specified, in my case /usr/bin/java.
Since it's not a regular distribution, keytool and the other Java tools were absent. Because of this, the key generation process that creates your "keystore" file could not work properly. It doesn't create it at all, and so the errors you got...
To fix your problem, you have to install or indicate the path to a real Java distribution on your server. That's what I did and the errors disapeared!
But then my problems weren't over! The tomcat_cfg script contains a trap for non-English countries. If your LANG variable is pointing at a on-English langage (French in my case), then tomcat_cfg will enter an endless loop because the 'yes' process, that is piped to keytool in the script in order to provide it dummy parameters only answers "y" messages whatever the LANG settings you have. Since my LANG was set to FRENCH, keytool was expecting an "o" (for "oui") to close the keytool dialog. Since 'yes' was only saying "y", keytool was considering it an "n", and therefore was entering another sequence of parameters definition, which was again terminated by an "y" that was interpreted as an "n", etc, etc...
So, to summarize, you have to :
- Indicate the path of a real Java distribution to tomcat_cfg so that it finds out the required extra tools
- Set your LANG to C before invoking tomcat_cfg.
Hope this helps!
Best regards,
Pascal.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP