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

Installing fmDNS failing? #98

Closed
lordmuffin opened this Issue May 23, 2014 · 11 comments

Comments

Projects
None yet
3 participants
@lordmuffin

lordmuffin commented May 23, 2014

I am in process of running install the fmDNS-1.2.3 client. Ubuntu 14.04 w/Lamp Server and php cli. When I run php dns.php install I get no output. I feel like im missing something very obvious here.

I have my webserver setup successfully for managing these clients, but im not getting the setup portion.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 23, 2014

Does debug mode provide any additional information?

sudo php /usr/local/facileManager/fmDNS/dns.php install debug

@lordmuffin

This comment has been minimized.

lordmuffin commented May 23, 2014

There is still no output of any kind. Could it be im on to new a versino of php?

image

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 23, 2014

Yeah, that's quite possible. I haven't done much testing on 5.5. Downgrade if you can or wait until I can get a fix out next week.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 28, 2014

I built a 14.04 test server and I'm not able to reproduce this:

root@fm-dns-t5:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:    14.04
Codename:   trusty
root@fm-dns-t5:~# php -v
PHP 5.5.9-1ubuntu4 (cli) (built: Apr  9 2014 17:11:57) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
root@fm-dns-t5:~# php /usr/local/facileManager/fmDNS/dns.php install
Welcome to the fmDNS installer.

Please answer the following questions and the necessary configurations will be performed
for you.

Please enter the location of the facileManager interface:
    Examples include:
    fm.mydomain.com
    fm.mydomain.com:8443
    mydomain.com/fm
    http://fm.mydomain.com/facileManager

Please enter the location of the facileManager interface: ^C
root@fm-dns-t5:~# 

Would you mind manually editing /usr/local/facileManager/fmDNS/dns.php with the following and then run the installer in debug mode again?

perl -npi -e 's/error_reporting\(0\)/error_reporting\(E_ALL\)/' /usr/local/facileManager/fmDNS/dns.php

I'd like to work towards a resolution for you on this.

@lordmuffin

This comment has been minimized.

lordmuffin commented May 29, 2014

image

This is what i get after a fresh 14.04 with lamp install and run your debug addition. Strange?

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 29, 2014

Ah! You need to install the core client scripts as fmDNS relies on some functions provided by it. Line 52 would have outputted a message to tell you, but it's using a function found in the client scripts. :( So, that is a bug for error catching, but all you need to do to get running is install the client scripts from facilemanager-core (or complete).

WillyXJ pushed a commit that referenced this issue May 29, 2014

@lordmuffin

This comment has been minimized.

lordmuffin commented May 29, 2014

Excellent. Installing functions.php in my root folder with fmDNS solved my issue. The way I am setup is I have a WEB1 with fm running and NS1 & NS2 with fmdns pointing to web1. However my cron jobs are not updating files correctly. I can see NS1 and NS2 run cron jobs correctly, but I dont think they are getting the info from WEB1. How does the web send that information?

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 30, 2014

Glad to hear the install works for you now.

The cron job initiates a http connection to WEB1 which will process the request and return an array of files to write or an error message. You can run the cron job manually in debug mode to see what its output is which should give more information as to why your NS1 and NS2 servers are not getting updated.

sudo /usr/local/facileManager/fmDNS/dns.php cron debug
@wispr

This comment has been minimized.

wispr commented May 30, 2014

WillyXJ, I just ran into this same problem. Nowhere in the documentation does it referring to needing to put he functions.php file from the core in the same facilemanager folder with fmDNS for the client. Regardless, got it up and running thanks to this post.

WillyXJ pushed a commit that referenced this issue May 30, 2014

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 30, 2014

@lordmuffin It looks like the issue is found (#101) and I've merged it with a slight change in c40fd0f. This should resolve your issue.

@wispr Thank you for pointing out the documentation flaw. I'll work on updating the docs.

@WillyXJ

This comment has been minimized.

Owner

WillyXJ commented May 30, 2014

This has been resolved in 1.2.4.

@WillyXJ WillyXJ closed this May 30, 2014

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