Current time: 11-16-2024, 09:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Error when reenabling someones account
Author Message
dannad Offline
Junior Member
*

Posts: 18
Joined: Aug 2009
Reputation: 0
Post: #1
Error when reenabling someones account
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
03-15-2010 06:13 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Error when reenabling someones account
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
03-15-2010 07:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #3
RE: Error when reenabling someones account
(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 ?
03-16-2010 03:00 AM
Quote this message in a reply
dannad Offline
Junior Member
*

Posts: 18
Joined: Aug 2009
Reputation: 0
Post: #4
RE: Error when reenabling someones account
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
(This post was last modified: 03-16-2010 04:26 AM by dannad.)
03-16-2010 04:25 AM
Find all posts by this user Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #5
RE: Error when reenabling someones account
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.
03-17-2010 05:09 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #6
RE: Error when reenabling someones account
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
03-17-2010 05:33 AM
Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #7
RE: Error when reenabling someones account
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.
03-17-2010 05:49 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #8
RE: Error when reenabling someones account
Hello ;

It's because the 'disabled' directory wasn't created. I'll check this issue tonight.
03-17-2010 05:53 AM
Quote this message in a reply
dannad Offline
Junior Member
*

Posts: 18
Joined: Aug 2009
Reputation: 0
Post: #9
RE: Error when reenabling someones account
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
03-17-2010 07:05 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #10
RE: Error when reenabling someones account
Hello ;

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

Best Regards
03-17-2010 07:16 AM
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)