AppConfig and Account DNS Check Plugin Problems

sozotech

Well-Known Member
Jul 26, 2013
95
2
58
cPanel Access Level
Root Administrator
I am having problems trying to get the Account DNS Check app registered with WHM but I am not having any luck. The plugin works if I change WHM -> Tweak Settings -> Allow apps that have not registered with AppConfig to be run when logged in as root or a reseller with the "all" ACL in WHM -> On.

I have setup the following AppConfig file accountdnscheck.conf:

Code:
# name
name=addon_acountdnscheck

# Service that will serve this app
service=whostmgr

# Physical path: /usr/local/cpanel/3rdparty/Foo.php
# Literal URL path: $server:$port/$cpsession/3rdparty/Foo.php
url=/cgi/addon_acountdnscheck.cgi

# System user to run process as
user=root

# Required acls
acls=any

# Display name as show in the service ui
displayname=addon_acountdnscheck

# Url to show in the service ui (relative to install path for whm this is cgi/)
entryurl=addon_acountdnscheck.cgi
Ran the following command:

Code:
cd /var/cpanel/apps
/usr/local/cpanel/bin/register_appconfig accountdnscheck.conf
I get the following error when trying to access it

Code:
HTTP error 401

accountdnscheck/index.php
Can anyone point me in the right direction?

Thanks,
Eric
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you let us know what permission/ownership values you have configured for the "addon_acountdnscheck.cgi" file?

Thank you.
 

sozotech

Well-Known Member
Jul 26, 2013
95
2
58
cPanel Access Level
Root Administrator
Here are the permissions.

ll addon_acountdnscheck.cgi
-rwxr-xr-x 1 root root 168 Sep 4 14:37 addon_acountdnscheck.cgi*

Thanks,
Eric
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Please try removing the following entry:

Code:
entryurl=addon_acountdnscheck.cgi
Let us know if you get the same result.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Can you open a support ticket so we can take a closer look?

Submit A Ticket

Please post the ticket number so we can update this thread with the outcome.

Thank you.