- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can't start ntp client
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
Forums
Discussions
Discussions
Discussions
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
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
02-09-2011 11:36 PM
02-09-2011 11:36 PM
I'm trying to start xntp daemon, but get the error:
$ /sbin/init.d/xntpd start
/sbin/init.d/xntpd[37]: /etc/rc.config.d/gwlmCtl: not found.
can't get why ntp is depend on Global Workload Manager?
The version of hp-ux
HP-UX HP-UX B.11.31
Tahnks for help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2011 03:09 AM
02-10-2011 03:09 AM
Re: Can't start ntp client
Most HP-UX init scripts include a line like:
. /etc/rc.config
(I bet the line 37 of your /sbin/init.d/xntpd is *exactly* this.)
This line causes /etc/rc.config to be read and executed, which in turn reads *all* the files located in /etc/rc.config.d directory.
If one of the files in /etc/rc.config.d has a typo, almost every init script will produce an error message because of that typo.
By convention, the files in /etc/rc.config.d should contain only comments and variable assignments - but they must still be valid POSIX sh shell scripts.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2011 06:11 AM
02-10-2011 06:11 AM
Re: Can't start ntp client
You are right line 37 is excatly /etc/rc.config.
Unfortunatly I have no idea what can be wrong with the scripts in /etc/rc.config.d direcotry. This scripts are unchanged after default installation.
So without running that scripts there is no way to start npt client?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2011 06:19 AM
02-10-2011 06:19 AM
SolutionYou probably have a bogus file in the '/etc/rc.config.d' directory. You can keep backup copies of files here _ONLY_ if you follow the rules documented in the '/etc/rc.config' script itself.
You can expose the problem by doing:
# sh -vx /etc/rc.config 2>&1|more
The actual filename will appear as 'fname=' in the traced output with clear syntax errors.
For example:
+ fname=gan
+ [ -f /etc/rc.config.d/gan -a gan != core -a gan = gan ]
+ . /etc/rc.config.d/gan
+ NAME VALUE BOOT MIN-MAX UNITS FLAGS
/etc/rc.config[11]: NAME: not found.
This points to the file '/etc/rc.config.d/gan' as the file that should not be in '/etc/rc.config.d' (or is mis-configued).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2011 08:14 PM
02-10-2011 08:14 PM
Re: Can't start ntp client
ls -lrt /etc/rc.config.d
The most recently added or changed files are at the bottom of the list.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2011 12:04 AM
02-11-2011 12:04 AM
Re: Can't start ntp client
I had "buggy"
gwlmCtl
pd
sec_mgmt
spc
files in /etc/rc.config.d/ directory. What is wrong with them have no idea. Just remove them from this directory and xntpd started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2011 02:04 AM
02-11-2011 02:04 AM
Re: Can't start ntp client
Yup so I guess your problem is solved... But it seems you have deleted 'pd' as well... a configuration file that is related to distributed printing services...
Regards
Ismail Azad