Delete virtual server when it is interrupted when created

System hostname my.domain.tld (127.0.0.1) Operating system AlmaLinux Linux 8.6
Webmin version 1.994 Usermin version 1.840
Virtualmin version 7.1 Authentic theme version 19.93.1
Time on system Thursday, June 30, 2022 5:29 PM Kernel and CPU Linux 4.18.0-372.9.1.el8.x86_64 on x86_64
Processor information AMD EPYC 7601 32-Core Processor, 4 cores System uptime 29 days, 23 hours, 50 minutes
Running processes 225 CPU load averages 1.60 (1 min) 1.58 (5 mins) 1.11 (15 mins)
Real memory 2.36 GiB used / 4.76 GiB cached / 7.58 GiB total Virtual memory 496.86 MiB used / 511.99 MiB total
Local disk space 55.38 GiB used / 104 GiB free / 159.38 GiB total Package updates All installed packages are up to date

Creating virtual server is interrupted, now I cannot delete that virtual server, nor create virtual server with same domain name.
Domains not listed on domain list when logged in as root.

I tried virtualmin delete-domain command

[root@localhost]# virtualmin delete-domain --domain my.wrong.domain

Deleting virtual server my.wrong.domain ..

Invalid [] range "i-b" in regex; marked by <-- HERE in m/^/home/fxy[o6i_thz8/cgi-b <-- HERE in$/ at /usr/libexec/webmin/virtual-server/feature-web.pl line 4917.

Yes, the username was gibberish.

AlmaLinux Linux 8.6, the install script is buggy with this OS. Use Rocky.
Many posts about this.

Steve

1 Like

I’ll second that. My experience with Virtualmin on AlmaLinux ranked among the worst I ever had that didn’t involve blood, lawyers, or cops.

Richard

1 Like

after a session with @tpnsolutions we modify /etc/webmin/virtual-server/domains/domainID to fix references.
Then rename home folder, restart webmin.

The problem is [ character in username makes problems.
He identified the problem quickly and fixed it nicely.

It is not related to almalinux in any way.

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