ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vjacheslav A. Brunev" <bru@post.tomica.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] Перестала работать синхронизация времени ntpd
Date: Tue, 31 Jul 2007 17:03:56 +0700
Message-ID: <200707311703.57245.bru@post.tomica.ru> (raw)

Добрый день!

Появилась небольшая проблема с ntpd, ntpdate-
-при выполнении ntpdate -s -b -u ntp.tsu.ru ничего не пишет, но и ничего не 
делает;
-при запуске /etc/init.d/ntpd start пишет:
Synchronizing with time server:        [FAILED]
Starting ntpd service:                          [ DONE ]

Файл /etc/ntp.conf:
fudge   127.127.1.0 stratum 10
driftfile /etc/ntp/drift
broadcastdelay  0.008
restrict default ignore notrust nomodify
authenticate no
server ntp.tsu.ru minpoll 10 maxpoll 14
restrict 127.0.0.1
restrict ntp.tsu.ru


В логах message:
Jul 31 16:58:31 slv ntpdate[9170]: cap_set_proc failed
Jul 31 16:58:34 slv ntpdate[9177]: cap_set_proc failed
Jul 31 16:58:34 slv ntpd: Synchronizing with time server: failed
Jul 31 16:58:34 slv ntpd[9190]: ntpd 4.1.2@1.892 Tue Apr 20 03:31:18 MSD 2004 
(1)
Jul 31 16:58:34 slv ntpd[9190]: precision = 6 usec
Jul 31 16:58:34 slv ntpd[9190]: kernel time discipline status 0040
Jul 31 16:58:34 slv ntpd[9190]: getnetnum: "ntp.tsu.ru" invalid host number, 
line ignored
Jul 31 16:58:34 slv ntpd_initres[9191]: running as uid(110)/gid(56) 
euid(110)/egid(56) chrooted to /var/resolv
Jul 31 16:58:34 slv ntpd[9190]: cap_set_proc failed
Jul 31 16:58:34 slv ntpd: ntpd startup succeeded
Jul 31 16:58:36 slv ntpd_initres[9191]: parent died before we finished, 
exiting

Отсюда вопрос, что значит  "cap_set_proc failed"?

Притом на другой машине с абсолютно такой-же системой ALC-3 всё работает как 
надо.

-- 
С уважением Вячеслав.

                 reply	other threads:[~2007-07-31 10:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200707311703.57245.bru@post.tomica.ru \
    --to=bru@post.tomica.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git