Fabian H
Basic Pleskian
Hi there,
I just found that the owner of all files in my subscription are not owned by the systemowner of the subscription but a additional ftp user for a subdomain.
I just removed that ftp user in hope it would update the file ownerships. It didn't.
There is an error in the panel log file:
So the user shouldn't be removed, but it it not shown anymore in the ftp users list in plesk.
Might be related to https://support.plesk.com/hc/en-us/...led-usermod-user-is-currently-used-by-process, but I cannot do the workaround as the user is not in the list.
Plesk repair fs is doing nothing, even like plesk repair web.
So I checked with getent passwd, The user is still existing.
I checked the database, with select * from sys_users WHERE login = "ldb"; (ldb is the additional ftp user), and it shows the home of the subdomain.
So I deleted the subdomain as it is not needed anymore, but the user is still there.
Any ideas what I can try to fix the ownership of the subscription? I better not do chown, maybe it breaks anything.
Thanks in advance!
I just found that the owner of all files in my subscription are not owned by the systemowner of the subscription but a additional ftp user for a subdomain.
I just removed that ftp user in hope it would update the file ownerships. It didn't.
There is an error in the panel log file:
Code:
1699963:624ab4c6982bf ERR [panel.ui] Unable to execute usermng: usermng: /usr/sbin/userdel execution failed:<br />
userdel: user ldb is currently used by process 1858065<br />
usermng: Unable to delete user: <br />
<br><a href='http://kb.plesk.com/plesk-error/search?metaId=8c16f4523bcc1ebaa84656a9bb46e39b&messageId=932a0fc2d4b5c35bbae1064d3b74f71e&file=Unix.php&line=261&type=PleskUtilException&version=18.0.42&message=Unable+to+execute+usermng%3A+usermng%3A+%2Fusr%2Fsbin%2Fuserdel+execution+failed%3A%0Auserdel%3A+user+ldb+is+currently+used+by+process+%0Ausermng%3A+Unable+to+delete+user%3A' target='_blank'>Search for related Knowledge Base articles</a>
[2022-04-04 11:22:07.290] 1862580:624ab8bf45141 ERR [panel] [624ab8bf450d0] Result of interface implementation call: failure: Can not find domain by GUID '96b195f7-d4a5-45c4-ba58-278356e68fc2'
[2022-04-04 11:22:07.306] 1862581:624ab8bf45cd7 ERR [panel] [624ab8bf45c4a] Result of interface implementation call: failure: Can not find domain by id 77
[2022-04-04 11:22:07.449] 1862625:624ab8bf698e0 ERR [panel] [624ab8bf6982e] Result of interface implementation call: failure: Can not find domain by id 77
So the user shouldn't be removed, but it it not shown anymore in the ftp users list in plesk.
Might be related to https://support.plesk.com/hc/en-us/...led-usermod-user-is-currently-used-by-process, but I cannot do the workaround as the user is not in the list.
Plesk repair fs is doing nothing, even like plesk repair web.
So I checked with getent passwd, The user is still existing.
I checked the database, with select * from sys_users WHERE login = "ldb"; (ldb is the additional ftp user), and it shows the home of the subdomain.
So I deleted the subdomain as it is not needed anymore, but the user is still there.
Any ideas what I can try to fix the ownership of the subscription? I better not do chown, maybe it breaks anything.
Thanks in advance!