Cpanel Error Log Command Line
Contents |
DOMAINS WEB DESIGN WEB DESIGN SERVICES CREATE YOUR OWN WEBSITE SITE HOSTING TOOLS MEET US MEET
Cpanel Command Line Scripts
US ABOUT US PARTNERS & AWARDS BLOG WE'RE HIRING CONTACT cpanel command line suspend account US AMP LOGIN SUPPORT CENTER Search Support Center Product Guides Dedicated Hosting Reseller Hosting cpanel command line backup KnowledgeBase Website Email Domain Names Reseller Billing Community Support Browse Questions Ask a Question User Submitted Articles Education Channels Android BoldGrid cPanel DokuWiki
Cpanel Command Line Create Account
Drupal 7 Drupal 8 Everything Email Joomla 2.5 Joomla 3.1 K2 Magento 1.6 Mambo MediaWiki Moodle Movable Type OpenCart OpenCart 2.0 osCommerce PHP-Fusion PHP-Nuke phpBB phpList Premium Website Builder PrestaShop 1.5 PrestaShop 1.6 SMF Tiki Wiki VirtueMart 3 Web Hosting Manager Website Design WordPress Tools &
Cpanel Version Command Line
Resources Email Configuration Blacklist Check Visual DNS Lookup Quick Tagger Icon Sets Favicon Generator Bounce Back Parser What is my IP address? >>Website .htaccess (17)Adobe Flash (2)APIs (2)Backup and Restore (15)Billing (8)Browser Issues (2)Connecting to a Database (5)cPanel (26)cPanel Account Management (16)Cron Jobs (4)Cube Cart (2)Database Setup (5)Database Troubleshooting (6)Domain Management (2)Dreamweaver (12)Drush (2)eCommerce (7)Elasticsearch (4)Fantastico (4)File Management (16)File Manager (6)FTP (10)FTP Client Setup (21)General Server Setup / Management (15)Getting Started Guides (18)Ghost (3)Google Tools (21)How To (23)HTML (2)Image Editing (2)IP Addresses (3)iWeb (1)JavaScript (2)Joomla (10)Joomla 2.5 (36)Koken (11)Linux (27)Logaholic (5)Magento (2)Maintaining Your Website (1)Managing Files (7)Microsoft FrontPage (11)Microsoft Publisher (1)ModSecurity (7) MODx (3)New Customers (7)Open Classifieds (1)PCI Compliance (7)PHP (15)PHP Configuration (7)PHP Troubleshooting (6)phpBB (25)phpMyAdmin (10)Premium Website Builder (22)Prestashop (1)Protecting Files (5)Publishing Your Site (2)Python (1)Redirects (4)Restricting Bots (5)Search Engine Optimization (1)Secure Socket Layer (SSL) Tutorials (1
Knowledge BasePagesBlogTagsPage tree Browse pagesConfigureSpace tools Attachments (0) Page History Page Information Resolved comments Link update cpanel command line to this Page… View in Hierarchy View Source Export to
Restart Cpanel Command Line
PDF Export to Word Pages cPanel Knowledge Base The cPanel Product Skip to end of banner cpanel easyapache command line JIRA links Go to start of banner The cPanel Log Files Skip to end of metadata Created by Doc User, last modified on Aug 10, 2016 http://www.inmotionhosting.com/support/website/getting-started-guides/cpanel-logs-for-access-apache-email-error-ftp-mysql-whm Go to start of metadata We last updated this page on: Aug 10, 2016 09:59 OverviewThis 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.The directories and files in this document reflect unaltered configurations on CentOS, https://confluence2.cpanel.net/display/CKB/The+cPanel+Log+Files CloudLinux™, RedHat Enterprise Linux (RHEL), and Amazon Linux. Note: You can alter a log file's location with a configuration file. GeneralFilepathDescriptionExample/var/log/messagesThis directory contains the login attempts and general error messages for the following services:FTPThe nameserver daemons (named or nsd).MyDNSThe SSH daemon (sshd).The Courier mail server. Warning: We removed the Courier mail server in cPanel & WHM version 54. The Courier mail server only exists for cPanel & WHM version 11.52 and earlier.The Dovecot mail server.Apache SpamAssassin™. Click to view... Nov 3 08:41:10 vm5 proftpd[684684]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session opened. Nov 3 08:41:10 vm5 proftpd[684684]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session closed. Nov 3 08:46:12 vm5 proftpd[684753]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session opened. Nov 3 08:46:12 vm5 proftpd[684753]: 10.1.100.35 (127.0.0.1[127.0.0.1]) - FTP session closed. cPanel & WHM servicesFilesThe following table lists the log files for cPanel & WHM.FilepathDescriptionExample/usr/local/cpanel/logs/access_logThis file contains records of when a cPanel & WHM user accesses their account. Click to view... 192.168.0.20 - - [10/21/1985:16:42:23 -0000] "GE
Knowledge BasePagesBlogPage tree Browse pagesConfigureSpace tools Attachments (0) Page History Page Information Resolved comments Link to this Page… View in Hierarchy View Source Export to https://documentation.cpanel.net/display/CKB/cPHulk+Management+on+the+Command+Line PDF Export to Word Pages cPanel Knowledge Base Security Skip to end of https://documentation.cpanel.net/display/CKB/How+to+Restart+Services banner JIRA links Go to start of banner cPHulk Management on the Command Line Skip to end of metadata Created by Doc User, last modified on Aug 08, 2016 Go to start of metadata OverviewThis document describes how to manage cPHulk from the command line.Note: You can also manage cPHulk with command line WHM's cPHulk Brute Force Protection interface (Home >> Security Center >> cPHulk Brute Force Protection).Manage cPHulkUse the following methods to manage cPHulk on your server.Important: The system requires several configuration changes in order to properly enable cPHulk. Therefor, we strongly recommend that you do not enable it from the command line. Instead, use WHM's cPHulk Brute Force Protection interface (Home >> Security Center cpanel command line >> cPHulk Brute Force Protection) to enable cPHulk.Debug modeTo enable debug mode for cPHulk, run the following command: touch /var/cpanel/hulkd/debug Check cPHulk's statusTo check cPHulk's status, run the ps aux | grep -i cphulk command. The system will return output that resembles the following example: root 1501 0.0 0.4 34816 5076 ? S 07:58 0:00 cPhulkd - processor Note: In this example, the output indicates that cPHulk is enabled. Restart the cPHulk daemon (cphulkd)To restart the cphulkd daemon, perform either of the following actions:Perform a soft restart. To do this, run the following command: /scripts/restartsrv_cphulkd Perform a hard restart and force the system to flush the daemon's memory. To do this, run the following command: /scripts/restartsrv_cphulkd --stop; /scripts/restartsrv_cphulkd --start Disable cPHulkTo disable cPHulk via the command line, run the following commands: /usr/local/cpanel/etc/init/stopcphulkd /usr/local/cpanel/bin/cphulk_pam_ctl --disable To disable cPHulk to keep it offline, even after a restart of cPanel & WHM, remove the cPHulk touch file with the following command: rm /var/cpanel/hulkd/enabled Log filescPHulk stores its logs in the following files: /usr/local/cpanel/logs/cphulkd.log /usr/local/cpanel/logs/cphulkd_errors.log IP address managementAdd IP addresses to the whitelistTo add IP addresses to the whitelist from the command line
Knowledge BasePagesBlogPage tree Browse pagesConfigureSpace tools Attachments (0) Page History Page Information Resolved comments Link to this Page… View in Hierarchy View Source Export to PDF Export to Word Pages cPanel Knowledge Base General System Administration Skip to end of banner JIRA links Go to start of banner How to Restart Services Skip to end of metadata Created by Unknown User (syncuser), last modified by Doc User on Aug 15, 2016 Go to start of metadata OverviewThis document describes several methods to restart the services (often daemons) on your server. Daemons are small processes that run in the background of your server.You may wish to restart a service if, for example, you changed a service’s configuration, or if the service experiences problems.Note: Whenever you change the server's hostname, you must use one of the following methods:Enter the new hostname in the Setup Networking section of WHM's Initial Setup Wizard interface.Use WHM's Change Hostname interface (Home >> Networking Setup >> Change Hostname).Call WHM API 1's sethostname function.Run the /usr/local/cpanel/bin/set_hostname utility as the root user.These methods ensure that all of the necessary system and service changes occur.Important: If you update your hostname, the system blocks user access to the following interfaces and services:Horde WebmailCalendars and Contacts (CalDAV/CardDAV)The system restores access to these interfaces and services after the hostname update completes. For more information, read ourInterface Lock Scriptsdocumentation.Restart services in the WHM interfaceUnless problems prevent this, you can restart most services in WHM's Restart Services interface (Home >> Restart Services).Restart services from the command lineImportant: If you use IPv6, the service network restart command will remove the IPv6 addresses from the network device. To restart your IPv6 configuration after you run the service network restart command, you must run the appropriate command for your version of cPanel & WHM:For cPanel & WHM version 11.52 and earlier, run the /etc/init.d/cpipv6 restart command after you restart the network service. For cPanel & WHM version 54 and later, run the /scripts/restartsrv_cpipv6 command after you restart the network service.Use the restartsrv scriptIf a service will not restart from WHM, use the /usr/local/cpanel/scripts/restartsrv service command to attempt to restart the service from the command line. When you run this command, replace service with the correct va