Solved

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

Posted on 2011-02-25
5
529 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now