New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init.d startup script does not find PID file #79

Closed
mac-tech opened this Issue Mar 27, 2014 · 5 comments

Comments

Projects
None yet
2 participants
@mac-tech

mac-tech commented Mar 27, 2014

After installing fmDNS with default configs, the init script will report that the service is not running, since the fmDNS moves the PID file out of the default install path:

root@NS1:~# /etc/init.d/bind9 status
 * bind9 is not running

The location of the PID file is controlled in "options" and written in

/etc/bind/named.conf.options 

Setting this option in fmDNS to the ISC BIND default location will solve the problem and report the proper running status:

pid-file "/var/run/named/named.pid";

@mac-tech mac-tech closed this Mar 27, 2014

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 28, 2014

What OS/distro is this from?

Thanks.

@mac-tech

This comment has been minimized.

mac-tech commented Mar 28, 2014

Ubuntu 12.04 LTS

Thanks for the great software!

Sent from my iPhone

On Mar 27, 2014, at 9:27 PM, WillyXJ notifications@github.com wrote:

What OS/distro is this from?

Thanks.


Reply to this email directly or view it on GitHub.

@WillyXJ WillyXJ reopened this Mar 28, 2014

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Mar 28, 2014

Reopening to check the auto detection process for Ubuntu.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Apr 3, 2014

The default fmDNS installation auto creates a global option of

pid-file "$ROOT/named.pid"

The idea is that it would cover most BIND installations. However, on Ubuntu, the pid file is not in $ROOT so fmDNS expects the user to manually override that in the options configuration for that specific server.

I'm still on the fence about automatically creating a server override based on Linux distro as it could potentially get difficult to maintain.

@WillyXJ WillyXJ added fmDNS and removed core labels Apr 3, 2014

@WillyXJ WillyXJ modified the milestones: 1.2 release, 1.1 bugfixes Apr 18, 2014

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented Apr 18, 2014

Added ability to automatically add server config option overrides at client install time. Right now it addresses the pid-file on Debian-based systems. This will be available in v1.2.

@WillyXJ WillyXJ closed this Apr 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment