ispCP - Board - Support
[SOLVED] Domain in error status : how to restore them ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] Domain in error status : how to restore them ? (/thread-4263.html)



[SOLVED] Domain in error status : how to restore them ? - Spheerys - 09-14-2008 06:17 AM

Hi,

2 of my domains are in "Error status", but there are working well.
How can I turn manually the status to "OK" ?
If I try to switch the status, I have this error :
Code:
sys_command() | ERROR: External command '/bin/mv /var/www/virtual/sos-school.com.disabled /var/www/virtual/sos-school.com' returned '1' status !
[/code]


RE: Domain in error status : how to restore them ? - momo - 09-14-2008 07:38 AM

Hi Spheerys,

first, try to set theme back to 'ok' like this :

Code:
mysql -u root -p
use ispcp
UPDATE domain SET domain_status = 'ok';
quit
once it is done, you could try to follow this to see if the problem will come back
ispcp regeneration

then if it comes back (ouch!)
you may have undeleted user on your box that conflict with ispcp users.
(from old VHCS installation or reinstallation of the whole system without "deluser" on the box


RE: Domain in error status : how to restore them ? - Spheerys - 09-14-2008 05:53 PM

The first step was enough !!!
That's work Smile

Thanks a lot Smile