在LinuxI luga o le 'auʻaunaga, faʻaauau pea le tautua, mo le upega tafaʻilagiSeoTaua tele.
CWP Pulea VaegaO le a fesoasoani ia te oe i meafaigaluega mata'ituina auaunaga.
E fa'afefea ona fa'agaoioi le ServicesMonitor (systemd) ile CWP control panel?
Ina ia mafai ona mataituina auaunaga ile CWP:
- fesootai i lauCWPFa'apipi'i
- Su'eAu'aunaga Config->ServicesMonitor( faatulagaga )选项
- Filifili/ulufale:
Faʻamālō / Faʻamālō--O lenei mea o le a mafai ai / faʻamalo ai le mataʻituina o auaunaga.
Email fa'amatalagaAuina atu i - Ulufale i le tuatusi imeli e te maua ai faʻamatalaga.
Siaki uma——O le va o taimi i le va o siaki e lua - Filifili le auaunaga e te manaʻo e mataʻituina, mo se faʻataʻitaʻiga: mariadb.service, monit.service
- kilikiAuina atufaamau. O le a e va'ai i se fe'au fa'amaonia:
Service Monitoring is not enabled Enabling monitoring in cron MAILTO=cwp1@ chenweilaing.com */15 * * * * root /usr/local/bin/svcMonitor-systemd Monitoring Enabled: Yes
Manatua:
- Fuaiuputulaga systemdauaunaga o
Unknown
,E le aoga le mata'ituina mo auaunaga. - O 'au'aunaga na filifilia e mata'ituina o le a fa'asaoina i le faila
/usr/local/etc/services-monitor-systemd
i totonu - Mataituina galuega cron e mafai ona faia i le faila
/etc/cron.d/svcMonitor-systemd
Teleauai.
E mafai foi ona e pasichkconfigPoloaiga e fa'aopoopo/ave'ese 'au'aunaga ma le lima:
chkconfig service_name on
chkconfig service_name off
Mo se faʻataʻitaʻiga, a faʻaogaina uma auaunaga avanoa, o le a matou faʻaalia feʻau cron e pei o:
From: (Cron Daemon) <[email protected]> Subject: Cron <root@cwp1> /usr/local/bin/svcMonitor-systemd Restarted service amavisd.service on cwp1 at Sat Mar 31 01:00:01 EDT 2018 Job for amavisd.service failed because the control process exited with error code. See “systemctl status amavisd.service” and “journalctl -xe” for details. Restarted service arp-ethers.service on cwp1 at Sat Mar 31 01:00:03 EDT 2018 Restarted service [email protected] on cwp1 at Sat Mar 31 01:00:04 EDT 2018 Failed to stop [email protected]: Unit name [email protected] is missing the instance name. See system logs and ‘systemctl status [email protected]‘ for details. Failed to get load state of [email protected]: Unit name [email protected] is missing the instance name. Failed to start [email protected]: Unit name [email protected] is missing the instance name. See system logs and ‘systemctl status [email protected]‘ for details. Restarted service console-shell.service on cwp1 at Sat Mar 31 01:00:05 EDT 2018 Restarted service garb.service on cwp1 at Sat Mar 31 01:00:06 EDT 2018 Restarted service [email protected] on cwp1 at Sat Mar 31 01:00:07 EDT 2018 Failed to stop [email protected]: Unit name [email protected] is missing the instance name. See system logs and ‘systemctl status [email protected]‘ for details. Failed to get load state of [email protected]: Unit name [email protected] is missing the instance name. Failed to start [email protected]: Unit name [email protected] is missing the instance name. See system logs and ‘systemctl status [email protected]‘ for details. Restarted service ntalk.service on cwp1 at Sat Mar 31 01:00:09 EDT 2018 Job for ntalk.service failed because a configured resource limit was exceeded. See “systemctl status ntalk.service” and “journalctl -xe” for details. Restarted service rdisc.service on cwp1 at Sat Mar 31 01:00:10 EDT 2018 Job for rdisc.service failed because the control process exited with error code. See “systemctl status rdisc.service” and “journalctl -xe” for details. Restarted service [email protected] on cwp1 at Sat Mar 31 01:00:17 EDT 2018 Failed to stop [email protected]: Unit name [email protected] is missing the instance name. See system logs and ‘systemctl status [email protected]‘ for details. Failed to get load state of [email protected]: Unit name [email protected] is missing the instance name. Failed to start [email protected]: Unit name [email protected] is missing the instance name. See system logs and ‘systemctl status [email protected]‘ for details. Restarted service svnserve.service on cwp1 at Sat Mar 31 01:00:18 EDT 2018 Job for svnserve.service failed because the control process exited with error code. See “systemctl status svnserve.service” and “journalctl -xe” for details. Restarted service tcsd.service on cwp1 at Sat Mar 31 01:00:19 EDT 2018 Job for tcsd.service failed because the control process exited with error code. See “systemctl status tcsd.service” and “journalctl -xe” for details. Restarted service vzfifo.service on cwp1 at Sat Mar 31 01:00:20 EDT 2020
O le CWP control panel e mafai ai e ServicesMonitor (systemd) aʻoaʻoga vitio
O lo'o i lalo le auala e mafai ai ona mata'ituina le tautua ServicesMonitor (systemd) i le CWP control panel i lenei tusigaYouTubeVitio A'oa'oga▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) faʻasoa "Faʻafefea ona Faʻaagaoioia Auaunaga Mataʻituina Auaunaga (systemd) ile CWP Control Panel", lea o le a fesoasoani ia te oe.
Fa'afeiloa'i e fa'asoa le so'otaga o lenei tusitusiga:https://www.chenweiliang.com/cwl-1414.html
Faʻafeiloaʻi i le Telegram channel o le blog a Chen Weiliang e maua ai faʻamatalaga lata mai!
📚 O lenei taʻiala o loʻo i ai le taua tele, 🌟O se avanoa e seasea maua, aua le misia! ⏰⌛💨
Faasoa ma fiafia pe a e fiafia i ai!
O lau fefa'asoaa'i ma le fiafia o la matou fa'aosofiaga faifaipea!