[Pdns-users] Monitoring question
bloat at grounded.net
Wed Mar 1 18:30:43 UTC 2017
Using your method, I definitely see more information, including an error asking to file a bug.
Mar 01 11:24:03 ns1.domain.com pdns: Polled security status of version 4.0.3 at startup, no known issues reported: OK
Mar 01 11:24:03 ns1.domain.com pdns: Creating backend connection for TCP
Mar 01 11:24:03 ns1.domain.com pdns: Fatal error in control listener: Guardian exited - going down as well
Mar 01 11:24:03 ns1.domain.com pdns_server: Mar 01 11:24:03 Fatal error in control listener: Guardian exited - going down as well
Mar 01 11:24:03 ns1.domain.com pdns_server: Mar 01 11:24:03 Control listener aborted, please file a bug!
Mar 01 11:24:03 ns1.domain.com pdns: Control listener aborted, please file a bug!
However, rather than starting this from the command line, I temporarily edited the bootup script. Maybe that's why.
----- Original Message -----
From: "Pieter Lexis" <pieter.lexis at powerdns.com>
To: pdns-users at mailman.powerdns.com
Sent: Wednesday, March 1, 2017 3:11:21 AM
Subject: Re: [Pdns-users] Monitoring question
On Tue, 28 Feb 2017 15:29:14 -0700 (MST)
NoBloat <bloat at grounded.net> wrote:
> The manual at;
> Says to start the monitor;
> /etc/init.d/pdns monitor
> I have no such service, mine is installed in;
> Needless to say, searching the net for such keywords leads to countless unrelated things.
> How do I monitor this server? I am also using tail on the /var/log/messages file but I suspect there is more to be seen based on the first url I've posted.
You can indeed look at the systemd journal (`journalctl -u pdns -f`), but that won't give you the console.
We did not have this question in a while, you can simulate the `/etc/init.d/pdns monitor` behaviour by running (make sure the service not running):
/usr/sbin/pdns_server --daemon=no --guardian=no --control-console --loglevel=9
I'll update our documentation on this, good catch!
PowerDNS.COM BV -- https://www.powerdns.com
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
More information about the Pdns-users