nanosleep({10, 0}, ^[[A 0x7fffde0ee860) = 0 geteuid() = 495 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 187 fstat(187, {st_mode=S_IFREG|0644, st_size=1236, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff31c9be000 read(187, "root:x:0:0:root:/root:/bin/bash\nbin:x:1:1:bin:/bin:/sbin/nologin\ndaemon:x:2:2:daemon:/sbin:/sbin/nologin\nadm:x:3:4:adm:/var/adm:/sbin/nologin\nlp:x:4:7:lp:/var/spool/lpd:/sbin/nologin\nsync:x:5:0:sync:/sbin:/bin/sync\nshutdown:x:6:0:shutdown:/sbin:/sbin/shutd"..., 4096) = 1236 close(187) = 0 munmap(0x7ff31c9be000, 4096) = 0 geteuid() = 495 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 187 fstat(187, {st_mode=S_IFREG|0644, st_size=1236, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff31c9be000 read(187, "root:x:0:0:root:/root:/bin/bash\nbin:x:1:1:bin:/bin:/sbin/nologin\ndaemon:x:2:2:daemon:/sbin:/sbin/nologin\nadm:x:3:4:adm:/var/adm:/sbin/nologin\nlp:x:4:7:lp:/var/spool/lpd:/sbin/nologin\nsync:x:5:0:sync:/sbin:/bin/sync\nshutdown:x:6:0:shutdown:/sbin:/sbin/shutd"..., 4096) = 1236 close(187) = 0 munmap(0x7ff31c9be000, 4096) = 0 stat("/var/lib/zabbixsrv/.pgpass", 0x7fffde0eddc0) = -1 ENOENT (No such file or directory) socket(PF_NETLINK, SOCK_RAW, 0) = 187 bind(187, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(187, {sa_family=AF_NETLINK, pid=1335, groups=00000000}, [12]) = 0 gettimeofday({1384293137, 143963}, NULL) = 0 sendto(187, "\24\0\0\0\26\0\1\3\21\243\202R\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(187, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\21\243\202R7\5\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1\10\0\2\0\177\0\0\1\7\0\3\0lo\0\0<\0\0\0\24\0\2\0\21\243\202R7\5\0\0\2\30\200\0\2\0\0\0\10\0\1\0\300\250\3l\10\0\2\0\300\250\3l\10\0\4\0\300\250\3\377\t\0\3\0eth0\0\0\0\0\24\0\6\0\377\377\377\377\377\377\377\377\360\2\0\0\360\2\0\0\n@\200\375\2\0\0\0\24\0\1\0\376\200\0\0\0\0\0\0\2\34B\377\376?1\263\24\0\6\0\377\377\377\377\377\377\377\377\360\2\0\0\360\2\0\0P\374\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\33\0\32\0\200\364\16\336\377\177\0\0\360\364\16\336\377\177\0\0\0\0\0\0\0\0\0\0\360\321\16\336\377\177\0\0\201e\333\30\363\177\0\0\0@\233\34\363\177\0\0\322\362z\34\363\177\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108 recvmsg(187, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\21\243\202R7\5\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\24\0\6\0\377\377\377\377\377\377\377\377\332\2\0\0\332\2\0\0@\0\0\0\24\0\2\0\21\243\202R7\5\0\0\n@\200\375\2\0\0\0\24\0\1\0\376\200\0\0\0\0\0\0\2\34B\377\376?1\263\24\0\6\0\377\377\377\377\377\377\377\377\360\2\0\0\360\2\0\0\n@\200\375\2\0\0\0\24\0\1\0\376\200\0\0\0\0\0\0\2\34B\377\376?1\263\24\0\6\0\377\377\377\377\377\377\377\377\360\2\0\0\360\2\0\0P\374\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\33\0\32\0\200\364\16\336\377\177\0\0\360\364\16\336\377\177\0\0\0\0\0\0\0\0\0\0\360\321\16\336\377\177\0\0\201e\333\30\363\177\0\0\0@\233\34\363\177\0\0\322\362z\34\363\177\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128 recvmsg(187, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\21\243\202R7\5\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\24\0\6\0\377\377\377\377\377\377\377\377\332\2\0\0\332\2\0\0@\0\0\0\24\0\2\0\21\243\202R7\5\0\0\n@\200\375\2\0\0\0\24\0\1\0\376\200\0\0\0\0\0\0\2\34B\377\376?1\263\24\0\6\0\377\377\377\377\377\377\377\377\360\2\0\0\360\2\0\0\n@\200\375\2\0\0\0\24\0\1\0\376\200\0\0\0\0\0\0\2\34B\377\376?1\263\24\0\6\0\377\377\377\377\377\377\377\377\360\2\0\0\360\2\0\0P\374\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\33\0\32\0\200\364\16\336\377\177\0\0\360\364\16\336\377\177\0\0\0\0\0\0\0\0\0\0\360\321\16\336\377\177\0\0\201e\333\30\363\177\0\0\0@\233\34\363\177\0\0\322\362z\34\363\177\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20 close(187) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 187 setsockopt(187, SOL_TCP, TCP_NODELAY, [1], 4) = 0 fcntl(187, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 fcntl(187, F_SETFD, FD_CLOEXEC) = 0 connect(187, {sa_family=AF_INET, sin_port=htons(5432), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) poll([{fd=187, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=187, revents=POLLERR|POLLHUP}]) getsockopt(187, SOL_SOCKET, SO_ERROR, [160685996537544815], [4]) = 0 open("/var/log/zabbix/zabbix_server.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 188 gettimeofday({1384293137, 146389}, NULL) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2209, ...}) = 0 fstat(188, {st_mode=S_IFREG|0664, st_size=348598, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff31c9be000 write(188, " 1335:20131112:235217.146 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused\n\tIs the server running on host \"127.0.0.1\" and accepting\n\tTCP/IP connections on port 5432?\n\n", 219) = 219 close(188) = 0 munmap(0x7ff31c9be000, 4096) = 0 open("/var/log/zabbix/zabbix_server.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 188 gettimeofday({1384293137, 148073}, NULL) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2209, ...}) = 0 fstat(188, {st_mode=S_IFREG|0664, st_size=348817, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff31c9be000 write(188, " 1335:20131112:235217.148 Database is down. Reconnecting in 10 seconds.\n", 73) = 73 close(188) = 0 munmap(0x7ff31c9be000, 4096) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7ff31a2609a0}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({10, 0}, ^C