Prajithp / ApacheBooster

This project has been taken over by Ndimensionz. New and bug free version of Apachebooster can be downloaded from
http://ndimensionz.com/apachebooster
20 stars 26 forks source link

Hooks blocked on cpanel 11.40 #30

Closed qlpqlp closed 10 years ago

qlpqlp commented 10 years ago

The Hooks on cpanel 11.40:

Accounts::Remove /scripts/prekillacct_apachebooster

Accounts::Modify /scripts/account_modify_pre_apachebooster

are blocked in WHM->Development->Manage Hooks

Prajithp commented 10 years ago

It is normal in 11.38+ versions, but the script will execute without any issues. Please let me know if you are having any issues.

qlpqlp commented 10 years ago

Hello,

I have tried to transfer an account form outher cpanel server and there was a smal error that I have to manually run service httpd restart to run again.

Here is the output of the error:

[2013-11-21 15:33:16 +0000] info [whostmgr5] STDERR output from hook: /scripts/postwwwacct_apachebooster [2013-11-21 15:33:16 +0000] info [whostmgr5] nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful [2013-11-21 15:33:16 +0000] info [whostmgr5] End STDERR from hook [2013-11-21 15:33:16 +0000] info [whostmgr5] Script hook returned an invalid response: [2013-11-21 15:33:16 +0000] info [whostmgr5] script: /scripts/postwwwacct_apachebooster [2013-11-21 15:33:16 +0000] info [whostmgr5] response: Stopping nginx: [ OK ] Starting nginx: [ OK ] [2013-11-21 15:33:16 +0000] info [whostmgr5] -- End Garbage output --