مرکز آموزش

نحوه پیدا کردن ایرادها در هاست های سی پنل

cPanel/WHM Initial Installation Errors:Location : /var/log/cpanel*install*Description : These log files contain cPanel installation logs & should be referenced first for any issues resulting from new cPanel installations..Quote:Cpanel/WHM Service Status Logs:Location : /var/log/chkservd.logDescription :The service monitoring demon (chkservd) logs all service checks here. Failed service are represented with a [-] and active services are represented by [+].Quote:Cpanel/WHM Accounting Logs:Location : /var/cpanel/accounting.logDescription : Contains a list of accounting functions performed through WHM, including account removal and creation..

cPanel/WHM Specific Requests and Errors:

Quote:cPanel error logs:Location : /usr/local/cpanel/logs/error_logDescription : cPanel logs any error it incurs here. This should be checked when you encounter errors or strange behavior in cPanel/WHM…Quote:cPanel License Error Logs:Location : /usr/local/cpanel/logs/license_logDescription : All license update attempts are logged here. If you run into any errors related to license when logging in, check here.Quote:Stats Daemon Logs:Location : /usr/local/cpanel/logs/stats_logDescription : The stats daemon (cpanellogd) logs the output from all stats generators (Awstats, Webalizer, Analog) here.Quote:Client Information, Requested URL Logs:Location : /usr/local/cpanel/logs/access_logDescription : General information related to access cPanel requests is logged here.Quote:cPanel/WHM Update Logs:Location : /var/cpanel/updatelogs/update-[TIMESTAMP].logDescription : Contains all output from each cPanel update [upcp]. It’s named with the timestamp at which the upcp process was initiated..Quote:Bandwidth Logs:Location : /var/cpanel/bandwidthDescription : Files contain a list of the bandwidth history for each account. Each named after their respective user.Quote:Tailwatchd [New]:Location : /usr/local/cpanel/logs/tailwatchd_logDescription : Logs for daemon configuired under tailwatchd ie. cPBandwd, Eximstats, Antirelayd.

Apache Logs:

Quote:General Error and Auditing Logs:Location : /usr/local/apache/logs/error_logDescription : All exceptions caught by httpd along with standard error output from CGI applications are logged here..The first place you should look when httpd crashes or you incur errors when accessing website.Quote:Apache SuExec Logs:Location : /usr/local/apache/logs/suexec_logDescription : Auditing information reported by suexec each time a CGI application is executed. Useful for debugging internal server errors, with no relevant information being reported to the Apache error_log, check here for potential suexec policy violations…Quote:Domain Access Logs:Location : /usr/local/apache/domlogs/domain.comDescription : General access log file for each domain configured with cPanel.Quote:Apache Access Logs:Location : /usr/local/apache/logs/access_logDescription : Complete web server access log records all requests processed by the server.Exim :

Quote:Message Reception and Delivery:Location : /var/log/exim_mainlog or /var/log/exim/mainlogDescription : Receives an entry every time a message is received or delivered.Quote:Exim ACLs/Policies based RejectLog :Location : /var/log/exim_rejectlogDescription : An entry is written to this log every time a message is rejected based on either ACLs or other policies eg: aliases configured to :failQuote:Unexpected or Fatal Errors:Location : /var/log/exim_paniclogDescription : Logs any entries exim doesn’t know how to handle. It’s generally a really bad thing when log entries are being written here, and they should be properly investigated..Quote:IMAP/POP/SpamAssassin General Logging and Errors:Location : /var/log/maillog & /var/log/messagesDescription : The IMAP, POP, and SpamAssassin services all log here. This includes all general logging information (login attempts, transactions, spam scoring), along with fatal errors.

FTP:

Quote:FTP Logins and General Errors:Location : /var/log/messagesDescription : General information and login attempts are logged here..Quote:FTP Transactions logging:Location : /var/log/xferlog or /var/log/messagesDescription : Is a symbolic link in most cases to /usr/local/apache/domlogs/ftpxferlog, which contains a history of the transactions made by FTP users…

MySQL:

Quote:MySQL General Information and Errors :Location : /var/lib/mysql/$(hostname).errDescription : This path could vary, but is generally located in /var/lib/mysql. Could also be located at /var/log/mysqld.log

Security:

Quote:Authentication attempts:Location : /var/log/secureDescription : Logs all daemons which requires PAM Authentication.Quote:Tracking all Bad Logins and Logouts:Location : /var/log/btmpDescription : Log of all attempted bad logins to the system. Accessed via the lastb command..Quote:Tracking all Logins and Logouts:Location : /var/log/wtmpDescription : The wtmp file records all logins and logouts.Quote:Last Logins:Location : /var/log/lastlogDescription : Database times of previous user logins. The lastlog file is a database which contains info on the last login of each user.Quote:WebDav or WebDisk Log :Location : /usr/local/cpanel/logs/cpdavd_error_logDescription : The cpdavd daemon is “WebDav” (better known as “WebDisk”) which was introduced in cPanel 11 to allow users to mount their home directory on their personal computer, always having access to the files and content…Quote:Cphulkd Logs:Location : /usr/local/cpanel/logs/cphulkd_errors.logDescription : cPHulk Brute Force Protection prevents malicious forces from trying to access your server’s services by guessing the login password for that service….It blacklists IPs that it thinks are trying to run a brute force attack.Quote:Failure Logging:Location : /var/log/faillogDescription : Faillog formats the contents of the failure log from /var/log/faillog database. It also can be used for maintains failure counters and limits. Run faillog without arguments display only list of user faillog records who have ever had a login failure.Quote:Startup/Boot, Kernel & Hardware error messages :Location : /var/log/dmesgDescription : dmesg is a “window” into the kernels ring-buffer. It’s a message buffer of the kernel. The content of this file is referred to by the dmesg command. It shows bootlog and the hardware errors..