{"id":5015,"date":"2019-06-17T10:15:01","date_gmt":"2019-06-17T08:15:01","guid":{"rendered":"https:\/\/assistance.groupemagiconline.com\/?post_type=ht_kb&#038;p=5015"},"modified":"2022-12-05T14:40:59","modified_gmt":"2022-12-05T13:40:59","slug":"serveur-ne-repond-pas","status":"publish","type":"ht_kb","link":"https:\/\/assistance.groupemagiconline.com\/en\/knowledge-base\/serveur-ne-repond-pas\/","title":{"rendered":"Server unreachable"},"content":{"rendered":"<header class=\"hkb-article__header\">\n<p style=\"text-align: justify;\">The following article describes how diagnostic is done in order to check private or dedicated server breakdown.<\/p>\n<p style=\"text-align: justify;\">Go to our works page first <a href=\"https:\/\/travaux.magic.fr\/\" target=\"_blank\" rel=\"noopener\">Magic Online<\/a>\u00a0or <a href=\"https:\/\/status.nuxit.com\/\" target=\"_blank\" rel=\"noopener\">Nuxit<\/a>\u00a0which contains details of all technical interventions and incidents. If there is no failure, follow the steps on this support article.<\/p>\n<h2 class=\"hkb-article__title\" style=\"text-align: justify;\">Server down<\/h2>\n<h3 class=\"sectionedit3\" style=\"text-align: justify;\">Check the server ip<\/h3>\n<\/header>\n<p class=\"sectionedit2\" style=\"text-align: justify;\">If one of the services, or your private server, seems to be malfunctioning, you should first check that it can be reached by the network:<\/p>\n<div class=\"level2\" style=\"text-align: justify;\">\n<p>Type the following command from a shell ( under windows \u2192 execute \u2192 cmd.exe):<\/p>\n<pre class=\"code\">ping<\/pre>\n<p>If the packets are not correctly transmitted, try to restart the server from the client area.<\/p>\n<\/div>\n<h3 class=\"sectionedit3\" style=\"text-align: justify;\">Check the DNS of the domain name<\/h3>\n<div class=\"level2\" style=\"text-align: justify;\">\n<p>A website reachable on the Internet implies that the name \u2192 IP association is functional:<\/p>\n<p>From the shell of your dedicated server, simply type the following command to verify that the recursion is working properly <acronym title=\"Domain Name System\">DNS <\/acronym>:<\/p>\n<pre class=\"code\">dig +short  @\r\n<\/pre>\n<p>The last IP of the result returned must be the IP of your dedicated server. If this is not the case, please check the renewal status of your domain in the customer area.<\/p>\n<\/div>\n<h2 class=\"hkb-article__title\" style=\"text-align: justify;\">Reachable server<\/h2>\n<h3 class=\"sectionedit3\" style=\"text-align: justify;\">Check disk quota<\/h3>\n<div class=\"level2\" style=\"text-align: justify;\">\n<p>Disk space saturation can cause server problems, making services unavailable.<\/p>\n<h3 class=\"sectionedit3\" style=\"text-align: justify;\">On a dedicated server or a private server<\/h3>\n<p>Run these commands online, from the CLI console:<\/p>\n<ul>\n<li class=\"level1\">\n<div class=\"li\">Disk space:<\/div>\n<\/li>\n<\/ul>\n<pre class=\"code\">df -h<\/pre>\n<ul>\n<li class=\"level1\">\n<div class=\"li\">Inodes:<\/div>\n<\/li>\n<\/ul>\n<pre class=\"code\">df -i<\/pre>\n<h3><span class=\"TextRun SCXW54107264 BCX0\" lang=\"FR-FR\" xml:lang=\"FR-FR\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW54107264 BCX0\" data-ccp-parastyle=\"heading 3\">Check the largest directory<\/span><\/span><span class=\"EOP SCXW54107264 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p>To determine where the data occupying your disk space is located you can type the following command:<\/p>\n<pre class=\"code\">cd \/\r\ndu -sh *<\/pre>\n<p>In case, for example, \/var occupies too much disk space move to the directory and reiterate the command :<\/p>\n<pre class=\"code\">cd \/var\r\ndu -sh *<\/pre>\n<p>And so on.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--danger\"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tDo not delete just any data to free up disk space. Instead, ask your system administrator, our support, or even Google for advice.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<\/div>\n<h3 class=\"sectionedit6\" style=\"text-align: justify;\">Display of used resources<\/h3>\n<div class=\"level2\">\n<p style=\"text-align: justify;\">From the shell type the following command:<\/p>\n<pre class=\"code\">htop<\/pre>\n<p style=\"text-align: justify;\">You will see a list of processes sorted by decreasing CPU usage, so the first process is the one that consumes the most CPU on your server. Usually the biggest consumer will be MySQL or Apache, but it can also be a process like a running backup or an action launched by Plesk on your system.<\/p>\n<p style=\"text-align: justify;\">The left column gives you the process ID of the process in question, if you feel that this process is not vital and hinders the proper functioning of your system you can kill it directly from top, by typing the letter k followed by the ID.<\/p>\n<p style=\"text-align: justify;\">You can also sort processes by decreasing RAM usage by typing the letter \"M\", so you can spot and kill a process that would monopolize all your physical memory.<\/p>\n<p style=\"text-align: justify;\">To exit top simply type the letter \"q\".<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>In this guide, we will see how to make a good diagnosis to check the source of a failure in the private or dedicated server. First go to our Magic Online or Nuxit works page which contains details of all technical interventions and incidents. If there is no failure, follow the steps...<\/p>","protected":false},"author":52,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[591,590],"ht-kb-tag":[667],"class_list":["post-5015","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-serveur-dedie-physique","ht_kb_category-serveur-prive-virtuel","ht_kb_tag-serveur-prive"],"_links":{"self":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb\/5015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/comments?post=5015"}],"version-history":[{"count":2,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb\/5015\/revisions"}],"predecessor-version":[{"id":11612,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb\/5015\/revisions\/11612"}],"wp:attachment":[{"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/media?parent=5015"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=5015"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/assistance.groupemagiconline.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=5015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}