0+
0+
0+
今天大清早的手机收收到系统发来的报告,ldap从数据库启动不了
看看错误代码:
[root@host103 ldap]# /etc/init.d/ldap start
Checking configuration files for slapd: bdb(dc=ldap,dc=uxcell,dc=com,dc=hk): Logging region out of memory; you may need to increase its size
bdb_db_open: db_open(/var/lib/ldap/id2entry.bdb) failed: Cannot allocate memory (12)
bdb(dc=ldap,dc=uxcell,dc=com,dc=hk): Unknown locker ID: 0
backend_startup_one: bi_db_open failed! (12)
slap_startup failed (...
ldap, 数据库应用阅读全文
0+
0+
nagios监控mysql复制状态
公司中有的数据库需要做mysql复制,为了能够了解mysql复制是否成功,所以将它加到naigos监控中去,
mysql master : 192.168.10.20
mysql slave : 192.168.10.121
建立检查mysql 复制的脚本
[root@server121 ~]# cat /usr/local/nagios/libexec/check_mysql_slave.sh
#/bin/sh
Status=`/usr/local/mysql/bin/mysql -unagios -e "show slave status\G"|/bin/grep Slave|/bin/grep -v "Slave_IO_State"|/bin/awk '{print $2}'|grep Yes|wc -l`
if [ $Status -e...
Nagios监控, 数据库应用阅读全文
0+