ispCP - Board - Support
Error when reenabling someones account - 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: Error when reenabling someones account (/thread-10011.html)

Pages: 1 2


Error when reenabling someones account - dannad - 03-15-2010 06:13 PM

Hi there,
I recently disabled someones hosting account in my panel, yet when I went to reenable it, I received the following error message and it is not reenabled.

Quote:sys_command() | ERROR: External command '/bin/mv /var/www/virtual/battlecube.co.uk/disabled /var/www/virtual/battlecube.co.uk/htdocs' returned '1' status !

How can I fix this?

Thanks,
Dan


RE: Error when reenabling someones account - BeNe - 03-15-2010 07:20 PM

What happen if you do it manually ?
Code:
/bin/mv /var/www/virtual/battlecube.co.uk/disabled /var/www/virtual/battlecube.co.uk/htdocs

Greez BeNe


RE: Error when reenabling someones account - Nuxwin - 03-16-2010 03:00 AM

(03-15-2010 06:13 PM)dannad Wrote:  Hi there,
I recently disabled someones hosting account in my panel, yet when I went to reenable it, I received the following error message and it is not reenabled.

Quote:sys_command() | ERROR: External command '/bin/mv /var/www/virtual/battlecube.co.uk/disabled /var/www/virtual/battlecube.co.uk/htdocs' returned '1' status !

How can I fix this?

Thanks,
Dan

Hello ;

What ispCP version you use ?


RE: Error when reenabling someones account - dannad - 03-16-2010 04:25 AM

Hi,
I'm using the new version, 1.0.4.
When I tried the command manually it said:
/bin/mv: cannot stat `/var/www/virtual/battlecube.co.uk/disabled': No such file or directory


Thanks,
Dan


RE: Error when reenabling someones account - dcreation - 03-17-2010 05:09 AM

It seems that it is a common Bug in this Version.

You can fix it manually:
Log in as Root, do:
mv /var/www/virtual/battlecube.co.uk/htdocs.disabled /var/www/virtual/battlecube.co.uk/htdocs
(check first whether there is a htdocs.disabled)

Then click activate, it will fail, but thats no problem, click on SystemTools -> Debugger. Click on "change", wait a moment, click on Debugger again scroll down and start the execution.
Now the site should work again.


RE: Error when reenabling someones account - Nuxwin - 03-17-2010 05:33 AM

Hello :

The domain was disabled before upgrade to ispcp 1.0.4 ? If it the case, that is normal. I've fixed this issue for 1.0.5.

So, for each domain, check if it use the old disabled domain layout ---> /var/www/virtual/domain.tld.disabled and fixe it manually

As is a bug of our fault, I can made maintenance (free) on your server directly if you want.

If you are interesred, send me a PM or contact me via skype (nuxwin).

Best Regards


RE: Error when reenabling someones account - dcreation - 03-17-2010 05:49 AM

I tested it myself. Problem exists if disabled Domain in 1.04 and activated again.

Quick look:
When I deactivate a domain in 1.04 it moves the domain to:
htdocs.disabled

When I activate it again the error is:
sys_command() | ERROR: External command '/bin/mv /var/www/virtual/domain.de/disabled /var/www/virtual/domain.de/htdocs' returned '1' status !

disabled doesnot exists.
So I tried moving htdocs.disabled to disabled and click activate again. But, the error messages is still the same!
I had do move disabled to htdcos and click activate in Order to get the Domain working again.


RE: Error when reenabling someones account - Nuxwin - 03-17-2010 05:53 AM

Hello ;

It's because the 'disabled' directory wasn't created. I'll check this issue tonight.


RE: Error when reenabling someones account - dannad - 03-17-2010 07:05 AM

Hi,
Nuxwin, the domain was disabled on 1.0.4, so it seems there is a problem in 1.0.4.
I need to get the site back up as soon as possible, however I don't understand how dcreation managed to fix it...
"I had do move disabled to htdcos and click activate in Order to get the Domain working again."?

Anyway, hopefully you can fix it nuxwin.

Thanks,
Dan


RE: Error when reenabling someones account - Nuxwin - 03-17-2010 07:16 AM

Hello ;

I'll try to reproduce this bug tonight and provides explanations to fix it tomorrow AM.

Best Regards