Host services

systemctl {start|stop|status} <service>

Start, stop or inspect a service. Server: httpd (on by default), named (DNS), ntpd, tftpd, vsftpd (FTP), rsyslog. Printer: cups, httpd. NAS: smbd, vsftpd, httpd.

Works on: Server, Printer, NASMode: shell

Example

SRV1# systemctl start named
Watch out

A stopped service makes clients see 'Connection refused' — different from a timeout, which means the packet never got there or back.

Run this command live

Don't just read it — type systemctl {start|stop|status} <service> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "systemctl {start|stop|status} <service>" command do?

Start, stop or inspect a service. Server: httpd (on by default), named (DNS), ntpd, tftpd, vsftpd (FTP), rsyslog. Printer: cups, httpd. NAS: smbd, vsftpd, httpd.

What's the common gotcha with "systemctl {start|stop|status} <service>"?

A stopped service makes clients see 'Connection refused' — different from a timeout, which means the packet never got there or back.

Example of "systemctl {start|stop|status} <service>"

SRV1# systemctl start named

More Host services commands

← Back to the full command reference