• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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