Cannot change Admin Password

Hi,
I tried changing the password via root, but the output looks like this:

" ERROR: fatal(): Unable to connect to socket, is apnscp running?
Connection refused
You have new mail in /root/Mail "

is there any solution?
Thank You

systemctl restart apiscp

Check /usr/local/apnscp/storage/logs/start.log as well. In these situations 99% of the time the trial license has expired thus deactivating the backend.

still can’t

/usr/local/apnscp/storage/logs/start.log
this is what came out:

WARNING : ListenerServiceCommon::start(): You are running a bugged version of t$
[Sun Mar 21 13:07:33 2021] Checking if frontend started
[Sun Mar 21 13:07:33 2021] Housekeeping…
[Sun Mar 21 13:07:33 2021] Spawning daemons
ERROR : Opcenter\License::validatePurpose(): Validation failed on checkTrial
0B. Error_Reporter::add_error(“Validation failed on %s”, [“checkTrial”])
[/usr/local/apnscp/lib/log_wrapper.php:62]
1B. error(“Validation failed on %s”, “checkTrial”)
[/usr/local/apnscp/lib/Opcenter/License.php:456]
2B. Opcenter\License->validatePurpose()
[/usr/local/apnscp/lib/Opcenter/License.php:357]
3B. Opcenter\License->validateLicense()
[/usr/local/apnscp/lib/Opcenter/License.php:302]
4B. Opcenter\License->verify()
[/usr/local/apnscp/lib/lservicelib.pht:448]
5B. ListenerServiceCommon->_verify()
[/usr/local/apnscp/lib/lservicelib.pht:412]
6B. ListenerServiceCommon->verify_license()
[/usr/local/apnscp/lib/lservicelib.pht:861]

Trial license expired.

apnscp_php /usr/local/apnscp/bin/scripts/license.php info

Control panel will send reminder emails 7, 3, and 1 day before expiration if you’re still on trial as of 3.2.20. See LICENSE.md for upgrade instructions from CLI.

1 Like

Work!

(I detail so that beginners can get this reference)
I did revoke license and made new Activation license
then
/usr/local/apnscp/bin/scripts/license.php issue ACTIVATION-CODE “some nickname”
after that password can be changed
cpcmd auth:change-password ‘PASSWORD’

thank you :slight_smile:

1 Like