[nos-bbs] smtp ga unknown host exception
Jose Ng Lee
hp2cwb at cwpanama.net
Sat Feb 8 16:05:36 EST 2014
Hi Michael,
Thanks for reply. My mistake.
I found out I didn't define in config.h:
#define SGW_EXCEPTIONS /*SMTP Gateway exceptions (new for Dec2011) */
I was using the same config.h for many years back.
So, a new compile should solve my problem.
I will have to look carefully the config.h.default to see if I have something else left out to define.
Thanks,
José / HP2AT
----- Original Message -----
From: Michael E Fox - N6MEF
To: 'Jose Ng Lee' ; 'TAPR xNOS Mailing List'
Sent: Saturday, February 08, 2014 4:00 PM
Subject: RE: [nos-bbs] smtp ga unknown host exception
The second exception is redundant, since the first one already handles anything starting with 44/8. Since both are getting an error, that's not the source of the error, but just FYI.
I use similar statements, but I spell out the word gateway.
Do you have an smtp gateway defined first? I presume you have to do that before you can add an exception?
Michael
N6MEF
From: nos-bbs-bounces at tapr.org [mailto:nos-bbs-bounces at tapr.org] On Behalf Of Jose Ng Lee
Sent: Saturday, February 08, 2014 8:39 AM
To: TAPR xNOS Mailing List
Subject: [nos-bbs] smtp ga unknown host exception
I am trying to clean, check, and update line by line my autoexe.nos.
I added this two lines to avoid the smtp loop:
smtp ga exception add 44.0.0.0 0xff000000
smtp ga exception add 44.163.22.2 0xffffffff
But when I test and run ./jnos got this error lines:
Unknown host exception
input line: smtp ga exception add 44.0.0.0 0xff000000
Unknown host exception
input line: smtp ga exception add 44.163.22.2 0xffffffff
The same happen if I try instead of the number the name "ampr.ampr.org" and "onx.hp2at.ampr.org":
I believe I have my Domain setup correctly:
#######################
# DOMAIN NAME SERVICE #
#######################
domain suffix ampr.org.
domain retries 2
domain maxwait 60
domain add 200.46.127.6
domain add 200.46.127.7
domain cache clean on
domain cache wait 3300
domain update on
domain translate no
domain verbose on
domain dns on
domain maxclients 4
#domain cache size 15
domain subnet off
domain.txt
ampr.ampr.org. IN A 44.0.0.0
hp2ng.ampr.org. IN A 44.163.22.12
onx.hp2at.ampr.org. IN A 44.163.22.2
Please can someone give me an idea what's wrong to solve the problem.
Thanks,
73s 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 listnos-bbs at tapr.orghttp://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/20140208/a4a9a4cb/attachment.html>
More information about the nos-bbs
mailing list