HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rexd daemon and ntp
Operating System - HP-UX
1840329
Members
3847
Online
110162
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
Go to solution
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
07-11-2006 08:54 PM
07-11-2006 08:54 PM
Hi All
Pls help me on the following queries.
1. in my server rexd is enabled through inetd. How do i know that some one used rexd service in my server?
2. How can i check that my server is time synchronised using NTP.
Please help.
thanks
S.O
Pls help me on the following queries.
1. in my server rexd is enabled through inetd. How do i know that some one used rexd service in my server?
2. How can i check that my server is time synchronised using NTP.
Please help.
thanks
S.O
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 09:13 PM
07-11-2006 09:13 PM
Solution
Hi,
It is quite difficult to say who used this services in the past unless you have enabled logging for this services.How ever you can make out if anybody is using this currently by doing a lsof or netstat on the service port
look for entries in ntp.conf file located in /etc/ directory and if you have a ntp server configured it should have below entries (Entries are sample)
server # local clock
fudge stratum # disciplined by radio clock
to display the status of the daemon on the local machine, or
ntpq -p ntp_server
It is quite difficult to say who used this services in the past unless you have enabled logging for this services.How ever you can make out if anybody is using this currently by doing a lsof or netstat on the service port
look for entries in ntp.conf file located in /etc/ directory and if you have a ntp server configured it should have below entries (Entries are sample)
server
fudge
to display the status of the daemon on the local machine, or
ntpq -p ntp_server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 11:51 PM
07-11-2006 11:51 PM
Re: rexd daemon and ntp
To log usage of the rexd service, change your entry in /etc/inetd.conf to add the -l option:
rpc stream tcp nowait root /usr/sbin/rpc.rexd 100017 1 rpc.rexd -l /var/adm/rexd.log
Then tell inetd to re-read the conf file: inetd -c
For NTP, just run:
ntpq -p
It will report on the NTP servers that are configured. Setting up NTP is fairly simple once you have found at least 3 to 5 servers that are reachable. To test for connections to NTP servers, use ntpq like this:
ntpq -p 0.pool.ntp.org
ntpq -p 1.pool.ntp.org
ntpq -p 2.pool.ntp.org
If these commands fail with no response, your firewall is probably blocking port 123. Talk to your network administrator about the NTP port.
If all of these work, replace the (lengthy) ntp.conf file in /etc with:
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
Now check your current time. It should be within a minute or two of accurate time. If you need to change the time (especially backwards), be sure to stop any databases and check on crontab entries to make sure they will not be caught in the timje change. To set the time exactly, you can use:
ntpdate -b 0.pool.ntp.org
That will set the time. Then run xntpd which will keep the time automatically synced. To automatically start xntpd after a reboot, edit the file /etc/rc.config.d/netdaemons to change:
export NTPDATE_SERVER=0.pool.ntp.org
export XNTPD=1
Note that in a data center, ALL computers (PCs, Macs, servers) plus all network appliances and all smart UPS boxes should be using NTP. If there are more than 5-10 devices, talk to your network administrator about confguring the firewall to be an NTP server within your company's network. That way, the network load is reduced and all local systems will point to the firewall's NTP server port.
See these references:
http://ntp.org
http://www.pool.ntp.org/use.html
Bill Hassell, sysadmin
rpc stream tcp nowait root /usr/sbin/rpc.rexd 100017 1 rpc.rexd -l /var/adm/rexd.log
Then tell inetd to re-read the conf file: inetd -c
For NTP, just run:
ntpq -p
It will report on the NTP servers that are configured. Setting up NTP is fairly simple once you have found at least 3 to 5 servers that are reachable. To test for connections to NTP servers, use ntpq like this:
ntpq -p 0.pool.ntp.org
ntpq -p 1.pool.ntp.org
ntpq -p 2.pool.ntp.org
If these commands fail with no response, your firewall is probably blocking port 123. Talk to your network administrator about the NTP port.
If all of these work, replace the (lengthy) ntp.conf file in /etc with:
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
Now check your current time. It should be within a minute or two of accurate time. If you need to change the time (especially backwards), be sure to stop any databases and check on crontab entries to make sure they will not be caught in the timje change. To set the time exactly, you can use:
ntpdate -b 0.pool.ntp.org
That will set the time. Then run xntpd which will keep the time automatically synced. To automatically start xntpd after a reboot, edit the file /etc/rc.config.d/netdaemons to change:
export NTPDATE_SERVER=0.pool.ntp.org
export XNTPD=1
Note that in a data center, ALL computers (PCs, Macs, servers) plus all network appliances and all smart UPS boxes should be using NTP. If there are more than 5-10 devices, talk to your network administrator about confguring the firewall to be an NTP server within your company's network. That way, the network load is reduced and all local systems will point to the firewall's NTP server port.
See these references:
http://ntp.org
http://www.pool.ntp.org/use.html
Bill Hassell, sysadmin
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