zabbix_server 10051端口没开启

菜鸟 8074 388

刚安装完,登录后台发现Zabbix服务器端运行中 不 localhost:10051,竟然没有运行,使用netstat -tnlp也只发现10050的agent在运行,而10051没有。tail /tmp/zabbix_server.log查看了日志 提示日志没有连接上。

zabbix_server 10051端口没开启-第1张图片-笔记运维ls /var/lib/mysql/mysql.sock,不存在。 使用文件查找命令:find / -name mysql.sock

zabbix_server 10051端口没开启-第2张图片-笔记运维网上查了大部分资料,很多都是无效的,记录如下 

创建mysql.sock链接 mkdir /var/lib/mysql ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock

zabbix_server 10051端口没开启-第3张图片-笔记运维然后重启数据库:service mysql restart,这样就起来了。 

另外一种方法(我没使用过) 修改zabbix_server.conf中的mysql.sock配置 sed -n "119p" /etc/zabbix/zabbix_server.conf 显示DBSocker=/tmp/mysql.sock 重启zabbix_server服务。


标签: zabbix10051端口

发表评论 (已有388条评论)

评论列表

2023-01-23 01:15:02

1

2023-01-23 01:16:32

1

2023-01-23 01:16:37

1

2023-01-23 01:17:39

1

2023-01-23 01:17:45

1

2023-01-23 01:17:45

1

2023-01-23 01:17:46

1

2023-01-23 01:17:46

1

2023-01-23 01:17:47

1

2023-01-23 01:17:47

1

2023-01-23 01:17:48

1

2023-01-23 01:17:48

1

2023-01-23 01:17:53

1

2023-01-23 01:17:58

1

2023-01-23 01:18:04

1

2023-01-23 01:18:09

1

2023-01-23 01:18:14

1

2023-01-23 01:18:21

1

2023-01-23 01:18:26

1

2023-01-23 01:18:32

1

2023-01-23 01:18:38

1

2023-01-23 01:18:43

1

2023-01-23 01:18:44

1

2023-01-23 01:18:45

1

2023-01-23 01:18:45

1

2023-01-23 01:18:53

1

2023-01-23 01:19:01

1

2023-01-23 01:21:07

1

2023-01-23 01:21:15

1

2023-01-23 01:21:27

1

2023-01-23 01:21:37

1

2023-01-23 01:21:38

1

2023-01-23 01:21:39

1

2023-01-23 01:21:40

1

2023-01-23 01:21:41

1

2023-01-23 01:21:42

1

2023-01-23 01:21:51

1

2023-01-23 01:21:58

1

2023-01-23 01:22:09

1

2023-01-23 01:22:16

1

2023-01-23 01:22:24

1

2023-01-23 01:22:36

1

2023-01-23 01:22:42

1

2023-01-23 01:22:53

1

2023-01-23 01:23:05

1

2023-01-23 01:23:14

1

2023-01-23 01:23:15

1

2023-01-23 01:23:15

1

2023-01-23 01:23:17

1

2023-01-23 01:23:25

1

2023-01-23 01:23:33

1

2023-01-23 01:23:34

1

2023-01-23 01:23:35

1

2023-01-23 01:23:36

1

2023-01-23 01:23:37

1

2023-01-23 01:23:38

1

2023-01-23 01:23:49

1

2023-01-23 01:24:04

1

2023-01-23 01:24:14

1

2023-01-23 01:24:21

1

2023-01-23 01:24:37

1

2023-01-23 01:24:48

1

2023-01-23 01:24:56

1

2023-01-23 01:25:04

1

2023-01-23 01:25:13

1

2023-01-23 01:25:30

1

2023-01-23 01:25:39

1

2023-01-23 01:25:47

1

2023-01-23 01:25:59

1

2023-01-23 01:26:06

1

2023-01-23 01:26:07

1

2023-01-23 01:26:07

1

2023-01-23 01:26:08

1

2023-01-23 01:26:17

1

2023-01-23 01:26:26

1

2023-01-23 01:26:26

-1 OR 2+794-794-1=0+0+0+1 --

2023-01-23 01:26:27

-1 OR 3+794-794-1=0+0+0+1 --

2023-01-23 01:26:28

-1 OR 2+295-295-1=0+0+0+1

2023-01-23 01:26:29

-1 OR 3+295-295-1=0+0+0+1

2023-01-23 01:26:30

-1' OR 2+814-814-1=0+0+0+1 --

2023-01-23 01:26:30

-1' OR 3+814-814-1=0+0+0+1 --

2023-01-23 01:26:31

-1' OR 2+439-439-1=0+0+0+1 or 'iwrS5yh8'='

2023-01-23 01:26:32

-1' OR 3+439-439-1=0+0+0+1 or 'iwrS5yh8'='

2023-01-23 01:26:33

-1" OR 2+171-171-1=0+0+0+1 --

2023-01-23 01:26:34

-1" OR 3+171-171-1=0+0+0+1 --

2023-01-23 01:26:43

if(now()=sysdate(),sleep(15),0)

2023-01-23 01:26:51

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

2023-01-23 01:27:00

0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

2023-01-23 01:27:08

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

2023-01-23 01:27:19

-1; waitfor delay '0:0:15' --

2023-01-23 01:27:32

-1); waitfor delay '0:0:15' --

2023-01-23 01:27:41

1 waitfor delay '0:0:15' --

2023-01-23 01:27:52

IgQlZsfr'; waitfor delay '0:0:15' --

2023-01-23 01:27:59

-5 OR 506=(SELECT 506 FROM PG_SLEEP(15))--

2023-01-23 01:28:08

-5) OR 207=(SELECT 207 FROM PG_SLEEP(15))--

2023-01-23 01:28:14

-1)) OR 28=(SELECT 28 FROM PG_SLEEP(15))--

2023-01-23 01:28:24

LrhYCUZl' OR 515=(SELECT 515 FROM PG_SLEEP(15))--

2023-01-23 01:28:31

gIqqw7Kr') OR 767=(SELECT 767 FROM PG_SLEEP(15))--

2023-01-23 01:28:38

9hnehsYW')) OR 656=(SELECT 656 FROM PG_SLEEP(15))--

2023-01-23 01:28:48

1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)