Cloudflare DNS not operational, Can't install Letsencrypt certs

None of the domains on my AsipCS site are operating. Noticed that Letsencrypt cert had all expired. Auto renew does not work. Tried to do it manually using cpcmd which installed certs but httpd does not recognise them. System health says that Apache is not running. Restarting apnscp changes nothing. Startup log says httpd is running as root and also as an apnscp service.

Can’t access any site via http or https.

[root@host apnscp]# # Rebuild the Apache configuration
[root@host apnscp]# htrebuild
Reloading httpd: Syntax OK
httpd not running, trying to start
no listening sockets available, shutting down
AH00015: Unable to open logs
[WARNING]
httpd: graceful failed
[root@host apnscp]# # Restart ApisCP
[root@host apnscp]# systemctl restart apiscp
[root@host apnscp]# # Check the status
[root@host apnscp]# systemctl status apiscp
● apnscp.service - ApisCP backend service
Loaded: loaded (/etc/systemd/system/apnscp.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/apnscp.service.d
└─cve-2026-31431.conf, override.conf
Active: active (running) since Thu 2026-08-20 12:38:54 AEST; 11s ago
Process: 934347 ExecStopPost=/usr/sbin/httpd -f /usr/local/apnscp/config/httpd.conf -k stop $HTTPD_ARGS (code=exited, status=0/SUCCESS)
Process: 934346 ExecStop=/usr/local/apnscp/bin/apnscpd stop (code=exited, status=0/SUCCESS)
Main PID: 934350 (apnscp_php)
Status: “Waiting”
Tasks: 42 (limit: 102264)
Memory: 1.0G
CGroup: /system.slice/apnscp.service
├─ 3113 redis-server 127.0.0.1:0
├─ 3617 /usr/local/apnscp/apps/terminal/shellinabox/bin/shellinaboxd -t --unixdomain-only=/usr/local/apnscp/storage/run/terminal.sock:apnscp:apnscp:600 --b>
├─ 3618 /usr/local/apnscp/apps/terminal/shellinabox/bin/shellinaboxd -t --unixdomain-only=/usr/local/apnscp/storage/run/terminal.sock:apnscp:apnscp:600 --b>
├─934350 apnscpd: master
├─934361 /usr/sbin/httpd -f /usr/local/apnscp/config/httpd.conf -DAPNSCP_ROOT=/usr/local/apnscp -DFPM -k start
├─934362 /usr/sbin/httpd -f /usr/local/apnscp/config/httpd.conf -DAPNSCP_ROOT=/usr/local/apnscp -DFPM -k start
├─934391 job runner
├─934395 php-fpm: master process (/usr/local/apnscp/config/php-fpm.conf)
├─934404 php-fpm: pool cp
├─934442 /usr/local/apnscp/bin/php-bins/apnscp_php /usr/local/apnscp/artisan horizon
├─934455 /usr/local/apnscp/bin/php-bins/apnscp_php artisan horizon:supervisor hostcyberhorsecomau-CHAR:supervisor-1 redis --delay=0 --memory=128 --queue=hig>
├─934467 /usr/local/apnscp/bin/php-bins/apnscp_php artisan horizon:work redis --delay=0 --memory=128 --queue=high,default --sleep=3 --timeout=60 --tries=3 →
└─934478 php-fpm: pool cp

Aug 20 12:38:54 host.cyberhorse.com.au systemd[1]: Starting ApisCP backend service…
Aug 20 12:38:54 host.cyberhorse.com.au systemd[1]: apnscp.service: Supervising process 934350 which is not our child. We’ll most likely not notice when it exits.
Aug 20 12:38:54 host.cyberhorse.com.au systemd[1]: Started ApisCP backend service.

Description

Please provide a clear and concise description of the bug you encountered.

Steps to Reproduce

Please provide detailed steps to reproduce the bug. Include any necessary code snippets, commands, or configuration files.

  • Step 1
  • Step 2
  • Step 3

Expected Behavior

Describe what you expected to happen when the bug occurred.

Actual Behavior

Describe what actually happened when the bug occurred.

Environment

ApisCP version: cpcmd misc:cp-version
Operating System: uname -r

[root@host apnscp]# cpcmd misc:cp-version
revision: f03ddba61b5d9a4d7d623a6d0806f71c7f4b1980
timestamp: 1787158667
ver_maj: 3
ver_min: 2
ver_patch: 48
ver_pre: 82-gf03ddba61
dirty: false
checksum: 13527d449fd4d18
debug: false

[root@host apnscp]# uname -r
4.18.0-553.137.1.el8_10.x86_64

Additional relevant information (e.g., PHP version, database, etc.):

Additional Information

Provide any additional information about the bug, such as error messages, logs, screenshots, or any other relevant details.

Sounds like your internal IP address changed. Apache log is located in /var/log/httpd/error_log. journalctl -n50 -u httpd should also provide salient information. If it has changed, see Changing IPs under NAT/Private networks.

To reissue all certificates if they expired for whatever reason, see Mass reissuance under SSL.

The ip address is the same as it has been for the last two years. When I try to access the DNS for cyberhorse.com.au I get -
Action failed

Cannot fetch zone information for `cyberhorse.com.au': no master nameserver configured in config.ini
Non-authoritative for zone cyberhorse.com.au

Nameserver is cloudflare and set as such in config.ini.
cyberhorse.com.au A 152.53.23.5 DNS only Auto

I can ping that address from my server. Domain expires 2028. Delegated to CHLOE.NS.CLOUDFLARE.COM.

[root@host apnscp]# ping cyberhorse.com.au
PING cyberhorse.com.au (152.53.23.5) 56(84) bytes of data.
64 bytes from host.cyberhorse.com.au (152.53.23.5): icmp_seq=1 ttl=64 time=0.076 ms
64 bytes from host.cyberhorse.com.au (152.53.23.5): icmp_seq=2 ttl=64 time=0.127 ms
64 bytes from host.cyberhorse.com.au (152.53.23.5): icmp_seq=3 ttl=64 time=0.122 ms

httpd log still shows -
Aug 21 05:30:00 host.cyberhorse.com.au systemd[1]: httpd.service: Failed with result ‘exit-code’.
Aug 21 05:30:00 host.cyberhorse.com.au systemd[1]: Failed to start The Apache HTTP Server.
Aug 21 05:32:30 host.cyberhorse.com.au systemd[1]: Starting The Apache HTTP Server…
Aug 21 05:32:30 host.cyberhorse.com.au httpd.init[1011436]: no listening sockets available, shutting down
Aug 21 05:32:30 host.cyberhorse.com.au httpd.init[1011436]: AH00015: Unable to open logs
Aug 21 05:32:30 host.cyberhorse.com.au systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE

error_log is empty.

Default DNS provider is set to “builtin”. Sign into the account for cyberhorse.com.au under Nexus, then view DNS via DNS > DNS Manager.

Look at /var/log/httpd/error_log as well as journalctl. Two different logging channels.

I am using Cloudflare as DNS provider - this is for all domains on the server. None are accessible.
[root@host apnscp]# cpcmd scope:get dns.default-provider
cloudflare

The only options I have available on the domain DNS menu are -
Add on domains
SPF Setup
Traceroute
Whois

/var/log/httpd/error_log is empty

I was able to install a certificate for cyberhorse.com.au manually by generating directly with Letsencrypt and copying into the site4 ssl directory. Copied cert bundle and key. Nexus recognises it but it can’t be used.

Certificate Detected


Issuer Information

Valid From: 2026/08/18 to 2026/11/16
Certificate Fingerprint: 57:04:1E:13:2E:33:CF:B0:A0:E3:1E:F3:4B:9B:76:04:D8:56:CE:75
Certificate requires intermediate certificate

Organization: Let’s Encrypt – YR1

Key Length: 2048
Key Type: RSA

dns,enabled is 0 or dns,provider is not set to cloudflare for the domain. This assertion is determined in templateconfig-site.php:492, which in turn calls dns:configured. This is a simple check to ensure a DNS provider is used.

# Reports 0/empty value
cpcmd -d SITE  dns:configured
# Reports builtin, null
cpcmd -d SITE dns:get-provider
# Reports 0/empty value
cpcmd -d SITE dns:enabled

That is expected. Certificates are not served from that location. See SSL > Importing certificates.

Apache reads the named IPs from /etc/httpd/conf/httpd-custom.conf. For each Listen directive, which may or may not be prefixed with an IP address. If no addresses/ports can be bound this error bubbles up.

There should be an accompanying error, for example if I change Listen 80 to Listen 22 (sshd), then run httpd -k restart, then we see something a bit more descriptive in /var/log/httpd/error_log

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:22
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:22
[Fri Aug 21 17:57:53.252903 2026] [mpm_event:alert] [pid 1270127:tid 1270127] no listening sockets available, shutting down
[Fri Aug 21 17:57:53.252907 2026] [:emerg] [pid 1270127:tid 1270127] AH00019: Unable to open logs, exiting

The fact that yours is empty is of concern. You’re looking in the global filesystem, not within an account’s vfs, correct? /var/log/httpd/error_log, not /home/virtual/site1/fst/var/log/httpd/error_log and as root, correct?

I’m looking in error_log globally and in the account instance. Both are empty. Apache is shown as running in apnscp start log but disabled in the system control panel.

I think that because host.cyberhorse.com.au is the master account for the server everything is stuffed because I can’t get cloudflare to override builtin DNS. Just tried this -
[root@host /]# cpcmd scope:set dns.default-provider cloudflare
1
You have new mail in /root/Mail
[root@host /]# cpcmd -d cyberhorse.com.au dns:get-provider
builtin
Did this after setting up a new cloudflare token and setting a new key in ApisCP global configuration. It was you who advised me to use Cloudflare when I first set up the system two years ago and it worked fine until May when all the certs failed to update. I’ve spent 3 days trying to get Coudflare to work but as you can see even when I set it in the backend the setting is ignored.

That’s a separate instance for the panel.

EditDomain -c dns,provider=cloudflare cyberhorse.com.au

When a default value is changed, we don’t want to potentially catastrophically undo all per-account changes. Imagine what would happen if you ran cpcmd scope:set dns.default-provider null and it deleted every DNS zone across every account :sweat_smile:.

As for Apache handling traffic on all accounts - what does httpd -k restart report, same errors verbatim? If so, PM me the contents from /etc/httpd/conf/httpd-custom.conf and /etc/httpd/conf/virtual-httpd-built (or /etc/httpd/conf/virtual-httpd-built.bad if it exists).

I have no idea how your commands are supposed to be executed. Is this a cpcmd command or just executed as you give it to me? This is what I get. I’ve already setup the key for cloudflare in the configuration. Does it just get ignored if I do EditDomain? If I do EditDomain how and where do I specify the token? Your documentation is silent on that score. And nowhere does it say that config cannot be used to specify a nameserver for all domains. If it can’t be done why even provide the global setting?

[root@host /]# EditDomain -c dns,provider=cloudflare cyberhorse.com.au
ERROR : Opcenter\Account\Edit::installServices(): failed verification on service `dns’: Opcenter\Dns\Providers\Cloudflare\Validator::valid(): Cloudflare key must provided
0. Error_Reporter::append_msg(“Opcenter\Dns\Providers\Cloudflare\Validator::valid(): Cloudflare key must provided”, 16, null)
[/usr/local/apnscp/lib/error_reporter.php:632]
1. Error_Reporter::add_error(“Cloudflare key must provided”, )
[/usr/local/apnscp/lib/log_wrapper.php:72]
2. error(“Cloudflare key must provided”)
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Validator.php:43]
3. Opcenter\Dns\Providers\Cloudflare\Validator->valid(Opcenter\Service\ConfigurationContext, SensitiveParameterValue)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Dns/Key.php:63]
4. Opcenter\Service\Validators\Dns\Key->valid(SensitiveParameterValue)
[/usr/local/apnscp/lib/Opcenter/Service/ConfigurationContext.php:570]
5. Opcenter\Service\ConfigurationContext->check(“key”, null)
[/usr/local/apnscp/lib/Opcenter/Service/ConfigurationContext.php:166]
6. Opcenter\Service\ConfigurationContext->preflight()
[/usr/local/apnscp/lib/Opcenter/SiteConfiguration.php:764]
7. Opcenter\SiteConfiguration->verify(“dns”, Opcenter\Service\ConfigurationContext)
[/usr/local/apnscp/lib/Opcenter/SiteConfiguration.php:683]
8. Opcenter\SiteConfiguration->verifyAll()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:120]
9. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
10. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]

No default provider key is set. This is covered in DNS > Providers > Cloudflare DNS Provider > Setting as default. If set, EditDomain -c dns,provider=cloudflare -c dns,key=DEFAULT would work.

The platform is designed to be flexible without giving people footguns, so explicit usage is preferred over implied features.

Ran the EditDomain command as suggested. The output of a string of error messages plus “DNS for zone `cyberhorse.com.au’ already exists, not overwriting” suggests nothing has been changed for the better. Can’t even get into the control panel now.

[root@host /]# EditDomain -c dns,provider=cloudflare -c dns,key=‘[key:not posted here,email:xxxx@gmail.com,proxy:false]’ cyberhorse.com.au
WARNING: Opcenter\Dns\Providers\Cloudflare\Validator::valid(): API key must be in hexadecimal. Assuming “key” value API token and removing “email” parameter
WARNING: fsockopen(): php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known
[/usr/local/apnscp/lib/Net/Gethost.php:274]
0. fsockopen(“udp://1.1.1.1]”, 53, null, null)
[/usr/local/apnscp/lib/Net/Gethost.php:274]
1. Net_Gethost->performRawLookup(“”)
[/usr/local/apnscp/lib/Net/Gethost.php:190]
2. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
3. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
4. Net_Gethost::gethostbyname_t(“chloe.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
5. Dns_Module->get_records_external(“”, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
6. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
7. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
8. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Dns/Enabled.php:56]
9. Opcenter\Service\Validators\Dns\Enabled->populate(Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Common/Enabled.php:131]
10. Opcenter\Service\Validators\Common\Enabled->fire([“service”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Common/Enabled.php:99]
11. Opcenter\Service\Validators\Common\Enabled->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
12. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
13. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
14. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
15. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
16. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]

WARNING: Opcenter\Service\Validators\Dns\Enabled::depopulate(): DNS is preserved when setting dns,enabled=0 on edit. To remove DNS for zone set both dns,enabled=0 and dns,provider=null.
ERROR : Opcenter\Service\Validators\Common\Enabled::Opcenter\Service\Validators\Common{closure}(): failed to commit service configuration for dns': Net_Gethost::performRawLookup(): Failed to send DNS request. Error 0’: php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known' 0. Error_Reporter::append_msg("Net_Gethost::performRawLookup(): Failed to send DNS request. Error 0’: php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known'", [0, "php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known"], 16, null) [/usr/local/apnscp/lib/error_reporter.php:632] 1. Error_Reporter::add_error("Failed to send DNS request. Error %s’: %s'", [0, "php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known"]) [/usr/local/apnscp/lib/log_wrapper.php:72] 2. error("Failed to send DNS request. Error %s’: `%s’“, 0, “php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known”)
[/usr/local/apnscp/lib/Net/Gethost.php:276]
3. Net_Gethost->performRawLookup(”“)
[/usr/local/apnscp/lib/Net/Gethost.php:190]
4. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
5. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
6. Net_Gethost::gethostbyname_t(“chloe.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
7. Dns_Module->get_records_external(”“, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
8. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
9. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
10. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Dns/Enabled.php:56]
11. Opcenter\Service\Validators\Dns\Enabled->populate(Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Common/Enabled.php:131]
12. Opcenter\Service\Validators\Common\Enabled->fire([“service”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Service/Validators/Common/Enabled.php:99]
13. Opcenter\Service\Validators\Common\Enabled->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
14. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
15. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
16. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
17. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
18. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]
WARNING: fsockopen(): php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known
[/usr/local/apnscp/lib/Net/Gethost.php:274]
0. fsockopen(“udp://1.1.1.1]”, 53, null, null)
[/usr/local/apnscp/lib/Net/Gethost.php:274]
1. Net_Gethost->performRawLookup(”“)
[/usr/local/apnscp/lib/Net/Gethost.php:190]
2. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
3. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
4. Net_Gethost::gethostbyname_t(“chloe.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
5. Dns_Module->get_records_external(”", “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
6. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
7. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
8. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/modules/dns.php:2035]
9. Dns_Module->provisionProviderChange()
[/usr/local/apnscp/lib/modules/dns.php:1907]
10. Dns_Module->_edit()
[/usr/local/apnscp/lib/Util/Account/Hooks.php:140]
11. Util_Account_Hooks->_process(“edit”, )
[/usr/local/apnscp/lib/Util/Account/Hooks.php:50]
12. Util_Account_Hooks->run(“edit”)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:144]
13. Opcenter\Account\Edit::Opcenter\Account{closure}(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
14. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
15. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
16. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
17. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
18. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]

ERROR : Net_Gethost::performRawLookup(): Failed to send DNS request. Error 0': php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known’
0. Error_Reporter::add_error(“Failed to send DNS request. Error %s': %s’”, [0, “php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known”])
[/usr/local/apnscp/lib/log_wrapper.php:72]
1. error(“Failed to send DNS request. Error %s': %s’”, 0, “php_network_getaddresses: getaddrinfo for 1.1.1.1] failed: Name or service not known”)
[/usr/local/apnscp/lib/Net/Gethost.php:276]
2. Net_Gethost->performRawLookup(“”)
[/usr/local/apnscp/lib/Net/Gethost.php:190]
3. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
4. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
5. Net_Gethost::gethostbyname_t(“chloe.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
6. Dns_Module->get_records_external(“”, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
7. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
8. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
9. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/modules/dns.php:2035]
10. Dns_Module->provisionProviderChange()
[/usr/local/apnscp/lib/modules/dns.php:1907]
11. Dns_Module->_edit()
[/usr/local/apnscp/lib/Util/Account/Hooks.php:140]
12. Util_Account_Hooks->_process(“edit”, )
[/usr/local/apnscp/lib/Util/Account/Hooks.php:50]
13. Util_Account_Hooks->run(“edit”)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:144]
14. Opcenter\Account\Edit::Opcenter\Account{closure}(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
15. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
16. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
17. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
18. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
19. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]
ERROR : Net_Gethost::lookup(): DNS request timed out on chloe.ns.cloudflare.com
0. Error_Reporter::add_error(“DNS request timed out on %s”, [“chloe.ns.cloudflare.com”])
[/usr/local/apnscp/lib/log_wrapper.php:72]
1. error(“DNS request timed out on %s”, “chloe.ns.cloudflare.com”)
[/usr/local/apnscp/lib/Net/Gethost.php:192]
2. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
3. Net_Gethost->lookup(“chloe.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
4. Net_Gethost::gethostbyname_t(“chloe.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
5. Dns_Module->get_records_external(“”, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
6. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
7. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
8. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/modules/dns.php:2035]
9. Dns_Module->provisionProviderChange()
[/usr/local/apnscp/lib/modules/dns.php:1907]
10. Dns_Module->_edit()
[/usr/local/apnscp/lib/Util/Account/Hooks.php:140]
11. Util_Account_Hooks->_process(“edit”, )
[/usr/local/apnscp/lib/Util/Account/Hooks.php:50]
12. Util_Account_Hooks->run(“edit”)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:144]
13. Opcenter\Account\Edit::Opcenter\Account{closure}(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
14. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
15. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
16. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
17. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
18. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]
ERROR : Net_Gethost::performRawLookup(): Failed to send DNS request. Error 0': Failed to parse IPv6 address “[1.0.0.1:53”’
0. Error_Reporter::add_error(“Failed to send DNS request. Error `%s’: `%s’”, [0, “Failed to parse IPv6 address “[1.0.0.1:53"”])
[/usr/local/apnscp/lib/log_wrapper.php:72]
1. error(“Failed to send DNS request. Error `%s’: `%s’”, 0, “Failed to parse IPv6 address “[1.0.0.1:53"”)
[/usr/local/apnscp/lib/Net/Gethost.php:276]
2. Net_Gethost->performRawLookup(””)
[/usr/local/apnscp/lib/Net/Gethost.php:190]
3. Net_Gethost->lookup(“damian.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
4. Net_Gethost->lookup(“damian.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
5. Net_Gethost::gethostbyname_t(“damian.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
6. Dns_Module->get_records_external(“”, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
7. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
8. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
9. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/modules/dns.php:2035]
10. Dns_Module->provisionProviderChange()
[/usr/local/apnscp/lib/modules/dns.php:1907]
11. Dns_Module->_edit()
[/usr/local/apnscp/lib/Util/Account/Hooks.php:140]
12. Util_Account_Hooks->_process(“edit”, )
[/usr/local/apnscp/lib/Util/Account/Hooks.php:50]
13. Util_Account_Hooks->run(“edit”)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:144]
14. Opcenter\Account\Edit::Opcenter\Account{closure}(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
15. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
16. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
17. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
18. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
19. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]
ERROR : Net_Gethost::lookup(): DNS request timed out on damian.ns.cloudflare.com
0. Error_Reporter::add_error(“DNS request timed out on %s”, [“damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/log_wrapper.php:72]
1. error(“DNS request timed out on %s”, “damian.ns.cloudflare.com”)
[/usr/local/apnscp/lib/Net/Gethost.php:192]
2. Net_Gethost->lookup(“damian.ns.cloudflare.com”, 1)
[/usr/local/apnscp/lib/Net/Gethost.php:181]
3. Net_Gethost->lookup(“damian.ns.cloudflare.com”, 268435456)
[/usr/local/apnscp/lib/Net/Gethost.php:163]
4. Net_Gethost::gethostbyname_t(“damian.ns.cloudflare.com”)
[/usr/local/apnscp/lib/modules/dns.php:661]
5. Dns_Module->get_records_external(“”, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
6. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
7. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
8. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/modules/dns.php:2035]
9. Dns_Module->provisionProviderChange()
[/usr/local/apnscp/lib/modules/dns.php:1907]
10. Dns_Module->_edit()
[/usr/local/apnscp/lib/Util/Account/Hooks.php:140]
11. Util_Account_Hooks->_process(“edit”, )
[/usr/local/apnscp/lib/Util/Account/Hooks.php:50]
12. Util_Account_Hooks->run(“edit”)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:144]
13. Opcenter\Account\Edit::Opcenter\Account{closure}(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
14. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
15. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
16. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
17. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
18. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]
ERROR : Dns_Module::get_records_external(): No resolvers could be found
0. Error_Reporter::add_error(“No resolvers could be found”, )
[/usr/local/apnscp/lib/log_wrapper.php:72]
1. error(“No resolvers could be found”)
[/usr/local/apnscp/lib/modules/dns.php:667]
2. Dns_Module->get_records_external(“”, “SOA”, “cyberhorse.com.au”, [“chloe.ns.cloudflare.com”, “damian.ns.cloudflare.com”])
[/usr/local/apnscp/lib/Opcenter/Dns/Providers/Cloudflare/Module.php:363]
3. Opcenter\Dns\Providers\Cloudflare\Module->zoneAxfr(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:389]
4. Dns_Module->zone_exists(“cyberhorse.com.au”)
[/usr/local/apnscp/lib/modules/dns.php:2101]
5. Dns_Module->add_zone(“cyberhorse.com.au”, “152.53.23.5”)
[/usr/local/apnscp/lib/modules/dns.php:2035]
6. Dns_Module->provisionProviderChange()
[/usr/local/apnscp/lib/modules/dns.php:1907]
7. Dns_Module->_edit()
[/usr/local/apnscp/lib/Util/Account/Hooks.php:140]
8. Util_Account_Hooks->_process(“edit”, )
[/usr/local/apnscp/lib/Util/Account/Hooks.php:50]
9. Util_Account_Hooks->run(“edit”)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:144]
10. Opcenter\Account\Edit::Opcenter\Account{closure}(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:143]
11. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$a2->update(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Manager.php:187]
12. Event\Manager->fire(“service.success”, Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Event/Cardinal.php:172]
13. Event\Cardinal::fire([“service”, “success”], Opcenter\SiteConfiguration)
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:155]
14. Opcenter\Account\Edit->installServices()
[/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
15. Opcenter\Account\Edit->exec()
[/usr/local/apnscp/bin/EditDomain:120]
WARNING: Dns_Module::add_zone(): DNS for zone `cyberhorse.com.au’ already exists, not overwriting
WARNING: Opcenter\SiteConfiguration::cleanService(): `php’ service missing from `/home/virtual/site4/info/old’ - run EditDomain on all accounts to update account metadata

Key is different from a token. See DNS > Provieers > Cloudflare DNS Provider > Using API tokens. This is covered in that section just above the formerly-linked paragraph on Setting as default.

I should see if my local library is hiring, I’d make an excellent librarian.

Now this is in line with your Apache errors. Something’s toast in your network stack, which I deliberately touch as little as possible with this platform.

Possibly the routable network changed or for whatever reason you don’t have any interface bound or you lost IPv4 and are purely IPv6… if that’s the case, to dump IPv4 entirely: cpcmd scope:set cp.bootstrapper has_ipv4 false ; upcp -sbf ; EditDomain --reconfig --all

I’d reach out to your VPS provider for assistance. Possibly provide them with the results from ifconfig and route. It’s quite rare for IPv4 to not exist on a machine.

Here’s what fsockopen should look like:

[root@rocky-test ~]# php -r 'fsockopen("udp://1.1.1.1", 53);'
[root@rocky-test ~]#

And a corresponding strace (note 0 exit code, parlance for success in Linux ABI):

rt_sigaction(SIGPROF, {sa_handler=0x8adc30, sa_mask=~[ILL TRAP ABRT BUS FPE KILL SEGV CONT STOP TSTP TTIN TTOU SYS RTMIN RT_1], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fd3bd830630}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
close(3)                                = 0
socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("1.1.1.1")}, 16) = 0
fcntl(3, F_SETFL, O_RDWR)               = 0
close(3)                                = 0
close(2)                                = 0
close(1)                                = 0
close(0)                                = 0
nanosleep({tv_sec=0, tv_nsec=1000000}, NULL) = 0
nanosleep({tv_sec=0, tv_nsec=1000000}, NULL) = 0

No errors, clean connection to 1.1.1.1.

The bottom line for me here is that instead of being able to use the browser based configuration setup to administer ApsiCP you expect me to be a Unix guru with the very high level of expertise you obviously possess. You are basically telling me my whole configuration is stuffed without offering any clue as to how to resolve it.

FYI “my network stack” is your network stack. I am running a dedicated Rocky server set up to run only ApisCP. The only code running on the server is Rocky and ApisCP. So if there are any errors they are in that setup. The only reference to IPv6 is in your configuration files. I have not touched these settings and only use IPv4 addresses.

It makes no difference now as browser adminstration no longer works after my attempt at using AddDomain to set Cloudflare as the nameserver.

Not what I regard as helpful at all.

I’m working through your situation in an open forum. If the issue were clear cut, it wouldn’t drag out for as long as it has. An inability to connect to 1.1.1.1 (Cloudflare) for DNS over IPv4 is very peculiar. This would explain why Apache doesn’t log anything supplementary beyond a nebulous no listening sockets available, shutting down.

I have asked you to PM me data. None such has come through. After learning additional information, I don’t think it’s Apache but rather something is toast with IPv4.

I’m sorry this product hasn’t met your expectations. I believe the best step forward is to provide a refund for your lifetime license to allow you to explore alternative products. I looked up your license information within the database but couldn’t find any matching records. Please send me a PM with your email address registered in my.apiscp.com to process this ASAP.