我有几个服务器上的Zabbix监控磁盘空间的几卷。 它在所有这些工作正常,除了其中一个总是报告为0的服务器上的一个卷。但是,当我运行 ./zabbix_get -s localhost -p 10050 -k 'vfs.fs.size[/home, free]' 在本机上的问题,它给了我正确的,非零大小匹配DF的输出。 我该如何解决问题并纠正这个问题?
我使用RHEL 5操作系统,我想从2.3.x更新OpenLDAP版本到2.4.11或更高版本,我根据安装包安装了OpenLDAP(v 2.3.x)。 我已经使用下面的命令首先删除OpenLDAP包 rpm -e –allmatches openldap 但是,它是失败的,并打印出以下输出: error: Failed dependencies: liblber-2.3.so.0()(64bit) is needed by (installed) autofs-5.0.1-0.rc2.143.el5.x86_64 liblber-2.3.so.0()(64bit) is needed by (installed) cyrus-sasl-2.1.22-5.el5_4.3.x86_64 liblber-2.3.so.0()(64bit) is needed by (installed) sendmail-8.13.8-8.el5.x86_64 liblber-2.3.so.0()(64bit) is needed by (installed) nss_ldap-253-25.el5.x86_64 liblber-2.3.so.0()(64bit) is needed by (installed) sudo-1.7.2p1-5.el5.x86_64 liblber-2.3.so.0()(64bit) is needed by (installed) apr-util-1.2.7-11.el5.x86_64 liblber-2.3.so.0()(64bit) is needed by (installed) python-ldap-2.2.0-2.1.x86_64 liblber-2.3.so.0()(64bit) […]
我已经使用OpenPanelconfiguration了我的DNS,并没有报告任何错误。 它只是添加一个DNSconfiguration文件,其中包括/etc/bind/named.conf 。 当我做 named-checkconf /etc/bind/named.conf 完成后没有报告任何错误,凭借我认为我的configuration没有错误的美德。 但是,当我dig @localhost google.com我得到以下内容: ;; – >> HEADER << – 操作码:QUERY,状态:SERVFAIL,ID:49903 ;; 标志:qr rd ra; QUERY:1,答案:0,AUTHORITY:0,附加:0 在答案部分。 另外,使用IntoDNS我得到这个: 错误:一个或多个名称服务器没有响应: 没有回应的是: (我的IP地址) 当然 – 当我尝试访问我的网站使用其FQN我得到一个“服务器找不到”的错误。 我怎样才能挖掘这个问题的根源? 我应该在哪里看?
设置shorewalldynamic区域, http: shorewall show dynamic zone命令shorewall show dynamic zone ,zone是您的区域之一。 我可以使用add和delete命令,但不能使用show dynamic命令。 这是一个shell会话,输出来自ipset list ,certificate这些项目确实存在。 $ ipset list CPREM_br0 Name: CPREM_br0 Type: hash:ip Header: family inet hashsize 1024 maxelem 65536 Size in memory: 16520 References: 66 Members: 192.168.85.153 $ shorewall add br0:192.168.85.200 CPREM Host br0:192.168.85.200 added to zone CPREM $ shorewall show dynamic CPREM $ […]
我使用最新的ebtables在Fedora 17上运行,并且一直试图build立一个透明的网桥 – 使用以下脚本,我通过桥接主机发送一个ping,只能看到网桥上的请求(来自eth0的其他stream量),但是,arps和arp回复正在通过。 我的主机设置 – 客户端192.168.1.10 < – eth0 – > eth2 192.168.1.20 以太网脚本: #!/bin/sh brctl addbr br0; brctl stp br0 off; brctl addif br0 eth0; brctl addif br0 eth2; (ifdown eth0 1>/dev/null 2>&1;); (ifdown eth2 1>/dev/null 2>&1;); ifconfig eth0 0.0.0.0 up; ifconfig eth2 0.0.0.0 up; echo "1" > /proc/sys/net/ipv4/ip_forward; ebtables -P INPUT ACCEPT […]
我已经用主机名replace了所有的IP地址,并且在我的shell脚本中用/ var / lib / glusterdreplace了重命名的configuration(IP到主机名)。 之后,我重新启动Gluster守护进程和音量。 然后我检查是否所有的同伴都连接上了: root@GlusterNode1a:~# gluster peer status Number of Peers: 3 Hostname: gluster-1b Uuid: 47f469e2-907a-4518-b6a4-f44878761fd2 State: Peer in Cluster (Connected) Hostname: gluster-2b Uuid: dc3a3ff7-9e30-44ac-9d15-00f9dab4d8b9 State: Peer in Cluster (Connected) Hostname: gluster-2a Uuid: 72405811-15a0-456b-86bb-1589058ff89b State: Peer in Cluster (Connected) 当我执行df命令时,我可以在所有节点上看到装入卷的大小变化,所以新的数据即将到来。 但最近我注意到应用程序日志中的错误消息: copy(/storage/152627/dat): failed to open stream: Structure needs cleaning readfile(/storage/1438227/dat): failed […]
有一个Centos6.3系统。 Apache 2.2.15 + mod_fcgid + PHP 5.3.3 date.timezone值有问题。 这是在全球/etc/php.ini提到的: date.timezone = "Europe/Moscow" 并没有在用户的本地php.ini中提到。 结果,我得到很多的警告,如: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this […]
我的web应用程序domain.com:9080/webapp工作正常。 我想从地址中删除端口号。 其中一个论坛的人build议我http://www.virtualmin.com/node/19608链接,我改变了httpd.conf文件。 之后,我的web应用程序无法正常工作,我再次改变httpd.conf恢复正常,但有错误。 问题.. 1.服务命名不起始。 [root@ipaddress/]# service named start Starting named: Error in named configuration: zone domain.com/IN: loading from master file domain.com failed: file not found zone domain.com/IN: not loaded due to errors. _default/domain.com/IN: file not found zone 50.121.188.in-addr.arpa/IN: loading from master file 50.121.188.in-addr.arpa failed: file not found zone 50.121.188.in-addr.arpa/IN: not loaded due to […]
service httpd restart Stopping httpd: [ OK ] Starting httpd: httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: undefined symbol: ap_unixd_set_global_mutex_perms [FAILED] 我的httpd文件: LoadModule unique_id_module modules/mod_unique_id.so LoadFile /usr/lib/libxml2.so #LoadFile /usr/lib/liblua5.1.so LoadModule security2_module modules/mod_security2.so 有任何想法吗? 谷歌什么都没有。 我遵循这些指导原则: https : //github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#wiki-SVN_Access Apache是2.2.15 PHP是5.3.3 我通过yum安装了apache / php
什么是这个等效的命令: echo 3 > /proc/sys/vm/drop_caches 但对于2.6.16以上的内核? 我有2.6.12内核