Hi,
i am trying to implement cfengine 2.1.14 in banksys, we have one hundred systems of different unix flavours to admin so it will be very interresting for us I did not experienced any problems with tru64 and linux but i really get big problems to run cfexecd on solaris boxes, it crashes as soon as it tries to launch cfagent. cfengine has been compiled with this gcc : /opt>/usr/local/bin/gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-n ls Thread model: posix gcc version 3.3.2 what am i doing wrong ??? do i need some special flags or libraries ?? (i also tried with CFLAGS="-g -O2 -mv8" as specified in the README file but with no positive impact ) this is a truss log of what cfexecd is doing .. /opt>truss -f /var/cfengine/bin/cfexecd -F 19881: execve("/var/cfengine/bin/cfexecd", 0xFFBEFD3C, 0xFFBEFD48) argc = 2 19881: stat("/var/cfengine/bin/cfexecd", 0xFFBEFA78) = 0 19881: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT 19881: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 19881: open("/opt/openssl/lib/libl.so.1", O_RDONLY) Err#2 ENOENT 19881: open("/opt/openssh/lib/libl.so.1", O_RDONLY) Err#2 ENOENT 19881: open("./libl.so.1", O_RDONLY) Err#2 ENOENT ............ ............ ...CUT.... ............ ............ 19882: read(4, " # ! / v a r / c f e n g".., 8192) = 2082 19882: read(4, 0x001EBC4C, 8192) = 0 19882: ioctl(4, TCGETA, 0xFFBEE394) Err#25 ENOTTY 19882: llseek(4, 0, SEEK_CUR) = 2082 19882: close(4) = 0 19882: alarm(0) = 60 19882: sigaction(SIGALRM, 0xFFBEE948, 0xFFBEEA48) = 0 19882: time() = 1115135568 19882: fstat(-1, 0xFFBEEB10) Err#9 EBADF 19882: getuid() = 0 [0] 19882: open64("/var/cfengine/ppkeys/localhost.priv", O_RDONLY) = 4 19882: fstat64(4, 0xFFBECD78) = 0 19882: ioctl(4, TCGETA, 0xFFBECD04) Err#25 ENOTTY 19882: read(4, " - - - - - B E G I N R".., 8192) = 1743 19882: llseek(4, 0, SEEK_CUR) = 1743 19882: close(4) = 0 19882: open64("/var/cfengine/ppkeys/localhost.pub", O_RDONLY) = 4 19882: fstat64(4, 0xFFBED178) = 0 19882: ioctl(4, TCGETA, 0xFFBED104) Err#25 ENOTTY 19882: read(4, " - - - - - B E G I N R".., 8192) = 426 19882: llseek(4, 0, SEEK_CUR) = 426 19882: close(4) = 0 19882: time() = 1115135568 19882: ioctl(1, TCGETA, 0xFFBECA04) Err#22 EINVAL 19882: fstat64(1, 0xFFBECA78) = 0 19882: llseek(0, 0, SEEK_CUR) = 201918 19881: read(4, " s m t p s e r v e r = s".., 5120) = 190 19882: write(1, " s m t p s e r v e r = s".., 190) = 190 19882: _exit(0) 19881: read(4, 0x001212DC, 5120) = 0 19881: llseek(4, 0, SEEK_CUR) Err#29 ESPIPE 19881: close(4) = 0 19881: waitid(P_PID, 19882, 0xFFBECA80, WEXITED|WTRAPPED) = 0 19881: pipe() = 4 [5] 19881: Incurred fault #6, FLTBOUNDS %pc = 0xFEF55AA0 19881: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008 19881: Received signal #11, SIGSEGV [caught] 19881: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008 19881: sigprocmask(SIG_SETMASK, 0x0011EA40, 0x00000000) = 0 19881: sigaction(SIGSEGV, 0xFFBEC540, 0x00000000) = 0 19881: sigprocmask(SIG_SETMASK, 0xFEF7ADE0, 0x00000000) = 0 19881: setcontext(0xFFBEC6F8) 19881: Incurred fault #6, FLTBOUNDS %pc = 0xFEF55AA0 19881: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008 19881: Received signal #11, SIGSEGV [default] 19881: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008 19881: *** process killed *** Francois Vanderpoorte Unix system engineer Banksys IT/SE _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine