Sub-server creation problem

I have a current top-level server, with a couple sub-servers already created below–all good and working. I am trying to add another sub-server and being presented with the following error:

“No parent Virtualmin server for the user gjsadmin was found!”

I suspect this problem may have been introduced when I restored a webmin config, but not positive.

Does anybody know how to remedy this?

Thanks,

–Ken

Ken, I’m having the same problem under the same scenario (config restore). Any ideas on how to resolve this?

Fixed my own issue. After poking around, I noticed some map.* files in /etc/webmin/virtual-server that were 0 bytes and had an old timestamp. I think the server created these when it started with no configs. Deleting them fixed the problem.

-rw-r--r-- 1 root root 0 Dec 12 11:53 map.alias -rw-r--r-- 1 root root 0 Dec 12 11:53 map.dom -rw-r--r-- 1 root root 0 Dec 12 11:53 map.gid -rw-r--r-- 1 root root 0 Dec 12 11:53 map.parent -rw-r--r-- 1 root root 0 Dec 12 11:53 map.reseller -rw-r--r-- 1 root root 0 Dec 12 11:53 map.subdom -rw-r--r-- 1 root root 0 Dec 12 11:53 map.user