HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Windows 2003 Command fails with exit code 255
Server Management - Systems Insight Manager
1836636
Members
1714
Online
110102
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
Forums
Discussions
Discussions
Discussions
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
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
04-07-2004 06:00 AM
04-07-2004 06:00 AM
Windows 2003 Command fails with exit code 255
I'm trying to run a custom command (I've tried everything from simply bat files that create a local dir to the integrated windows 'dir') - all exit as sucessful with a code of 255. I even wrote a simple bat that did nothing but exit with a code of 10 - it still reported it ran 'sucessfully' with a code of 255. They are not sucessful. Nothing has ever happened, it is quite obvious they are not running.
I've reproduced on 3 different servers (DL380G3, DL360G2, BL20PG2).
I've logged into the ssh server:
ssh administrator@servername
and all looks good.
I've run mxagentconfig -a -u -p and it registers sucessfully.
I'm running under the same account (administrator) that installed SIM. I've tried various configs with SQL or the MSDE - all the same.
Any help is greatly appreciated.
Thanks,
Mike
I've reproduced on 3 different servers (DL380G3, DL360G2, BL20PG2).
I've logged into the ssh server:
ssh administrator@servername
and all looks good.
I've run mxagentconfig -a -u -p and it registers sucessfully.
I'm running under the same account (administrator) that installed SIM. I've tried various configs with SQL or the MSDE - all the same.
Any help is greatly appreciated.
Thanks,
Mike
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 08:02 AM
04-07-2004 08:02 AM
Re: Windows 2003 Command fails with exit code 255
To be clear, if you have created this with the 'Custom Commands' menu options, the only place this is executing is on the hpSIM central management server (CMS) itself. The effect of naming one or more non-CMS targets is to get the task to iterate for each target while substituting the name of the target into the DEVICENAME variable.
mxagentconfig distributes keys to instances of SSH; as your target is not being used to run anything, this has no effect. If OpenSSH on the CMS was not properly trusted (hopefully you followed the directions in the README) then you would be getting
EXCEPTION CLASS: com.hp.mx.exceptions.MxFailedAuthenticationException
EXCEPTION: Authentication failed.
SQL Server/MSDE have nothing to do with this functionality.
Do any of the out-of-box supplied custom commands work, like
Tools --> Command Line Tools --> Windows --> netstat
work properly when executed against the CMS? What if your .bat file contained the statement
echo test >c:\test
...would it write the file (evidence that it is executing)?
mxagentconfig distributes keys to instances of SSH; as your target is not being used to run anything, this has no effect. If OpenSSH on the CMS was not properly trusted (hopefully you followed the directions in the README) then you would be getting
EXCEPTION CLASS: com.hp.mx.exceptions.MxFailedAuthenticationException
EXCEPTION: Authentication failed.
SQL Server/MSDE have nothing to do with this functionality.
Do any of the out-of-box supplied custom commands work, like
Tools --> Command Line Tools --> Windows --> netstat
work properly when executed against the CMS? What if your .bat file contained the statement
echo test >c:\test
...would it write the file (evidence that it is executing)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2004 12:43 AM
04-08-2004 12:43 AM
Re: Windows 2003 Command fails with exit code 255
All of the commands (dir, netstat) exit with 255 and no stdout or stderr.
test.bat has consisted of various commands:
exit 10
or
md test
or
echo >test.txt
Overall, I've had LOTS of problems with the installation. I'm running about 6 instances right now (windows 2000 / windows 2003), most of which have been formatted 3 or 4 times. I've found (reproducible) that uninstalling and reinstalling causes problems when creating the database (after uninstalling everything including SQL/MSDE).
Is there some DB configuration I need to do?
All servers were built with RDP 1.50 / SS7.0
-Mike
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP