[Pdns-users] Monitoring question

NoBloat 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[25559]: Polled security status of version 4.0.3 at startup, no known issues reported: OK
Mar 01 11:24:03 ns1.domain.com pdns[25559]: Creating backend connection for TCP
Mar 01 11:24:03 ns1.domain.com pdns[25559]: Fatal error in control listener: Guardian exited - going down as well
Mar 01 11:24:03 ns1.domain.com pdns_server[25559]: 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[25559]: Mar 01 11:24:03 Control listener aborted, please file a bug!
Mar 01 11:24:03 ns1.domain.com pdns[25559]: 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

Hi,

On Tue, 28 Feb 2017 15:29:14 -0700 (MST)
NoBloat <bloat at grounded.net> wrote:

> The manual at;
> https://doc.powerdns.com/md/authoritative/howtos/#basic-setup-configuring-database-connectivity
> 
> Says to start the monitor;
> /etc/init.d/pdns monitor
> 
> I have no such service, mine is installed in;
> /usr/sbin/pdns_server
> 
> 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!

Best regards,

Pieter

-- 
Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-users mailing list