grep -r username /usr/local/cpanel/logs/access_log | grep login
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
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
cpanel list account and domain
cat /etc/trueuserdomains | awk '{ print $2" "$1}' | sed 's/://'
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.
(FATAL): The server must be in runlevel 3 before the installation can continue
If you are getting this error on Centos 7 OS
systemctl set-default multi-user.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target
cpanel mysql missing menu
/scripts/update_db_cache
/usr/local/cpanel/bin/setupdbmap
info [update_db_cache] MySQL is not enabled. Exiting now.
It means you need enable MySQL in Service Manager.
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,
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)
This feature requires the “popaccts” option and is not enabled on your account
You should use user, not root whem running cpapi2:
cpapi2 --user=account_name Email delpop domain=domain.com email=user
Free Let‘s Encrypt cPanel
/scripts/install_lets_encrypt_autossl_provider
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
cPanel SMTP Error (550): Failed to add recipient (Verification failed for
F=
cat /etc/userdomains | grep some-domain.com
some-domain.com: someuser
cpanel increase phpmyadmin upload limit
vi /usr/local/cpanel/3rdparty/etc/php.ini
Change
upload_max_filesize = 150M
AND
post_max_size = 150M
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