Could not unsuspend websites for one user

bokan

Verified User
Joined
Jul 3, 2011
Messages
19
Could not unsuspend websites for one user [resolved]

I could not unsuspend a user. It is shown as not suspended in direcatdmin interface but the websites still have the message "This account has been suspended. Either the domain has been overused, or the reseller ran out of resources.".

File /usr/local/directadmin/data/users/"username"/user.conf
account=ON
suspend_at_limit=OFF
suspended=no
...

File /usr/local/directadmin/data/users/"username"/domains/"thedomains".conf
active=yes
bandwidth=unlimited
suspended=no
...

The reseller is also active.

I've done a user reset and then apache restart
echo "action=reset&value=username&type=user" >> /usr/local/directadmin/data/task.queue

Here is how do I came to this problem :
I suspended the user.
Moved all its websites to another user (wich is not suspended), the websites where still suspended. They won't unsuspend, even if I suspend/unsuspend the new owner. So I decided to move them back to their previous user and now it's impossible to unsuspend them.
 
Last edited:
How did you move the websites? Were you using move_domain.sh script for that?
 
Found the solution : Apache was not restarting properly, it had zombies processes.

The command to show uptime :
Code:
ps -eo comm,etime | grep httpd.
Returned
Code:
httpd                 07:17
httpd                 06:43
httpd                 06:42
httpd                 06:12
httpd                 06:11
httpd                 05:42
httpd                 04:31
httpd                 00:28
httpd                 00:15
httpd                 00:13
httpd            1-04:26:09

Last line means uptime is 1 day 4 hours and 26 minutes...

I had to do :
Code:
killall -9 httpd
service restart httpd

And it worked fine then.
 
Last edited:
Back
Top