• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Locked out from Server (ssh)

Gregor

New Pleskian
Hey. the nightly update brought me the following error:
Server Error
500
Plesk\Lock\Exception
Lock Manager error: '[LockManagerException] Can't open or create shared memory by shm.name: "/run/lock/lmlib/SharedLockManagerStorage0.2.4"; shm.start_size: "8388608"; error "No such file or directory"'.

When i tried to login via ssh i noticed that port 22 is closed:
PORT STATE SERVICE
22/tcp closed ssh

I do have the Plesk firewall installed but was not aware it is blocking ssh?

how can i disable the firewall and or open any port for ssh.

i do have access to the server via recovery mode (Ubuntu, Strato)

Thanks for your help.
EDIT:
found a solution for all STRATO Users:
Plesk is not accessible: Can't open or create shared memory by shm.name


SSH still not working tho
 
Last edited:
The section "In case SSH connection to the server is not possible" does not help?

The Part:
mkdir /var/run/sshd && chmod 0755 /var/run/sshd && /etc/init.d/ssh restart

throws:

Die Aufgabe "mkdir /var/run/sshd && chmod 0755 /var/run/sshd && /etc/init.d/ssh restart" wurde in 0 Sekunden abgeschlossen, jedoch traten Fehler auf

mkdir: cannot create directory ‘/var/run/sshd’: File exists



I found this answer as well:
Plesk is not accessible: Can't open or create shared memory by shm.name

i will try it tonight.
 
These are three commands in a chain:
mkdir /var/run/sshd
chmod 0755 /var/run/sshd
/etc/init.d/ssh restart

The first one will throw an error if the directory already exists. In that case, simply omit it.
The second one will always work if the directory exists. You can run it separately.
The third one restarts the SSH service.

So you could try
chmod 0755 /var/run/sshd && /etc/init.d/ssh restart
or simply run the commands separately one after another.
 
Back
Top