CyberPanel Community

DKIM MANAGER

sy
systemedic #1

[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’

I cannot create a DKIM key. What is the problem?

24 replies
an
andrewklimek #2

same issue on Centos 8
messages says:
opendkim.service: Can’t open PID file /var/run/opendkim/opendkim.pid (yet?) after start: No such file or directory

it does exist though…

ru
ruflex #3

Same here Ubuntu 18.04

[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’

lo
lowenruh #4

same here with Ubuntu 20.04, yesterday it was ok

sy
systemedic #6

Thank you. Problem solved.

dd
ddegner #7

Yep, similar problem. Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’

Ph
Philipinho #9

The solution is to grant permission to Cyberpanel.

chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/

Ma
Master3395 #10

Type your comment> @Philipinho said:

The solution is to grant permission to Cyberpanel.

chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/

That way would be wrong.
This way worked for me on centos 8.
You forgot the sudo.

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache

sl
slimx #11

I’d like to confirm,

@Master3395 said:
Type your comment> @Philipinho said:

The solution is to grant permission to Cyberpanel.

chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/

That way would be wrong.
This way worked for me on centos 8.
You forgot the sudo.

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache

This worked for me.
CENT OS

fr
friederbluemle #12

Perfect, chown worked for me too. Thanks Philipinho!

Ma
Master3395 #13

Type your comment> @friederbluemle said:

Perfect, chown worked for me too. Thanks Philipinho!

This should be fixed in 2.1.1 installer and upgrader now, from what I’ve seen.

fo
fordiy #15

Type your comment> @Master3395 said:

Type your comment> @friederbluemle said:

Perfect, chown worked for me too. Thanks Philipinho!

This should be fixed in 2.1.1 installer and upgrader now, from what I’ve seen.

No. Still failed in 2.1.1 version:
[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’

Ubuntu 20

Ma
Master3395 #16

Type your comment> @fordiy said:

Type your comment> @Master3395 said:

Type your comment> @friederbluemle said:

Perfect, chown worked for me too. Thanks Philipinho!

This should be fixed in 2.1.1 installer and upgrader now, from what I’ve seen.

No. Still failed in 2.1.1 version:
[Errno 13] Permission denied: ‘/usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’

Ubuntu 20

Did you try this command?
Or just the chown and after?

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache

fo
fordiy #17

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache

This worked.

ju
justsumguy #18

Changed to python3.8 and it worked for me too.

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache

Thanks!!

dr
driel2787 #19

Ya’ll are the fucking BOMB! I spent all day trying to figure this out until I read your post!

Je
Jeff #20

Hi,
I have the same problem [Errno 13] Permission denied: CyberPanel V2.1.1 on Ubuntu 20.4
I tryed this commant:

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache

and it work fine! :slight_smile:

Thanks, 23.09.21

di
dipakcg #21

Type your comment> @Philipinho said:

The solution is to grant permission to Cyberpanel.

chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/

Fixed the issue on Ubuntu 20.04 - CyberPanel 2.1 (latest stable).

de
de1na.com #22

debes tener acceso root antes.
despus ejecutar.

sudo chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache

se soluciono el problema en ubuntu 22.04.
oh gracias

MS
Mukeshwar Singh #23

Guys if this command isn’t working for you, please change the Python version in your command. So the command that worked for me is -

chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/

And since my error code showed 3.10 python version, I also have to change it in my command. Silly mistake that took 1 hour.

Mi
Miguel #24

You can resolve in Ubuntu 22.04:

sudo chmod -R 766 /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/

MK
Maxwell Kobina Gyamfi #25

In my case my directory was different.

This is error i was getting :

[Errno 13] Permission denied: ‘/usr/local/lib/python3.10/dist-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock’

SOLUTION
sudo chmod -R 766 /usr/local/lib/python3.10/dist-packages/tldextract/.suffix_cache/

Using Ubuntu 22.04

Sign in to reply