X
X

Bulut Sunucu Paketlerimizde En İyi Fiyat ve Kaliteli Hizmet Sizleri Bekliyor! Hemen Git

X
X

Knowledge Base

HomepageKnowledge Basemkstemp failed: /etc/sw/keys/keys/keyXXXXXXXX:...

mkstemp failed: /etc/sw/keys/keys/keyXXXXXXXX: Permission denied (Error code: 2) - Error Resolution

Sometimes you get an Authorization error when you log in to the plesk panel built on Centos.

So I got this error: mkstemp failed: /etc/sw/keys/keys/keyXXXXXXXX: Permission denied (Error code: 2)

The solution to this is as follows.

Access your server via SSH.

Then enter the following commands one by one.

  1. Fix permissions with this command:

    /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/*

  2. Restart the Plesk services:

    service sw-engine restart && service sw-cp-server restart

  3. Retrieve the Plesk license:

    plesk bin license --retrieve

Log in to Plesk and click Install Key to install your Plesk license.

This much.

 

Can't find the information you're looking for?

You have examined the knowledge base in detail, but if you cannot find the information you need,

Create a Support Ticket
Did you find it useful?
(442 times viewed. / 1 people found helpful.)

---- Top