Error message after starting ntp

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Error message after starting ntp

Postby linuxdad » Mar 22nd, '14, 20:43

I received the following message after starting up NTP.

server does not have extension for -dpms option

I cannot find the -dpms or +dpms option anywhere.

If this is for Display Power management, what does this have to do with MCC editing and starting NTP?
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: Error message after starting ntp

Postby martinw » Mar 22nd, '14, 23:28

I'm guessing here, but when you start up NTP, it will adjust the system clock. If it moves the clock forward by a large amount, this could trigger display blanking. So it is likely that the script that starts the NTP daemon tries to temporarily disable display power management.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Error message after starting ntp

Postby linuxdad » Mar 23rd, '14, 18:22

Ouch, that's kinda of scary. Reminds me of the tight integration that Windows has with the Registry.

Thanks for the reply.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: Error message after starting ntp

Postby doktor5000 » Mar 24th, '14, 01:21

Where did you exactly receive that message?
When you run drakxservices, it will examine the state of all services, so this message may come from some completely different service,
and it only appeared because you changed something so drakxservices went through the list of all services again.

Also, I don't see ntp service here - only ntpd and ntpdate - or do you run a local ntp server?
I've just stopped and started ntpd again, and no message whatsoever.

I'd say it's a red herring, if you don't proof otherwise :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Error message after starting ntp

Postby martinw » Mar 24th, '14, 22:44

I can save linuxdad some effort, as I found a few spare minutes to check my guess:
  • /usr/bin/drakclock calls /usr/libexec/drakclock
  • /usr/libexec/drakclock calls any::disable_x_screensaver() before starting the NTP server and any::enable_x_screensaver after updating the system clock
  • disable_x_screensaver() runs xset -dpms and enable_x_screensaver() runs xset +dpms (in /usr/lib/libDrakX/any.pm)
@linuxdad, what happens when you type
Code: Select all
xset -dpms

on the command line. Here it runs without error.

I don't follow your comment about the WIndows registry. This is just a bit of user-friendliness on the part of the drak tools (MCC) - if it didn't do this, the screensaver or display blanking might activate when you enabled NTP.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Error message after starting ntp

Postby aevertett » Jun 24th, '14, 14:02

Is it just a coincidence that this message appeared when NTP was started. I've done quite a bit of work with the NTP protocol and NTP servers and never come across this messages or indeed the dpms parameters.

Eve
edit doktor5000: removed advertising link
aevertett
 
Posts: 1
Joined: Jun 24th, '14, 13:58


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest