Can not create new use for a virtual server

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.2
Webmin version 2.021
Virtualmin version 7.7
PHP versions 7.4.33,7.2,7.3

Hello,
I have installed wemin,virtualmin on my ubuntu server. I have created 23 virtual servers including domains and sub domains. Those were running very well from last 1 year+ . But Iā€™m facing some problems from few days.
But today I faced a new problem. On a virtual server(domain added) I have already added 2 users 1 for email and 1 for FTP few months ago.
1# Problem::
But today it throws an error :
Failed to save user : Failed to replace /etc/shadow with /etc/shadow.webmintmp.2797 : Operation not permitted

2# Problem:
Some time i found my apache web server inactive. Then checked the log file and found as follows ::


Thu May 18 21:19:50 2023 (2568594): Fatal Error Unable to create lock file: Bad file descriptor (9)
[Thu May 18 21:21:22.260575 2023] [suexec:notice] [pid 4077023] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu May 18 21:21:22.336897 2023] [core:warn] [pid 4077029] AH00098: pid file /var/run/apache2/apache2.pid overwritten ā€“ Unclean shutdown of previous Apache run?
[Thu May 18 21:21:22.343201 2023] [mpm_prefork:notice] [pid 4077029] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured ā€“ resuming normal operations
[Thu May 18 21:21:22.343233 2023] [core:notice] [pid 4077029] AH00094: Command line: ā€˜/usr/sbin/apache2ā€™
[Thu May 18 21:22:29.664116 2023] [mpm_prefork:notice] [pid 4077029] AH00171: Graceful restart requested, doing restart
[Thu May 18 21:22:32.764800 2023] [mpm_prefork:notice] [pid 4077029] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured ā€“ resuming normal operations
[Thu May 18 21:22:32.764826 2023] [core:notice] [pid 4077029] AH00094: Command line: ā€˜/usr/sbin/apache2ā€™
[Thu May 18 21:23:04.378244 2023] [mpm_prefork:notice] [pid 4077029] AH00171: Graceful restart requested, doing restart
Thu May 18 21:23:07 2023 (4077029): Fatal Error Unable to create lock file: Bad file descriptor (9)
[Thu May 18 21:26:01.491329 2023] [suexec:notice] [pid 4084810] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu May 18 21:26:01.582765 2023] [core:warn] [pid 4084813] AH00098: pid file /var/run/apache2/apache2.pid overwritten ā€“ Unclean shutdown of previous Apache run?
[Thu May 18 21:26:01.591827 2023] [mpm_prefork:notice] [pid 4084813] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured ā€“ resuming normal operations
[Thu May 18 21:26:01.591863 2023] [core:notice] [pid 4084813] AH00094: Command line: ā€˜/usr/sbin/apache2ā€™
[Sun May 21 00:00:28.071434 2023] [mpm_prefork:notice] [pid 4084813] AH00171: Graceful restart requested, doing restart


3# Problem::

When try to delete a virtual server, it throws error:

Deleting users ā€¦

Fatal Error!
Failed to replace /etc/passwd with /etc/passwd.webmintmp.48836 : Operation not permitted

My ubuntu server also takes more time than previous to restart.

If any one has any idea about situation, please help me to get out of this situation.
Thanks in advance.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.