jethrocarr / namedmanager

AGPL web-based DNS management interface in PHP
349 stars 125 forks source link

namedmanager can't generate the zone file #9

Open honux0906 opened 9 years ago

honux0906 commented 9 years ago

the config is follow: */ $config["api_url"] = "http://192.168.0.234/namedmanager"; // Application Install Location $config["api_server_name"] = "ns1.18one.asia"; // Name of the DNS server (important: part of the authentication process) $config["api_auth_key"] = "sdjk"; // API authentication key

and the log in the /var/log/namedmanager_bind_configwriter:

Fatal Error Lock Conflict /var/lock/namedmanager_lock_configwriter Error: Unable to authenticate with NamedManager API - check that auth API key and server name are valid

I can't find the wrong In the configure file,hope you help me,thanks!!

honux0906 commented 9 years ago

run the "php -q /usr/share/namedmanager/bind/namedmanager_bind_configwriter.php" the wrong comes out: Error: Unable to authenticate with NamedManager API - check that auth API key and server name are valid Fatal Error

jethrocarr commented 8 years ago

Is the API key correct? Double-check what is set in the NamedManager application side.

hylitjob commented 7 years ago

See the apache log /usr/local/apache2/log as follow

[root@localhost ~]# cd /usr/local/apache2/logs/ [root@localhost logs]# ls -l total 16 -rw-r--r-- 1 root root 867 Jul 13 14:04 access_log -rw-r--r-- 1 root root 1728 Jul 13 14:04 error_log -rw-r--r-- 1 root root 6 Jul 13 13:38 httpd.pid -rw-r--r-- 1 root root 1076 Jul 13 14:04 ssl_request_log [root@localhost logs]#

make sure the client request reached the namedmanger server.

then check the domain dns server name match the client congiguration.

leqii-com commented 1 year ago

me too,解决了吗? php -q /usr/share/namedmanager/bind/namedmanager_bind_configwriter.php Error: Unknown failure whilst attempting to authenticate with the API - Internal Server Error

leqii-com commented 1 year ago

@hylitjob 接口报错 看apache日志 192.168.10.3 - - [05/Dec/2022:18:17:52 +0800] "POST /namedmanager/api/namedmanager.php HTTP/1.1" 500 - "-" "PHP-SOAP/7.2.34"