From: Alexei V. <ale...@za...> - 2007-07-03 17:24:23
|
Hello Baron, Thanks for your message! I believe first problem is related to low settings of connection limit in mysql.conf. Second problem is already fixed in 1.4.1. Best regards, Alexei > Using the combination of PHP 4 and MySQL 4 has generated a few > problems. > > First is that zabbix-server stopped when it couldn't establish anymore > connections to mysql. Research showed that it wasn't dropping persitant > connections quick enough the simple work around I am using was to change > from mysql_pconnect to mysql_connect. > > Second problem was with the IT services pages would give a syntax error > in zabbix/include/services.inc.php. Solution was to change the & > $temp=array to &$temp in > function createServiceTree(&$services,$id=0,&$temp=array(), > $serviceupid=0,$parentid=0, $soft=0, $linkid=''){ > and > function createShowServiceTree(&$services,$id=0,&$temp=array(), > $serviceupid=0,$parentid=0, $soft=0, $linkid=''){ > Lines 574 and 603 > > I hope this helps further the project a little. > Baron > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Zabbix-developers mailing list > Zab...@li... > https://lists.sourceforge.net/lists/listinfo/zabbix-developers > |