FRR SG-1100 2.4.5
-
I just updated from 2.4.4_3 to 2.4.5. I recovered my config and everything seems to be working except for FRR/OSPF. Even when i disabled ospf frr/zebra seems to be stuck.
Some things i notice is that my cpu usage has gone up due to zebra:
22571 root 102 0 11180K 5476K CPU0 0 2:38 95.17% /usr/local/sbin/zebra -d -f /var/etc/frr/zebra.conf
Before my cpu was nrmally ~30% and it is still around this value if frr is disabled but whe enabled it goes to >70%.
Tried removing / reinstalling FRR and rebooting but same problem.
OSPFAlso if i ssh into the system this it what i see on ps
frr 77286 50.5 0.5 11180 5500 - R 14:24 0:07.31 /usr/local/sbin/zebra -d -f /var/etc/frr/zebra.conf root 71936 1.0 0.3 7172 2772 - S 14:24 0:00.03 /bin/sh /usr/local/etc/rc.d/frr.sh restart
Disabling/enabling OSPF doesnt make a difference.
Zebra config file:[2.4.5-RELEASE][root@pfsense.lan]/root: cat /var/etc/frr/zebra.conf ##################### DO NOT EDIT THIS FILE! ###################### ################################################################### # This file was created by an automatic configuration generator. # # The contents of this file will be overwritten without warning! # ################################################################### password pass # Accept Filters ip prefix-list ACCEPTFILTER permit any route-map ACCEPTFILTER permit 10 match ip address prefix-list ACCEPTFILTER ip protocol ospf route-map ACCEPTFILTER
-
Tried starting the process manually and tracing it, it hangs at the end.
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1076453376 (0x40296000) issetugid() = 0 (0x0) __sysctl(0xffffffffdda0,0x2,0x402e064c,0xffffffffdd98,0x0,0x0) = 0 (0x0) __sysctl(0xffffffffdda0,0x2,0x402e074c,0xffffffffdd98,0x0,0x0) = 0 (0x0) __sysctl(0xffffffffdda0,0x2,0x402e084c,0xffffffffdd98,0x0,0x0) = 0 (0x0) __sysctl(0xffffffffdda0,0x2,0x402e094c,0xffffffffdd98,0x0,0x0) = 0 (0x0) __sysctl(0xffffffffdda0,0x2,0x402e0a4c,0xffffffffdd98,0x0,0x0) = 0 (0x0) openat(AT_FDCWD,"/etc/libmap.conf",O_RDONLY|O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-rw-r--r-- ,inode=140106,size=47,blksize=32768 }) = 0 (0x0) mmap(0x0,47,PROT_READ,MAP_PRIVATE,3,0x0) = 1076486144 (0x4029e000) close(3) = 0 (0x0) open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,020) ERR#2 'No such file or directory' munmap(0x4029e000,47) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libfrr.so.0",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-rwxr-xr-x ,inode=139337,size=931536,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,1007616,PROT_NONE,MAP_GUARD,-1,0x0) = 1076760576 (0x402e1000) mmap(0x402e1000,389120,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1076760576 (0x402e1000) mmap(0x40341000,458752,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x60000) = 1077153792 ( 0x40341000) mmap(0x403b1000,77824,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0xd0000) = 1077612544 (0x403b1000) mmap(0x403c4000,77824,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1077690368 (0x403c4000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libyang.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-rwxr-xr-x ,inode=139325,size=1053272,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,1118208,PROT_NONE,MAP_GUARD,-1,0x0) = 1077768192 (0x403d7000) mmap(0x403d7000,139264,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1077768192 (0x403d7000) mmap(0x40407000,684032,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x30000) = 1077964800 ( 0x40407000) mmap(0x404b7000,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0xe0000) = 1078685696 (0x404b7000 ) mmap(0x404d8000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1078820864 (0x404d8000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libm.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,00) = 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0w\0\0\0\0"...,128) = 128 (0x80) fstat(3,{ mode=-r--r--r-- ,inode=6,size=247,blksize=32768 }) = 0 (0x0) pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,119,0x80) = 119 (0x77) close(3) = 0 (0x0) openat(AT_FDCWD,"/lib/libm.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=93353,size=396280,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,462848,PROT_NONE,MAP_GUARD,-1,0x0) = 1078886400 (0x404e8000) mmap(0x404e8000,69632,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1078886400 (0x404e8000) mmap(0x40508000,159744,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x20000) = 1079017472 ( 0x40508000) mmap(0x40538000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x50000) = 1079214080 (0x40538000) mmap(0x40549000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1079283712 (0x40549000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libexecinfo.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/libexecinfo.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/libexecinfo.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=92159,size=199296,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,200704,PROT_NONE,MAP_GUARD,-1,0x0) = 1079349248 (0x40559000) mmap(0x40559000,4096,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1079349248 (0x40559000) mmap(0x40569000,4096,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1079414784 (0x 40569000) mmap(0x40579000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x20000) = 1079480320 (0x40579000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libcrypt.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/libcrypt.so.5",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=93379,size=199456,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,335872,PROT_NONE,MAP_GUARD,-1,0x0) = 1079549952 (0x4058a000) mmap(0x4058a000,12288,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1079549952 (0x4058a000) mmap(0x4059a000,32768,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1079615488 (0 x4059a000) mmap(0x405aa000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x20000) = 1079681024 (0x405aa000) mmap(0x405bb000,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1079750656 (0x405bb000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libjson-c.so.4",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-rwxr-xr-x ,inode=139054,size=200184,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,266240,PROT_NONE,MAP_GUARD,-1,0x0) = 1079885824 (0x405dc000) mmap(0x405dc000,20480,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1079885824 (0x405dc000) mmap(0x405ec000,32768,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1079951360 (0 x405ec000) mmap(0x405fc000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x20000) = 1080016896 (0x405fc000) mmap(0x4060d000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1080086528 (0x4060d000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/librt.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/librt.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/librt.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=92647,size=199504,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,266240,PROT_NONE,MAP_GUARD,-1,0x0) = 1080152064 (0x4061d000) mmap(0x4061d000,12288,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1080152064 (0x4061d000) mmap(0x4062d000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1080217600 (0x 4062d000) mmap(0x4063d000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x20000) = 1080283136 (0x4063d000) mmap(0x4064e000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1080352768 (0x4064e000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libthr.so.3",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/libthr.so.3",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=93351,size=266328,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,376832,PROT_NONE,MAP_GUARD,-1,0x0) = 1080418304 (0x4065e000) mmap(0x4065e000,49152,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1080418304 (0x4065e000) mmap(0x4066e000,73728,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1080483840 (0 x4066e000) mmap(0x4068e000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x30000) = 1080614912 (0x4068e000) mmap(0x4069f000,110592,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1080684544 (0x4069f000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=93350,size=1466144,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,1609728,PROT_NONE,MAP_GUARD,-1,0x0) = 1080795136 (0x406ba000) mmap(0x406ba000,290816,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1080795136 (0x406ba000) mmap(0x4070a000,1024000,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x50000) = 1081122816 (0x4070a000) mmap(0x4080a000,90112,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x150000) = 1082171392 (0x4080a000 ) mmap(0x40820000,143360,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1082261504 (0x40820000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/libpcre.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-rwxr-xr-x ,inode=137866,size=658440,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,724992,PROT_NONE,MAP_GUARD,-1,0x0) = 1082404864 (0x40843000) mmap(0x40843000,98304,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1082404864 (0x40843000) mmap(0x40863000,405504,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x20000) = 1082535936 ( 0x40863000) mmap(0x408d3000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x90000) = 1082994688 (0x408d3000) mmap(0x408e4000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1083064320 (0x408e4000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/lib/libelf.so.2",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=93347,size=203288,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,200704,PROT_NONE,MAP_GUARD,-1,0x0) = 1083129856 (0x408f4000) mmap(0x408f4000,12288,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1083129856 (0x408f4000) mmap(0x40904000,53248,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1083195392 (0 x40904000) mmap(0x40914000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x20000) = 1083260928 (0x40914000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) openat(AT_FDCWD,"/lib/libgcc_s.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=93343,size=200480,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) = 1076486144 (0x4029e000) mmap(0x0,266240,PROT_NONE,MAP_GUARD,-1,0x0) = 1083330560 (0x40925000) mmap(0x40925000,16384,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) = 1083330560 (0x40925000) mmap(0x40935000,28672,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x10000) = 1083396096 (0 x40935000) mmap(0x40945000,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x20000) = 1083461632 (0x40945000) mmap(0x40956000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 1083531264 (0x40956000) mmap(0x0,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1076588544 (0x402b7000) munmap(0x4029e000,4096) = 0 (0x0) close(3) = 0 (0x0) mmap(0x0,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1083596800 (0x40966000) mprotect(0x403c1000,12288,PROT_READ) = 0 (0x0) mprotect(0x404d7000,4096,PROT_READ) = 0 (0x0) mprotect(0x40548000,4096,PROT_READ) = 0 (0x0) mprotect(0x40589000,4096,PROT_READ) = 0 (0x0) mprotect(0x405ba000,4096,PROT_READ) = 0 (0x0) mprotect(0x4060c000,4096,PROT_READ) = 0 (0x0) munmap(0x40976000,4096) = 0 (0x0) mmap(0x0,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1083662336 (0x40976000) mprotect(0x4064d000,4096,PROT_READ) = 0 (0x0) mprotect(0x4069e000,4096,PROT_READ) = 0 (0x0) munmap(0x4097b000,20480) = 0 (0x0) mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1083682816 (0x4097b000) mprotect(0x4081a000,24576,PROT_READ) = 0 (0x0) mprotect(0x408e3000,4096,PROT_READ) = 0 (0x0) mprotect(0x40924000,4096,PROT_READ) = 0 (0x0) mprotect(0x40955000,4096,PROT_READ) = 0 (0x0) sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SI GTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) readlink("/etc/malloc.conf",0xffffffffd50c,1024) ERR#2 'No such file or directory' issetugid() = 0 (0x0) __sysctl(0xffffffffd3e0,0x2,0xffffffffd430,0xffffffffd428,0x406f5239,0xd) = 0 (0x0) __sysctl(0xffffffffd430,0x2,0xffffffffd4e4,0xffffffffd4d8,0x0,0x0) = 0 (0x0) mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1083785216 (0x40994000) munmap(0x40994000,2097152) = 0 (0x0) mmap(0x0,4190208,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1083785216 (0x40994000) munmap(0x40994000,442368) = 0 (0x0) munmap(0x40c00000,1650688) = 0 (0x0) sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SI GTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) __sysctl(0xffffffffd958,0x2,0x406ae040,0xffffffffd978,0x0,0x0) = 0 (0x0) getrlimit(RLIMIT_STACK,{ cur=1073741824,max=1073741824 }) = 0 (0x0) __sysctl(0xffffffffd860,0x2,0xffffffffd8b0,0xffffffffd8a8,0x406660b6,0xd) = 0 (0x0) __sysctl(0xffffffffd8b0,0x3,0x406b90b8,0xffffffffd978,0x0,0x0) = 0 (0x0) mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1086324736 (0x40c00000) thr_self(0x40c16000) = 0 (0x0) mmap(0xffffbfffe000,4096,PROT_NONE,MAP_ANON,-1,0x0) = 281473902960640 (0xffffbfffe000) rtprio_thread(RTP_LOOKUP,100246,0xffffffffd928) = 0 (0x0) sigaction(SIGTHR,{ 0x406759cc SA_SIGINFO ss_t },0x0) = 0 (0x0) sigprocmask(SIG_UNBLOCK,{ },0x0) = 0 (0x0) _umtx_op(0xffffffffd938,UMTX_OP_WAKE,0x1,0x0,0x0) = 0 (0x0) mprotect(0x0,0,PROT_NONE) = 0 (0x0) getpid() = 21576 (0x5448) getpid() = 21576 (0x5448) sigprocmask(SIG_BLOCK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIP E|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWIN CH|SIGINFO|SIGUSR1|SIGUSR2 },{ }) = 0 (0x0) sigprocmask(SIG_SETMASK,{ },0x0) = 0 (0x0) getcontext(0xffffffffd520) = 0 (0x0) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 1076486144 (0x4029e000) mprotect(0x2a0000,4096,PROT_READ) = 0 (0x0) umask(0x17) = 18 (0x12) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) open("/etc/nsswitch.conf",O_RDONLY|O_CLOEXEC,0666) = 3 (0x3) ioctl(3,TIOCGETA,0xffffffffe318) ERR#25 'Inappropriate ioctl for device' fstat(3,{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) read(3,"#\n# nsswitch.conf(5) - name ser"...,32768) = 274 (0x112) read(3,0x40c36b00,32768) = 0 (0x0) openat(AT_FDCWD,"/usr/local/lib/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/compat/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/engines/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/ipsec/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/perl5/5.30/mach/CORE/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such fil e or directory' openat(AT_FDCWD,"/lib/casper/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/nss_files.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/compat/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/engines/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/ipsec/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/local/lib/perl5/5.30/mach/CORE/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/casper/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/lib/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' openat(AT_FDCWD,"/usr/lib/nss_dns.so.1",O_RDONLY|O_CLOEXEC|O_VERIFY,00) ERR#2 'No such file or directory' ioctl(3,TIOCGETA,0xffffffffe2e8) ERR#25 'Inappropriate ioctl for device' close(3) = 0 (0x0) open("/etc/group",O_RDONLY|O_CLOEXEC,0666) = 3 (0x3) fstat(3,{ mode=-rw-r--r-- ,inode=139528,size=535,blksize=32768 }) = 0 (0x0) lseek(3,0x0,SEEK_CUR) = 0 (0x0) lseek(3,0x0,SEEK_SET) = 0 (0x0) read(3,"# $FreeBSD$\n#\nwheel:*:0:root\n"...,32768) = 535 (0x217) close(3) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) geteuid() = 0 (0x0) open("/etc/spwd.db",O_RDONLY|O_CLOEXEC,00) = 3 (0x3) fstat(3,{ mode=-rw------- ,inode=139532,size=40960,blksize=32768 }) = 0 (0x0) read(3,"\0\^F\^Ua\0\0\0\^B\0\0\^P\M-a\0"...,260) = 260 (0x104) pread(3,"\0\^Z\^O\M-x\^O\M-w\^O\M-r\^O"...,4096,0x6000) = 4096 (0x1000) pread(3,"\0"\^O\M-{\^O\M->\^O\M-9\^Oz\^Ou"...,4096,0x4000) = 4096 (0x1000) close(3) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) open("/etc/group",O_RDONLY|O_CLOEXEC,0666) = 3 (0x3) fstat(3,{ mode=-rw-r--r-- ,inode=139528,size=535,blksize=32768 }) = 0 (0x0) lseek(3,0x0,SEEK_CUR) = 0 (0x0) lseek(3,0x0,SEEK_SET) = 0 (0x0) read(3,"# $FreeBSD$\n#\nwheel:*:0:root\n"...,32768) = 535 (0x217) close(3) = 0 (0x0) socket(PF_LOCAL,SOCK_DGRAM|SOCK_CLOEXEC,0) = 3 (0x3) connect(3,{ AF_UNIX "/var/run/logpriv" },106) = 0 (0x0) __sysctl(0x40559dac,0x4,0xffffffffe270,0xffffffffe268,0x0,0x0) = 0 (0x0) openat(AT_FDCWD,"/usr/local/sbin/zebra",O_RDONLY,00) = 4 (0x4) fstat(4,{ mode=-rwxr-xr-x ,inode=139358,size=658896,blksize=32768 }) = 0 (0x0) mmap(0x0,658896,PROT_READ,MAP_PRIVATE,4,0x0) = 1088421888 (0x40e00000) munmap(0x40e00000,658896) = 0 (0x0) close(4) = 0 (0x0) __sysctl(0x40559dac,0x4,0xffffffffe230,0xffffffffe228,0x0,0x0) = 0 (0x0) openat(AT_FDCWD,"/usr/local/sbin/zebra",O_RDONLY,00) = 4 (0x4) fstat(4,{ mode=-rwxr-xr-x ,inode=139358,size=658896,blksize=32768 }) = 0 (0x0) mmap(0x0,658896,PROT_READ,MAP_PRIVATE,4,0x0) = 1088421888 (0x40e00000) munmap(0x40e00000,658896) = 0 (0x0) close(4) = 0 (0x0) umask(0x12) = 23 (0x17) mkdir("/var/run/frr",0755) ERR#17 'File exists' umask(0x17) = 18 (0x12) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) open("/etc/group",O_RDONLY|O_CLOEXEC,0666) = 4 (0x4) lseek(4,0x0,SEEK_CUR) = 0 (0x0) fstat(4,{ mode=-rw-r--r-- ,inode=139528,size=535,blksize=32768 }) = 0 (0x0) read(4,"# $FreeBSD$\n#\nwheel:*:0:root\n"...,32768) = 535 (0x217) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) lseek(4,0x0,SEEK_CUR) = 535 (0x217) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) read(4,0x40c36b00,32768) = 0 (0x0) stat("/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=140121,size=274,blksize=32768 }) = 0 (0x0) close(4) = 0 (0x0) geteuid() = 0 (0x0) setgroups(0x2,0xffffffffd71c) = 0 (0x0) setregid(0xa8,0xa8) = 0 (0x0) geteuid() = 0 (0x0) setreuid(0xffffffff,0xa8) = 0 (0x0)
-
@josepr said in FRR SG-1100 2.4.5:
ERR#2 'No such file or directory'
I see a number of these errors in your trace along with a file name:
ERR#2 'No such file or directory'
Those are probably not normal. I'm not an
frr
package user, but a number of the "no such file or directory" errors I see in your trace are where it is trying to load what are likely critical required libraries. Find out what's causing those errors and you will likely find what's causingfrr
not to start. -
It appears to be a problem with FRR itself on that architecture. We're aware and looking into it.
-
I too am experiencing this issue, FRR BGP shows were started in Status>Services. However, when going to Services>FFR> Status we get that BGPD does not appear to be running. We are not able to get our AWS VPN Site to Site to route, and our OpenVPN Site to Sites to route either.
We are also seeing ALOT of these errors in the logs:
/pkg_edit.php: The command '/bin/chmod u+rw,go-rw /var/etc/frr/staticd.conf' returned exit code '1', the output was 'chmod: /var/etc/frr/staticd.conf: No such file or directory'/pkg_edit.php: The command '/bin/chmod u+rw,go-rw /var/etc/frr/ospf6d.conf' returned exit code '1', the output was 'chmod: /var/etc/frr/ospf6d.conf: No such file or directory'
/pkg_edit.php: The command '/bin/chmod u+rw,go-rw /var/etc/frr/ospfd.conf' returned exit code '1', the output was 'chmod: /var/etc/frr/ospfd.conf: No such file or directory'
/pkg_edit.php: FRR OSPF6d: No config data found.
/pkg_edit.php: FRR OSPFd: No config data found.
Along with alot of these errors, however we don't even use OSPF/OSPF6:
-
Same here. I just got my SG-1100 yesterday and just converted my vmware config to run on it and FRR is not working for my Azure connections also :(
-
I can confirm that FRR OSPF is currently not working on my SG-1100, it's working on my SG-3100 (same package versions).
@BEB-Consulting Those errors are normal. The corresponding config files are deleted when a routing protocol is disabled. It still works though.
-
@jmesserli Apparently not, as am unable to start any of the FRR services. I have opened a support case, and apparently NetGate is aware of the issue, however there is no ETA on a fix. The recommended workaround is to reimage the SG-1100 back to 2.4.4. We are in the process of doing this.
-
@BEB-Consulting Sorry, what I meant to say is that I'm seeing those chmod errors on my SG-3100 too, and that doesn't stop it from working - so the problem is probably not those error messages. It is definitely not working for the SG-1100 though.
Good luck with the reimaging!
-
@BEB-Consulting and @jmesserli:
The problem is due to the underlying CPU being different. The SG-1100 uses a 64-bit ARM processor while the SG-3100 uses a 32-bit ARM processor. The compiler that produces binary ARM machine code from the higher level languages the applications are written in (typically C or C++) is where the problem lies. The compiler is producing incorrect binary code for certain ARM CPU types.
There is no setting, nor anything else really, that the user can change on their end to affect this. The actual binary code of the
frr
executable is faulty on the SG-1100. The same type of issue is currently impacting Suricata on the SG-1100 as well. -
Didn't expect the compiler to be at fault, has a bug report been submitted so we can track the issue?
-
@Elegant said in FRR SG-1100 2.4.5:
Didn't expect the compiler to be at fault, has a bug report been submitted so we can track the issue?
There is an issue here:
https://redmine.pfsense.org/issues/10444 -
@jimp said in FRR SG-1100 2.4.5:
It appears to be a problem with FRR itself on that architecture. We're aware and looking into it.
@jimp Any updates on this? I just got my SG-1100 a few weeks ago and installed 2.4.5 and have been stuck with static routes since I can't get FRR to work anymore.
Even if I downgraded to 2.4.4 would it work???
Thanks!