{"id":85048,"date":"2022-11-01T10:11:44","date_gmt":"2022-11-01T09:11:44","guid":{"rendered":"https:\/\/www.avanet.com\/kb\/how-to-restart-services-on-sophos-firewall\/"},"modified":"2022-11-01T10:30:25","modified_gmt":"2022-11-01T09:30:25","slug":"how-to-restart-services-on-sophos-firewall","status":"publish","type":"kb","link":"https:\/\/www.avanet.com\/en\/kb\/how-to-restart-services-on-sophos-firewall\/","title":{"rendered":"How to restart Services on Sophos Firewall"},"content":{"rendered":"\n<p>Even a Sophos Firewall is just a operating system on a piece of hardware. And like any other operating system, there are security vulnerabilities, updates or services that can hang, although this is very rarely the case with the Sophos Firewall. <\/p>\n\n<p>In this article I explain how to restart a service on the firewall.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-web-admin-gui\">Web Admin GUI<\/h2>\n\n<p>Some services can be restarted by using the Web Admin GUI. It should be self-explanatory how this works. <\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1905\" data-id=\"85021\" src=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-scaled.jpg\" alt=\"Sophos Firewall Web Admin GUI Services\" class=\"wp-image-85021\" srcset=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-scaled.jpg 2560w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-scaled-64x48.jpg 64w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-300x223.jpg 300w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-1024x762.jpg 1024w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-768x571.jpg 768w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-1536x1143.jpg 1536w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-2048x1524.jpg 2048w, https:\/\/www.avanet.com\/assets\/sophos-firewall-wegadmin-services-600x446.jpg 600w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><\/figure>\n<\/figure>\n\n<p>However, you cannot restart all firewall services via the browser and therefore there is still the way via the console.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-firewall-konsole-ssh\">Firewall Console (SSH)<\/h2>\n\n<p>To get full control, you can log on to the firewall&#8217;s Advanced Shell by SSH.<\/p>\n\n<p>Secondly, you need a list of all services that are available on the firewall.\nFor this purpose, there is a list <a href=\"https:\/\/docs.sophos.com\/nsg\/sophos-firewall\/19.0\/Help\/en-us\/webhelp\/onlinehelp\/AdministratorHelp\/Logs\/LogFileDetails\/index.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Log file details<\/a> with the name of the services in the Sophos KB. <\/p>\n\n<p>However, you can also show all services with the following command on the Advanced Shell:<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1803\" data-id=\"85036\" src=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-scaled.jpg\" alt=\"\" class=\"wp-image-85036\" srcset=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-scaled.jpg 2560w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-scaled-64x45.jpg 64w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-300x211.jpg 300w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-1024x721.jpg 1024w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-768x541.jpg 768w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-1536x1082.jpg 1536w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-2048x1442.jpg 2048w, https:\/\/www.avanet.com\/assets\/sophos-firewall-advanced-shell-service-list-600x423.jpg 600w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption>Sophos Firewall Advanced Shell (service -S)<\/figcaption><\/figure>\n<\/figure>\n\n<pre class=\"wp-block-code\"><code>service -S<\/code><\/pre>\n\n<p>However, since you may not know what the <em>zebra<\/em> service does exactly, the list in the Sophos KB: <a href=\"https:\/\/docs.sophos.com\/nsg\/sophos-firewall\/19.0\/Help\/en-us\/webhelp\/onlinehelp\/AdministratorHelp\/Logs\/LogFileDetails\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">Log file details<\/a> will help. Here you will see that it is the <em>static routing service<\/em>.<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-1024x593.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"593\" data-id=\"85041\" src=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-1024x593.jpg\" alt=\"\" class=\"wp-image-85041\" srcset=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-1024x593.jpg 1024w, https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-64x37.jpg 64w, https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-300x174.jpg 300w, https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-768x445.jpg 768w, https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list-600x348.jpg 600w, https:\/\/www.avanet.com\/assets\/sophos-firewall-kb-service-list.jpg 1436w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"h-firewall-service-neu-starten\">Restart firewall service<\/h2>\n\n<p>If you want to restart this zebra service, you can do so with the following command:<\/p>\n\n<pre class=\"wp-block-code\"><code>service -ds nosync zebra:restart<\/code><\/pre>\n\n<p>If the service is to be stopped and restarted first, there are two individual commands for this as well.<\/p>\n\n<pre class=\"wp-block-code\"><code>service zebra:stop -dsnosync<\/code><\/pre>\n\n<pre class=\"wp-block-code\"><code>service zebra:start -dsnosync<\/code><\/pre>\n\n<h2 class=\"wp-block-heading\" id=\"h-firewall-service-status\">Firewall Service Status<\/h2>\n\n<p>We stay with the Zebra service and now we want to check what the status is, for example, to find out if it is running:<\/p>\n\n<pre class=\"wp-block-code\"><code>service zebra:status -dsnosync<\/code><\/pre>\n\n<h2 class=\"wp-block-heading\" id=\"h-weitere-beispiele-fur-haufig-verwendete-services\">Other examples of frequently used services<\/h2>\n\n<p>Here are some sample commands to restart some other services. If you do not have the Web Admin GUI running, you can restart it as follows: <a href=\"https:\/\/www.avanet.com\/en\/kb\/how-to-restart-sophos-firewall-web-admin-gui\/\">Restart Sophos Firewall Web Admin GUI<\/a> <\/p>\n\n<h3 class=\"wp-block-heading\" id=\"h-wireless-controller-neu-starten\">Restart Wireless Controller<\/h3>\n\n<pre class=\"wp-block-code\"><code>service awed:stop -dsnosync\nservice awed:start -dsnosync<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\" id=\"h-smtp-service-neu-starten\">Restart SMTP Service<\/h3>\n\n<pre class=\"wp-block-code\"><code>service -ds nosync smtpd:restart<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\" id=\"h-vpn-ipsec-service-neu-starten\">Restart VPN IPsec Service<\/h3>\n\n<pre class=\"wp-block-code\"><code>service -ds nosync strongswan:restart<\/code><\/pre>\n","protected":false},"author":5,"featured_media":0,"parent":0,"template":"","format":"standard","kb_kategorie":[382],"class_list":["post-85048","kb","type-kb","status-publish","format-standard","hentry","kb_kategorie-sophos-firewall"],"blocksy_meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/kb\/85048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/users\/5"}],"wp:attachment":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/media?parent=85048"}],"wp:term":[{"taxonomy":"kb_kategorie","embeddable":true,"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/kb_kategorie?post=85048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}