某台在重启zabbix_Server<安装在ubuntu server上>后,一启动zabbix_server进程,发现端口没有成功侦听。

查看日志有报:
  1717:20120915:143945.838 Starting Zabbix Server. Zabbix 1.8.10 (revision 24303).
  1717:20120915:143945.838 ****** Enabled features ******
  1717:20120915:143945.838 SNMP monitoring:           YES
  1717:20120915:143945.838 IPMI monitoring:            NO
  1717:20120915:143945.839 WEB monitoring:            YES
  1717:20120915:143945.839 Jabber notifications:      YES
  1717:20120915:143945.839 Ez Texting notifications:  YES
  1717:20120915:143945.839 ODBC:                       NO
  1717:20120915:143945.839 SSH2 support:               NO
  1717:20120915:143945.839 IPv6 support:               NO
  1717:20120915:143945.839 ******************************
  1717:20120915:143945.844 cannot allocate shared memory of size 33795295: [22] Invalid argument
  1717:20120915:143945.844 cannot allocate shared memory for history cache
 
解决方法: http://www.zabbix.org/wiki/How_to/configure_shared_memory
 
将分配的内存共享空间调大
# vim /etc/sysctl.conf
kernel.shmmax = 67108864
kernel.shmall = 67108864
再次启动,解决。