• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue could not create //run/named/session.key

nMLxTMJTZ

Regular Pleskian
Server operating system version
ubuntu 22.04
Plesk version and microupdate number
18.0.53
i see this error
Code:
named [712]
could not create //run/named/session.key
how i can fix it?
 
1) Look into /etc/named.conf and find the line "session-keyfile".
2) Check the file permissions of that path, e.g. "ll <path>".
 
We discussed it here and think it is necessary to check directly on your server. It's most likely not a Plesk issue in the first place, but we're still willing to assist to the best of our knowledge. Please open a support ticket so that a Plesk engineer can check and solve the issue directly on your server.

To sign-in to support please go to https://support.plesk.com

If you experience login issues, please see this KB article:
https://support.plesk.com/hc/en-us/...rt-plesk-com-and-password-reset-does-not-work

If you bought your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
 
I am struggling from the same issue it constantly flooding my logs since I clean installed my plesk panel.
These 2 following me every couple minutes.

2025-03-23 18:20:12errnamed [766]
System daemons [3]
failed to generate session key for dynamic DNS: permission denied
2025-03-23 18:20:12errnamed [766]
System daemons [3]
could not create //run/named/session.key

If you check the folder the folder owned by root:bind
ls -ld /run/named
drwxrwxr-x 2 root bind 40 Mar 24 11:37 /run/named

if I chown it with bind:bind, problem disappears until reboot, when the folder reverts to root:bind, how can this behaviour be adjusted is there any solution to this problem?
 
Back
Top