Open honux0906 opened 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
Is the API key correct? Double-check what is set in the NamedManager application side.
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.
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
@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"
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!!