Account Suspension no longer works after EA3 -> EA4 migration
Hello,
I have a couple of domains on my server that were suspended.
Today I performed the EasyApache migration from EA3 to EA4, using the script documented.
Going through all of the domains to test their status, I noticed that the suspended domains are no longer suspended (ie they are showing the hosted website).
I can confirm that the domains DNS do point to the server (one domain I own and is simply a test).
I have tried various things:
[LIST]
Unsuspending and Suspending again via WHM
Unsuspending and Suspending again via CLI
Creating a new domain/account and suspending that
/usr/local/apache/conf/includes/account_suspensions.conf show the accounts
As mentioned this was working fine, before the EA migration.
Does anybody have any idea what may have caused this?
Regards
-
Hi, This was a bug we fixed in 11.56 (case CPANEL-4833). Currently, we didn't migrate the account_suspensions.conf include file. You can copy this file to its new location and get this to work. cp /usr/local/apache/conf/includes/account_suspensions.conf /etc/apache2/conf.d/includes/account_suspensions.conf /scripts/restartsrv_httpd
I hope this helps!
0 -
Thank you for the extremely quick reply! The file already existed and are the same. I'm currently on WHM 11.54 (build 21). Looking within Home > cPanel > Upgrade to Latest Version, I do not have the option for WHM 11.56, only WHM 11.55. If this is simply a recognised bug, that has already been fixed, then I can live with it until I update. Just wanted to ensure it wasn't something else that I had done. Thanks for your help! 0 -
Hi, You'll need to ensure the account_suspensions.conf include exists in /etc/apache2/conf.d/includes for it to work in EA4. If you've already copied / moved it, you should be good to go! The fix, if you've already migrated to EA4, won't help you because it's a migration bug. 0 -
Hello, The file already exists: cp /usr/local/apache/conf/includes/account_suspensions.conf /etc/apache2/conf.d/includes/account_suspensions.conf cp: `/usr/local/apache/conf/includes/account_suspensions.conf' and `/etc/apache2/conf.d/includes/account_suspensions.conf' are the same file
I then restarted http. I then checked the domain and it was still visible. I unsuspended the domain and resuspended it but it still remains visible. Is there anything else I can check to provide you with some more info? This isn't a showstopper, just an annoyance. I've scanned the forums too and found that this didn't seem to be a huge issue.0 -
I then checked the domain and it was still visible. I unsuspended the domain and resuspended it but it still remains visible.
Hello :) Do you notice any error messages in /usr/local/cpanel/logs/error_log when suspending/unsuspending the account? Also, while unrelated to the issue you have reported, you can run "yum update" to ensure your EA4 packages are updated. Thank you.0 -
Hello, Curiously I checked the domain today and it's suspended! I went to Manage Account Suspension, and unsuspended the account and that worked. I then went to suspend the account again and that worked too?!?! I was tailing the error_log while doing this and nothing untoward came up. This could have been my fault, maybe caching but I was quite sure it was not. Thank you both for your input anyway. Regards 0 -
This could have been my fault, maybe caching but I was quite sure it was not.
I'm happy to see it's now working as expected. Thank you for updating us with the outcome.0 -
I have the same problem. I upgraded to EA4 and all sites that were previously suspended, now do not appear suspended. Tried all suggestions in this thread with no luck. The following gets written to the error log when I suspend a website: [2016-10-23 21:45:50 +0500] info [suspendacct] suspendacct::Notify Notification => ***@***** via EMAIL [eventimportance => Low (3)] 0 -
Hello @succinctapps, Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
I've just noticed the same thing. I ran httpd -t -D DUMP_INCLUDES and it looks like the account_suspensions file is not being referenced after the migration. After a bit of fiddling, I discovered that I needed to go to Apache Configuration -> Include Editor and edit something (anything - just add some extra new lines) and save. This caused some of the commented-out includes in httpd.conf to be added, and also added the include for account_suspensions.conf 0 -
Hello, If anyone else notices this issue, please feel free to open a support ticket and post the ticket number here before attempting to address the issue. This will allow us to investigate and determine why the issue is occurring. Thank you. 0
Please sign in to leave a comment.
Comments
11 comments