After having problems getting it to compile with MySQL 5.0.16, it got zabbix_server to compile by adding sym links to the libmysqlclient.so file and installing the RH ES MYSQL rpm instead of the binary install. But the zabbix_server will not start. Here is the output from strace. I DID have 1.1.B2 working on this server until I tried B4, but I cant even get B2 to work now. MySQL is running and the mysql.sock file exists in /tmp and works with PHP programs.
I have only included the bottom section where the errors start since its too long. Nothing is written to the log file, and the PID is not created.
2374 socket(PF_FILE, SOCK_STREAM, 0) = 4
2374 fcntl64(4, F_SETFL, O_RDONLY) = 0
2374 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
2374 connect(4, {sa_family=AF_FILE, path="/tmp/mysql.sock"}, 110) = 0
2374 setsockopt(4, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
2374 setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
2374 read(4, "=\0\0\0\n5.0.16-standard\0\v\0\0\0db>OQ)t"..., 16384) = 65
2374 stat64("/usr/share/mysql/charsets/Index.xml", {st_mode=S_IFREG|0755, st_size=18171, ...}) = 0
2374 open("/usr/share/mysql/charsets/Index.xml", O_RDONLY|O_LARGEFILE) = 5
2374 read(5, "<?xml version=\'1.0\' encoding=\"ut"..., 18171) = 18171
2374 close(5) = 0
2374 write(4, "-\0\0\1\215\242\0\0\0\0\0@\10\0\0\0\0\0\0\0\0\0\0\0 \0\0"..., 49) = 49
2374 read(4, "\7\0\0\2\0\0\0\2\0\0\0", 16384) = 11
2374 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
2374 read(4, 0x8ba99b8, 8192) = -1 EAGAIN (Resource temporarily unavailable)
2374 fcntl64(4, F_SETFL, O_RDWR) = 0
2374 write(4, "\7\0\0\0\2zabbix", 11) = 11
2374 read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
2374 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
2374 read(4, 0x8ba99b8, 8192) = -1 EAGAIN (Resource temporarily unavailable)
2374 fcntl64(4, F_SETFL, O_RDWR) = 0
2374 write(4, "\'\0\0\0\3select refresh_unsupported "..., 43) = 43
2374 read(4, "=\0\0\1\377\36\4#42S22Unknown column \'ref"..., 16384) = 65
2374 exit_group(-1)
I have only included the bottom section where the errors start since its too long. Nothing is written to the log file, and the PID is not created.
2374 socket(PF_FILE, SOCK_STREAM, 0) = 4
2374 fcntl64(4, F_SETFL, O_RDONLY) = 0
2374 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
2374 connect(4, {sa_family=AF_FILE, path="/tmp/mysql.sock"}, 110) = 0
2374 setsockopt(4, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
2374 setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
2374 read(4, "=\0\0\0\n5.0.16-standard\0\v\0\0\0db>OQ)t"..., 16384) = 65
2374 stat64("/usr/share/mysql/charsets/Index.xml", {st_mode=S_IFREG|0755, st_size=18171, ...}) = 0
2374 open("/usr/share/mysql/charsets/Index.xml", O_RDONLY|O_LARGEFILE) = 5
2374 read(5, "<?xml version=\'1.0\' encoding=\"ut"..., 18171) = 18171
2374 close(5) = 0
2374 write(4, "-\0\0\1\215\242\0\0\0\0\0@\10\0\0\0\0\0\0\0\0\0\0\0 \0\0"..., 49) = 49
2374 read(4, "\7\0\0\2\0\0\0\2\0\0\0", 16384) = 11
2374 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
2374 read(4, 0x8ba99b8, 8192) = -1 EAGAIN (Resource temporarily unavailable)
2374 fcntl64(4, F_SETFL, O_RDWR) = 0
2374 write(4, "\7\0\0\0\2zabbix", 11) = 11
2374 read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
2374 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
2374 read(4, 0x8ba99b8, 8192) = -1 EAGAIN (Resource temporarily unavailable)
2374 fcntl64(4, F_SETFL, O_RDWR) = 0
2374 write(4, "\'\0\0\0\3select refresh_unsupported "..., 43) = 43
2374 read(4, "=\0\0\1\377\36\4#42S22Unknown column \'ref"..., 16384) = 65
2374 exit_group(-1)
Comment