- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UDP Port 123 in use
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
тАО09-06-2004 09:10 PM
тАО09-06-2004 09:10 PM
UDP Port 123 in use
May I know what is the command to check whether UDP Port 123 being utilized? If yes, how to release it?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 09:16 PM
тАО09-06-2004 09:16 PM
Re: UDP Port 123 in use
MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 09:18 PM
тАО09-06-2004 09:18 PM
Re: UDP Port 123 in use
Use
# netstat -a
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2004 09:58 PM
тАО09-06-2004 09:58 PM
Re: UDP Port 123 in use
grep -w '132' /etc/services
It will give the service name details.
Check the network status as,
netstat -na | grep -w '132'
It will give informations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 12:03 PM
тАО09-07-2004 12:03 PM
Re: UDP Port 123 in use
Netstat -a will show if "ntp" is in use, because it will see that there is a socket bound to the port number corresponding to the service name "ntp" but will not show the number "123" itself (you have to add -n) and will not say which process or processes has a socket open bound to port 123 - you have to use lsof for that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 12:52 PM
тАО09-07-2004 12:52 PM
Re: UDP Port 123 in use
How to use lsof? I try to man lsof but nothing for this command.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 01:01 PM
тАО09-07-2004 01:01 PM
Re: UDP Port 123 in use
If netstat -an shows there is a socket bound to port 123, given that is indeed the port number assigned to the service provided by NTP, you could simply do a ps -ef | grep ntp and see if the xntpd is running.
If it is, then that would explain why say an attempt to run ntpdate would fail. And if xntpd is running, it should in theory be synced with its time sources, making a run of ntpdate unnecessary. The ntpq command can be used to check on the status of time synchronization, and you can check the syslog file (/var/adm/syslog/syslog.log) for message from the xntpd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 01:02 PM
тАО09-07-2004 01:02 PM
Re: UDP Port 123 in use
The following command shows a listing for all ports in use
# lsof -i
Or for specific ports use:
# lsof -i :123
Cheers
Con