[nos-bbs] RPI Jnos Respawning every few minutes
Jose Ng Lee
hp2cwb at cwpanama.net
Thu Feb 6 21:45:58 EST 2014
Hello Bob,
Thanks, for reply. Yes, after compilation I did a strip jnos.
I checked the makefile and it has:
PATCHES = -DDEBUG
DEBUG = -g3 ## -DHOLD_PARSER=\"/usr/local/bin/scanjmsg\"
Recompile again without stripping the jnos this time. But, it looks the same result.
My install on the RPI, I did a zip of the jnos directory in my Ubuntu PC and unzipped in the RPI. Modify some files for the Jnos hp2ng.ampr.org.
Just went through again the files and realized that I forget to change in the rewrite file from onx.hp2at.ampr.org to hp2ng.ampr.org on this new setup.
Maybe, the SMTP went crazy and exit the JNOS making it to respawn.
Now, testing the Jnos remotely from Home (RPI in my office Qth) through ssh and it has not respawn for over 37 minutes.
So, maybe fix now. Will keep looking. Some mistakes on my side.
Thanks,
José / HP2AT
----- Original Message -----
From: Bob Tenty
To: TAPR xNOS Mailing List
Sent: Thursday, February 06, 2014 5:46 PM
Subject: Re: [nos-bbs] RPI Jnos Respawning every few minutes
Hi Jose,
> Reading symbols from /jnos/jnos...(no debugging symbols found)...done.
It looks or your compiled jnos without debugging symbols.
(or stripped later the binary of them)
These are necessary if you want to debug jnos.
Look at the DEBUG line in the makefile to see or the option -g3 is still there.
73,
Bob (Boudewijn) VE3TOK
On 14-02-06 01:29 PM, Jose Ng Lee wrote:
I have on my RPI Fbb, DXSpider, FPAC, LinBPQ, and JNOS working.
Setup on inittab JNOS to restart automatically:
##Start Jnos on bootup and respawn it should it crash
JNOS:2345:respawn:/jnos/startnos
I see on my Logs that the JNOS is restarting in every few minutes but doesn't tell me the cause of the problem:
09:26:24 - JNOS 2.0j.4 (Linux) was started
09:37:23 - allocating maximum of 24 Axip (axudp + axip) devices
09:37:23 - allocating maximum of 24 dynamic gateways for routes
09:37:23 - using new [tun0] device
09:37:23 - tun_rx - listening for packets
09:37:56 - JNOS 2.0j.4 (Linux) was started
09:37:58 - allocating maximum of 24 Axip (axudp + axip) devices
09:37:58 - allocating maximum of 24 dynamic gateways for routes
09:37:58 - using new [tun0] device
09:37:58 - tun_rx - listening for packets
09:38:31 - JNOS 2.0j.4 (Linux) was started
09:39:40 - allocating maximum of 24 Axip (axudp + axip) devices
09:39:40 - allocating maximum of 24 dynamic gateways for routes
09:39:40 - using new [tun0] device
09:39:40 - tun_rx - listening for packets
I read from the maillist archive the use of gdb to find the problem of the crash. Tried but no results I can understand until my SSH session freeze:
root at hp2ng:/jnos/logs# gdb -p 17560
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 17560
Reading symbols from /jnos/jnos...(no debugging symbols found)...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
0xb6e27d80 in select () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb)
Any other way or tool I can use to find what is causing the crash of my Jnos.
73s Jose / HP2AT
_______________________________________________
nos-bbs mailing list
nos-bbs at tapr.org
http://www.tapr.org/mailman/listinfo/nos-bbs
------------------------------------------------------------------------------
_______________________________________________
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/20140206/ef2657da/attachment.html>
More information about the nos-bbs
mailing list