- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Another Network Time Protocol daemon other than xn...
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
01-11-2002 10:53 AM
01-11-2002 10:53 AM
I know I could use /etc/syslog.conf to filter some messages, but I would have to filter all "daemons".
If another program existed that had the option to NOT log these events, I would appreciate somebody letting me know.
(I also have the same issue with ftpd)
-- Rod Hills
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:00 AM
01-11-2002 11:00 AM
Re: Another Network Time Protocol daemon other than xntpd
you can use a different log file to log ntp messages. To do this you have to start the xntpd daemon with a "-l log_file" option. you can edit the /sbin/init.d/xntpd file and make the change permanent, so that the ntp daemon will start using the log_file to log ntp messages in place of the syslog.log file.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:03 AM
01-11-2002 11:03 AM
Re: Another Network Time Protocol daemon other than xntpd
to remove ftp/ftpd logging to syslog file, edit the file /etc/inetd.conf and remove the "-l" option after ftpd in the ftp configuration line. The ftpd daemon will then stop logging the ftp messages to the syslog.log file.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:09 AM
01-11-2002 11:09 AM
Re: Another Network Time Protocol daemon other than xntpd
I tried to add -l /var/adm/syslog/xntpd.log, but when I started xntpd I got the message-
./xntpd[36]: /var/adm/syslog/xntpd.log: This is not an identifier.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:56 AM
01-11-2002 11:56 AM
Re: Another Network Time Protocol daemon other than xntpd
I'm sorry.
you have to export the XNTPD arguments in the file /etc/rc.config.d/netdaemons . you'll find an option "export XNTPD_ARGS =" you have to mention the -l option and the log file name over here and not in /sbin/init.d/xntpd file.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:59 AM
01-11-2002 11:59 AM
Re: Another Network Time Protocol daemon other than xntpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:59 AM
01-11-2002 11:59 AM
Re: Another Network Time Protocol daemon other than xntpd
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:04 PM
01-11-2002 12:04 PM
Re: Another Network Time Protocol daemon other than xntpd
*.info;xntpd /var/adm/syslog/xntpd.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:07 PM
01-11-2002 12:07 PM
Re: Another Network Time Protocol daemon other than xntpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:08 PM
01-11-2002 12:08 PM
Re: Another Network Time Protocol daemon other than xntpd
To configure a seperate lof file for xntpd, do this.
Stop the xntpd daemon
/sbin/init.d/xntpd stop
modify the /etc/rc.config.d/netdaemons file and put
export XNTPD_ARGS="-l /tmp/xntpd.log"
now start the xntpd daemon,
/sbin/init.d/xntpd start
check the file /tmp/xntpd.log and see if the ntp nessages are logged over there.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:11 PM
01-11-2002 12:11 PM
Re: Another Network Time Protocol daemon other than xntpd
As I understand syslog.conf, you can only filter on the following facilities-
KERN Messages generated by the kernel.
USER Messages generated by random user processes.
MAIL The mail system.
DAEMON System daemons,
AUTH The authorization system.
LPR The line printer spooling
xntpd is not one of them. I checked this out in the man page for syslog.
Thanks anyway.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:23 PM
01-11-2002 12:23 PM
Re: Another Network Time Protocol daemon other than xntpd
I modified netdaemon as you showed, and tried to start xntpd. One adjust message is displayed and apparently xntpd exits.
I removed "-l /tmp/xntpd.log" from netdaemon and xntpd starts ok and remains in the system.
I don't know what to make of it...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:45 PM
01-11-2002 12:45 PM
SolutionI just configured the xntpd to log to /tmp/xntpd.log as suggested above and it is working. I have set a tail -f on /tmp/xntpd.log and it is getting updated. Also the ps -ef |grep xntpd output shown the xntpd daemon logging to /tmp/xntpd.log . If you are having problem on your system check your patch level.
The "what /usr/sbin/xntpd" command output is,
xntpd version 3.5f: Sat Apr 14 ... PHNE_23697
copyright .....
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:54 PM
01-11-2002 12:54 PM
Re: Another Network Time Protocol daemon other than xntpd
xntpd 3.4 #Revision 1.1.110.2: Thu May 9 21:27:00 GMT 1996
Also if I try to run xntpd with bad argument from command line, I get the following message-
usage: /usr/sbin/xntpd [ -bd ] [ -c config_file ]
It looks like the version I have doesn't have very many options on the command line.
I'll see if a patch has a newer version.
Thanks for your help...
-- Rod Hills