• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

secret_key file

Ernie@

Basic Pleskian
PSA Panel has error 500 after upgraded to 11.0.9.

/var/log/sw-cp-server/error_log shows

2012-10-07 18:30:36: (log.c.166) server started
2012-10-07 18:32:39: (server.c.1543) server stopped by UID = 0 PID = 21239
2012-10-07 18:32:54: (log.c.166) server started
2012-10-07 18:33:12: (mod_fastcgi.c.2746) FastCGI-stderr: PleskFatalException: Unable to obtain secret key for passwords encryption.
file: /usr/local/psa/admin/plib/Plesk/Base/Utils/String.php
line: 330
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(3453): Plesk_Base_Utils_String::getCryptKey()
#1 /usr/local/psa/admin/auto_prepend/auth.php3(191): get_failure_redirect_url('failure_redirec...')
#2 {main}

I've found that following file is missing,

/etc/psa/private/secret_key


How can I regenerate the secret_key file? Can I copy it form other server?

Thanks.
 
Have you tried fix unsuccessful upgrade with bootstrapper repair procedure?
Also /etc/psa/private/secret_key is missing on the box. To generate the key it is needed to run

# /usr/local/psa/admin/sbin/encrypt_keygen
 
Thanks. I can access to the Panel after creating the secret_key file.

For some reasons, the 11.0.9 patches removed the secret_key file.
 
Have you tried fix unsuccessful upgrade with bootstrapper repair procedure?
Also /etc/psa/private/secret_key is missing on the box. To generate the key it is needed to run

# /usr/local/psa/admin/sbin/encrypt_keygen

Thanks Igor this worked.
 
Back
Top