zabbix server is not running解决办法
正常安装完zabbix后,登录后zabbix监控报错zabbix server is not running: the information displayed may not be current,
下面的几种情况都有可能引起这个错误,
1. selinux是否关闭。一定要关闭这个,开启selinux会引起一连串问题,甚至zabbix的discovery功能也不能正常使用
关闭SELinux的方法:
修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。
如果不想重启系统,使用命令setenforce 0
注:
setenforce 1 设置SELinux 成为enforcing模式
setenforce 0 设置SELinux 成为permissive模式
在lilo或者grub的启动参数中增加:selinux=0,也可以关闭selinux
2. zabbix web目录下面 $ZBX_SERVER 是否为ip,如果是localhost,ping下localhost是否能解析。如果不能,需要在/etc/hosts文件里增加相应的项目
3.查看php的fsockopen模块是否启用。
方法一:
第一步:
php.ini文件中查找
allow_url_fopen = On
使其值为On
第二步:
php.ini文件中查找
extension=php_openssl.dll
如果前面有分号,去掉分号
第三步:
重启web服务器,apache或IIS
还有一种情况,也就是方法二:
1. vi php.ini
找到 allow_url_fopen 这个参数设置成 On,即
allow_url_fopen = On
2. 让你的php支持 opensll扩展。
默认,是没有openssl扩展的,只能重新编译安装。
yum install openssl openssl-devel
cd /usr/local/src/php-5.2.14/ext/openssl
/usr/local/php/bin/phpize
./configure –with-openssl –with-php-config=/usr/local/bin/php-config
make && make install
看提示,把编译成的openssl.so 拷贝到你在php.ini 中指定的 extension_dir 下
3. vi php.ini
加入
extension=openssl.so
4. 重启web server
转载于:https://blog.51cto.com/gershonwang/1657699
zabbix server is not running解决办法相关推荐
- Zabbix server is not running 报错的排查
前几天部署了一台zabbix 版本是2.2.2的,部署方法是按照百度经验的步骤部署的.我为那个步骤增加了一些说明,然后发在了自己的博客上.部署完了之后一直没时间增加监控的主机.今天登陆zabbix的时 ...
- “zabbix server is not running: the information displayed may not be current”的一种可能原因
不知从什么时候开始,之前搭建的zabbix系统前端页面开始显示"zabbix server is not running: the information displayed may not ...
- NFS mount.nfs: access denied by server while mounting 一个解决办法
mount.nfs: access denied by server while mounting 一个解决办法 2011-06-30 17:22:06| 分类: 技术探讨 | 标签:linu ...
- Zabbix server is not running
问题描述 Dashbord中提示Zabbix server is not running 分析过程 首先查看zabbix-server的运行状态 systemctl status zabbix-ser ...
- Ubuntu 16.04中zabbix显示 :Zabbix server is not running:te information displayed may not be current.
报错 :Zabbix server is not running:te information displayed may not be current. 查看Zabbix server日志cat / ...
- Disconnected: No supported authentication methods available(server sent: publickey) 的解决办法
问题描述: 在使用 TortoiseGit 客户端将远程代码 Pull 到本地的时候,出现异常,Pull 失败,并提示错误信息 " Disconnected: No supported au ...
- Communication error with Jack server , try ‘jack-diagnose‘ or see Jack server log 报错解决办法
创作不易,请尊重原创,转载注明出处: https://blog.csdn.net/An_Times/article/details/121334749 Communication error with ...
- Lync 2010客户端无法登录Lync server 2013服务器的解决办法
Lync 2010客户端无法登录Lync server 2013服务器的解决办法 我的Lync server 2013环境介绍 内部域名contoso.com,外部域为tiancang.net, 两个 ...
- 网页服务器打开数据库连接很慢,登录进入点晴OA或打开SQL server很慢的解决办法:开启TCP/IP支持...
登录进入点晴OA或打开SQL server很慢的解决办法:开启TCP/IP支持 今天新配置了一台服务器,环境如下: 操作系统:windows server 2008 R2 X64 SQL版本:Win ...
- zabbix server is not running,the information displayed may not be current
在自己的虚拟机上搭建了一个zabbix平台,安装好了相关的php,mysql,apache,zabbix,并使用默认账号admin密码zabbix登录,登录成功之后发现底部出现abbix server ...
最新文章
- Windows Caffe中MNIST数据格式转换实现
- R语言基础与入门实践
- 经典!MATLAB线性等分linspace()函数,精确等分点数
- Socket网络编程--小小网盘程序(5)
- h5页面点击事件ios没反应 移动端兼容性问题
- 不用正则表达式,用javascript从零写一个模板引擎(一)
- linux ntp测试,linux 查看ntp服务器是否可访问
- 今日恐慌与贪婪指数为78 贪婪程度有所缓解
- webpack 4.0 中 clean-webpack-plugin 的使用
- 异常Exception(Java)
- 机器学习基础(四)——持久化分类器
- 贝叶斯网络分析软件Netica
- UVa1543.圆和多边形+UVa12063.零和一(动态规划)
- VOIP Codec 三剑客之 ISAC/ILBC -- ISAC (2) Low Band Encode 模块
- 【Paper-Attack】Graph Universal Adversarial Attacks: A Few Bad Actors Ruin Graph Learning Models
- 投资理财-赚取平均收益
- 【清华夏令营2016模拟5.31】图森破
- 佛祖保佑 ,神兽保佑 , 代码神注释鉴赏,喜欢拿去用
- 2.支付10s倒计时
- web端设计和web前端开发的区别