… ran successfully.
But, I’ve tried the previous commands again with no success. The apiscp service still isn’t starting:
[root@v1 apnscp]# systemctl status apnscp.service
● apnscp.service - ApisCP backend service
Loaded: loaded (/etc/systemd/system/apnscp.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/apnscp.service.d
└─override.conf
Active: failed (Result: exit-code) since Tue 2024-08-13 20:56:52 CDT; 8s ago
Process: 33902 ExecStopPost=/usr/sbin/httpd -f /usr/local/apnscp/config/httpd.conf -k stop $HTTPD_ARGS (code=exited, status=0/SUCCESS)
Process: 33896 ExecStart=/usr/local/apnscp/bin/apnscpd start (code=exited, status=255)
Main PID: 33896 (code=exited, status=255)
Status: "Detaching"
Aug 13 20:56:52 v1.domain.tld apnscpd[33895]: PHP Warning: PHP Startup: dbus: Unable to initialize module
Aug 13 20:56:52 v1.domain.tld apnscpd[33895]: Module compiled with build ID=API20190902,TS
Aug 13 20:56:52 v1.domain.tld apnscpd[33895]: PHP compiled with build ID=API20190902,NTS
Aug 13 20:56:52 v1.domain.tld apnscpd[33895]: These options need to match
Aug 13 20:56:52 v1.domain.tld apnscpd[33895]: in Unknown on line 0
Aug 13 20:56:52 v1.domain.tld systemd[1]: apnscp.service: Supervising process 33896 which is not our child. We'll most likely not notice when it exits.
Aug 13 20:56:52 v1.domain.tld systemd[1]: apnscp.service: Main process exited, code=exited, status=255/n/a
Aug 13 20:56:52 v1.domain.tld httpd[33902]: httpd (no pid file) not running
Aug 13 20:56:52 v1.domain.tld systemd[1]: apnscp.service: Failed with result 'exit-code'.
Aug 13 20:56:52 v1.domain.tld systemd[1]: Failed to start ApisCP backend service.
php still hasn’t upgraded past 7.4.33:
[root@v1 apnscp]# apnscp_php -v
Failed loading /usr/local/apnscp/sys/php/20190902-zts/opcache.so: /usr/local/apnscp/sys/php/20190902-zts/opcache.so: undefined symbol: zend_signal_globals_offset
PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/apnscp/sys/php/20190902-zts/apcu.so (/usr/local/apnscp/sys/php/20190902-zts/apcu.so: undefined symbol: executor_globals_offset), /usr/local/apnscp/sys/php/20190902-zts/apcu.so.so (/usr/local/apnscp/sys/php/20190902-zts/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'igbinary.so' (tried: /usr/local/apnscp/sys/php/20190902-zts/igbinary.so (/usr/local/apnscp/sys/php/20190902-zts/igbinary.so: undefined symbol: core_globals_offset), /usr/local/apnscp/sys/php/20190902-zts/igbinary.so.so (/usr/local/apnscp/sys/php/20190902-zts/igbinary.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/apnscp/sys/php/20190902-zts/redis.so (/usr/local/apnscp/sys/php/20190902-zts/redis.so: undefined symbol: executor_globals_offset), /usr/local/apnscp/sys/php/20190902-zts/redis.so.so (/usr/local/apnscp/sys/php/20190902-zts/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: dbus: Unable to initialize module
Module compiled with build ID=API20190902,TS
PHP compiled with build ID=API20190902,NTS
These options need to match
in Unknown on line 0
PHP 7.4.33 (cli) (built: Aug 13 2024 20:38:45) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v13.3.1, Copyright (c) 2002-2024, by ionCube Ltd.
The last 2 (repeating) errors in /usr/local/apnscp/storage/logs/starts.log:
EXCEPTION: Class 'Redis' not found
[/usr/local/apnscp/lib/Cache/Mproxy.php:14]
0B. include()
[/usr/local/apnscp/lib/apnscpfunction.php:323]
1B. apnscpFunctionInterceptor::autoload("Cache_Mproxy")
[n/a]
2B. spl_autoload_call("Cache_Mproxy")
[/usr/local/apnscp/lib/config.php:282]
3B. include("/usr/local/apnscp/lib/config.php")
[/usr/local/apnscp/lib/constants.php:61]
4B. {closure}()
[/usr/local/apnscp/lib/constants.php:69]
5B. include("/usr/local/apnscp/lib/constants.php")
[/usr/local/apnscp/lib/apnscpcore.php:77]
6B. include("/usr/local/apnscp/lib/apnscpcore.php")
[/usr/local/apnscp/lib/lservice.php:25]
Failed loading /usr/local/apnscp/sys/php/20190902-zts/opcache.so: /usr/local/apnscp/sys/php/20190902-zts/opcache.so: undefined symbol: zend_signal_globals_offs
et
PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/apnscp/sys/php/20190902-zts/apcu.so (/usr/local/apnscp/sys/php/20190902-z
ts/apcu.so: undefined symbol: executor_globals_offset), /usr/local/apnscp/sys/php/20190902-zts/apcu.so.so (/usr/local/apnscp/sys/php/20190902-zts/apcu.so.so: ca
nnot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'igbinary.so' (tried: /usr/local/apnscp/sys/php/20190902-zts/igbinary.so (/usr/local/apnscp/sys/php/20
190902-zts/igbinary.so: undefined symbol: core_globals_offset), /usr/local/apnscp/sys/php/20190902-zts/igbinary.so.so (/usr/local/apnscp/sys/php/20190902-zts/ig
binary.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/apnscp/sys/php/20190902-zts/redis.so (/usr/local/apnscp/sys/php/20190902
-zts/redis.so: undefined symbol: executor_globals_offset), /usr/local/apnscp/sys/php/20190902-zts/redis.so.so (/usr/local/apnscp/sys/php/20190902-zts/redis.so.s
o: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: dbus: Unable to initialize module
Module compiled with build ID=API20190902,TS
PHP compiled with build ID=API20190902,NTS
These options need to match
in Unknown on line 0
and…
[root@v1 apnscp]# git describe
v3.2.37
upcp -sbf apnscp/install-extensions
results in…
RUNNING HANDLER [common : Restart apnscp] **********************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to start service apnscp: Job for apnscp.service failed because the control process exited with error code.\nSee \"systemctl status apnscp.service\" and \"journalctl -xe\" for details.\n"}
NO MORE HOSTS LEFT *********************************************************************************************************************************************
PLAY RECAP *****************************************************************************************************************************************************
localhost : ok=69 changed=11 unreachable=0 failed=1 skipped=19 rescued=0 ignored=0
which appears to be hung up on the old php version.