当前位置:网站首页>How to handle ZABBIX server startup failure
How to handle ZABBIX server startup failure
2022-06-30 13:00:00 【Hello, teacher I'm Dabai】
Error recurrence
[[email protected] data]# systemctl status zabbix-server
● zabbix-server.service - Zabbix Server
Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Four 2022-06-09 16:18:54 CST; 6s ago
Process: 34789 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=1/FAILURE)
Process: 34768 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
Main PID: 34770 (code=exited, status=0/SUCCESS)
6 month 09 16:18:54 ncayu101 kill[34789]: -q, --queue <sig> use sigqueue(2) rather than kill(2)
6 month 09 16:18:54 ncayu101 kill[34789]: -p, --pid print pids without signaling them
6 month 09 16:18:54 ncayu101 kill[34789]: -l, --list [=<signal>] list signal names, or convert one to a name
6 month 09 16:18:54 ncayu101 kill[34789]: -L, --table list signal names and numbers
6 month 09 16:18:54 ncayu101 kill[34789]: -h, --help display this help and exit
6 month 09 16:18:54 ncayu101 kill[34789]: -V, --version output version information and exit
6 month 09 16:18:54 ncayu101 kill[34789]: For more details see kill(1).
6 month 09 16:18:54 ncayu101 systemd[1]: zabbix-server.service: control process exited, code=exited status=1
6 month 09 16:18:54 ncayu101 systemd[1]: Unit zabbix-server.service entered failed state.
6 month 09 16:18:54 ncayu101 systemd[1]: zabbix-server.service failed.

As mentioned in the prompt SElinux, The inspection found that it was not closed SELinux
[[email protected] data]# getenforce
Enforcing
[[email protected] data]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
close SELinux
1. With root Permission remote connection ECS example . Please refer to the overview of connection methods .
2. Run the command getenforce, verification SELinux state .
Return status if yes enforcing, indicate SELinux Enabled .
3. Select temporary shutdown or permanent shutdown SELinux.
Carry out orders setenforce 0 Temporarily Closed SELinux.
Permanent ban SElinux.
[[email protected] data]# getenforce
Enforcing
# Temporarily Closed SELinux
[[email protected] data]# setenforce 0
[[email protected] data]#
[[email protected] data]#
[[email protected] data]# getenforce
Permissive
- a. Run the following command , edit SELinux Of config file .
vim /etc/selinux/config - b. find SELINUX=enforcing, Press i Enter edit mode , Change the parameter to SELINUX=disabled.
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
I've revised it

c. After the modification is completed , Press the keyboard Esc key , Carry out orders :wq, Save and exit the file .
d. restart ECS example .
shutdown -r now
- e. After restart , Run the command getenforce, verification SELinux Status as disabled, indicate SELinux closed .
start-up zabbix
systemctl start zabbix-server zabbix-agent httpd rh-php72-php-fpm
# Linux View in
curl http://192.168.70.133/zabbix/setup.php

View it in a browser

边栏推荐
- Charles break point modify request data & response data
- 常用的ui组件
- Four ways for flinksql to customize udtf
- uniapp支付之APP微信支付unicloud版(附源码)
- Unity脚本的基础语法(4)-访问其他游戏对象
- 黑马笔记---集合(Collection的常用方法与遍历方式)
- [one day learning awk] use of built-in variables
- 深度长文探讨Join运算的简化和提速
- Solve numpy core._ exceptions. Ufunctypeerror: UFUNC 'Add' did not contain a loop with signature matching
- 一次 Keepalived 高可用的事故,让我重学了一遍它!
猜你喜欢

JMeter learning notes

Analysis of smart jiangcai login in Jiangxi University of Finance and Economics

微信小程序报错:TypeError: Cannot read property ‘setData‘ of undefined

Four ways for flinksql to customize udtf

电机控制park变换公式推导
![[MySQL] MySQL installation and configuration](/img/82/8500949734e57e6a1047c4e838f625.png)
[MySQL] MySQL installation and configuration

QT read / write excel--qxlsx worksheet display / hide status setting 4

ABAP toolbox v1.0 (with implementation ideas)

Qt读写Excel--QXlsx工作表显示/隐藏状态设置4

postman 自動生成 curl 代碼片段
随机推荐
dataworks 同步maxcomputer 到sqlserver ,汉字变乱码了,请问怎么解决
Unity脚本程序的开发
Resource realization applet opening wechat official small store tutorial
golang 基础 —— 字符串 与 int 、int64 互转
kaniko官方文档 - Build Images In Kubernetes
电机控制park变换公式推导
Wechat applet reports an error: typeerror: cannot read property 'SetData' of undefined
ABAP toolbox v1.0 (with implementation ideas)
After the market value evaporated by 65billion yuan, the "mask king" made steady medical treatment and focused on condoms
Js根据相同值将数组转换为二维数组
[300+ continuous sharing of selected interview questions from large manufacturers] column on interview questions of big data operation and maintenance (II)
Four ways for flinksql to customize udtf
postman 自動生成 curl 代碼片段
Dataworks synchronizes maxcomputer to sqlserver. Chinese characters become garbled. How can I solve it
jmeter 学习笔记
[one day learning awk] array usage
Postman génère automatiquement des fragments de code Curl
QT read / write excel--qxlsx worksheet display / hide status setting 4
PG基础篇--逻辑结构管理(表继承、分区表)
Rk356x u-boot Institute (command section) 3.3 env related command usage