Awesome (I had to switch to Bash to run it)
But here is the output.
/usr/local/cpanel/3rdparty/bin/perl <(curl -s
https://raw.githubusercontent.com/cPanelInc/tech-acctinfo/master/acctinfo) --cruft domain.com
Timeout while executing: httpd -M
acctinfo - Version: 2.5.21
==============================================================================================
CRUFT CHECK
==============================================================================================
From your query of domain.com I have determined:
No data found for your query of: domain.com in /var/cpanel/accounting.log
Continuing search for domain.com ...
domain.com has an entry in /etc/userdatadomains as an Addon Domain under the maindomain user
----------------------------------------------------------------------------------------------
Searching the following files for user: maindomain
/etc/passwd [EXISTS]
/etc/group [EXISTS]
/etc/shadow [EXISTS]
/etc/gshadow [EXISTS]
/etc/quota.conf [MISSING]
/etc/dbowners [EXISTS]
/etc/trueuserowners [EXISTS]
/var/cpanel/databases/users.db is either empty or missing [SKIPPING]
/etc/userdatadomains.json [EXISTS]
/var/cpanel/quotawarned [MISSING]
/etc/nocgiusers is either empty or missing [SKIPPING]
/etc/userips [EXISTS]
/etc/userbwlimits [EXISTS]
Searching the following files for domain: domain.com
/etc/userdomains [MISSING]
/etc/trueuserdomains [MISSING]
/etc/userdatadomains [EXISTS]
/etc/domainusers [MISSING]
/etc/localdomains [MISSING]
/etc/remotedomains is either empty or missing [SKIPPING]
/etc/demousers is either empty or missing [SKIPPING]
/etc/email_send_limits [MISSING]
/etc/demoids is either empty or missing [SKIPPING]
/etc/demodomains is either empty or missing [SKIPPING]
/etc/ssldomains is either empty or missing [SKIPPING]
/var/cpanel/moddirdomains [MISSING]
/home/maindomain [EXISTS]
\_ etc - EXISTS
\_ mail - EXISTS
\_ public_html - EXISTS
\_ ssl - EXISTS
\_ tmp - EXISTS
/var/cpanel/userdata/maindomain [EXISTS]
sh: /bin/egrep: Argument list too long
/var/cpanel/users/maindomain [EXISTS]
\_ [WARN]: One or more DNS lines may be missing from this file!
/var/cpanel/mainips/maindomain [MISSING]
/var/cpanel/databases/grants_maindomain.yaml [EXISTS]
/var/cpanel/databases/maindomain.json [EXISTS]
/var/cpanel/databases/dbindex.db.json [EXISTS]
/etc/proftpd/maindomain [EXISTS]
/var/cpanel/bandwidth/maindomain.sqlite [EXISTS]
/var/cpanel/bwlimited/maindomain [MISSING]
/var/cpanel/bwlimited/maindomain.com [MISSING]
/etc/valiases/domain.com [MISSING]
/etc/vfilters/domain.com [MISSING]
/var/named/domain.com.db [EXISTS]
/etc/apache2/logs/domlogs/domain.maindomain.com [EXISTS]
/etc/named.conf [EXISTS]
/etc/apache2/conf/httpd.conf [EXISTS]
Cpanel::Exception::JSONParseError/(XID 9cya4z) The system failed to parse the JSON stream data “Timeout while executing: cpapi2 --output=json MysqlFE listdbs --user=maindomain
” for the caller “main::get_json_from_command” because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Timeout while execut...") at /usr/local/cpanel/Cpanel/JSON.pm line 123.
at /usr/local/cpanel/Cpanel/JSON.pm line 139.
Cpanel::JSON::_throw_json_error("malformed JSON string, neither tag, array, object, number, st"..., undef, SCALAR(0x46dc358)) called at /usr/local/cpanel/Cpanel/JSON.pm line 123
Cpanel::JSON::Load("Timeout while executing: cpapi2 --output=json MysqlFE listdbs"...) called at /dev/fd/63 line 3419
main::get_json_from_command("cpapi2", "--output=json", "MysqlFE", "listdbs", "--user=maindomain") called at /dev/fd/63 line 3431
main::get_cpapi2("MysqlFE", "listdbs", "--user=maindomain") called at /dev/fd/63 line 1938
main::cruft_check() called at /dev/fd/63 line 184