This document describes the location of all of the log files in cPanel & WHM, Webmail, and MySQL®. This document also provides examples of each log file.
Note:
The directories and files in this document reflect unaltered configurations.
You can alter a log file’s location with a configuration file.
We use the following examples in this document:
USER represents the cPanel account name.
HOSTNAME represents the server’s hostname.
domain represents a domain on the cPanel account.
General
/var/log/messages (Red Hat®-based servers) or /var/log/syslog (Ubuntu® servers)
This file contains the login attempts and general error messages for the following services:
This file contains the login attempts for the SSH daemon (sshd).
Jul 5 08:50:04 colin sshd[29856]: Accepted password for root from 10.7.6.162 port 57893 ssh2
Jul 5 08:50:05 colin sshd[29856]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jul 515:00:17 colin sshd[29856]: Received disconnect from 10.7.6.162: 11: disconnected by user
Jul 515:00:17 colin sshd[29856]: pam_unix(sshd:session): session closed for user root
Jul 6 07:57:10 colin sshd[24129]: Accepted password for root from 10.7.6.162 port 55983 ssh2
Jul 6 07:57:10 colin sshd[24129]: pam_unix(sshd:session): session opened for user root by (uid=0)
Services
Services Files
/home/USER/.cpanel/logs
Processing /home/USER/example...
Already had it.
This directory contains records of errors within a user’s task queue.
/home/username/logs/DAV-debug.log
Important:
You should only enable this log file if you need to troubleshoot issues with your account’s calendars or contacts. This file can quickly fill up your account’s disk quota.
This log file is only available in cPanel & WHM versions 120 and above.
This file contains cPanel user debug output from the cpdavd service.
To enable this log file, create the /home/username/.caldav/.debug touch file, either in cPanel’s File Manager interface (cPanel » Home » Files » File Manager) or on the command line. You must remove the touch file when you are done with troubleshooting.
Some of the output in this log file appears in color. Each line displays log information in the following format:
[420074][Tue Jan 3019:00:59 2024][Cpanel/DAV/CaldavCarddav.pm :4457] ❱❱❱ load_metadata at Cpanel/DAV/CaldavCarddav.pm :4496
PID — The cpdavd process ID.
Time — The date and time of the message, in WD MM DD HH:mm:SS YYYY format, where:
WD represents the day of the week.
MM represents the month.
DD represents the day of the month.
HH represents the hour in 24-hour time.
mm represents the minute.
SS represents the second.
YYYY represents the year.
The calling file and line number — The cpdavd file and line number in the file that generated the output.
Message — The output message.
/home/username/logs/DAV-error.log
Important:
This log file is only available in cPanel & WHM versions 120 and above.
This file contains output from the cpdavd service. Each line displays log information in the following format:
[02/Nov/2023:21:47:53]10.3.5.127 user@example.com"PROPFIND /calendars/user%40example.com/"2298"400 Bad Request"424"Evolution/3.50.1"
Time — The date and time that the error occurred, in DD/Mon/YYYY:HH:MM:SS format, where:
DD represents the date.
Mon represents the month.
YYYY represents the year.
HH represents the hour.
MM represents the minute.
SS represents the second.
IP address — The remote client’s IP address.
Username — The authenticated user’s account.
Request method — The request method that the client sent to the server.
Request size — The size of the request that the client sent to the server.
Response status — The error code and message that the server sent to the client.
Response size — The size of the server’s response to the client, in bytes.
User agent — The program that the remote client used to access the server.
/home/username/logs/DAV-io.log
Important:
To enable this log file, create the /home/username/.caldav/.debug touch file, either in cPanel’s File Manager interface (cPanel » Home » Files » File Manager) or on the command line.
This log file is only available in cPanel & WHM versions 120 and above.
This file contains cPanel user request and payload data from the cpdavd service. Each line displays log information in the following format:
[2213123][TueJan3008:28:352024][Cpanel/DAV/CaldavCarddav.pm:1126]>>>A long string that contains the request and payload data>>>>
PID — The cpdavd process ID.
Time — The date and time of the message, in WD MM DD HH:mm:SS YYYY format, where:
WD represents the day of the week.
MM represents the month.
DD represents the day of the month.
HH represents the hour in 24-hour time.
mm represents the minute.
SS represents the second.
YYYY represents the year.
The calling file and line number — The cpdavd file and line number in the file that generated the output.
Message — The request/payload message.
/usr/local/cpanel/logs/access_log
This file contains records of when a cPanel & WHM user accesses their account.
The system displays these records in a standardized text format, called the Common Log Format. Each line displays log information in the following syntax
192.168.0.20- example [10/08/2016:13:37:32-0000]"GET /cpsess1234567890/frontend/jupiter/index.html HTTP/1.1"2000"""Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0""s""-"2083
Syntax
Description
Example
IP Address
The client’s IP address.
192.168.0.20
User-identified
An unused user identification protocol field. cPanel & WHM log files always display one of the following values in this field:
proxy for a service subdomain’s log files.
A dash (-) for all other domain types.
none
User
A valid cPanel & WHM account name or an email address.
skipperdan
Time
The date and time when the visitor accessed your website, in MM/DD/YYYY:HH:MM:SS -ZZZZ format, where:
The web request that the client issued to the server.
GET /.__cpanel__service__check__./serviceauth?sendkey=__HIDDEN__&version=1.2 HTTP/1.0
HTTP Status
The result of the HTTP request. For more information, read Wikipedia’s List of HTTP status codes documentation.
200
Response Size
The size of the object returned to the client, in bytes.
1500
Referrer
The web address from which the visitor navigated to the resource.
ftp://cpanel.com
User Agent
The browser that the visitor used to access cPanel & WHM.
Safari
Authentication method
The method that authenticated the request, where:
a represents Access Key/Hash.
b represents HTTP Basic Authentication.
s represents Session cookie.
o represents OpenID Connect.
s
The X-Forwarded-For header
The IP address of the client when the user makes a connection request via service subdomains (proxy domains).
X-Forwarded: for:192.0.2.60
Service port
The server port number that the client accessed in the request.
2083
/usr/local/cpanel/logs/api_log
This file contains a human-readable log of all cPanel API1, successful API2, and successful UAPI calls made by a single cPanel user. To view this file, your system administrator must enable this setting in the Tweak Settings interface (WHM » Home » Server Configuration » Tweak Settings » Logging) or by calling the WHM API 1 set_tweaksetting function.
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"Themes::list","uri":"/cpsess1777148931/execute/Themes/list"}
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"SSL::installed_host","uri":"/cpsess1777148931/execute/SSL/installed_host"}
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"Resellers::list_accounts","uri":"/cpsess1777148931/execute/Resellers/list_accounts"}
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"ResourceUsage::get_usages","uri":"/cpsess1777148931/execute/ResourceUsage/get_usages"}
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"ExternalAuthentication::has_external_auth_modules_configured","page":"/usr/local/cpanel/base/frontend/jupiter/email_accounts/index.html.tt","uri":"/cpsess1777148931/frontend/jupiter/email_accounts/index.html"}
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"Email::list_mail_domains","page":"/usr/local/cpanel/base/frontend/jupiter/email_accounts/index.html.tt","uri":"/cpsess1777148931/frontend/jupiter/email_accounts/index.html"}
[2022-07-1220:18:52+0000] info [cpwrapd] api_version=uapi called_by=cptest {"call":"PasswdStrength::get_required_strength","page":"/usr/local/cpanel/base/frontend/jupiter/email_accounts/index.html.tt","uri":"/cpsess1777148931/frontend/jupiter/email_accounts/index.html"}
/usr/local/cpanel/logs/api_tokens_log
This file contains WHM’s API tokens logs.
[2017-02-0719:07:13-0600] info [whostmgrd]HTTPStatus:['200'],User:['kingrichard'],TokenName:['robin_of_loxley'],Request:['GET /scripts2/reloadbind_local?dnsuniqid=baa HTTP/1.0']
[2017-02-0719:07:13-0600] info [whostmgrd]HTTPStatus:['200'],User:['princejohn'],TokenName:['sherrif_of_rottingham'],Request:['GET /scripts2/reloadbind_local?dnsuniqid=baa HTTP/1.0']
[2017-02-0719:07:13-0600] info [whostmgrd]HTTPStatus:['200'],User:['ahsneeze'],TokenName:['ahchoo'],Request:['GET /scripts2/reloadbind_local?dnsuniqid=baa HTTP/1.0']
/usr/local/cpanel/build/locale_database_log
This file contains information about when a user edits a locale.
[2014-09-2802:55:26-0500] info [build_locale_databases]Finished updating and modifying locales databases
[2014-09-2902:54:16-0500] info [build_locale_databases]Begin update of locale databases
StartingPID11197: cpdavd - accepting connections on 2077 and 2078
StartingPID11080: cpdavd - accepting connections on 2077 and 2078
/usr/local/cpanel/logs/cpdavd_session_log
This file contains the Web Disk feature’s activity logs
[2015-11-1814:38:51-0600] info [cpdavd]162.158.64.218NEW_dav_:mUG2YFqewzo7GzVm app=cpdavd - accepting connections on 207720782079 and 2080,method=/usr/local/cpanel/libexec/cpdavd:main
[2015-11-1814:38:51-0600] info [cpdavd]162.158.64.216NEW_dav_:m9MlWdxVqpyemmP6 app=cpdavd - accepting connections on 207720782079 and 2080,method=/usr/local/cpanel/libexec/cpdavd:main
[2015-11-1814:38:51-0600] info [cpdavd]162.158.64.218NEW_dav_:YZEJy7lEsXSxyz3Y app=cpdavd - accepting connections on 207720782079 and 2080,method=/usr/local/cpanel/libexec/cpdavd:main
/usr/local/cpanel/logs/cpgreylistd.log
This file contains the Greylisting daemon’s (cpgreylistd) activity logs.
[2015-10-3011:05:39-0500] info [cpgreylistd]Purged old records fromDB.Record(s) removed:0
[2015-10-3012:05:39-0500] info [cpgreylistd]Purged old records fromDB.Record(s) removed:0
[2015-08-26 12:14:29 -0500] info [cphulkd]221257 The system encountered an error while processing a request: Broken pipe
[2015-08-26 12:14:29 -0500] info [cphulkd]221262 The system encountered an error while processing a request: Broken pipe
/usr/local/cpanel/logs/cphulkd.log
This file contains the cphulkd daemon’s activity logs
[2015-10-2003:27:14-0500] info [cphulkd]258355 processor shutdown via SIGTERMwith pid 258355
[2015-10-2003:27:44-0500] info [cphulkd]131586 processor startup with pid 131586
/usr/local/cpanel/logs/cpwrapd_log
This file contains the cPanel & WHM service manager daemon’s (cpsrvd) activity logs.
[1985-10-2110:18:11-0500] info [cpsrvd] user -[action]=[fetch][function]=[SORTEDRESELLERSUSERS][module]=[reseller][namespace]=[Cpanel][version]=[2.3]
[2015-10-2110:18:11-0500] info [cpsrvd] user -[action]=[run][function]=[HASDIGEST][module]=[security][namespace]=[Cpanel][version]=[2.3]
/usr/local/cpanel/logs/dnsadmin_log
This file contains dnsadmin request logs.
[2015-10-2113:33:19-0500] info [dnsadmin]Reset reseller cache 'domain1'.
[2015-10-2113:33:19-0500] info [dnsadmin]Reset reseller cache 'example'.
/usr/local/cpanel/logs/error_log
This file contains general cPanel & WHM errors (for example, a fatal error or timeout occurred while processing this directive error).
Cpanel::Exception::new("Cpanel::Exception::ModSecurity::VendorUpdateUnnecessary",HASH(0x13222cb8)) called at /usr/local/cpanel/Cpanel/Exception.pm line 57
Cpanel::Exception::create("ModSecurity::VendorUpdateUnnecessary",HASH(0x13222cb8)) called at /usr/local/cpanel/Whostmgr/ModSecurity/VendorList.pm line 285
/usr/local/cpanel/logs/incoming_http_requests.log
This file contains the logs of connection requests to the cPanel account’s server.
This file contains the server’s license update logs and license errors.
ThuOct2919:11:052015:Using full manual DNS resolution
ThuOct2919:11:052015:Trying server 192.168.0.20
ThuOct2919:11:052015:Server192.168.0.20 on port 2089returned:
/usr/local/cpanel/logs/login_log
This file contains the login attempts to the cpsrvd daemon.
192.168.0.20 - user [07/10/2013:18:43:00 -0000]"POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN whostmgrd: user password hash is missing from system (user probably does not exist)
192.168.0.21 - user [07/10/2013:18:43:14 -0000]"POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN whostmgrd: user password hash is missing from system (user probably does not exist)
192.168.0.22 - user [07/15/2013:16:21:50 -0000]"POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN whostmgrd: user password incorrect
/usr/local/cpanel/logs/panic_log
This file contains a cPanel account’s severe error logs.
Warning:
This file should not contain any entries. If this file contains entries, thoroughly investigate the entries and contact your hosting provider.
[2015-10-20 03:27:31 -0500] info [queueprocd] cPanel TaskQueue Processing Daemon starting.
Starting update of 35 locales in parallel ...
Updating "aa" locale ...
... "aa" complete.
Updating "ar" locale ...
... "ar" complete.
/usr/local/cpanel/logs/safeapacherestart_log
This file contains information about each time that Apache restarted on the server.
[2015-10-20 03:23:07 -0500] info [safeapacherestart] Restart elapsed seconds: 2
[2015-10-30 12:57:47 -0500] info [safeapacherestart] Restart elapsed seconds: 5
/usr/local/cpanel/logs/session_log
This file contains logs of a user’s activities while they are logged in to the cPanel account.
[2015-10-29 09:27:35 -0500] info [cpsrvd]12.3.14.75 NEW root:tvf32S0eomRni4nplg7OMXgj1kS8Jx3jhSeccZPRyHwsMIENmyhcxE17NCBDllTk address=12.3.14.75,app=whostmgrd,creator=root,method=handle_form_login,path=form,possessed=0
[2015-10-30 12:24:06 -0500] info [cpsrvd]14.2.19.78 NEW user:TIg1FiIdR6eTnKtYr7VmYGKpYB9srb0yvjHkkA1PeYOB6Y2naymPktSsjAob3pX0 address=14.2.19.78,app=cpaneld,creator=user,method=handle_form_login,path=form,possessed=0
/usr/local/cpanel/logs/setupdbmap_log
This file contains the cPanel account’s database-related activities.
[2014-05-06 02:57:08 -0500] info [setupdbmap] Begin setupdbmap
[2014-05-06 02:57:08 -0500] info [setupdbmap] Updating MySQL users
[2014-05-06 02:57:09 -0500] info [setupdbmap] Processing MySQL databases and database users...
[2014-05-06 02:57:09 -0500] info [setupdbmap] Finished with MySQL users
/usr/local/cpanel/logs/stats_log
This file contains the bandwidth statistics for all of the server’s cPanel accounts.
[2015-10-30 12:12:30 -0500] Process bandwidth for domain1
[2015-10-30 12:12:30 -0500] Process bandwidth for domain2
[2015-10-30 12:12:30 -0500] Process bandwidth for domain3
[2024-02-02 16:22:45 -0600] info [uapi][0 s] Starting syncfor sub1.nositejet.tld at 1706912565.
[2024-02-02 16:22:45 -0600] info [uapi][0 s] Download sitemap xml:https://123456789.preview.sitehub.io/sitemap.xml
[2024-02-02 16:22:46 -0600] info [uapi][1 s] Store content for /sitemap.xml
[2024-02-02 16:22:46 -0600] info [uapi][1 s] Save file /home/nositejet/sub1.nositejet.tld/sitemap.xml
[2024-02-02 16:22:46 -0600] info [uapi][1 s] Prepare request for https://123456789.preview.sitehub.io
[2024-02-02 16:22:46 -0600] info [uapi][1 s] URI: 'https://123456789.preview.sitehub.io', 200
[2024-02-02 16:22:46 -0600] info [uapi][1 s] Prepare request for https://123456789.preview.sitehub.io/legal-notice
[2024-02-02 16:22:46 -0600] info [uapi][1 s] URI: 'https://123456789.preview.sitehub.io/legal-notice', 200
[2024-02-02 16:22:46 -0600] info [uapi][1 s] Prepare request for https://123456789.preview.sitehub.io/privacy
[2024-02-02 16:22:46 -0600] info [uapi][1 s] URI: 'https://123456789.preview.sitehub.io/privacy', 200
/var/cpanel.bandwidth.cache
This file contains the cached bandwidth history for each cPanel account on your server.
bucktopia.com
xtest1
domain1
domain4
/var/cpanel/accounting.log
This file contains records of cPanel account actions, such as creation and deletion.
The system prints these records in the following standardized order:
Thu Jun 1113:33:19 2015:ADDRESELLER:root:root:example.com:example
Fri Oct 3012:57:29 2015:CHANGEOWNER:root:root:example.com:example:root:example
.1Time and date — The time and date when you or another user on your server performed the account action in WD MM DD:HH:mm:SS YYYY format, where:
WD represents the day of the week.
MM represents the month.
DD represents the day of the month.
HH represents the hour in 24-hour time.
mm represents the minute.
SS represents the second.
YYYY represents the year.
.2Operation — The action that you performed. For example, all of the following are potential actions:
CREATEAPITOKEN means that you have created an API token.
ADDRESELLER means that you have added a reseller.
CHANGEOWNER means that you have changed an account’s owner.
.3Operating account — The account with which you performed the action. For example, if you were logged in as example when you suspended an account, the third value in the accounting.log entry would be example.
.4System account — The account which performed the action. Most internal actions execute as root, even if you are not logged in as the root user.
Note:Some actions output the operating account into the fourth field instead of the system account.
Some account actions add extra fields. The following operations print extra fields:
Domain — The domain of the cPanel reseller account whose owner you are changing, or an empty string if the reseller did not have a primary domain.
Reseller username — The username of the cPanel reseller account whose owner you are changing.
Old owner username — The username of the WHM account that used to own the cPanel reseller account.
New owner username — The username of the WHM account that you assigned ownership of the cPanel reseller account.
SUSPEND
You have suspended a cPanel account.
Username — The suspended cPanel account username.
Domain — The suspended cPanel account’s primary domain.
Reason — The reason why you suspended the cPanel account.
None.
UNSUSPEND
You have restored a cPanel account from suspension.
Username — The restored cPanel account username.
Domain — The restored cPanel account’s primary domain.
Reason — The reason why you restored the cPanel account.
None.
GET_TFA_CONFIG_FOR_USER
You have retrieved a cPanel account’s two-factor authentication information. This includes the 2FA information for the email and team user accounts that the cPanel account manages.
User — The cPanel account’s username.
Data — The username of the retrieved cPanel account, email account, or team user.
None.
None.
PURGE_TFA_CONFIG_FOR_USER
You have deleted a cPanel account’s two-factor authentication information. This includes the 2FA information for the email and team user accounts that the cPanel account manages.
User — The cPanel account’s username.
Data — The username of the cPanel account, email account, or team user whose 2FA data you deleted.
None.
None.
SET_TFA_CONFIG_FOR_USER
You have set a cPanel account’s two-factor authentication information. This includes the 2FA information for the email and team user accounts that the cPanel account manages.
User — The cPanel account’s username.
Data — The username of the cPanel account, email account, or team user for which you set 2FA information.
This file contains scripts that run unusually slow for a user.
/var/cpanel/php-fpm/USER/logs/error.log
This file contains the user’s error logs.
/home/USER/logs/.php.error.log
This file contains internal cPanel PHP-FPM execution errors. For example, PHP-FPM errors in Roundcube will appear in this file.
Note:
This file does not include errors for customer sites.
Services Directories
/usr/local/cpanel/logs/cpbackup
This directory contains the cPanel backup log files.
1445324403.log
1445497204.log
1445925603.log
1446098403.log
/usr/local/cpanel/logs/cpbackup_transporter
This directory contains the cPanel Backup Transporter’s log files.
cpbackup_transporter.1446102630.log
cpbackup_transporter.1446102672.log
/usr/local/cpanel/logs/packman/
This directory contains the EasyApache build log files.
build.1439814755.env build.1439820240.env
/usr/local/cpanel/logs/update_analysis
This directory contains the update process’s .tar files.
2015-08-20T08:15:06Z.tar.gz
2015-09-13T08:15:07Z.tar.gz
2015-10-07T08:15:10Z.tar.gz
/var/cpanel/bandwidth/USER
This directory contains each account’s bandwidth usage logs.
fredfred-smtp-rate.rrd barney-all-rate.rrd
/var/cpanel/logs
This directory contains account transfer log files and other, miscellaneous log files.
cpaddonsup.1444377665.txt
cpaddonsup.1445155265.txt
cpaddonsup.1445932864.txt
/var/cpanel/updatelogs
This directory contains the system’s update log files.
update.1446018721.log
update.1446191521.log
update.1446367921.log
/var/cpanel/logs/mysql_upgrade.log
This directory contains the account’s MySQL upgrade logs.
unattended_background_upgrade.error
unattended_background_upgrade.log
unattended_background_upgrade.output
unattended_background_upgrade.result
/home/USER/logs/roundcube
This directory contains the log files for Roundcube Webmail with a SQLite backend.
roundcube_.log
/var/cpanel/roundcube/log
This directory contains the log files for Roundcube Webmail with a MySQL backend.
roundcube_.log
/var/cpanel/transfer_sessions
This directory contains subdirectories for transfer and restore sessions.
Each transfer and restore session’s subdirectory contains the session’s log files in a line-delimited JSON format. Each log file contains the following information:
The process ID under which the command in the log entry ran.
An integer value.
14538
indent
integer
The level of indentation to display.
A valid positive integer.
1
type
string
The type of log file entry.
out
warn
success
failure
control
control
partial
Boolean
We do not currently use this key.
0 is the only possible value.
0
contents
hash
A hash of transfer or restore session information.
This hash contains the action, child_number, dangerous_items, item, item_name, item_type, local_item, logfile, message, msg, queue, skipped_items, and warnings keys.
action
string
The action for the system to execute.
The log file contains this key in the content hash.
A valid string.
start-item
child_number
integer
The number of child processes in the transfer or restore process.
The log file contains this key in the content hash.
A positive integer.
1
dangerous_items
integer
The number of items in the transferred or restored account that the system flagged as potentially dangerous.
The log file contains this key in the content hash.
A positive integer.
1
item
string
The name of the account to restore or transfer.
The log file contains this key in the content hash.
A string value.
cptech
item_name
string
The name of the item to transfer or restore.
The log file contains this key in the content hash.
A string value.
Account
item_type
string
The specific item to transfer or restore.
The log file contains this key in the content hash.
A string value.
cptech
local_item
string
The item to restore locally.
The log file contains this key in the content hash.
A string value.
AccountLocal
logfile
string
The absolute filepath for the log file.
The log file contains this key in the content hash.
A valid absolute filepath.
item-RESTORE_AccountLocal_cptech
message
string
A message about the transfer or restore process.
The log file contains this key in the content hash.
A string value.
null
msg
string
Additional information about the transfer or restore process.
The log file contains this key in the content hash.
A string value.
null
queue
string
The process that the system performed on the account.
The log file contains this key in the content hash.
TRANSFER
RESTORE
RESTORE
skipped_items
integer
The items in the account that the transfer or restore process skipped.
The log file contains this key in the content hash.
A positive integer.
1
warnings
integer
The number of warnings that the system returned during the transfer or restore process.
The log file contains this key in the content hash.
A positive integer.
2
FTP
FTP Files
/etc/apache2/logs/domlogs/ftpxferlog
This file contains the FTP transfer logs for users on webservers that run EasyApache 4.
user
user1
user2
FTP Directories
/etc/apache2/logs/domlogs
This directory contains the FTP transaction logs for domains which exist on webservers that run EasyApache 4.
domain1/
example.com
domain1.com
domain1.com-bytes_log
Mail
Mail Files
/home/USER/.z-push/log/z-push.log
This file contains the account’s Z-Push - ActiveSync Support logs. The Z-Push - ActiveSync Support plugin allows users to sync cPanel calendars, contacts, and email on Android™ devices.
01/06/2021 21:08:43 [2334][ INFO][user1@example.com] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 880 seconds)
01/06/2021 21:08:47 [2344][ INFO][user1@example.com] BackendIMAP->GetMessageList('INBOX','0000000000'): 0 result for the search or error: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
/var/log/maillog (Red Hat-based servers) or /var/log/mail.log (Ubuntu servers)
This file contains entries from Dovecot that include IMAP and POP3 login attempts and local mail delivery attempts. You can enable Additional Dovecot logging that adds more detailed transaction logs. This log also contains Apache SpamAssassin scores.
Nov 310:21:30 vm5 dovecot: imap(__cpanel__service__auth__imap__orpl7flalajte5t7ahgq2joard0s3szcmltatifzmb_iqvmragspbfcr3dkrhmzd): Disconnected: Logged out in=11, out=434, bytes=11/434__
Mail Directories
/var/spool/exim/input
This directory contains a log of queued incoming email messages. The system separates these logs in to subdirectories that correspond to the number or letter with which the sender’s name begins.
1WEayg-0011QH-IC-D
1XABSg-003GTw-28-D
1XDGag-001MGL-6R-D
1XGLEg-0032BQ-6A-D
1XJn6g-001kuC-5n-D
1YPpqg-001CeH-Gf-D
1WEayg-0011QH-IC-H
1XABSg-003GTw-28-H
1XDGag-001MGL-6R-H
1XGLEg-0032BQ-6A-H
1XJn6g-001kuC-5n-H
1YPpqg-001CeH-Gf-H
/usr/local/cpanel/3rdparty/mailman/logs
This directory contains the account’s Mailman logs.
./../ bounce error locks mischief post qrunner smtp smtp-failure subscribe vette
Memory usage
/var/log/dcpumon/YYYY/MMM/DD
This file contains information about the processes that consume the most CPU and memory.
YYYY represents a subdirectory that contains a process’s logs by month.
MMM represents a subdirectory within the YYYY directory that contains a process’s logs for each day of a month.
DD represents a subdirectory that contains a process’s log for a specific day of the month.
Note:
To interpret the data, use the /usr/local/cpanel/bin/dcpumonview file.
root=5.87086377309829=24.591731611285=2=90.5=/usr/lib/rpm/rpmd --rebuilddb--verbose--verbose--verbose=43.0=cpanellogd - waiting for child to process logs=41.0=/usr/bin/python /usr/sbin/statsnotifer check-admin
/var/log/munin
This file contains the account’s Munin logs. Munin is a plugin that displays information about CPU, Exim, Apache, MySQL usage, and other information with the rrdtool utility.
munin-html.log
munin-limits.log
munin-update.log
MySQL
/var/log/mysqld.log
This file contains information about the cPanel account’s MySQL databases and errors in MySQL 5.7 and later and MariaDB 10.3 and later.
1510302:57:10 [Note] InnoDB: Waiting for purge to start
1510302:57:10 [Note] Plugin 'FEEDBACK' is disabled.
1510302:57:10 [Note] Server socket created on IP: '::'.
1510302:57:11 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.0.22-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
Webservers
Apache
Note:
If your system manages many domains, we recommend that you enable piped logging to reduce the number of log files that Apache manages. Piped logging allows you to pipe Apache access logs to a separate process so that Apache does not need to restart every time that it processes the logs.
You can enable piped logging in the Piped Log Configuration section of WHM’s Apache Configuration interface (WHM » Home » Service Configuration » Apache Configuration).
/etc/apache2/logs/domlogs/USER
This directory contains the log data for the user’s account, which exists on a webserver that runs EasyApache 4.
The system creates this directory when the cPanel Log Rotation Configuration (cpanellogd) daemon compresses and archives the data that resides in the /etc/apache2/logs/domlogs/domain-ssl_log and the /etc/apache2/logs/domlogs/domain files. This process begins when the /usr/local/cpanel/scripts/upcp script runs and the system analyzes the log data.
Note:
You can also perform this process for individual users with the /usr/local/cpanel/scripts/runweblogs command.
The system also performs the following actions:
Adds a link to the /etc/apache2/logs/domlogs/USER directory in the /home/USER/access_logs directory.
Adds a symlink to the log data backup file in the user’s /home/USER/logs directory during the archive process.
This symlink allows you to access this file while the system archives the file.
The symlink’s name reflects the log file’s name, and may contain a .bkup file extension.
This file contains the log information for ModSecurity®.
Important:
If the Apache MPM_ITK module or Mod_Ruid2 is enabled, you can access the logs in the /etc/apache2/logs/modsec_audit/USER directory.
ModSecurity: Audit log: Failed to lock global mutex: Identifier removed [hostname "www.somedomain.co.uk"][uri "/index.<a href="http://endlessgeek.com/glossary/php/" title="Glossary: PHP" data-tooltip="PHP Hypertext Processor - originally Personal Home Page" class="glossaryLink ">php</a>"][unique_id "U61fRE1KBCIADWZddE8AAAAP"]
/var/log/apache2/suexec_log
This file contains information about suEXEC audit logs. This is useful, for example, to diagnose internal server errors that do not produce relevant information in the error log.
Note:
You can also view Apache’s error logs in cPanel’s Errors interface (cPanel » Home » Metrics » Errors).
[Wed Nov 04 09:55:01 2015][error][client 127.0.0.1] ModSecurity: Warning. Operator GE matched 5 at TX:inbound_anomaly_score. [file "/usr/local/apache/conf/modsec_vendor_configs/OWASP/rules/RESPONSE-80-CORRELATION.conf"][line "35"][id "981204"][msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5): Request Missing a User Agent Header"][tag "Host: "][hostname "example.com"][uri "/whm-server-status"][unique_id "VjoqVQoBZCMAA7qYOM4AAAAF"]
/var/log/apache2/suphp_log
This file contains information about the suPHP Apache module audit logs. This is useful, for example, to diagnose internal server errors that do not produce relevant information in the error log.
[Sat Sep 1222:16:39 2015][info] Executing "/home/test/public_html/member.php" as UID563, GID 563
[Sat Sep 1222:16:39 2015][info] Executing "/home/test/public_html/member.php" as UID563, GID 563
[Sat Sep 1222:16:42 2015][info] Executing "/home/test/public_html/forums/index.php" as UID554, GID 554
[Sat Sep 1222:16:43 2015][info] Executing "/home/test/public_html/member.php" as UID563, GID 563
[Sat Sep 1222:16:43 2015][info] Executing "/home/test/public_html/forums/index.php" as UID554, GID 554
[Sat Sep 1222:16:43 2015][info] Executing "/home/test/public_html/forums/index.php" as UID554, GID 554
[Sat Sep 1222:16:43 2015][info] Executing "/home/test/public_html/forums/index.php" as UID554, GID 554
/var/log/apache2/mod_jk.log
This file contains the Tomcat connection logs.
[Mon Dec 07 12:49:33 2015][1234:274957687980737][info] ajp_handle_cping_cpong::jk_ajp_common.c (913): timeoutin reply
[Mon Dec 07 12:49:33 2015][8534:1058674928674576][info] ajp_handle_cping_cpong::jk_ajp_common.c (913): timeoutin reply
/var/log/apache2/error_log
This file contains the error logs for webservers and CGI Applications.
[WedNov0409:55:012015][error][client 127.0.0.1]ModSecurity:Warning.OperatorGE matched 5 at TX:inbound_anomaly_score.[file "/usr/local/apache/conf/modsec_vendor_configs/OWASP/rules/RESPONSE-80-CORRELATION.conf"][line "35"][id "981204"][msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5): Request Missing a User Agent Header"][tag "Host: "][hostname "example.com"][uri "/whm-server-status"][unique_id "VjoqVQoBZCMAA7qYOM4AAAAF"]