namedmanager icon indicating copy to clipboard operation
namedmanager copied to clipboard

namedmanager can't generate the zone file

Open honux0906 opened this issue 10 years ago • 5 comments

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 avatar Sep 15 '15 03:09 honux0906

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

honux0906 avatar Sep 15 '15 03:09 honux0906

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

jethrocarr avatar Jan 19 '16 10:01 jethrocarr

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.

hylitjob avatar Jul 17 '17 05:07 hylitjob

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 avatar Dec 05 '22 10:12 leqii-com

@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"

leqii-com avatar Dec 05 '22 10:12 leqii-com