[nos-bbs] Raspberry Pi Jnos exiting every 15 minutes or less
Bob Tenty
bobtenty at gmail.com
Wed Feb 12 18:23:36 EST 2014
Check or /var/log/syslog gives you a clue just before the time it restarts.
Run jnos from the shell prompt instead of in a pseudo tty and let it
run for a while
and see or it doesn't crash or whatever.
It may be how you start jnos in a pseudo tty if it keeps running from
the shell.
73,
Bob (Boudewijn) VE3TOK
On 14-02-12 11:20 AM, Jose Ng Lee wrote:
> I am using the F6BVP image with AX25, DXSpider, Fbb, Fpac preintalled
> burned into a 32GB SD card. Later installed Jnos, APRX, and LinBPQ.
> All the other software are working OK. My only problem is Jnos that
> is keep exiting in every 15 minutes or less. I set it to respawn
> automatically. I tried jnos2f and jnos2fx4 compiled from the source
> OK but still exiting. The logs doesn't show me why it is exiting.
>
> JNOS LOG:
> 09:54:25 - allocating maximum of 24 Axip (axudp + axip) devices
> 09:54:25 - allocating maximum of 24 dynamic gateways for routes
> 09:54:26 - using new [tun0] device
> 09:54:26 - tun_rx - listening for packets
> 09:55:07 - JNOS 2.0j.4 (Linux) was started
> 10:09:51 - allocating maximum of 24 Axip (axudp + axip) devices
> 10:09:51 - allocating maximum of 24 dynamic gateways for routes
> 10:09:51 - using new [tun0] device
> 10:09:51 - tun_rx - listening for packets
> 10:10:33 - JNOS 2.0j.4 (Linux) was started
> 10:19:13 - allocating maximum of 24 Axip (axudp + axip) devices
> 10:19:13 - allocating maximum of 24 dynamic gateways for routes
> 10:19:14 - using new [tun0] device
> 10:19:14 - tun_rx - listening for packets
> 10:19:55 - JNOS 2.0j.4 (Linux) was started
> 10:20:10 - allocating maximum of 24 Axip (axudp + axip) devices
> 10:20:10 - allocating maximum of 24 dynamic gateways for routes
> 10:20:10 - using new [tun0] device
> 10:20:10 - tun_rx - listening for packets
> 10:20:51 - JNOS 2.0j.4 (Linux) was started
>
> SYSLOG:
> Feb 12 10:19:37 hp2ng netromd[3139]: receiving NODES broadcast on port
> lan from HP2NG-6
> Feb 12 10:19:55 hp2ng kernel: [ 160.052280] IPv4: martian source
> 200.46.129.3 from 44.163.22.12, on dev tun0
> Feb 12 10:19:55 hp2ng kernel: [ 160.076090] IPv4: martian source
> 200.46.129.3 from 44.163.22.12, on dev tun0
> Feb 12 10:19:55 hp2ng kernel: [ 160.102165] IPv4: martian source
> 200.46.129.3 from 44.163.22.12, on dev tun0
> Feb 12 10:20:10 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 786 APRS
> Queues 0 0#015
> Feb 12 10:20:10 hp2ng netromd[3139]: receiving NODES broadcast on port
> bpq from HP2NG-2
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: route to me
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: route to me
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: route to me
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: quality less
> than worst_qual
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: quality less
> than worst_qual
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: quality less
> than worst_qual
> Feb 12 10:20:10 hp2ng netromd[3139]: netromr: add_node: quality less
> than worst_qual
> Feb 12 10:20:10 hp2ng NetworkManager[2896]: SCPlugin-Ifupdown:
> devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
> Feb 12 10:20:10 hp2ng NetworkManager[2896]: SCPlugin-Ifupdown:
> devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
> Feb 12 10:20:10 hp2ng NetworkManager[2896]: SCPlugin-Ifupdown:
> device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no
> ifupdown configuration found.
> Feb 12 10:20:34 hp2ng netromd[3139]: receiving NODES broadcast on port
> lan from HP2NG-6
> Feb 12 10:20:51 hp2ng kernel: [ 216.684161] IPv4: martian source
> 200.46.129.3 from 44.163.22.12, on dev tun0
> Feb 12 10:20:51 hp2ng kernel: [ 216.707724] IPv4: martian source
> 200.46.129.3 from 44.163.22.12, on dev tun0
> Feb 12 10:20:52 hp2ng kernel: [ 216.733542] IPv4: martian source
> 200.46.129.3 from 44.163.22.12, on dev tun0
> Feb 12 10:21:05 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 786 APRS
> Queues 0 0#015
> Feb 12 10:22:00 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:22:31 hp2ng dbus[2812]: [system] Activating service
> name='org.freedesktop.ConsoleKit' (using servicehelper)
> Feb 12 10:22:31 hp2ng dbus[2812]: [system] Successfully activated
> service 'org.freedesktop.ConsoleKit'
> Feb 12 10:22:56 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:23:31 hp2ng kernel: [ 375.843236]
> Shorewall:net2tun:DROP:IN=eth0 OUT=tun0
> MAC=b8:27:eb:e1:b2:ee:00:16:17:4d:70:d9:08:00:45:00:00:81:e3:32:00:00:de:5d:66:88
> SRC=200.46.129.3 DST=200.46.129.4 LEN=129 TOS=0x00 PREC=0x00 TTL=222
> ID=58162 PROTO=93
> Feb 12 10:23:51 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:24:46 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:25:02 hp2ng kernel: [ 466.821519]
> Shorewall:net2tun:DROP:IN=eth0 OUT=tun0
> MAC=b8:27:eb:e1:b2:ee:88:43:e1:dc:7f:40:08:00:45:00:00:28:01:00:00:00:6a:06:0b:dd
> SRC=198.40.52.152 DST=200.46.129.4 LEN=40 TOS=0x00 PREC=0x00 TTL=106
> ID=256 PROTO=TCP SPT=6000 DPT=3389 WINDOW=16384 RES=0x00 SYN URGP=0
> Feb 12 10:25:42 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:26:37 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:27:32 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
> Feb 12 10:28:22 hp2ng kernel: [ 667.562527]
> Shorewall:net2tun:DROP:IN=eth0 OUT=tun0
> MAC=b8:27:eb:e1:b2:ee:88:43:e1:dc:7f:40:08:00:45:00:00:30:a1:0a:00:00:68:06:cf:b6
> SRC=61.129.91.83 DST=200.46.129.4 LEN=48 TOS=0x00 PREC=0x00 TTL=104
> ID=41226 PROTO=TCP SPT=24397 DPT=22 WINDOW=65535 RES=0x00 SYN URGP=0
> Feb 12 10:28:27 hp2ng LINBPQ[3289]: BPQ32 Heartbeat Buffers 787 APRS
> Queues 0 0#015
>
> I tried gdb but it said no debugging symbols. I re-compiled the jnos
> binary without stripping but still shows the no debugging symbols. I
> tried in the makefile debug static -g3 but does not compile and exit
> with Error.
>
> root at hp2ng:/home/hp2at <mailto:root at hp2ng:/home/hp2at># ps -ef | grep jnos
> root 3874 1 0 10:47 tty8 00:00:00 /jnos/jnos -d /jnos -v
> root 3961 3959 0 10:50 pts/10 00:00:00 grep jnos
> root at hp2ng:/home/hp2at <mailto:root at hp2ng:/home/hp2at># gdb -p 3874
> GNU gdb (GDB) 7.4.1-debian
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "arm-linux-gnueabihf".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Attaching to process 3874
> Reading symbols from /jnos/jnos...done.
> Reading symbols from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so...(no
> debugging symbols found)...done.
> Loaded symbols for /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
> Reading symbols from /lib/arm-linux-gnueabihf/libncurses.so.5...(no
> debugging symbols found)...done.
> Loaded symbols for /lib/arm-linux-gnueabihf/libncurses.so.5
> Reading symbols from /lib/arm-linux-gnueabihf/libtinfo.so.5...(no
> debugging symbols found)...done.
> Loaded symbols for /lib/arm-linux-gnueabihf/libtinfo.so.5
> Reading symbols from /lib/arm-linux-gnueabihf/libgcc_s.so.1...(no
> debugging symbols found)...done.
> Loaded symbols for /lib/arm-linux-gnueabihf/libgcc_s.so.1
> Reading symbols from /lib/arm-linux-gnueabihf/libc.so.6...Reading
> symbols from /usr/lib/debug/lib/arm-linux-gnueabihf/libc-2.13.so...done.
> done.
> Loaded symbols for /lib/arm-linux-gnueabihf/libc.so.6
> Reading symbols from /lib/arm-linux-gnueabihf/libdl.so.2...Reading
> symbols from /usr/lib/debug/lib/arm-linux-gnueabihf/libdl-2.13.so...done.
> done.
> Loaded symbols for /lib/arm-linux-gnueabihf/libdl.so.2
> Reading symbols from /lib/ld-linux-armhf.so.3...(no debugging symbols
> found)...done.
> Loaded symbols for /lib/ld-linux-armhf.so.3
> 0xb6e9bd80 in select () at ../sysdeps/unix/syscall-template.S:82
> 82 ../sysdeps/unix/syscall-template.S: No such file or directory.
> (gdb)
>
> I tried looking at the autoexec.nos for anything not right, the
> network configuration, shorewall firewall configuration, cron jobs,
> not running the other software LinBPQ, APRX, etc but still exiting in
> 15 minutes or less.
>
> Any help where to look or what to try to make JNOS work.
>
> Thanks,
> Jose / HP2AT
>
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> http://www.tapr.org/mailman/listinfo/nos-bbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20140212/433fa4fa/attachment.html>
More information about the nos-bbs
mailing list