xntpd server configuration
1. xntpd server (daemon) is used by HP-UX. Open the file /etc/rc.config.d/netdaemons:
# vi /etc/rc.config.d/netdaemons
Make sure following variables are defined and XNTPD is set to 1:
export NTPDATE_SERVER='ntp.mycorp.com pool.ntp.org in.pool.ntp.org'
export XNTPD=1
export XNTPD_ARGS=
Save and close the file. Where,
* NTPDATE_SERVER : space-separated list of timeserver / IPs - If server uses the radio clock / system time, leave the NTPDATE_SERVER blank.
* XNTPD : set it to 1 to enable NTP
* XNTPD_ARGS : set options, see man page
2.Make sure correct timezone is setup in /etc/TIMEZONE file (look for TZ variable):
# vi /etc/TIMEZONE
Save and close the file.
3.Open /etc/ntp.conf file:
#vi /etc/ntp.conf
Make sure server are defined:
server unix-box-ntp
server delhi-ntp
peer delhi-noc-ntp
driftfile /etc/ntp.drift
Close and save the file. Where,
* server : ntp server used (poll) to obtain time
* peer : a peer relationship with another ntp server
* driftfile : track local clock time (drift of the local clock)
4. Start HP-UX ntp service:
# /sbin/init.d/xntpd start
# /sbin/init.d/xntpd stop <-- stop ntp service
5.Verify that everything is working fine:
# ntpq -p
Watch out log file /var/adm/syslog/syslog.log for errors:
# tail -f /var/adm/syslog/syslog.log
Make sure xntpd is running:
# ps -ef | grep xntpd
20 Comments
I am proud of you for your brief explanation. Your post is very interesting and this is very useful for increasing my knowledge skills. Well said, I like to more post from your blog.
ReplyDeleteLinux Training in Chennai
Linux Course in Chennai
Best Linux Training in Chennai
Tableau Training in Chennai
Spark Training in Chennai
Oracle Training in Chennai
Oracle DBA Training in Chennai
Linux Training in OMR
Linux Training in Velachery
Great Blog!!! Was an interesting blog with a clear concept. And will surely help many to update them.
ReplyDeleteSalesforce Training in Chennai
Salesforce Training
ccna Training in Chennai
PHP Training in Chennai
ReactJS Training in Chennai
Angularjs Training in Chennai
Salesforce Training in Chennai
Nice idea,keep sharing your ideas with us.i hope this information's will be helpful for the new learners.
ReplyDeleteiOS Training in Chennai
iOS Training in Tambaram
JAVA Training in Chennai
Python Training in Chennai
Hadoop Training in Chennai
SEO Training in Chennai
IOS Training in Chennai
iOS Training in OMR
Very good information provided, Thanks a lot for sharing such useful information.
ReplyDeleteAviation Academy in Chennai
Air hostess training in Chennai
Airport management courses in Chennai
Ground staff training in Chennai
best aviation academy in Chennai
air hostess academy in Chennai
Airline Courses in Chennai
airport ground staff training in Chennai
Great Article. Thank you for sharing! Really an awesome post for every one.
ReplyDeleteIEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.
JavaScript Training in Chennai
JavaScript Training in Chennai
Fantastic blog with excellent information found valuable thank you for sharing.
ReplyDeleteData Analytics Course Online 360DigiTMG
Such an excellent article. Found very interesting and resourceful, I would like to thank you for the efforts you had made for writing this awesome article.
ReplyDeletetypeerror nonetype object is not subscriptable
Nice Information Your first-class knowledge of this great job can become a suitable foundation for these people. I did some research on the subject and found that almost everyone will agree with your blog.
ReplyDeleteCyber Security Course in Bangalore
Writing in style and getting good compliments on the article is hard enough, to be honest, but you did it so calmly and with such a great feeling and got the job done. This item is owned with style and I give it a nice compliment. Better!
ReplyDeleteCyber Security Training in Bangalore
This is an excellent article. Thanks for sharing this information. I will be visiting your blog regularly for the latest articles. I will be visiting your blog regularly to see some of the latest posts. PMP Certification in Hyderabad
ReplyDeleteReally nice and interesting blog information shared was valuable and enjoyed reading this one. Keep posting. Thanks for sharing.
ReplyDeleteData Science Training in Hyderabad
Fantastic article with informative content. Information shared was valuable and enjoyed reading it looking forward for next blog thank you.
ReplyDeleteEthical Hacking Course in Bangalore
They are produced by high level developers who will stand out for the creation of their polo dress. You will find Ron Lauren polo shirts in an exclusive range which includes private lessons for men and women.
ReplyDeleteBusiness Analytics Course in Bangalore
It's like you understand the topic well, but forgot to include your readers. Maybe you should think about it from several angles.
ReplyDeleteData Analytics Course in Bangalore
I have to search sites with relevant information ,This is a
ReplyDeletewonderful blog,These type of blog keeps the users interest in
the website, i am impressed. thank you.
Data Science Course in Bangalore
IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.
ReplyDeleteIEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.
corporate training in chennai corporate training in chennai
corporate training companies in india corporate training companies in india
corporate training companies in chennai corporate training companies in chennai
I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai
I have to search sites with relevant information ,This is a
ReplyDeletewonderful blog,These type of blog keeps the users interest in
the website, i am impressed. thank you.
Data Science Training in Bangalore
Thanks for posting the best information and the blog is very informative.Data science course in Faridabad
ReplyDeleteMua vé máy bay tại Aivivu, tham khảo
ReplyDeletevé máy bay đi Mỹ hạng thương gia
mua vé về việt nam
vé máy bay pacific airlines đi đà nẵng
máy bay đà nẵng nha trang
vé đi phú quốc
Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!
ReplyDeleteData Science Training in Bangalore