#author("2021-06-14T10:13:18+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*ntp [#v5e83a6f]
*ntp (Base System) [#z162c36f]
FreeBSD 13.0-R にUPしたら、NTP回りが・・・

FreeBSD 9.3-RELEASE-p24
https://www.facebook.com/groups/freebsd.labo.japan/permalink/2493192240752658/

[[freebsd-update 2015 10 27]]した後から、piano2nd security run output が
上記の作業だけだとntpdが動かないことがあるのでpwd_mkdbとchown実行すればntpdが動きます
 # pwd_mkdb -p /etc/master.passwd
 # chown ntpd:ntpd /var/db/ntp/{ntpd.drift,ntpd.pid}

 piano2nd kernel log messages:
 +++ /tmp/security.jC55ehC2	2015-10-30 03:09:25.000000000 +0900
 +pid 35812 (ntpq), uid 65534: exited on signal 6
 +pid 35819 (ntpq), uid 65534: exited on signal 6
 +pid 35900 (ntpq), uid 65534: exited on signal 6
 +pid 35902 (ntpq), uid 65534: exited on signal 6
 +pid 35919 (ntpq), uid 65534: exited on signal 6
 +pid 35922 (ntpdc), uid 65534: exited on signal 6
 +pid 36005 (ntpq), uid 65534: exited on signal 6
 pwd_mkdb -p /etc/master.passwd && chown ntpd:ntpd /var/db/ntp/{ntpd.drift,ntpd.pid}

portinstall net/ntp してみる。

 Installing ntp-4.2.8p4...
 ===> SECURITY REPORT:
       This port has installed the following files which may act as network
       servers and may therefore pose a remote security risk to the system.
 /usr/local/sbin/ntpdate
 /usr/local/sbin/sntp
 /usr/local/sbin/ntpd
 
       If there are vulnerabilities in these programs there may be a security
       risk to the system. FreeBSD makes no guarantee about the security of
       ports included in the Ports Collection. Please type 'make deinstall'
       to deinstall the port if this is a concern.
 
       For more information, and contact details about the security
       status of this software, see the following webpage:
 http://www.ntp.org/
 ===>  Cleaning for libevent2-2.0.22_1
 ===>  Cleaning for ntp-4.2.8p4
*portinstall net/ntp [#q700018a]


root@hotshot:/usr/src/usr.sbin # ntpq
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/unix/net.c:221: fatal error: RUNTIME_CHECK(((pthread_once((&once), (initialize_action)) == 0) ? 0 : 34) == 0) failed Abort (core dumped)


  1020  5:51    ntpq
  1029  6:16    cd /usr/src/usr.sbin/
  1031  6:18    tar cvfzp ntp_2151027.tar.gz ntp/
  1041  6:27    cd /usr/src/contrib
  1043  6:28    tar cvfzp ntp_20151027.tar.gz ntp

* freebsd-update: Cannot upgrade from 9.3-RELEASE to itself [#d9b8fd33]
 root@blackhole:~ # freebsd-update -r 9.3-RELEASE upgrade
 freebsd-update: Cannot upgrade from 9.3-RELEASE to itself

 # setenv UNAME_r 9.2-RELEASE


 root@blackhole:~ # uname -a
 FreeBSD blackhole.smb.net 9.2-RELEASE FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 root@blackhole:~ # freebsd-update -r 9.3-RELEASE upgrade
 Looking up update.FreeBSD.org mirrors... none found.
 Fetching metadata signature for 9.2-RELEASE from update.FreeBSD.org... done.
 Fetching metadata index... done.
 Fetching 1 metadata patches. done.
 Applying metadata patches... done.
 Fetching 2 metadata files... done.
 Inspecting system... done.
 
 The following components of FreeBSD seem to be installed:
 kernel/generic world/base world/games world/lib32
 
 The following components of FreeBSD do not seem to be installed:
 src/src world/doc
 
 Does this look reasonable (y/n)? y


 FreeBSD blackhole.smb.net 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 root@blackhole:~ # ntpq
 /usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/unix/net.c:221: fatal error: RUNTIME_CHECK(((pthread_once((&once), (initialize_action)) == 0) ? 0 : 34) == 0) failed Abort (core dumped)



*MUNIN de Watch [#p382ee82]
 munin-node-configure -suggest
 munin-node-configure --shell | sh
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS