日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > windows >内容正文

windows

zabbix cpu核数 windows_Zabbix的应用(6)----常见错误

發(fā)布時間:2024/9/15 windows 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 zabbix cpu核数 windows_Zabbix的应用(6)----常见错误 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

常見問題:

問題1:Service "sppsvc" (Software Protection) is not running (startup type automatic delayed)

方法1:Win+R → services.msc → 找到Software Protection →修改啟動(延遲啟動)為啟動模式 → 開啟服務(wù) 方法2(管理員運行cmd):> sc config sppsvc start= delayed-auto > sc start sppsvc

問題2:Service "clr_optimization_v4.0.30319_64" (Microsoft .NET Framework NGEN v4.0.30319_X64) is not running (startup type automatic delayed)
方法:Win+R → services.msc → 找到Software Protection →Microsoft .NET Framework NGEN v4.0.30319_X64

問題3:Windows 部分服務(wù)沒有開啟,如圖:

方法:(以管理員身份運行cmd) 鏈接:http://servicedefaults.com/7/shellhwdetection/ :

sc config ShellHWDetection start= auto sc start ShellHWDetection

問題4:zabbix connection to database 'zabbix' failed,具體錯誤如下:

$sudo vim /var/log/zabbix/zabbix_server.log1359:20180123:060245.885 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)1359:20180123:060245.885 database is down: reconnecting in 10 seconds1353:20180123:060246.221 error reason for "BU5-SERVER03:system.cpu.util[,softirq]" changed: Value "0.002084" of type "string" is not suitable for value type "Numeric (unsigned)"1353:20180123:060246.221 [Z3005] query failed: [2006] MySQL server has gone away [update items set error='Value "0.002084" of type "string" is not suitable for value type "Numeric (unsigned)"' where itemid=28366;$ sudo vim /var/log/mysql/error.log2018-01-23T00:25:39.741357Z 0 [Note] Shutting down slave threads2018-01-23T00:25:41.741476Z 0 [Note] Forcefully disconnecting 16 remaining clients2018-01-23T00:25:41.741527Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 20 user: 'zabbix'2018-01-23T00:25:41.741559Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 17 user: 'zabbix'2018-01-23T00:25:41.741575Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 22 user: 'zabbix'2018-01-23T00:25:41.741595Z 0 [Warning] /usr/sbin/mysqld: Forcing close of thread 18 user: 'zabbix'

從錯誤上看,zabbix無法鏈接mysql,導(dǎo)致日志鏈接不上(mysql.lock),而mysql同時被zabbix進程強制關(guān)閉,導(dǎo)致zabbix無法正常訪問,

$ sudo ll /var/lib/mysql/mysql.sockls: cannot access /var/lib/mysql/mysql.sock: No such file or directory $ sudo vim /etc/zabbix/zabbix_server.confDBSocket=/tmp/mysql.sock$ sudo find / -type f -name mysql.sockfind: ?.run/user/1000/gvfs?. Permission denied/tmp/mysql.sock $ sudo ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock $ sudo /etc/init.d/mysqld restart

以后如果遇到其他問題在繼續(xù)補充!

更多精彩內(nèi)容,請滑至頂部點擊右上角關(guān)注小宅哦~


來源:華為云社區(qū)原創(chuàng) 作者:煙花易冷

總結(jié)

以上是生活随笔為你收集整理的zabbix cpu核数 windows_Zabbix的应用(6)----常见错误的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。