Tag Archives: cPanel

Policy server HTTP error: 500 Internal Error Temporary internal error: retry timeout exceeded

dovecot: auth: Error: policy(?,xx.xx.xx.xx): Policy server HTTP error: Connection lost: read(127.0.0.1:579) failed: EOF (Request queued 2.784 secs ago, 1 attempts in 2.784 secs, 2.784 in other ioloops, connected 21.780 secs ago)

This error is caused by cPhulkd of cPanel, so you can temporally disable it, while investigating.

Than check for errors:
/usr/local/cpanel/logs/cphulkd_errors.log
/usr/local/cpanel/logs/cphulkd.log

LMTP error after RCPT TO – Temporary internal error: retry timeout exceeded

LMTP error after RCPT TO::
451 4.3.0 Temporary internal error: retry timeout exceeded

dovecot: lmtp(5768): Error: fchown(/home/user/mail/domain.com/info/maildirsizesrv.domain.com.5768.87dedd4b02379106, group=12(mail)) failed: Operation not permitted (egid=507(user), group based on /home/user/mail/domain.com/info – see http://wiki2.dovecot.org/Errors/ChgrpNoPerm)
lmtp(6918): Error: safe_mkstemp(/home/user/mail/domain.tld/info/maildirsize) failed: Operation not permitted

Its cPanel issue, so you cha try update [email protected] mailbox quota to new: Allocated Storage Space

Checking C compiler….Could not locate an executable “gcc” binary….Done ** Unrecoverable Error ** The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler.

Checking C compiler….Could not locate an executable “gcc” binary….Done ** Unrecoverable Error ** The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler

You should find Compiler Access in WHM and enable it for some users.

track delivery issue

DeliveryReporter API internal failure: Cpanel::Exception::Database::Error/(XID 8vnjr9) The system received an error from the “SQLite” database “/var/cpanel/eximstats_db.sqlite3”: SQLITE_CORRUPT (database disk image is malformed) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336, line 2. Cpanel::Exception::create(“Database::Error”, ARRAY(0xed7360)) called at /usr/local/cpanel/Cpanel/Exception.pm line 61 Cpanel::Exception::__ANON__(_CPANEL_HIDDEN_, ARRAY(0xed7360)) called at /usr/local/cpanel/Cpanel/DBI.pm line 200 Cpanel::DBI::_create_exception(Cpanel::DBI::SQLite::db=HASH(0xe9cf78) ….

cd /var/cpanel
mv eximstats_db.sqlite3 eximstats_db.sqlite3_old
/scripts/restartsrv_tailwatchd
/scripts/slurp_exim_mainlog –force

SMTP Mail protection has been disabled. All users may make smtp connections.

/scripts/smtpmailgidonly on
SMTP Mail protection has been disabled. All users may make smtp connections.
There was a problem setting up iptables. You either have an older kernel or a broken iptables install, or ipt_owner could not be loaded.

cat /proc/net/ip_tables_matches | grep owner
modprobe xt_owner

/scripts/smtpmailgidonly on
SMTP Mail protection has been enabled.
All outbound SMTP connections will be redirected to localhost except:
uid is root (ports: 25,26,465,587)
uid is cpanel (ports: 25,26,465,587)
gid is mail (ports: 25,26,465,587)
gid is mailman (ports: 25,26,465,587)

cpanel [notice] caught SIGTERM, shutting down issue

If you have many SIGTERM and other services like exim, ftp also reboots without any logical reason, you can try disable cPanel or just cPanel TaskQueue Processing Daemon:

/usr/local/cpanel/etc/init/stopqueueprocd

then some magic:

mv /usr/local/cpanel/libexec/queueprocd /usr/local/cpanel/libexec/queueprocd___
mv /usr/local/cpanel/bin/servers_queue /usr/local/cpanel/bin/servers_queue___
mv /usr/local/cpanel/etc/init /usr/local/cpanel/etc/init___
mv /usr/local/cpanel/src/chkservd/chkserv.d/queueprocd /usr/local/cpanel/src/chkservd/chkserv.d/queueprocd___

then check:

cat /usr/local/apache/logs/error_log | grep shut

nfo [cpses_tool] MYSQL: Remove dbuser cpses blank screen

1) I ran a grep for the sessions that were currently in effect:

# grep “cpses_” /var/cpanel/databases/

2) I removed the following sections from any user’s yaml that matched the

cpses_########”:
dbs: {}
server: X.X.X.X

3) I removed each of the cpses_######## lines from /var/cpanel/databases/users.db

4) I ran the following command to update the user-data:

# /scripts/update_db_cache

5) I then removed all of the cpses_######## users from the mysql.user table to remove the users from mysql. This can be accomplished from the command line or from WHM>> PhpMyAdmin