{"id":1172,"date":"2017-04-12T08:31:42","date_gmt":"2017-04-12T08:31:42","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=1172"},"modified":"2021-03-17T18:37:46","modified_gmt":"2021-03-17T18:37:46","slug":"restart-services-in-cpanel-whm","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/restart-services-in-cpanel-whm\/","title":{"rendered":"How to restart services in cPanel WHM and SSH"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1172\" class=\"elementor elementor-1172\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b052fa3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b052fa3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-56a962e\" data-id=\"56a962e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-10907de elementor-widget elementor-widget-text-editor\" data-id=\"10907de\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>This article show how to Restart Service in cPanel from interface or using SSH command line<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5650b2b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5650b2b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-17627ab\" data-id=\"17627ab\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-88891d9 elementor-widget elementor-widget-heading\" data-id=\"88891d9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Restart Service in cPanel HWM<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-41c6d626 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"41c6d626\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-470590b\" data-id=\"470590b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5fe82ac9 elementor-widget elementor-widget-text-editor\" data-id=\"5fe82ac9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>WHM allows you to restart the basic services included in hosting server , Most common of those services are:<\/p>\n<ol>\n\t<li><b>DNS Server<\/b>: translates domain names to IP addresses so browsers can load resources.<\/li>\n\t<li><b>FTP Server<\/b>:Standard communication protocol used for the transfer of computer files.<\/li>\n\t<li><b>(Apache) HTTP Server<\/b>:Most commonly used Web server on Linux systems.<\/li>\n\t<li><b>IMAP Server<\/b>:Internet Message Access Protocol.<\/li>\n\t<li><b>(Exim) Mail Server<\/b>: Is a mail transfer agent (MTA) used on Unix-like operating systems.<\/li>\n\t<li>(<b>Mailman) Mailing List Manager<\/b>:Is a system for managing electronic mailing lists.<\/li>\n\t<li><b>PHP-FPM service for Apache<\/b>:FastCGI Process Manager is a web tool used to speed up the performance of a website.<\/li>\n\t<li><b>SQL Server (MySQL)<\/b>:Is an open source relational database management system.<\/li>\n\t<li><b>(OpenSSH) SSH Server<\/b>:Is the premier connectivity tool for remote login with the SSH protocol that encrypts all traffic.<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-531a58f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"531a58f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2d5f660\" data-id=\"2d5f660\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b162039 elementor-widget elementor-widget-heading\" data-id=\"b162039\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">To Restart Service in cPanel for one of those services :\n\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c40f591 elementor-widget elementor-widget-text-editor\" data-id=\"c40f591\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n\t<li>Login to your <strong>WHM<\/strong> control panel.<\/li>\n\t<li>Navigate to <strong>Home<\/strong> \u00bb<strong>Restart Services<\/strong> .<\/li>\n\t<li>Select the service you want to restart as example&#8221;<strong>DNS Server<\/strong>&#8220;.<\/li>\n\t<li>You will get confirmation restart message &#8220;<em>Are you sure you wish to restart this service?<\/em>&#8221; , click <strong>Yes button<\/strong>.<\/li>\n\t<li>the service will restart and you will get <strong>service name restarted successfully<\/strong>.<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-608c538 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"608c538\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-872e155\" data-id=\"872e155\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-151bcfe elementor-widget elementor-widget-heading\" data-id=\"151bcfe\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Restart Services using SSH commands<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-24cd3b6 elementor-widget elementor-widget-text-editor\" data-id=\"24cd3b6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>There is two way to restart cPanel services from SSH command line<\/p>\n<ul>\n<li>The first is to use the service command to issue commands to the service you wish to work with. For example: <b>service httpd restart <\/b>This will issue a restart command to Apache.<\/li>\n<li>The second would be to directly interact with the init script on the server. An example of this would be, <b>\/etc\/init.d\/httpd restart <\/b>This will issue a restart command to Apache.<\/li>\n<\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b55b71 elementor-widget elementor-widget-code-highlight\" data-id=\"4b55b71\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>service httpd restart \n\/etc\/init.d\/httpd restart<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>This article show how to Restart Service in cPanel from interface or using SSH command line Restart Service in cPanel HWM WHM allows you to restart the basic services included in hosting server , Most common of those services are: DNS Server: translates domain names to IP addresses so browsers can load resources. FTP Server:Standard [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":302,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[164,29],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1172"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":67,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"predecessor-version":[{"id":3396,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1172\/revisions\/3396"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/302"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}