Ntp Server Returns A Permission Denied Error
to ignore 'leap not in sync error' Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Friday, March 21, 2003 4:50:44 AM UTC+5:30, Ole wrote: > Redhat 7.3 > > Firewall computer is connected to the internet, and gets nptd update from a > server on the internet( and this works fine). But when i try to get the > computers on the local net, to use my firewall like a ntp server, i get the > msg: > > ntpd_initres[1033]: server returns a permission denied error > > i dont have a firewall on the local computer, but i use iptables with the > firewall, and i have this rule: > > iptables -A INPUT -i $INT_INTERFACE -p udp -s $INTERNAL_NET --sport 123 -d > $INT_IPADDR --dport 123 -j ACCEPT > iptables -A INPUT -i $INT_INTERFACE -p udp -s $INTERNAL_NET --sport 123 -d > $INT_IPADDR --dport $HIGHPORTS -j ACCEPT > > whit netstat: > > netstat -a | grep ntp > udp 0 0 localhost.localdo:32769 localhost.localdoma:ntp > ESTABLISHED > udp 0 0 fireballs.gurustati:ntp *:* > udp 0 0 gurustation.hiof.no:ntp *:* > udp 0 0 localhost.localdoma:ntp *:* > udp 0 0 *:ntp *:* > > ----------------- > firewall ntp.conf: > > > server ntp.uio.no version 3 prefer > server ntp1.gbg.netnod.se > server ntp2.gbg.netnod.se > > #During operation ntpd measures and corrects for incidental clock frequency > error and writes the current value to a file called by default > /etc/ntp.drift > driftfile /etc/ntp.drift > > > client ntp.conf > > server 192.168.0.1 version 3 prefer > > #During operation ntpd measures and corrects for incidental clock frequency > error and writes the current value to a file called by default > /etc/ntp.drift > driftfile /etc/ntp.drift > > ------------------ > > > Do i need somekind of key, ore broadcast settings ? > > > Thx for helping > > -Ole https://major.io/2008/02/20/ntpd_initres-ntpd-returns-a-permission-denied-error/ Previous message: [ntp:questions] How is the NTP build tested? Next message: [ntp:questions] need option to ignore 'leap not in sync error' Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the questions mailing list
by: Olaf van der Spek
of ntpd are launched, only one is stopped by the init script. https://bugs.launchpad.net/bugs/92560 Edit Remove 12 This bug affects 1 person Affects Status https://www.novell.com/support/kb/doc.php?id=7015867 Importance Assigned to Milestone ntp (Ubuntu) Edit New Undecided Unassigned Edit Also affects project (?) Also affects distribution/package Nominate for series Bug Description Binary package hint: ntp If I open up system log viewer, under system, daemon, and messages, ntp server there's a whole lot of Mar 15 12:07:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:08:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:09:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:10:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied ntp server returns error! Mar 15 12:11:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:12:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:13:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:14:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:15:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:16:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:17:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:18:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:19:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:20:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:21:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:22:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied error! Mar 15 12:23:26 uncgmighmos ntpd_initres[9503]: ntpd returns a permission denied
Favorite Rating: NTP Service Fails to Start or Hangs on SLES12This document (7015867) is provided subject to the disclaimer at the end of this document. Environment SUSE Linux Enterprise Server 12Network Time Protocol (NTP) Situation Upon completing the NTP configuration in yast2 and clicking Finish, an error "Error: Cannot restart the NTP daemon" appears on the screen.Running systemctl start ntpd.service fails or hangs.The error persists whether NTP is configured in a chroot jail or not.The system log /var/log/messages contains the errors: 'kernel: [ 657.760204] type=1400 audit (1415376571.756:44): apparmor="DENIED" operation="file_mmap" parent=1 profile="/usr/sbin/ntpd" name="/run/nscd/group" pid=2879 comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0'"systemd[1]: Failed to start NTP Server Daemon."# ntpq -pntpq: read: Connection refusedThe following services are enabled.# apparmor_statusapparmor module is loaded.39 profiles are loaded.39 profiles are in enforce mode. /sbin/klogd /sbin/syslog-ng /sbin/syslogd /usr/lib/apache2/mpm-prefork/apache2 /usr/lib/apache2/mpm-prefork/apache2//DEFAULT_URI /usr/lib/apache2/mpm-prefork/apache2//HANDLING_UNTRUSTED_INPUT /usr/lib/apache2/mpm-prefork/apache2//phpsysinfo /usr/lib/dovecot/anvil /usr/lib/dovecot/auth /usr/lib/dovecot/config /usr/lib/dovecot/deliver /usr/lib/dovecot/dict /usr/lib/dovecot/dovecot-auth /usr/lib/dovecot/dovecot-lda /usr/lib/dovecot/imap /usr/lib/dovecot/imap-login /usr/lib/dovecot/lmtp /usr/lib/dovecot/log /usr/lib/dovecot/managesieve /usr/lib/dovecot/managesieve-login /usr/lib/dovecot/pop3 /usr/lib/dovecot/pop3-login /usr/lib/dovecot/ssl-params /usr/lib64/libvirt/virt-aa-helper /usr/sbin/avahi-daemon /usr/sbin/dnsmasq /usr/sbin/dovecot /usr/sbin/identd /usr/sbin/libvirtd /usr/sbin/mdnsd /usr/sbin/nmbd /usr/sbin/nscd /usr/sbin/ntpd /usr/sbin/smbd /usr/sbin/smbldap-useradd /usr/sbin/smbldap-useradd///etc/init.d/nscd /usr/sbin/winbindd /usr/{sbin/traceroute,bin/traceroute.db} /{usr/,}bin/ping0 profiles are in complain mode.3 processes have profiles defined.3 processes are in enforce mode. /usr/sbin/avahi-daemon (892) /usr/sbin/libvirtd (1425) /usr/sbin/nscd (896) 0 processes are in complain mode.0 processes are unconfined but have a profile defined.# systemctl status ntpdntpd.service - NTP Server Daemon Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: activating (auto-restart) (Result: timeout) since Fri 2014-11-07 09:26:57 MST; 1min 38s ago Docs: man:ntpd(1) Process: 4584 ExecStart=/usr/sbin/start-ntpd start (code=exited, status=0/SUCCESS)Nov 07 09:26:57 sles12 systemd[1]: Failed to star