WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
87 stars 37 forks source link

[ISSUE] fmDNS Manager: ssh connection reports: client file is not present #521

Closed am155 closed 3 years ago

am155 commented 3 years ago

fM Version : 4.0.3 fmDNS Version : 4.1.0


(BUG | ISSUE) Expected Behavior: Server should be able to execute ssh command on named server

(BUG | ISSUE) Actual Behavior: Error Message: SSH Login: client file is not present

(BUG | ISSUE) Steps to reproduce:

Server: Ubuntu 20.04 with NGINX, and apache2, php 7.4 DNS Server: Ubuntu 20.04, bind9, php-cli 7.4

  1. SSH Connection from server with user: fm_user can connect to the DNS server.
  2. sudoers entry has been create by the client installation program
  3. the fm_user can execute the script: /usr/bin/php /usr/local/fmDNS/fmDNS/client.php -b -d

But: Connectivity Test result shows Running tests for ns4.domainname.eu Ping: success Remote Port: success (tcp/22) SSH Login: client file is not present DNS: failed (tcp/53)

Zone Server - build config reports: Failed: Client file is not present - is the client software installed?

WillyXJ commented 3 years ago

The server expects the client.php file to be in /usr/local/facileManager//client.php. If you rename /usr/local/fmDNS to /usr/local/facileManager and update your sudoers line to reflect that, then it should work as expected.

am155 commented 3 years ago

brilliant - working now.

Thank you for your effort.