Forum: CFEngine Help
Subject: Re: !! CloseAllDB: Could not close DB with this handle
Author: TheAce
Link to topic: https://cfengine.com/forum/read.php?3,19680,23058#msg-23058
Here is the Strace that I was able to execute... The only thing i can see is
that it is writting to /dev/log and that's about it.. anyone have had this
issue and was able to fix it up ?
Thanks....
9688 open("/var/cfengine/cf_classes.db", O_RDWR|O_LARGEFILE) = 3
9688 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
9688 fstat64(3, {st_dev=makedev(104, 8), st_ino=175590, st_mode=S_IFREG|0600,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=72, st_size=36864,
st_atime=2011/08/08-15:22:30, st_mtime=2011/08/08-15:22:30,
st_ctime=2011/08/08-15:22:30}) = 0
9688 pread64(3,
"\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0\0\0\0\0"..., 4096, 0)
= 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\7\0X\17\2\3\364\17X\17\274\17"...,
4096, 4096) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\7\0\0\0\5\0\0\0\0\0\0\0L\0\230\7\1\5\350\17\310\17T\10"...,
4096, 28672) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\5\0\0\0\3\0\0\0\7\0\0\0\\\0\340\5\1\5\350\17\310\17\260\17"...,
4096, 20480) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\5\0\0\0`\0\324\4\1\5\370\17\330\17\320\6"...,
4096, 12288) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\6\0\0\0\4\0\0\0\3\0\0\0T\0\20\6\1\5\340\17\300\17\244\17"...,
4096, 24576) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\4\0\0\0\10\0\0\0\6\0\0\0P\0$\7\1\5\340\17\300\17\240\17"...,
4096, 16384) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\10\0\0\0\2\0\0\0\4\0\0\0J\0\340\7\1\5\354\17\314\17\270\17"...,
4096, 32768) = 4096
9688 pread64(3,
"\0\0\0\0\1\0\0\0\2\0\0\0\0\0\0\0\10\0\0\0\\\0\214\6\1\5\360\17\320\17\20\10"...,
4096, 8192) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\2\0\0\0\0\0\0\0\10\0\0\0\\\0\214\6\1\5\360\17\320\17\20\10"...,
4096, 8192) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\3\0\0\0\6\0\0\0\5\0\0\0`\0\324\4\1\5\370\17\330\17\320\6"...,
4096, 12288) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\4\0\0\0\10\0\0\0\6\0\0\0P\0$\7\1\5\340\17\300\17\240\17"...,
4096, 16384) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\5\0\0\0\3\0\0\0\7\0\0\0\\\0\340\5\1\5\350\17\310\17\260\17"...,
4096, 20480) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\6\0\0\0\4\0\0\0\3\0\0\0T\0\20\6\1\5\340\17\300\17\244\17"...,
4096, 24576) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\7\0\0\0\5\0\0\0\0\0\0\0L\0\230\7\1\5\350\17\310\17T\10"...,
4096, 28672) = 4096
9688 pwrite64(3,
"\0\0\0\0\1\0\0\0\10\0\0\0\2\0\0\0\4\0\0\0J\0\340\7\1\5\354\17\314\17\270\17"...,
4096, 32768) = 4096
9688 fdatasync(3) = 0
9688 close(3) = 0
9688 open("/var/cfengine/cf_classes.db", O_RDWR|O_LARGEFILE) = 3
9688 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
9688 fdatasync(3) = 0
9688 close(3) = 0
9688 write(1, "!! CloseAllDB: Could not close D"..., 51) = 51
9688 getuid32() = 0
9688 time(NULL) = 1312831350
9688 stat64("/etc/localtime", {st_dev=makedev(104, 10), st_ino=176294,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=16, st_size=3477, st_atime=2011/08/08-15:22:30,
st_mtime=2007/11/02-12:46:37, st_ctime=2010/03/09-04:48:30}) = 0
9688 stat64("/etc/localtime", {st_dev=makedev(104, 10), st_ino=176294,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=16, st_size=3477, st_atime=2011/08/08-15:22:30,
st_mtime=2007/11/02-12:46:37, st_ctime=2010/03/09-04:48:30}) = 0
9688 stat64("/etc/localtime", {st_dev=makedev(104, 10), st_ino=176294,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=16, st_size=3477, st_atime=2011/08/08-15:22:30,
st_mtime=2007/11/02-12:46:37, st_ctime=2010/03/09-04:48:30}) = 0
9688 socket(PF_FILE, SOCK_DGRAM, 0) = 3
9688 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
9688 connect(3, {sa_family=AF_FILE, path="/dev/log"...}, 110) = -1 EPROTOTYPE
(Protocol wrong type for socket)
9688 close(3) = 0
9688 socket(PF_FILE, SOCK_STREAM, 0) = 3
9688 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
9688 connect(3, {sa_family=AF_FILE, path="/dev/log"...}, 110) = 0
9688 send(3, "<11>Aug 8 15:22:30 cf-agent[968"..., 88, MSG_NOSIGNAL) = 88
9688 write(1, "!! CloseAllDB: Could not close D"..., 51) = 51
9688 getuid32() = 0
9688 time(NULL) = 1312831350
9688 stat64("/etc/localtime", {st_dev=makedev(104, 10), st_ino=176294,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=16, st_size=3477, st_atime=2011/08/08-15:22:30,
st_mtime=2007/11/02-12:46:37, st_ctime=2010/03/09-04:48:30}) = 0
9688 stat64("/etc/localtime", {st_dev=makedev(104, 10), st_ino=176294,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=16, st_size=3477, st_atime=2011/08/08-15:22:30,
st_mtime=2007/11/02-12:46:37, st_ctime=2010/03/09-04:48:30}) = 0
9688 stat64("/etc/localtime", {st_dev=makedev(104, 10), st_ino=176294,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=16, st_size=3477, st_atime=2011/08/08-15:22:30,
st_mtime=2007/11/02-12:46:37, st_ctime=2010/03/09-04:48:30}) = 0
9688 send(3, "<11>Aug 8 15:22:30 cf-agent[968"..., 88, MSG_NOSIGNAL) = 88
9688 write(1, "!! CloseAllDB: Could not close D"..., 51) = 51
...
..
and it continues...
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine