I need a delete for broken virtual servers.

11 posts / 0 new
Last post
#1 Fri, 05/16/2008 - 06:57
DonPeek

I need a delete for broken virtual servers.

When upgrading scripts in multiple domains at once the first place I noticed this problem. I got an error message

Failed to update virtual servers : Domain 11992589721560 does not exist!

The /etc/webmin/virtual-server/domains/11992589721560 told me the site name. I copy the users data and tried to remove the site. It will not delete.

Domain 11992589721560 does not exist!

After checking I have 9 working sites all with the same problem.. Can't remove.

I don't even know were to look.. Thanks Don<br><br>Post edited by: admin@coastlandtech.com, at: 2008/05/16 07:02

Fri, 05/16/2008 - 12:37
Joe
Joe's picture

Hi Don,

Does this domain appear on the 'List Virtual Servers' page ?

Also, is it still in your Apache and BIND configuration files?

--

Check out the forum guidelines!

Sat, 05/17/2008 - 11:36 (Reply to #2)
DonPeek

Yes.. It had the line.. But that had 0 as the uid and guid !!

That was it.. I don't know how I had looked in the file and missed it. I was close to it.. Thanks..

Don

Don Peek

Sat, 05/17/2008 - 11:38 (Reply to #3)
Joe
Joe's picture

That sounds like a bug actually..
Were these regular domains, or alias domains?

--

Check out the forum guidelines!

Fri, 05/16/2008 - 19:27
DonPeek

I am not sure what you are calling the 'List Virtual Servers' page, but on the webmin side of blue frame theme they are listed on the &quot;Virtualmin Virtual Servers&quot; list where I got the error when trying to change something on it there. It is also on the drop down list of servers. and I can change the owners limits with no problems. The sites are running. So it has to be in apache and named.
.. . The command /usr/libexec/webmin/virtual-server/list-domains.pl --multiline --domain
shows everything as expected.

I get the error with trying to delete the Vserver but the 'Disable Virtual Server' seemed to work but I never saw a disable page only got a 404 ...

/etc/webmin/virtual-server/domains/[number] is there and looks fine as far as I can tell..

thanks
Don

Don Peek

Fri, 05/16/2008 - 19:40 (Reply to #5)
Joe
Joe's picture

<div class='quote'>I am not sure what you are calling the 'List Virtual Servers' page, but on the webmin side of blue frame theme they are listed on the &quot;Virtualmin Virtual Servers&quot; list where I got the error when trying to change something on it there.</div>

I'm not following this thread closely, but &quot;Blue Theme&quot; jumped out at me. Don't do that. There's a theme just for Virtualmin called Virtualmin Framed Theme. It makes everything in Virtualmin easier and faster to use.

--

Check out the forum guidelines!

Fri, 05/16/2008 - 19:59 (Reply to #6)
DonPeek

That is the one I am using.. I saw a post about incomplete virtual sites being made when something was broken or the web page was stopped, how did they get them fixed.. That me be a clue to fix my problem here. ..

Don Peek

Sat, 05/17/2008 - 09:15 (Reply to #7)
Joe
Joe's picture

If you look at their files in /etc/webmin/virtual-server/domains, do they have uid= and gid= lines? These should contain the Unix UID and GID of the domain's administration user..

--

Check out the forum guidelines!

Sat, 05/17/2008 - 17:54
DonPeek

These were normal domains.. The question is how did it happen, if I knoew it may help.. But it was only 9 domains out of 650 domains. So 98.7% were fine.. They were all made with the &quot;Create From Batch File&quot; script that took hours to run..

Thanks..
Don

Don Peek

Sun, 05/18/2008 - 09:32 (Reply to #9)
Joe
Joe's picture

I found a bug where this error could be incorrectly displayed for alias domains, but for top-level domains (with their own logins) it should never happen. Were these all sub-servers perhaps - that is, domains owned by a different user?

--

Check out the forum guidelines!

Wed, 05/21/2008 - 07:27 (Reply to #10)
DonPeek

No .. All top level.. It also seems that all the userID were in a row. But the help was pointing in oin the correct direction.

Don Peek

Topic locked