• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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