Forum: Cfengine Help Subject: cfagent :Segmentation Fault (core dumped) on Solaris Author: gauthier Link to topic: https://cfengine.com/forum/read.php?3,17679,17679#msg-17679
Hi, When i try to launch a cf-agent, I have this error: open64("/var/cfengine/ppkeys/localhost.priv", O_RDONLY) = 3 fstat64(3, 0xFFBE9D78) = 0 ioctl(3, TCGETA, 0xFFBE9D04) Err#25 ENOTTY read(3, " - - - - - B E G I N R".., 8192) = 1743 llseek(3, 0, SEEK_CUR) = 1743 close(3) = 0 open64("/var/cfengine/ppkeys/localhost.pub", O_RDONLY) = 3 fstat64(3, 0xFFBEA1E8) = 0 ioctl(3, TCGETA, 0xFFBEA174) Err#25 ENOTTY read(3, " - - - - - B E G I N R".., 8192) = 426 llseek(3, 0, SEEK_CUR) = 426 close(3) = 0 open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 3 fcntl(3, F_DUPFD, 0x00000100) Err#22 EINVAL read(3, " # p r a g m a i d e n".., 1024) = 1024 read(3, " t s t p i _ c".., 1024) = 215 read(3, 0x001721D8, 1024) = 0 lseek(3, 0, SEEK_SET) = 0 read(3, " # p r a g m a i d e n".., 1024) = 1024 read(3, " t s t p i _ c".., 1024) = 215 read(3, 0x001721D8, 1024) = 0 close(3) = 0 open("/dev/udp", O_RDONLY) = 3 ioctl(3, 0xC00C6982, 0xFFBEA604) = 0 close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fcntl(3, F_DUPFD, 0x00000100) Err#22 EINVAL read(3, " #\n # / e t c / n s s".., 1024) = 690 read(3, 0x001721C8, 1024) = 0 close(3) = 0 stat("/lib/nss_files.so.1", 0xFFBE9DD4) = 0 open("/lib/nss_files.so.1", O_RDONLY) = 3 fstat(3, 0xFFBE9DD4) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFED90000 mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFED70000 mmap(0xFED86000, 1760, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFED86000 munmap(0xFED76000, 65536) = 0 memcntl(0xFED70000, 6884, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 munmap(0xFED90000, 8192) = 0 open("/etc/services", O_RDONLY|O_LARGEFILE) = 3 fcntl(3, F_DUPFD, 0x00000100) Err#22 EINVAL read(3, " # i d e n t\t " @ ( # )".., 1024) = 1024 read(3, "\t 1 2 3 / t c p\t\t\t\t".., 1024) = 1024 read(3, " R e s o n a t e\n r e".., 1024) = 1024 read(3, " d a e m o n / m a n a".., 1024) = 1024 read(3, " 4 / t c p ".., 1024) = 1024 read(3, " # t c p q r _ s e r v".., 1024) = 1024 read(3, " 0 4 / t c p\n c a s u 5".., 1024) = 1024 read(3, " p 1 v e r s e x t".., 1024) = 1024 read(3, " m o n W o r d l i n e".., 1024) = 1024 read(3, " d m i n 2 8 6 0".., 1024) = 855 read(3, 0x00173408, 1024) = 0 close(3) = 0 time() = 1278688298 open("/usr/share/lib/zoneinfo/MET", O_RDONLY) = 3 read(3, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 755 close(3) = 0 time() = 1278688298 time() = 1278688298 brk(0x00174F28) = 0 brk(0x00178F28) = 0 brk(0x00178F28) = 0 brk(0x0017EF28) = 0 brk(0x0017EF28) = 0 brk(0x00182F28) = 0 brk(0x00182F28) = 0 brk(0x00188F28) = 0 uname(0x0015DD54) = 1 uname(0xFFBEBF68) = 1 open64("/etc/.name_service_door", O_RDONLY) = 3 fcntl(3, F_SETFD, 0x00000001) = 0 door_info(3, 0xFEF42748) = 0 door_call(3, 0xFFBEA288) = 0 time() = 1278688298 sysinfo(SI_ARCHITECTURE, "sparc", 4096) = 6 sysinfo(SI_PLATFORM, "SUNW,UltraAX-i2", 4096) = 16 door_info(3, 0xFFBEB710) = 0 door_call(3, 0xFFBEB6F8) = 0 so_socket(2, 1, 0, "", 1) = 4 ioctl(4, 0xC0086914, 0xFFBDE940) = 0 ioctl(4, 0xC0206911, 0xFFBDE948) = 0 ioctl(4, 0xC0206911, 0xFFBDE948) = 0 door_info(3, 0xFFBD9E78) = 0 door_call(3, 0xFFBD9E60) = 0 close(4) = 0 pipe() = 4 [5] fork1() = 13687 lwp_cond_wait(0xFEE134E8, 0xFEE134F8, 0xFEE0CD80) = 0 lwp_cond_wait(0xFEE134E8, 0xFEE134F8, 0xFEE0CD80) = 0 lwp_cond_wait(0xFEE134E8, 0xFEE134F8, 0xFEE0CD80) = 0 lwp_mutex_wakeup(0xFEE134F8) = 0 lwp_mutex_lock(0xFEE134F8) = 0 lwp_mutex_lock(0xFEE134F8) = 0 lwp_mutex_lock(0xFEE134F8) = 0 sigaction(SIGCLD, 0xFFBED750, 0xFFBED850) = 0 close(5) = 0 fstat64(4, 0xFFBED810) = 0 brk(0x00188F28) = 0 brk(0x0018AF28) = 0 ioctl(4, TCGETA, 0xFFBED79C) Err#22 EINVAL read(4, " l o 0 : f l a g s = 1".., 5120) = 265 read(4, 0x00188414, 5120) = 0 llseek(4, 0, SEEK_CUR) Err#29 ESPIPE close(4) = 0 waitid(P_PID, 13687, 0xFFBED810, WEXITED|WTRAPPED) = 0 time() = 1278688298 stat64("/var/cfengine/state/env_data", 0xFFBEC0D0) Err#2 ENOENT stat64("/proc/vmware/version", 0xFFBEE8D0) Err#2 ENOENT stat64("/etc/vmware-release", 0xFFBEE8D0) Err#2 ENOENT stat64("/etc/vmware", 0xFFBEE8D0) Err#2 ENOENT stat64("/proc/xen/capabilities", 0xFFBEE8D0) Err#2 ENOENT getuid() = 0 [0] door_info(3, 0xFFBED3B8) = 0 door_call(3, 0xFFBED3A0) = 0 time() = 1278688298 Incurred fault #6, FLTBOUNDS %pc = 0x00000000 siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 Received signal #11, SIGSEGV siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 *** process killed *** Anybody have an idea of what my problem might be? Thanks, Gauthier _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine