- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remote shell to shutdown a HP-UX server ?
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
09-18-2001 07:15 AM
09-18-2001 07:15 AM
I already figured out to do a rsh (remote shell) but when I do :
rsh hpserver -l root shutdown -h -y 0
I receive the message from shutdown :
In interactive mode shutdown must be run from an interative input device. Use the -y option for non-interactive mode-- exiting shutdown.
Is there a way of bringing my HP-UX box down when the UPS signals my win2000 machine there is a powerfailure ? all I need is a BATCH-file on my win2000 machine that can bring the HP-UX box down.
Any sugestions ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 07:26 AM
09-18-2001 07:26 AM
Re: remote shell to shutdown a HP-UX server ?
Try adding the '-n' flag thusly:
# remsh hpserver -l root -n shutdown -hy 0
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 10:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 10:12 AM
09-18-2001 10:12 AM
Re: remote shell to shutdown a HP-UX server ?
Try
#remsh server -l root /usr/sbin/shutdown -h -y now
or
#remsh server /usr/sbin/shutdown -h -y now
(because you are already logon as root and if you can rsh as root then you don't have to specify -l user)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 12:28 AM
09-19-2001 12:28 AM
Re: remote shell to shutdown a HP-UX server ?
so I can remotely shutdown my machine with the command :
rsh hpserver -l root -n "/sbin/shutdown -hy now"
Thanks for the help.
Chris MARREEL