Search:
=Useful Debian systemd commands= ===Apache=== a2ensite (config file) a2dissite (config file) ... and then systemctl reload apache2 systemctl [start|stop] apache2 systemctl status systemctl status apache2 ===failed services=== See them with systemctl list-units --state=failed error messages with journalctl -u servicename.service systemctl edit apache2 # will edit the override file with nano systemctl restart postgrey 2022-02-21 it was reporting "notify-email@apache2.service" was down. clear it with systemctl reset-failed notify-email@apache2.service See the journal journalctl -u mariadb journalctl -u apache2 ==bind / dns== systemctl reload bind9 ==and iptables== To clear all iptables entries, first stop fail2ban, then clear, then restart fail2ban iptables --policy INPUT ACCEPT; iptables --policy OUTPUT ACCEPT; iptables --policy FORWARD ACCEPT; iptables -Z; # zero counters iptables -F; # flush (delete) rules iptables -X; # delete all extra chains
Summary:
This change is a minor edit.
To save this page you must answer this question:
What do you get when you remove the ARIS from Solaris?
Username: