View Full Version : [BUG] Suspended domain becomes unsuspended on monthly reset
ClayRabbit
06-16-2005, 02:32 AM
Recently our customer reported a problem:
He suspended one of his domains inside user panel on April, but found it unsuspended on May, suspended on May - found it unsuspended on June. Domain doesn't have bw limit in user account, and account itself wasn't suspended (nor by hands, nor by tally) during all that period.
I have made simple test on our empty server - added second domain to user's account and suspended it.
Executed
echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
And after few minutes that domain becomes unsuspended!
It's not very comfortable for customers to suspend same domain every month by hands, so I hope that issue will be fixed in next release.
mmgenius
02-09-2011, 01:16 PM
We have this problem on our system also. Is this not solved yet? or is there no solution yet?
ISOS6
02-09-2011, 03:29 PM
Why suspend your customers? Because they have used up monthly bandwidth. :p Therefore, it is reset monthly. I have not tried it, but expect that it works like that. :D
Peter Laws
02-09-2011, 04:24 PM
Why suspend your customers? Because they have used up monthly bandwidth. :p
What happens if its the 27th, they don't pay their bill, so you suspend them, they take ages (weeks) to pay (believe me, it happens), 1st of month comes, DA activates the account.
I agree, not a bug, but.
ISOS6
02-10-2011, 01:58 AM
You are right. But I would not keep the customers who do not pay their invoices. Simply send the notice of cancellation so they pay, this sounds more terrifying than just suspend.
mmgenius
02-10-2011, 07:22 AM
You all understood it wrong, it is not when you suspend the user from inside the reseller panel. It is if the user from inside the user panel suspend one of his domains... So the user itself suspend his domain, so it has nothing to do with bandwidth or payment, the user himself decide to suspend his domain.
DirectAdmin Support
02-10-2011, 09:00 PM
Hello,
Just to clarify, domain level suspensions don't have the "account=OFF" option, like the User level suspensions have. The account=OFF in the user.conf tells DA that this was decided by a person, and not a bandwidth limit.
Since domains don't have this flag in domains/domain.com.conf, when the reset comes around, DA doesn't know how the domain was suspended, only that it is, thus it gets unsuspended.
Again, this is for Domain Level suspensions, triggered by Users, and not User Level suspensions triggered by Resellers.
I've added a versions entry for this issue:
http://www.directadmin.com/features.php?id=1164
John
mmgenius
02-11-2011, 12:58 AM
John,
Thanx, this is indeed the way it should work.
Maarten
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.