- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Checking if a host is alive or dead
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
тАО06-08-2002 08:32 PM
тАО06-08-2002 08:32 PM
I'm wanting to check if a host is alive. I've tried:
#ping hostname
PING hostname(180.30.500.11) from 180.30.67.119 : 56(84) bytes of data
It does not display the usual output of receving some number of bytes from that hostname, it's ttl, etc..
I've also tried doing an rsh :
#rsh hostname -l cjl04 ls -l
hostname: A remote hosts did not respond within the timeout period.
I've also tried telnet as a last resort - just for the fun of it, but it did not work.
Any other ways of determining if a host is alive or dead ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2002 09:11 PM
тАО06-08-2002 09:11 PM
Re: Checking if a host is alive or dead
# ping venus -n 5
.....
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
Can your system ping to other machine ? If not you might want to check if it's properly routed.
# netstat -r
Also there is a similar kind of conectivity test program called "spray" that you can try but I don't se the point.
# man spray
for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2002 10:07 PM
тАО06-08-2002 10:07 PM
Re: Checking if a host is alive or dead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2002 09:13 AM
тАО06-09-2002 09:13 AM
Re: Checking if a host is alive or dead
have you tried the console?
Although telnet, ping, and remsh don't work, it doesn't mean the host is "dead", it could be that inetd died and needs to be restarted. The only way to restart it though is from the console - unless you have "modem" ports.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2002 03:56 PM
тАО06-09-2002 03:56 PM
Re: Checking if a host is alive or dead
How do I restart the host through the console? What are steps or commands involve?
Please guide me.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2002 05:58 PM
тАО06-09-2002 05:58 PM
Re: Checking if a host is alive or dead
Do you have Physical access to the computer? With the server, there is usually a console. When the console is turned on you should get some kind of response from pressing the return key a few times. let us know what you get.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2002 06:03 PM
тАО06-09-2002 06:03 PM
Re: Checking if a host is alive or dead
If you have web console/LAN console than try to login through that.Even if host is down you can still go to GSP prompt and see the status and run many commands.
After connecting through web console press control B and enter. You will get GSP>
type he for help or you can reset the server by typing rs and enter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2002 08:55 PM
тАО06-09-2002 08:55 PM
Re: Checking if a host is alive or dead
you can trace if there are problems with the network level.
Do a
#traceroute
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2002 12:31 AM
тАО06-10-2002 12:31 AM
Re: Checking if a host is alive or dead
you could also use a portscanner on that server. Somethin like nmap (e.g. from http://hpux.asknet.de).
With the report of a portscanner you can see which ports/services are still alive and which are not.
Perhaps you can find an open port you can use to connect.
BTW: is this server behind a firewall? If yes forget about the portscanner and also about ping. Often firewalls even block ping requests.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2002 12:51 AM
тАО06-10-2002 12:51 AM
SolutionI would agree with with Thayanidhi that linkloop is the best utility to use if you are monitoring remotely but in the same subnet (or same VLAN).
This is because linkloop operates at layer 2 of the TCP/IP stack. Thus, even if layer 3 is unavailable i.e. IP address misconfigured or even no IP address configured resulting in ping or traceroute failure, the server can still be detected to be alive based on the linkloop test.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2002 09:54 AM
тАО06-10-2002 09:54 AM
Re: Checking if a host is alive or dead
rsh
# If date returned host is processing TCP/IP packets and r-commands.
# Else, continue
ping
# If no packets lost, host is processing "basic" IP protocol
# Else, continue
# Go to
# Is a login prompt presented?
# Can you login?
# If no, then reboot
# checkout