

Or if you don't want to leave your existing vim session (and now have proper sudo rights), you can issue: :w !sudo tee % > /dev/null You might want to edit the file as a superuser as sudo vim FILE. The reason could be that you do not have permission to write in the directory If the retrieval operation fails, log in to Plesk and install your Plesk license by clicking Install Key.For some reason the file you are writing to cannot be created or overwritten. # service sw-engine restart & service sw-cp-server restart

# /usr/sbin/usermod -a -G swkey-data psaadm & chown -R root:swkey-data /etc/sw/keys/ & chmod -R 660 /etc/sw/keys/* & chmod -R 644 /etc/sw/keys/info & find /etc/sw/keys -type d -exec chmod 2770 \ & chmod 4510 /etc/sw/keys/restart/* & chown -R psaadm:swkey-data /etc/sw/keys/registry.xml /etc/sw/keys/keys/* Permissions on the directory /etc/sw/keys or its subdirectories are incorrect. PLESK_INFO: mkstemp failed: /etc/sw/keys/keys/keyXXXXXX: Permission denied (Error code: 2) Message: error: Cannot create: /etc/sw/keys/lock/repository: Permission denied Message: error: Cannot open file: /etc/sw/keys/info When logging in to Plesk or browsing pages in Plesk, one of the following error messages appears:

Unable to click the checkbox in the settings screen on Plesk: the Hand pointer cursor does not appear.Plesk can not be updated or is not accessible: Class Laminas\ServiceManager\ServiceLocatorInterface cannot implement previously implemented interface.MySQL fails to start when a Plesk server lacks disk space: SQLSTATE No space left on device 500 Plesk\Exception\Database.
