- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- OpenSSH and non-running jobs
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
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
02-02-2004 08:38 AM
02-02-2004 08:38 AM
OpenSSH and non-running jobs
Still battling this and I'm not having a particularly successful time with OpenSSH. The feature of HPSIM that is meant to replace the Application Launch feature, Custom Commands just doesn't work.
Problem:
A perl script that when run directly runs.
A Custom Command set up to run the perl script. This only runs if I create the task under the account I installed HPSIM under.
A Event Notification task to run the Custom command. This part has never run successfully. Again, I can only set this up under the account I installed HPSIM under. The Log file for the Task claims it has run, but the perl script never fires. I generate a generic SNMP trap, the task fires on receipt of a major event.
Trying to trace where it is failing is not proving easy.
I have tried adding my own User ID to the OpenSSH passwd file on the CMS. It has added it, but if I try and run jobs using it they still fail with an Authentication error.
I have tried without success to run the mxagentconfig utility. I just cannot logon to the CMS Server, even using the account and password that I installed HPSIM and OpenSSH under. All I get is failed to connect to server CMSServer.
According to the password file (passwd) there are two ID's in there, the account that I installed HPSIM under and mine, as I added earlier.
This has proved a tad frustrating, has anyone got it to work?
Did you install HPSIM / OpenSSH under the local account or a Domain Admin Account?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2004 02:15 AM
02-03-2004 02:15 AM
Re: OpenSSH and non-running jobs
I hear your frustration. I did get it to work after about a day's worth of attempts. I couldn't tell you the last piece that got it to work because of all the different things I tried. Then I had to reinstall the application because of another failure and now it doesn't work. I'm frustrated too.
OK, so here are some ideas. One thing I did was to make sure OpenSSH itself was working. I used Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) to test it. One thing that kept getting me was if I should include a domain in the username or not. It turns out you do not supply it. Another HP site that gave some good advice was this: http://www.hp.com/wwsolutions/misc/hpsim-helpfiles/readme.txt
Go to the section that says "Mxagentconfig fails when trying to authorize a user on a Windows system,
that did not install OpenSSH."
Look at the event log for SSH errors too.
When your mxagentconfig fails, how does it fail? At one time I kept getting errors, but now it just hangs forever.
I believe when you setup your event notification you have to go back into it and set the owner of it to the account you want to use SSH with.
What a mess, I'm going to experiment with it more today and will let you know if I find anything else.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2004 07:57 AM
02-03-2004 07:57 AM
Re: OpenSSH and non-running jobs
Thanks for mentioning putty, I should have thought of that. But, I've not been able to login to the CMS Server using SSH.
At this point I'm not sure how case sensitive this is. Being that it's from the Unix world I probably need to be very precise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2004 08:57 AM
02-03-2004 08:57 AM
Re: OpenSSH and non-running jobs
Logins fail with:
Permission denied (publickey,password,keyboard-interactive).
This may just be indicating I cannot log in using a terminal session, but I don't know enough about SSH at this point.
I've tried this for both domain and the local admin account.
These accounts have been added to the OpenSSH passwd file.
Also tried changing teh loggin level to Verbose and restarting the OpenSSH Service, but that is still frustratingly blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2004 09:32 AM
02-03-2004 09:32 AM
Re: OpenSSH and non-running jobs
I downloaded and re-installed OpenSSH, I'm not sure if this is any different from the one included in th HPSIM set, it still shows up as 3.7.1p1, although the distro. seemed to indicate there was an additional -1 on the end.
Anyway, I can log in and now the Custom Commands are working. All down to a reinstall of OpenSSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2005 04:57 PM
03-14-2005 04:57 PM
Re: OpenSSH and non-running jobs
when you finally fixed your Openssh problems you said you reinstalled it. Did you reinstall it on the CMS or on the managed systems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 06:51 AM
03-15-2005 06:51 AM
Re: OpenSSH and non-running jobs
Depends on what you're trying to do.
I've reinstalled OpenSSH on the CMS in order to get Custom Commands to work. This is required as the Custom Command logs back into the Server using OpenSSH.
It really is quite sensitive to getting all of the details correct on the CMS first. Otherwise using OpenSSH to talk to remote Servers will not work either.
I had to add entries to the passwd file (via mkpasswd) and I also manually added entries to the groups file. Before I ran the mxagentconfig utility.