Welcome, Guest
Please Login or Register.
Lost Password?
I need a delete for broken virtual servers. (1 viewing)
Post Reply

TOPIC: I need a delete for broken virtual servers.

#12589
admin@coastlandtech.com (User)
Posts: 33
graphgraph
I need a delete for broken virtual servers. 2008/05/16 06:57  
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

Post edited by: admin@coastlandtech.com, at: 2008/05/16 07:02
  The administrator has disabled public write access.
#12604
JamieCameron (Admin)
Posts: 362
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/16 12:37  
Hi Don,

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

Also, is it still in your Apache and BIND configuration files?
  The administrator has disabled public write access.
#12631
admin@coastlandtech.com (User)
Posts: 33
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/16 19:27  
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 "Virtualmin Virtual Servers" 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
  The administrator has disabled public write access.
#12632
Joe (Admin)
Posts: 4084
graph
Re:I need a delete for broken virtual servers. 2008/05/16 19:40  
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 "Virtualmin Virtual Servers" list where I got the error when trying to change something on it there.

I'm not following this thread closely, but "Blue Theme" 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.
  The administrator has disabled public write access.
#12633
admin@coastlandtech.com (User)
Posts: 33
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/16 19:59  
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. ..
  The administrator has disabled public write access.
#12640
JamieCameron (Admin)
Posts: 362
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/17 09:15  
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..
  The administrator has disabled public write access.
#12642
admin@coastlandtech.com (User)
Posts: 33
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/17 11:36  
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
  The administrator has disabled public write access.
#12643
JamieCameron (Admin)
Posts: 362
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/17 11:38  
That sounds like a bug actually..
Were these regular domains, or alias domains?
  The administrator has disabled public write access.
#12653
admin@coastlandtech.com (User)
Posts: 33
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/17 17:54  
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 "Create From Batch File" script that took hours to run..

Thanks..
Don
  The administrator has disabled public write access.
#12660
JamieCameron (Admin)
Posts: 362
graphgraph
Re:I need a delete for broken virtual servers. 2008/05/18 09:32  
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?
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.