Solved

what is the equivalent file to linuxe's "ntp.conf" in aix ?

Posted on 2011-02-25
5
572 Views
Last Modified: 2012-05-11
I am collecting ntp.conf in linux

what do I need to collect from solaris & aix ?/
0
Comment
Question by:TIMFOX123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 16

Expert Comment

by:santoshmotwani
ID: 34979316
solaris : /etc/inet/ntp.conf
aix : etc/ntp.conf

0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34979332
Hi,

AIX: /etc/ntp.conf

AIX uses xntpd. It's started via SRC in /etc/rc.tcpip so you can use "startsrc -s xntpd", "stopsrc -s xntpd", "refresh -s xntpd" and "lssrc -ls xntpd".
ntpq, ntpdate etc. and xntpdc are available.

Solaris: /etc/inet/ntp.conf
Solaris uses xntpd as well. The service is controlled by svcadm. "svcs" and "svcadm" can be used.
ntpq, ntpdate etc. are available.

wmp
0
 

Author Comment

by:TIMFOX123
ID: 34984445
Ok it is my job to "prove" ntp is running on these boxes.  I can not find a ntp.conf xnpt.conf  on the box.  

I tried for the long shot  svcs | grep ntp
one box came up with svc:/network/ntp:default

How can I find the file that tells me what ntp servers it uses to keep it's time correct. ?

0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 500 total points
ID: 34984622
Which OS does the "box" run?

In AIX it's definitely /etc/ntp.conf, the process is xntpd.
You can check with "lssrc -ls xntpd". It will show you status and configuration.
"ps -ef |grep ntp" will show you the running process, if any.
/etc/ntp.conf is always present, because xntpd comes with "bos.net.tcp.client", a fileset which is installed by default, regardless of whether you plan to use xntpd or not.

In Solaris it's /etc/inet/ntp.conf, the process is also xntpd and you can check with
"svcs |grep ntp", just as you wrote, and additionally of course with "ps -ef | grep ntp", just as above under AIX.
Initially there are /etc/inet/ntp.server and /etc/inet/ntp.client. The appropriate file must be renamed/copied to /etc/inet/ntp.conf, depending on whether you're going to configure the machine as a server or a client.

If there is no ntp.conf the box is maybe running openntpd, whose configuration file is /etc/ntpd.conf!
openntpd exists in portable versions for Solaris and even for AIX.

wmp
0
 

Author Closing Comment

by:TIMFOX123
ID: 35020767
What I as missing is that I was not looking on the Global Zone using solaris zones

that is why the file was not there.

thank yall
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question