- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to enable ping for new users
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
07-06-2007 01:43 AM
07-06-2007 01:43 AM
How to enable ping. We are having two risc servers on which HPOV applications have been installed. I have created a user of Users group, but i am not able to ping any IP address of same subnet after loggin by that user.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 02:06 AM
07-06-2007 02:06 AM
Re: How to enable ping for new users
$ ll `whence ping`
-r-sr-xr-x 1 root bin 32768 Oct 23 2002 /usr/sbin/ping
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 02:45 AM
07-06-2007 02:45 AM
Re: How to enable ping for new users
What does the command give as output?
not found?
Also check, edit and correct (if needed) in the users .profile:
# Set up the search paths:
PATH=$PATH:/usr/sbin:.
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 05:34 AM
07-06-2007 05:34 AM
Re: How to enable ping for new users
> not able to ping any IP address ...
do you mean that ping runs just fine and simply fails to get a response? Or do you mean that if you use ping and a hostname and ping says hostname not found? Or does ping say permission denied? Or does the ping command say: program not found?
Need a bit more information. There is no configuration between any user and the ping command.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 07:12 AM
07-06-2007 07:12 AM
Re: How to enable ping for new users
However, if that is not the problem, the you might try to use traceroute.
This would tell you if you were getting anywhere. It might be that your network administrators are not allowing ICMP packets on the network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 09:41 PM
07-08-2007 09:41 PM
Re: How to enable ping for new users
I have attached a document, which is containing the o/p of all the commands. Still i am not able to ping any IP address in the same subnet.
Plz tell me what should i do now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 10:04 PM
07-08-2007 10:04 PM
Re: How to enable ping for new users
1. i could see the path is in the profile.
2. file permissions looks ok.
could you try....
i hope you edited the profile as per suggestions above. logout login again(profile execute) or run the profile and check again....
else post the output for
/etc/ping 131.2.10.12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 12:31 AM
07-09-2007 12:31 AM
Re: How to enable ping for new users
Is it needed to restart the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 12:39 AM
07-09-2007 12:39 AM
Re: How to enable ping for new users
As this user, try
/usr/sbin/ping ...
You may include this path into PATH as mentioned above.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 12:40 AM
07-09-2007 12:40 AM
Solutionping not found
So tell the users to type in the full path:
/usr/sbin/ping 12.34.56.78
This will work OK although inconvenient. It is important to note that /usr/sbin is not normally in an ordinary user's $PATH because the majority of commands in that directory are root-only commands. ping is one exception, so there are two fixes:
1. Change the file: /etc/PATH and add :/usr/sbin (carefully) to the end of the long line, or
2. Change each user's .profile to add the line:
export PATH=$PATH:/usr/sbin
and have the user login again. Now ping will be found.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 06:43 PM
07-09-2007 06:43 PM
Re: How to enable ping for new users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 12:41 AM
07-10-2007 12:41 AM
Re: How to enable ping for new users
Finally I am able to ping. I did all the steps in a sequence as all of you told me, But after
1. Change the file:/etc/PATH and add :/usr/sbin (carefully) to the end of the long line.
Making the above correction, Its working fine for all nonroot users. It means this problem is not related to any particular user. Now I have deleted the entry in the .profile.
#set up the search paths:
PATH=$PATH:/usr/sbin:.
To
PATH=$PATH:.
Still its working.
Thnx all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 01:40 AM
07-10-2007 01:40 AM
Re: How to enable ping for new users
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 02:42 AM
07-10-2007 02:42 AM
Re: How to enable ping for new users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 01:00 AM
07-11-2007 01:00 AM
Re: How to enable ping for new users
Finally I am able to ping. I did all the steps in a sequence as all of you told me, But after
1. Change the file:/etc/PATH and add :/usr/sbin (carefully) to the end of the long line.
Making the above correction, Its working fine for all nonroot users. It means this problem is not related to any particular user. Now I have deleted the entry in the .profile.
#set up the search paths:
PATH=$PATH:/usr/sbin:.
To
PATH=$PATH:.
Still its working.
Thnx all