[lmn] NTP auf ipfire - duut nett

2016-01-13 Thread Tobias Kuechel
Liebe Liste,

wer von euch seine clients per ntpdate mit dem IPFIRE syncronisiert wird
- wie ich - vielleicht auch probleme haben.
Grund ist mir unbekannt, der server synchronisiert sich mit externen
server ausgezeichnet.

Fazit: Ich habe "ntp" in die upd-Liste in /etc/linuxmuster/allowed_ports
aufgenommen, jetzt synchronisiere ich eben meine Clients mit dem server
statt mit dem ipfire.

Grüße, Tobias

details:

Der ipfire kann sich selbst auch per ntpdate mit externen sync.
Wenn ntpd auf dem ipfire gestartet ist, dann scheint keine
synchronisation stattzufinden, ntpq > pe [1] liefert keine server, es
sind in /etc/ntp.conf aber auch keine definiert. k.A. was da default
sein sollte.
Auf dem client liefert
# ntpdate -d 10.16.1.254
transmit(10.16.1.254)
receive(10.16.1.254)
transmit(10.16.1.254)
10.16.1.254: Server dropped: strata too high
server 10.16.1.254, port 123
stratum 16, precision -20, leap 11, trust 000

Stratum 16 ist der Grund.
fudge stratum 10 auf dem ipfire ist bereits konfiguriert, scheint aber
nicht zu funktionieren.




[1]
http://serverfault.com/questions/277375/ntpdate-d-server-dropped-strata-too-high
___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Matthias Lauffer
Hallo, will nicht unbedingt einen neuen Thread aufmachen.

Meine ubuntu-clients haben nicht immer die richtige Zeit.
Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
wichtiger sind ;)

>> hätte gern einen Tipp, wo ich am besten Anfange <<



Hier eine ungefähre Zustandsbeschreibung:


Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
"Dienst"? hat?

Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:

-schnipp---
Service description NTP Time
Output of check plugin  CRIT - found 5 peers, but none is suitable
...
Currently in downtime   no
In notification period  yes
...

Check manual (for Check_MK based checks):

This check uses the output of ntpq -p as sent by the agent in order to
check the quality of the NTP time synchronization of the client. If more
than one peer is available, NTP chooses the "best" of them as "system
peer". This check only measures the time difference to that system peer.
 The check is CRIT or WARN, if the time supplied by the system peer is
not good enough (see below for parameters). It is UNKNOWN if no system
peer is present or the system peer is unreachable.

The check is CRIT, when there are NTP peers reachable but non of those
is used by the NTP daemon. That is the case if the time provided by
those peers is too bad.

Note: If you want to check the health of the peers, you might want to
use ntp, which creates one individual check per NTP peer.
schnapp-

Ein ps zeigt folgendes:
11:14/0 tux /etc/init.d # ps -A|grep ntp
1165 ? 00:00:13 ntpd
2081 ? 00:00:00 ntpd

Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
hat. Mitlerweise sind wir bei linuxmuster.net 6.1.
Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
Sicher aus gutem Grund.

Wie würdet Ihr am besten vorgehen?

Viele Grüße
Matthias - ps erholsame Pfingsttage und Ferien
___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Jörg Richter

Hallo Matthias,

probier doch mal den NTP-Server, der auf dem LML-Server läuft.


Viele Grüße

Jörg Richter



Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:

Hallo, will nicht unbedingt einen neuen Thread aufmachen.

Meine ubuntu-clients haben nicht immer die richtige Zeit.
Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
wichtiger sind ;)


hätte gern einen Tipp, wo ich am besten Anfange <<




Hier eine ungefähre Zustandsbeschreibung:


Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
"Dienst"? hat?

Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:

-schnipp---
Service description NTP Time
Output of check plugin  CRIT - found 5 peers, but none is suitable
...
Currently in downtime   no
In notification period  yes
...

Check manual (for Check_MK based checks):

This check uses the output of ntpq -p as sent by the agent in order to
check the quality of the NTP time synchronization of the client. If more
than one peer is available, NTP chooses the "best" of them as "system
peer". This check only measures the time difference to that system peer.
  The check is CRIT or WARN, if the time supplied by the system peer is
not good enough (see below for parameters). It is UNKNOWN if no system
peer is present or the system peer is unreachable.

The check is CRIT, when there are NTP peers reachable but non of those
is used by the NTP daemon. That is the case if the time provided by
those peers is too bad.

Note: If you want to check the health of the peers, you might want to
use ntp, which creates one individual check per NTP peer.
schnapp-

Ein ps zeigt folgendes:
11:14/0 tux /etc/init.d # ps -A|grep ntp
1165 ? 00:00:13 ntpd
2081 ? 00:00:00 ntpd

Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
hat. Mitlerweise sind wir bei linuxmuster.net 6.1.
Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
Sicher aus gutem Grund.

Wie würdet Ihr am besten vorgehen?

Viele Grüße
Matthias - ps erholsame Pfingsttage und Ferien
___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user



___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Matthias Lauffer
Hallo Jörg,

hui - am Pfingstmontagmittag, so schnell ne Antwort :)

Bin leider nicht so firm ... desshalb noch mal nachgefragt:

Wie probier ich den? (was mach ich genau...?

lg
matthias

Am 16.05.2016 um 11:44 schrieb Jörg Richter:
> Hallo Matthias,
> 
> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
> 
> 
> Viele Grüße
> 
> Jörg Richter
> 
> 
> 
> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>
>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
>> wichtiger sind ;)
>>
 hätte gern einen Tipp, wo ich am besten Anfange <<
>>
>>
>>
>> Hier eine ungefähre Zustandsbeschreibung:
>> 
>>
>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
>> "Dienst"? hat?
>>
>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>
>> -schnipp---
>> Service descriptionNTP Time
>> Output of check pluginCRIT - found 5 peers, but none is suitable
>> ...
>> Currently in downtimeno
>> In notification periodyes
>> ...
>>
>> Check manual (for Check_MK based checks):
>>
>> This check uses the output of ntpq -p as sent by the agent in order to
>> check the quality of the NTP time synchronization of the client. If more
>> than one peer is available, NTP chooses the "best" of them as "system
>> peer". This check only measures the time difference to that system peer.
>>   The check is CRIT or WARN, if the time supplied by the system peer is
>> not good enough (see below for parameters). It is UNKNOWN if no system
>> peer is present or the system peer is unreachable.
>>
>> The check is CRIT, when there are NTP peers reachable but non of those
>> is used by the NTP daemon. That is the case if the time provided by
>> those peers is too bad.
>>
>> Note: If you want to check the health of the peers, you might want to
>> use ntp, which creates one individual check per NTP peer.
>> schnapp-
>>
>> Ein ps zeigt folgendes:
>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>> 1165 ? 00:00:13 ntpd
>> 2081 ? 00:00:00 ntpd
>>
>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
>> aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
>> hat. Mitlerweise sind wir bei linuxmuster.net 6.1.
>> Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
>> Sicher aus gutem Grund.
>>
>> Wie würdet Ihr am besten vorgehen?
>>
>> Viele Grüße
>> Matthias - ps erholsame Pfingsttage und Ferien
>> ___
>> linuxmuster-user mailing list
>> linuxmuster-user@lists.linuxmuster.net
>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
>>
> 
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread juergen.engel...@t-online.de
Hallo Matthias,
einfach die IP des Server in /etc/ntp.conf <http://ntp.conf> eintragen.
Gruß Jürgen



Gesendet mit der Telekom Mail App
<http://www.t-online.de/service/redir/email_app_android_sendmail_footer.htm>



--- Original-Nachricht ---
Von: Matthias Lauffer
Betreff: Re: [lmn] NTP auf ipfire - duut nett
Datum: 16.05.2016, 11:51 Uhr
An: Discussions about using linuxmuster.net





Hallo Jörg,

hui - am Pfingstmontagmittag, so schnell ne Antwort :)

Bin leider nicht so firm ... desshalb noch mal nachgefragt:

Wie probier ich den? (was mach ich genau...?

lg
matthias

Am 16.05.2016 um 11:44 schrieb Jörg Richter:
> Hallo Matthias,
>
> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
>
>
> Viele Grüße
>
> Jörg Richter
>
>
>
> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>
>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
>> wichtiger sind ;)
>>
>>>> hätte gern einen Tipp, wo ich am besten Anfange <<
>>
>>
>>
>> Hier eine ungefähre Zustandsbeschreibung:
>> 
>>
>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
>> "Dienst"? hat?
>>
>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>
>> -schnipp---
>> Service description NTP Time
>> Output of check plugin CRIT - found 5 peers, but none is suitable
>> ...
>> Currently in downtime no
>> In notification period yes
>> ...
>>
>> Check manual (for Check_MK based checks):
>>
>> This check uses the output of ntpq -p as sent by the agent in order to
>> check the quality of the NTP time synchronization of the client. If more
>> than one peer is available, NTP chooses the "best" of them as "system
>> peer". This check only measures the time difference to that system peer.
>> The check is CRIT or WARN, if the time supplied by the system peer is
>> not good enough (see below for parameters). It is UNKNOWN if no system
>> peer is present or the system peer is unreachable.
>>
>> The check is CRIT, when there are NTP peers reachable but non of those
>> is used by the NTP daemon. That is the case if the time provided by
>> those peers is too bad.
>>
>> Note: If you want to check the health of the peers, you might want to
>> use ntp, which creates one individual check per NTP peer.
>> schnapp-
>>
>> Ein ps zeigt folgendes:
>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>> 1165 ? 00:00:13 ntpd
>> 2081 ? 00:00:00 ntpd
>>
>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
>> aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
>> hat. Mitlerweise sind wir bei linuxmuster.net <http://linuxmuster.net> 
6.1.
>> Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
>> Sicher aus gutem Grund.
>>
>> Wie würdet Ihr am besten vorgehen?
>>
>> Viele Grüße
>> Matthias - ps erholsame Pfingsttage und Ferien
>> ___
>> linuxmuster-user mailing list
>> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
<https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user>
>>
>
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
<https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user>

___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
<https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user>
___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Wolfgang Höfer
Hi,
 
bei mir ist das Problem, dass mich die Firewall vom Schulträger mit ntp
nicht ins Internet lässt. Aus diesem Grund läuft bei mir ein Cron-Job, der
regelmäßig folgendes Script aufruft ...
 
 
/etc/init.d/openntpd stop
 
httpdate="$(wget --no-cache -S -O /dev/null google.com 2>&1 |
sed -n -e 's/ *Date: *//p' -eT -eq)"
[ -n "$httpdate" ] && date -s "$httpdate"
 
/etc/init.d/openntpd start
 
 
Nur falls andere Dinge nicht funktionieren :)
 
VG
 Wolfgang
 
 
 
-Original-Nachricht-
Betreff: Re: [lmn] NTP auf ipfire - duut nett
Datum: 2016-05-16T11:57:46+0200
Von: "juergen.engel...@t-online.de" 
An: "Discussions about using linuxmuster.net" 

 
 
 
Hallo Matthias,
einfach die IP des Server in /etc/ntp.conf <http://ntp.conf> eintragen.
Gruß Jürgen



Gesendet mit der Telekom Mail App
<http://www.t-online.de/service/redir/email_app_android_sendmail_footer.htm>



--- Original-Nachricht ---
Von: Matthias Lauffer
Betreff: Re: [lmn] NTP auf ipfire - duut nett
Datum: 16.05.2016, 11:51 Uhr
An: Discussions about using linuxmuster.net




Hallo Jörg,

hui - am Pfingstmontagmittag, so schnell ne Antwort :)

Bin leider nicht so firm ... desshalb noch mal nachgefragt:

Wie probier ich den? (was mach ich genau...?

lg
matthias

Am 16.05.2016 um 11:44 schrieb Jörg Richter:
> Hallo Matthias,
>
> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
>
>
> Viele Grüße
>
> Jörg Richter
>
>
>
> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>
>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
>> wichtiger sind ;)
>>
>>>> hätte gern einen Tipp, wo ich am besten Anfange <<
>>
>>
>>
>> Hier eine ungefähre Zustandsbeschreibung:
>> 
>>
>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
>> "Dienst"? hat?
>>
>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>
>> -schnipp---
>> Service description NTP Time
>> Output of check plugin CRIT - found 5 peers, but none is suitable
>> ...
>> Currently in downtime no
>> In notification period yes
>> ...
>>
>> Check manual (for Check_MK based checks):
>>
>> This check uses the output of ntpq -p as sent by the agent in order to
>> check the quality of the NTP time synchronization of the client. If more
>> than one peer is available, NTP chooses the "best" of them as "system
>> peer". This check only measures the time difference to that system peer.
>> The check is CRIT or WARN, if the time supplied by the system peer is
>> not good enough (see below for parameters). It is UNKNOWN if no system
>> peer is present or the system peer is unreachable.
>>
>> The check is CRIT, when there are NTP peers reachable but non of those
>> is used by the NTP daemon. That is the case if the time provided by
>> those peers is too bad.
>>
>> Note: If you want to check the health of the peers, you might want to
>> use ntp, which creates one individual check per NTP peer.
>> schnapp-
>>
>> Ein ps zeigt folgendes:
>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>> 1165 ? 00:00:13 ntpd
>> 2081 ? 00:00:00 ntpd
>>
>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
>> aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
>> hat. Mitlerweise sind wir bei linuxmuster.net <http://linuxmuster.net> 
6.1.
>> Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
>> Sicher aus gutem Grund.
>>
>> Wie würdet Ihr am besten vorgehen?
>>
>> Viele Grüße
>> Matthias - ps erholsame Pfingsttage und Ferien
>> ___
>> linuxmuster-user mailing list
>> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
<https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user>
>>
>
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
<https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user>

___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
<https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user>
___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Matthias Lauffer
Hallo Jürgen,

bei mir gibt es keine ntp.conf auf dem Server

grüße matthias

Am 16.05.2016 um 11:57 schrieb juergen.engel...@t-online.de:
> Hallo Matthias,
> einfach die IP des Server in /etc/ntp.conf <http://ntp.conf> eintragen.
> Gruß Jürgen
> 
> 
> 
> Gesendet mit der Telekom Mail App
> <http://www.t-online.de/service/redir/email_app_android_sendmail_footer.htm>
> 
> 
> 
> --- Original-Nachricht ---
> *Von: *Matthias Lauffer
> *Betreff: *Re: [lmn] NTP auf ipfire - duut nett
> *Datum: *16.05.2016, 11:51 Uhr
> *An: *Discussions about using linuxmuster.net
> 
> 
> 
> 
> Hallo Jörg,
> 
> hui - am Pfingstmontagmittag, so schnell ne Antwort :)
> 
> Bin leider nicht so firm ... desshalb noch mal nachgefragt:
> 
> Wie probier ich den? (was mach ich genau...?
> 
> lg
> matthias
> 
> Am 16.05.2016 um 11:44 schrieb Jörg Richter:
>> Hallo Matthias,
>>
>> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
>>
>>
>> Viele Grüße
>>
>> Jörg Richter
>>
>>
>>
>> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>>
>>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
>>> wichtiger sind ;)
>>>
>>>>> hätte gern einen Tipp, wo ich am besten Anfange <<
>>>
>>>
>>>
>>> Hier eine ungefähre Zustandsbeschreibung:
>>> 
>>>
>>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
>>> "Dienst"? hat?
>>>
>>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>>
>>> -schnipp---
>>> Service description NTP Time
>>> Output of check plugin CRIT - found 5 peers, but none is suitable
>>> ...
>>> Currently in downtime no
>>> In notification period yes
>>> ...
>>>
>>> Check manual (for Check_MK based checks):
>>>
>>> This check uses the output of ntpq -p as sent by the agent in order to
>>> check the quality of the NTP time synchronization of the client. If more
>>> than one peer is available, NTP chooses the "best" of them as "system
>>> peer". This check only measures the time difference to that system peer.
>>> The check is CRIT or WARN, if the time supplied by the system peer is
>>> not good enough (see below for parameters). It is UNKNOWN if no system
>>> peer is present or the system peer is unreachable.
>>>
>>> The check is CRIT, when there are NTP peers reachable but non of those
>>> is used by the NTP daemon. That is the case if the time provided by
>>> those peers is too bad.
>>>
>>> Note: If you want to check the health of the peers, you might want to
>>> use ntp, which creates one individual check per NTP peer.
>>> schnapp-
>>>
>>> Ein ps zeigt folgendes:
>>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>>> 1165 ? 00:00:13 ntpd
>>> 2081 ? 00:00:00 ntpd
>>>
>>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
>>> aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
>>> hat. Mitlerweise sind wir bei linuxmuster.net
> <http://linuxmuster.net> 6.1.
>>> Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
>>> Sicher aus gutem Grund.
>>>
>>> Wie würdet Ihr am besten vorgehen?
>>>
>>> Viele Grüße
>>> Matthias - ps erholsame Pfingsttage und Ferien
>>> ___
>>> linuxmuster-user mailing list
>>> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
>>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
>>>
>>
>> ___
>> linuxmuster-user mailing list
>> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
> 
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net <http://lists.linuxmuster.net>
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
> 
> 
> 
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
> 

___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Matthias Lauffer
Hallo Wolfgang,

danke auf für deinen Hinweis.
Ich kann leider nicht feststellen, ob ich das selbe Problem habe.

vg matthias

Am 16.05.2016 um 12:06 schrieb Wolfgang Höfer:
> Hi,
> 
>  
> 
> bei mir ist das Problem, dass mich die Firewall vom Schulträger mit ntp
> 
> nicht ins Internet lässt. Aus diesem Grund läuft bei mir ein Cron-Job, der
> 
> regelmäßig folgendes Script aufruft ...
> 
>  
> 
>  
> 
> /etc/init.d/openntpd stop
> 
>  
> 
> httpdate="$(wget --no-cache -S -O /dev/null google.com 2>&1 |
> sed -n -e 's/ *Date: *//p' -eT -eq)"
> [ -n "$httpdate" ] && date -s "$httpdate"
> 
>  
> 
> /etc/init.d/openntpd start
> 
>  
> 
>  
> 
> Nur falls andere Dinge nicht funktionieren :)
> 
>  
> 
> VG
> 
>  Wolfgang
> 
>  
> 
>  
> 
>  
> 
> -Original-Nachricht-
> 
> Betreff: Re: [lmn] NTP auf ipfire - duut nett
> 
> Datum: 2016-05-16T11:57:46+0200
> 
> Von: "juergen.engel...@t-online.de" 
> 
> An: "Discussions about using linuxmuster.net"
> 
> 
>  
> 
>  
> 
>  
> 
> Hallo Matthias,
> einfach die IP des Server in /etc/ntp.conf <http://ntp.conf> eintragen.
> Gruß Jürgen
> 
> 
> --------
> Gesendet mit der Telekom Mail App
> <http://www.t-online.de/service/redir/email_app_android_sendmail_footer.htm>
> 
> 
> 
> --- Original-Nachricht ---
> *Von: *Matthias Lauffer
> *Betreff: *Re: [lmn] NTP auf ipfire - duut nett
> *Datum: *16.05.2016, 11:51 Uhr
> *An: *Discussions about using linuxmuster.net
> 
> 
> 
> 
> Hallo Jörg,
> 
> hui - am Pfingstmontagmittag, so schnell ne Antwort :)
> 
> Bin leider nicht so firm ... desshalb noch mal nachgefragt:
> 
> Wie probier ich den? (was mach ich genau...?
> 
> lg
> matthias
> 
> Am 16.05.2016 um 11:44 schrieb Jörg Richter:
>> Hallo Matthias,
>>
>> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
>>
>>
>> Viele Grüße
>>
>> Jörg Richter
>>
>>
>>
>> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>>
>>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
>>> wichtiger sind ;)
>>>
>>>>> hätte gern einen Tipp, wo ich am besten Anfange <<
>>>
>>>
>>>
>>> Hier eine ungefähre Zustandsbeschreibung:
>>> 
>>>
>>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
>>> "Dienst"? hat?
>>>
>>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>>
>>> -schnipp---
>>> Service description NTP Time
>>> Output of check plugin CRIT - found 5 peers, but none is suitable
>>> ...
>>> Currently in downtime no
>>> In notification period yes
>>> ...
>>>
>>> Check manual (for Check_MK based checks):
>>>
>>> This check uses the output of ntpq -p as sent by the agent in order to
>>> check the quality of the NTP time synchronization of the client. If more
>>> than one peer is available, NTP chooses the "best" of them as "system
>>> peer". This check only measures the time difference to that system peer.
>>> The check is CRIT or WARN, if the time supplied by the system peer is
>>> not good enough (see below for parameters). It is UNKNOWN if no system
>>> peer is present or the system peer is unreachable.
>>>
>>> The check is CRIT, when there are NTP peers reachable but non of those
>>> is used by the NTP daemon. That is the case if the time provided by
>>> those peers is too bad.
>>>
>>> Note: If you want to check the health of the peers, you might want to
>>> use ntp, which creates one individual check per NTP peer.
>>> schnapp-
>>>
>>> Ein ps zeigt folgendes:
>>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>>> 1165 ? 00:00:13 ntpd
>>> 2081 ? 00:00:00 ntpd
>>>
>>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
>>> aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
>>> hat. Mitlerweise s

Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread Jörg Richter
Hallo Matthias,

Du musst in der ntp.conf auf dem Client die IP des Servers eintragen, damit der 
Client weiß, wo er nach der Uhrzeit fragen soll.

Viele Grüße

Jörg Richter

> Am 16.05.2016 um 12:22 schrieb Matthias Lauffer 
> :
> 
> Hallo Jürgen,
> 
> bei mir gibt es keine ntp.conf auf dem Server
> 
> grüße matthias
> 
>> Am 16.05.2016 um 11:57 schrieb juergen.engel...@t-online.de:
>> Hallo Matthias,
>> einfach die IP des Server in /etc/ntp.conf <http://ntp.conf> eintragen.
>> Gruß Jürgen
>> 
>> 
>> 
>> Gesendet mit der Telekom Mail App
>> <http://www.t-online.de/service/redir/email_app_android_sendmail_footer.htm>
>> 
>> 
>> 
>> --- Original-Nachricht ---
>> *Von: *Matthias Lauffer
>> *Betreff: *Re: [lmn] NTP auf ipfire - duut nett
>> *Datum: *16.05.2016, 11:51 Uhr
>> *An: *Discussions about using linuxmuster.net
>> 
>> 
>> 
>> 
>> Hallo Jörg,
>> 
>> hui - am Pfingstmontagmittag, so schnell ne Antwort :)
>> 
>> Bin leider nicht so firm ... desshalb noch mal nachgefragt:
>> 
>> Wie probier ich den? (was mach ich genau...?
>> 
>> lg
>> matthias
>> 
>>> Am 16.05.2016 um 11:44 schrieb Jörg Richter:
>>> Hallo Matthias,
>>> 
>>> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
>>> 
>>> 
>>> Viele Grüße
>>> 
>>> Jörg Richter
>>> 
>>> 
>>> 
>>>> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>>>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>>> 
>>>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>>>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge grad
>>>> wichtiger sind ;)
>>>> 
>>>>>> hätte gern einen Tipp, wo ich am besten Anfange <<
>>>> 
>>>> 
>>>> 
>>>> Hier eine ungefähre Zustandsbeschreibung:
>>>> 
>>>> 
>>>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire einen
>>>> "Dienst"? hat?
>>>> 
>>>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>>> 
>>>> -schnipp---
>>>> Service description NTP Time
>>>> Output of check plugin CRIT - found 5 peers, but none is suitable
>>>> ...
>>>> Currently in downtime no
>>>> In notification period yes
>>>> ...
>>>> 
>>>> Check manual (for Check_MK based checks):
>>>> 
>>>> This check uses the output of ntpq -p as sent by the agent in order to
>>>> check the quality of the NTP time synchronization of the client. If more
>>>> than one peer is available, NTP chooses the "best" of them as "system
>>>> peer". This check only measures the time difference to that system peer.
>>>> The check is CRIT or WARN, if the time supplied by the system peer is
>>>> not good enough (see below for parameters). It is UNKNOWN if no system
>>>> peer is present or the system peer is unreachable.
>>>> 
>>>> The check is CRIT, when there are NTP peers reachable but non of those
>>>> is used by the NTP daemon. That is the case if the time provided by
>>>> those peers is too bad.
>>>> 
>>>> Note: If you want to check the health of the peers, you might want to
>>>> use ntp, which creates one individual check per NTP peer.
>>>> schnapp-
>>>> 
>>>> Ein ps zeigt folgendes:
>>>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>>>> 1165 ? 00:00:13 ntpd
>>>> 2081 ? 00:00:00 ntpd
>>>> 
>>>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin mir da
>>>> aber nicht mehr sicher. Weiss nur dass es auch nicht zum Erfolg geführt
>>>> hat. Mitlerweise sind wir bei linuxmuster.net
>> <http://linuxmuster.net> 6.1.
>>>> Vielleicht sind auch durch updates einige dinge "lahm gelegt" worden.
>>>> Sicher aus gutem Grund.
>>>> 
>>>> Wie würdet Ihr am besten vorgehen?
>>>> 
>>>> Viele Grüße
>>>> Matthias - ps erholsame Pfingsttage und Ferien
>>>> __

Re: [lmn] NTP auf ipfire - duut nett

2016-05-16 Thread lauffer
Am 16. Mai 2016 12:51:17 MESZ, schrieb "Jörg Richter" :
>Hallo Matthias,
>
>Du musst in der ntp.conf auf dem Client die IP des Servers eintragen,
>damit der Client weiß, wo er nach der Uhrzeit fragen soll.
>
>Viele Grüße
>
>Jörg Richter
>
>> Am 16.05.2016 um 12:22 schrieb Matthias Lauffer
>:
>> 
>> Hallo Jürgen,
>> 
>> bei mir gibt es keine ntp.conf auf dem Server
>> 
>> grüße matthias
>> 
>>> Am 16.05.2016 um 11:57 schrieb juergen.engel...@t-online.de:
>>> Hallo Matthias,
>>> einfach die IP des Server in /etc/ntp.conf <http://ntp.conf>
>eintragen.
>>> Gruß Jürgen
>>> 
>>> 
>>>
>
>>> Gesendet mit der Telekom Mail App
>>>
><http://www.t-online.de/service/redir/email_app_android_sendmail_footer.htm>
>>> 
>>> 
>>> 
>>> --- Original-Nachricht ---
>>> *Von: *Matthias Lauffer
>>> *Betreff: *Re: [lmn] NTP auf ipfire - duut nett
>>> *Datum: *16.05.2016, 11:51 Uhr
>>> *An: *Discussions about using linuxmuster.net
>>> 
>>> 
>>> 
>>> 
>>> Hallo Jörg,
>>> 
>>> hui - am Pfingstmontagmittag, so schnell ne Antwort :)
>>> 
>>> Bin leider nicht so firm ... desshalb noch mal nachgefragt:
>>> 
>>> Wie probier ich den? (was mach ich genau...?
>>> 
>>> lg
>>> matthias
>>> 
>>>> Am 16.05.2016 um 11:44 schrieb Jörg Richter:
>>>> Hallo Matthias,
>>>> 
>>>> probier doch mal den NTP-Server, der auf dem LML-Server läuft.
>>>> 
>>>> 
>>>> Viele Grüße
>>>> 
>>>> Jörg Richter
>>>> 
>>>> 
>>>> 
>>>>> Am 16.05.2016 um 11:40 schrieb Matthias Lauffer:
>>>>> Hallo, will nicht unbedingt einen neuen Thread aufmachen.
>>>>> 
>>>>> Meine ubuntu-clients haben nicht immer die richtige Zeit.
>>>>> Und dies Problem habe ich schon min. 1 Jahr, da meist andere Dinge
>grad
>>>>> wichtiger sind ;)
>>>>> 
>>>>>>> hätte gern einen Tipp, wo ich am besten Anfange <<
>>>>> 
>>>>> 
>>>>> 
>>>>> Hier eine ungefähre Zustandsbeschreibung:
>>>>> 
>>>>> 
>>>>> Nun habe ich durch Zufall gesehen, dass offensichtlich der ipfire
>einen
>>>>> "Dienst"? hat?
>>>>> 
>>>>> Und sein mein monipi Läuft bin ich auf folgenden Fehler gestoßen:
>>>>> 
>>>>> -schnipp---
>>>>> Service description NTP Time
>>>>> Output of check plugin CRIT - found 5 peers, but none is suitable
>>>>> ...
>>>>> Currently in downtime no
>>>>> In notification period yes
>>>>> ...
>>>>> 
>>>>> Check manual (for Check_MK based checks):
>>>>> 
>>>>> This check uses the output of ntpq -p as sent by the agent in
>order to
>>>>> check the quality of the NTP time synchronization of the client.
>If more
>>>>> than one peer is available, NTP chooses the "best" of them as
>"system
>>>>> peer". This check only measures the time difference to that system
>peer.
>>>>> The check is CRIT or WARN, if the time supplied by the system peer
>is
>>>>> not good enough (see below for parameters). It is UNKNOWN if no
>system
>>>>> peer is present or the system peer is unreachable.
>>>>> 
>>>>> The check is CRIT, when there are NTP peers reachable but non of
>those
>>>>> is used by the NTP daemon. That is the case if the time provided
>by
>>>>> those peers is too bad.
>>>>> 
>>>>> Note: If you want to check the health of the peers, you might want
>to
>>>>> use ntp, which creates one individual check per NTP peer.
>>>>> schnapp-
>>>>> 
>>>>> Ein ps zeigt folgendes:
>>>>> 11:14/0 tux /etc/init.d # ps -A|grep ntp
>>>>> 1165 ? 00:00:13 ntpd
>>>>> 2081 ? 00:00:00 ntpd
>>>>> 
>>>>> Ich glaub hab vor nem Jahr mal versucht ntp zu installieren, bin
>mir d

Re: [lmn] NTP auf ipfire - duut nett

2016-01-13 Thread Rainer Schajor
Hallo zusammen,

auch ich habe das gleiche Problem ...

Am 13.01.2016 um 09:03 schrieb Tobias Kuechel:
> Liebe Liste,
> 
> wer von euch seine clients per ntpdate mit dem IPFIRE syncronisiert wird
> - wie ich - vielleicht auch probleme haben.
> Grund ist mir unbekannt, der server synchronisiert sich mit externen
> server ausgezeichnet.
> 
> Fazit: Ich habe "ntp" in die upd-Liste in /etc/linuxmuster/allowed_ports
> aufgenommen, jetzt synchronisiere ich eben meine Clients mit dem server
> statt mit dem ipfire.

Ist es aber nicht so, dass der IPFire das Zeitnormal für das Netz sein
sollte?

Also alle Clients und der Server holen sich die Zeit beim IPFire?

Ich verstehe auch nicht warum der IPFire die Client-Sync nach aussen
(z.B. zu npt1.belwue.de) blockt. NTP steht doch in den allowed Ports ...?

Ich habe behelfsmäßig eine IPFire-Regel eingebaut damit die Clients raus
kommen ... würde aber schon gerne den IPfire als Zeitnormal in der
Schule haben.

Habt ihr Tipps?

Grüße Rainer

___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-01-13 Thread Christian Weichhard
Laut dieser Seite

https://forum.ipfire.org/viewtopic.php?t=15428

ist es ein Bug in IPFire Core 95, der mit einem manuellen Eintrag in der
Datei /etc/ntp.conf umgangen werden kann.
Die Datei ntp.conf sieht jetzt bei mir so aus:

disable monitor
restrict default nomodify noquery
server  0.ipfire.pool.ntp.org
fudge   0.ipfire.pool.ntp.org stratum 10
driftfile /etc/ntp/drift

Danach braucht es noch einen restart des ntp-service:

/etc/init.d/ntp restart

Seitdem synchronisieren die Clients bei uns wieder.

Viel Glück

Christian
|
|

Am 13.01.2016 um 09:25 schrieb Rainer Schajor:
> Hallo zusammen,
>
> auch ich habe das gleiche Problem ...
>
> Am 13.01.2016 um 09:03 schrieb Tobias Kuechel:
>> Liebe Liste,
>>
>> wer von euch seine clients per ntpdate mit dem IPFIRE syncronisiert wird
>> - wie ich - vielleicht auch probleme haben.
>> Grund ist mir unbekannt, der server synchronisiert sich mit externen
>> server ausgezeichnet.
>>
>> Fazit: Ich habe "ntp" in die upd-Liste in /etc/linuxmuster/allowed_ports
>> aufgenommen, jetzt synchronisiere ich eben meine Clients mit dem server
>> statt mit dem ipfire.
> Ist es aber nicht so, dass der IPFire das Zeitnormal für das Netz sein
> sollte?
>
> Also alle Clients und der Server holen sich die Zeit beim IPFire?
>
> Ich verstehe auch nicht warum der IPFire die Client-Sync nach aussen
> (z.B. zu npt1.belwue.de) blockt. NTP steht doch in den allowed Ports ...?
>
> Ich habe behelfsmäßig eine IPFire-Regel eingebaut damit die Clients raus
> kommen ... würde aber schon gerne den IPfire als Zeitnormal in der
> Schule haben.
>
> Habt ihr Tipps?
>
> Grüße Rainer
>
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user


Re: [lmn] NTP auf ipfire - duut nett

2016-01-26 Thread Holger Baumhof
Hallo,

> https://forum.ipfire.org/viewtopic.php?t=15428

laut der Seite soll es in Core96 behoben sein: dann muss man also nicht
mehr aktiv werden.

LG

Holger
> 
> ist es ein Bug in IPFire Core 95, der mit einem manuellen Eintrag in der
> Datei /etc/ntp.conf umgangen werden kann.
> Die Datei ntp.conf sieht jetzt bei mir so aus:
> 
> disable monitor
> restrict default nomodify noquery
> server  0.ipfire.pool.ntp.org
> fudge   0.ipfire.pool.ntp.org stratum 10
> driftfile /etc/ntp/drift
> 
> Danach braucht es noch einen restart des ntp-service:
> 
> /etc/init.d/ntp restart
> 
> Seitdem synchronisieren die Clients bei uns wieder.
> 
> Viel Glück
> 
> Christian
> |
> |
> 
> Am 13.01.2016 um 09:25 schrieb Rainer Schajor:
>> Hallo zusammen,
>>
>> auch ich habe das gleiche Problem ...
>>
>> Am 13.01.2016 um 09:03 schrieb Tobias Kuechel:
>>> Liebe Liste,
>>>
>>> wer von euch seine clients per ntpdate mit dem IPFIRE syncronisiert wird
>>> - wie ich - vielleicht auch probleme haben.
>>> Grund ist mir unbekannt, der server synchronisiert sich mit externen
>>> server ausgezeichnet.
>>>
>>> Fazit: Ich habe "ntp" in die upd-Liste in /etc/linuxmuster/allowed_ports
>>> aufgenommen, jetzt synchronisiere ich eben meine Clients mit dem server
>>> statt mit dem ipfire.
>> Ist es aber nicht so, dass der IPFire das Zeitnormal für das Netz sein
>> sollte?
>>
>> Also alle Clients und der Server holen sich die Zeit beim IPFire?
>>
>> Ich verstehe auch nicht warum der IPFire die Client-Sync nach aussen
>> (z.B. zu npt1.belwue.de) blockt. NTP steht doch in den allowed Ports ...?
>>
>> Ich habe behelfsmäßig eine IPFire-Regel eingebaut damit die Clients raus
>> kommen ... würde aber schon gerne den IPfire als Zeitnormal in der
>> Schule haben.
>>
>> Habt ihr Tipps?
>>
>> Grüße Rainer
>>
>> ___
>> linuxmuster-user mailing list
>> linuxmuster-user@lists.linuxmuster.net
>> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
> 
> 
> 
> 
> ___
> linuxmuster-user mailing list
> linuxmuster-user@lists.linuxmuster.net
> https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
> 

-- 
Mein öffentlicher PGP-key ist hier hinterlegt: pool.sks-keyservers.net
___
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user