Webmin died during domain setup

I was in the process of adding a new domain to VM when webmin on that server died in the middle. I beleive it completed the setup process but the new domain does not show up in VM, when I tried to re-add the domain it said that domain already existed.

Can you point me in the right direction to fix this?

Thanks!
-- Craig

Status: 
Closed (fixed)

Comments

The domain is setup in /home, the main user is listed in /etc/passwd but it doesn't show on a domain list list from either the web interface or command line "list-domians" command.

You may have to manually delete the domain's user from /etc/passwd , /etc/shadow and /etc/group , delete the home directory, remove the Apache and BIND config, and delete any MySQL database created for the domain.

I did that but now it throws and error when trying to create the website - it creates the mail users and other things just fine. I deleted and recreated through VM a couple time, same error.

Tried a completely different test domain and receive the same error.

There are 6 webmin and 1 usermin updates that need to be applied to this server, if I apply those will that fix the issue?

Creating administration group liposcience.org ..
.. done

Creating administration user liposcience.org ..
.. done

Creating aliases for administration user ..
.. done

Adding administration user to groups ..
.. done

Creating home directory ..
.. done

Creating mailbox for administration user ..
.. done

Adding to email domains list ..
.. done

Adding default mail aliases ..
.. done

Adding new virtual website ..
.. done

Adding webserver user apache to server's group ..
.. done

Performing other Apache configuration ..
.. configuration failed : Apache virtual host was not found at /usr/libexec/webmin/web-lib-funcs.pl line 1360.

Setting up spam filtering ..
.. done

Setting up virus filtering ..
.. done

Applying web server configuration ..
.. done

Saving server details ..
.. done

Sending email notification to domain owner ..
.. email sent to domain.org@domain.org

This could be due to corruption in your Apache config file. Take a look at /etc/httpd/conf/httpd.conf and make sure it doesn't contain an incompleted Virtualhost block.

Yes, I was missing a directive - Thanks!

So after fixing that, were you able to create the domain OK?

Yes, after fixing the missing tag I was able to create the domian.
-- Craig

Automatically closed -- issue fixed for 2 weeks with no activity.