perfsonar-user - Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Murilo Vetter <>
- To: Valentin Vidic <>
- Cc:
- Subject: Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9
- Date: Fri, 8 Jun 2018 08:21:00 -0300 (BRT)
- Ironport-phdr: 9a23:9n4ceBeGb3pUimVYnwuzjEXnlGMj4u6mDksu8pMizoh2WeGdxc26ZhKN2/xhgRfzUJnB7Loc0qyK6/2mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbN/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRPDI28dYsBEekPMuRWr4fgqFQBsRq+Cw6wBO700DBEmmP50rYg3ug9EwzL2hErEdIUsHTTqdX4LKAcUf2vzKnJyTXDaO5d1jjj54jUbhAuv+uMVq93fMrU1EkvDQLFjlGXqYD/ITOayPgNs3SF4Op6Tu+vk2knqxlorji02sggkJPJhoQNylze7ip52p84KNulQ0B1Zt6kFYFftyCcN4ZuXswtWXtouCAkxb0ao5K7fDIKxIw/xxHBcfyHfZOI4hXlVOmLOzd0nnRld6yjhxqq60igzPX8WtOv31ZQtiZKj8fDuWsM1xPJ7MiLUPx9/l2u2TuJygvd6flELFgqmafYN5It37s9m5kPvUnGBCD7m0b7gaqZe0k45uSk9+Hqb7Dmq5OEKYN4lh3yPr4wlsGxA+k0KBUCUmyF9eim1LDu+1DyTq9Qgf0siKbZtYjXJcQFqa69BA9Yyoci6xe6Dzi9ytQXh2MLLEpCeBKfloTpIE3BLOriDfe5m1Sgiixkx+reMr3gBJXCMGTDna//cbt+90JQ1Q8+wNND659REL4MI/H+V0r+udDEEhM1Lwm5zuPnBdll04MRQ2OPAquXMKPItl+I4/oiI+yRZI8PuTb9L/8l6+TwjXAnhV8dYbem3YEMZXCgGfRmO1yVYWHwjdsbC2cKuBI+QPbxh12YSTJTfWq9X7og5jEnD4KrFZ/DSZ63gLyPxye7GZtWaXpcClyVDHfobJuLW+0XZSKWI89hiSAEVaO/R4M71BGushP6xKR9LurS5CIYqYzv2MJr6OLOiBFhvQBzWvqU12yLU2By1l0JSz49lPRBqEhwzEuC1+5GgvBZHvR4zslvXxt8NYSKnNZ3E9TjZgWUW8qTSVKhCuurHS08VJplxsIUYkJ6XcuvkgzOxQKyBKdQjLfNHpostKjGiSvfPcF4nlPbzqgliBEYT9dTOHfu0qti7QnXAMjXnlmFmryCbaMEmTXGsn2F1SyEphcLA0ZLTazZUCVHNQPtptPj6xaHFuf2BA==
Hi Valentin,
It follows the requested commands. I also send you the contents of init.d file.
# dpkg -l ntp
--
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================================-========================-========================-====================================================================================
ii ntp 1:4.2.8p10+dfsg-3+deb9u2 amd64 Network Time Protocol daemon and utility programs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================================-========================-========================-====================================================================================
ii ntp 1:4.2.8p10+dfsg-3+deb9u2 amd64 Network Time Protocol daemon and utility programs
--
# apt-cache policy
--
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://downloads.perfsonar.net/debian perfsonar-jessie-release/main amd64 Packages
release v=4.0,o=perfSONAR,a=perfsonar-jessie-release,n=perfsonar-jessie-4.0,l=perfsonar.net,c=main,b=amd64
origin downloads.perfsonar.net
500 http://debian.pop-sc.rnp.br/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin debian.pop-sc.rnp.br
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://debian.pop-sc.rnp.br/debian stretch/main amd64 Packages
release v=9.4,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin debian.pop-sc.rnp.br
Pinned packages:
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://downloads.perfsonar.net/debian perfsonar-jessie-release/main amd64 Packages
release v=4.0,o=perfSONAR,a=perfsonar-jessie-release,n=perfsonar-jessie-4.0,l=perfsonar.net,c=main,b=amd64
origin downloads.perfsonar.net
500 http://debian.pop-sc.rnp.br/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin debian.pop-sc.rnp.br
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://debian.pop-sc.rnp.br/debian stretch/main amd64 Packages
release v=9.4,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin debian.pop-sc.rnp.br
Pinned packages:
--
# cat /etc/init.d/ntp
--
#!/bin/sh
### BEGIN INIT INFO
# Provides: ntp
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Start NTP daemon
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
DAEMON=/usr/sbin/ntpd
PIDFILE=/var/run/ntpd.pid
test -x $DAEMON || exit 5
if [ -r /etc/default/ntp ]; then
. /etc/default/ntp
fi
if [ -e /run/ntp.conf.dhcp ]; then
NTPD_OPTS="$NTPD_OPTS -c /run/ntp.conf.dhcp"
fi
LOCKFILE=/run/lock/ntpdate
RUNASUSER=ntp
UGID=$(getent passwd $RUNASUSER | cut -f 3,4 -d:) || true
if test "$(uname -s)" = "Linux"; then
NTPD_OPTS="$NTPD_OPTS -u $UGID"
fi
case $1 in
start)
log_daemon_msg "Starting NTP server" "ntpd"
if [ -z "$UGID" ]; then
log_failure_msg "user \"$RUNASUSER\" does not exist"
exit 1
fi
(
flock -w 180 9
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -p $PIDFILE $NTPD_OPTS
) 9>$LOCKFILE
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping NTP server" "ntpd"
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --retry=TERM/30/KILL/5 --exec $DAEMON
log_end_msg $?
rm -f $PIDFILE
;;
restart|force-reload)
$0 stop && sleep 2 && $0 start
;;
try-restart)
if $0 status >/dev/null; then
$0 restart
else
exit 0
fi
;;
reload)
exit 3
;;
status)
status_of_proc $DAEMON "NTP server"
;;
*)
echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}"
exit 2
;;
esac
#!/bin/sh
### BEGIN INIT INFO
# Provides: ntp
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Start NTP daemon
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
DAEMON=/usr/sbin/ntpd
PIDFILE=/var/run/ntpd.pid
test -x $DAEMON || exit 5
if [ -r /etc/default/ntp ]; then
. /etc/default/ntp
fi
if [ -e /run/ntp.conf.dhcp ]; then
NTPD_OPTS="$NTPD_OPTS -c /run/ntp.conf.dhcp"
fi
LOCKFILE=/run/lock/ntpdate
RUNASUSER=ntp
UGID=$(getent passwd $RUNASUSER | cut -f 3,4 -d:) || true
if test "$(uname -s)" = "Linux"; then
NTPD_OPTS="$NTPD_OPTS -u $UGID"
fi
case $1 in
start)
log_daemon_msg "Starting NTP server" "ntpd"
if [ -z "$UGID" ]; then
log_failure_msg "user \"$RUNASUSER\" does not exist"
exit 1
fi
(
flock -w 180 9
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --startas $DAEMON -- -p $PIDFILE $NTPD_OPTS
) 9>$LOCKFILE
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping NTP server" "ntpd"
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --retry=TERM/30/KILL/5 --exec $DAEMON
log_end_msg $?
rm -f $PIDFILE
;;
restart|force-reload)
$0 stop && sleep 2 && $0 start
;;
try-restart)
if $0 status >/dev/null; then
$0 restart
else
exit 0
fi
;;
reload)
exit 3
;;
status)
status_of_proc $DAEMON "NTP server"
;;
*)
echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}"
exit 2
;;
esac
--
Regards,
--
Murilo Vetter
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--
www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:
+55(48)3721-3000
INOC: 11242*100
De: "Valentin Vidic" <>
Para:
Enviadas: Sexta-feira, 8 de junho de 2018 6:14:15
Assunto: Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9
Para:
Enviadas: Sexta-feira, 8 de junho de 2018 6:14:15
Assunto: Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9
On Wed, Jun 06, 2018 at 08:37:59AM -0300, Murilo Vetter wrote:
> # systemctl stop ntp
> Failed to stop ntp.service: Unknown unit: ntp.service
> See system logs and 'systemctl status ntp.service' for details.
> Failed to get load state of ntp.service: No such property 'LoadState'
>
> # systemctl start ntp
> Failed to start ntp.service: Unknown unit: ntp.service
> See system logs and 'systemctl status ntp.service' for details.
>
> # systemctl status ntp.service
> Failed to get properties: No such interface ''
I have no idea what could be causing such strange behavior in ntp
package. I assume it is installed correctly?
# dpkg -l ntp
Can you send the repo list you have configured:
# apt-cache policy
--
Valentin Vidic
Computer Systems Engineer - Expert
Department of Computer Infrastructure and Services
Croatian Academic and Research Network - CARNET
Josipa Marohnica 5, HR-10000 Zagreb, Croatia
tel: +385 1 6661 714, fax. +385 1 6661 635
gsm: +385 91 2480 919
www.CARNet.hr
[Arquivo de texto:message-footer.txt]
> # systemctl stop ntp
> Failed to stop ntp.service: Unknown unit: ntp.service
> See system logs and 'systemctl status ntp.service' for details.
> Failed to get load state of ntp.service: No such property 'LoadState'
>
> # systemctl start ntp
> Failed to start ntp.service: Unknown unit: ntp.service
> See system logs and 'systemctl status ntp.service' for details.
>
> # systemctl status ntp.service
> Failed to get properties: No such interface ''
I have no idea what could be causing such strange behavior in ntp
package. I assume it is installed correctly?
# dpkg -l ntp
Can you send the repo list you have configured:
# apt-cache policy
--
Valentin Vidic
Computer Systems Engineer - Expert
Department of Computer Infrastructure and Services
Croatian Academic and Research Network - CARNET
Josipa Marohnica 5, HR-10000 Zagreb, Croatia
tel: +385 1 6661 714, fax. +385 1 6661 635
gsm: +385 91 2480 919
www.CARNet.hr
[Arquivo de texto:message-footer.txt]
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/01/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/04/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/05/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/05/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/05/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/06/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/13/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/14/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/19/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/19/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Antoine Delvaux, 06/19/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/08/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/06/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/05/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/05/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Valentin Vidic, 06/05/2018
- Re: [perfsonar-user] Problem in configuring perfsonar-toolkit-ntp in Debian 9, Murilo Vetter, 06/04/2018
Archive powered by MHonArc 2.6.19.