Re: [Pdns-users] Monitoring question

2017-03-04 Thread Peter van Dijk

Hello,

On 1 Mar 2017, at 19:30, NoBloat wrote:

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.


If by bootup script, you mean the systemd unit file, then this looks 
like expected behaviour. The bug would then be that we are asking to 
file a bug where we should be telling you what you did wrong. You should 
file a bug about that!


Kind regards,
--
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Monitoring question

2017-03-01 Thread NoBloat
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" 
To: pdns-users@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  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@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Monitoring question

2017-03-01 Thread Pieter Lexis
Hi,

On Tue, 28 Feb 2017 15:29:14 -0700 (MST)
NoBloat  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@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] Monitoring question

2017-02-28 Thread NoBloat
I have the following installed; pdns 4.0.3-1pdns.el7
On a centos7 server.

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

The only 'monitor' option I see when checking the help file for pdns_server is;

  --webserver | --webserver=yes | --webserver=no
Start a webserver for monitoring

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.

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users