Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

···

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.

I thought I would start with a fresh reboot… I waited 15 minutes to see if I received the updated list… This is the file in the tmp directory… root root 0 Apr 4 15:52 rpt_extnodes-temp

The one in my /var/lib/asterisk is over 3 hours old… Something doesn’t make sense…

Corey N3FE

···

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.


This message was scanned and is believed to be clean.
Click here to report this message as spam.

TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…

···

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.


This message was scanned and is believed to be clean.
Click here to report this message as spam.

sound like a NAT problem to me (maybe)

JIM

···

Date: Mon, 4 Apr 2011 15:16:25 -0400
From: kb3hjc@gmail.com
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

urg…,. sounds like there might be a problem somwhere… like something broke or something :slight_smile:

Boy, that was a concise, straightforward answer, wasn’t it :-).

Ill look into it a bit later after I un-bury myself from all the other stuff piled
up while I was out.

JIM

···

From: n3fe@repeater.net
To: n3fe@repeater.net; app_rpt-users@ohnosec.org
Date: Mon, 4 Apr 2011 16:24:20 -0400
Subject: Re: [App_rpt-users] Registration issues

TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.


This message was scanned and is believed to be clean.
Click here to report this message as spam.


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

Very strange… the IAX registration from your node (as are with several other nodes) is not being
sent to the registration server every 30 seconds like it’s supposed to be. This should only happen
if the IAX2 registration expire time is set to some larger value (the server actually waits 50 seconds
before construing the registration to be timed out). Dunno why this is…

JIM

···

From: n3fe@repeater.net
To: n3fe@repeater.net; app_rpt-users@ohnosec.org
Date: Mon, 4 Apr 2011 16:24:20 -0400
Subject: Re: [App_rpt-users] Registration issues

TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.


This message was scanned and is believed to be clean.
Click here to report this message as spam.


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

Corey,

Your wget command puts the Allstar node list file in a temporary staging area/name. So it won’t actually update your node list immediately, if at all. The actual nodes list lives at /var/lib/asterisk/rpt_extnodes.

Normally the script rc.updatesnodelist will always be running (ps aux | grep updatenodelist) so it shouldn’t be necessary to use the script below. But for troubleshooting it may be useful.

Here is a modified version of rc.updatesnodelist. Put this in a file, mark it executable and run it.

#! /bin/sh

TOPDOMAIN=allstarlink.org
SUBDOMAINS="nodes1 nodes2 nodes3"
FILEPATH=/var/lib/asterisk
WGET=`which wget`

for i in $SUBDOMAINS; do
    res=0
    while [ $res -eq 0 ]; do
        $WGET -O $FILEPATH/rpt_extnodes-temp http://$i.$TOPDOMAIN/cgi-bin/nodes.pl
        res=$?
        if [ $res -eq 0 ]; then
            /bin/chmod 700 $FILEPATH/rpt_extnodes-temp
            /bin/mv -f $FILEPATH/rpt_extnodes-temp $FILEPATH/rpt_extnodes
            echo "Retrieved node list from $i.$TOPDOMAIN"
            date
            #sleep 600
            exit 0
        else
            echo "Problem retrieving node list from $i.$TOPDOMAIN, trying another server";
            sleep 30
        fi
    done
done

Or you could just issue the following wget command. Note the host is nodes1 where the above script will try nodes1, nodes2 and nodes3.
/usr/bin/wget -O /var/lib/asterisk/rpt_extnodes http://nodes1.allstarlink.org/cgi-bin/nodes.pl

···

--
Tim
:wq

On Apr 4, 2011, at 1:24 PM, Corey Dean <n3fe@repeater.net> wrote:

TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73
Randy KB3HJC

--
This message was scanned and is believed to be clean.
Click here to report this message as spam.

--
This message was scanned and is believed to be clean.
Click here to report this message as spam.
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
ohnosec.org

You going back in time??? Lol… this was from way back in 2011….

Corey N3FE

···

From: Tim Sawyer [mailto:tim.sawyer@mac.com]
Sent: Saturday, December 07, 2013 1:17 PM
To: Corey Dean
Cc: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Corey,

Your wget command puts the Allstar node list file in a temporary staging area/name. So it won’t actually update your node list immediately, if at all. The actual nodes list lives at /var/lib/asterisk/rpt_extnodes.

Normally the script rc.updatesnodelist will always be running (ps aux | grep updatenodelist) so it shouldn’t be necessary to use the script below. But for troubleshooting it may be useful.

Here is a modified version of rc.updatesnodelist. Put this in a file, mark it executable and run it.

#! /bin/sh

TOPDOMAIN=allstarlink.org

SUBDOMAINS=“nodes1 nodes2 nodes3”

FILEPATH=/var/lib/asterisk

WGET=which wget

for i in $SUBDOMAINS; do

res=0

while [ $res -eq 0 ]; do

$WGET -O $FILEPATH/rpt_extnodes-temp http://$i.$TOPDOMAIN/cgi-bin/nodes.pl

res=$?

if [ $res -eq 0 ]; then

/bin/chmod 700 $FILEPATH/rpt_extnodes-temp

/bin/mv -f $FILEPATH/rpt_extnodes-temp $FILEPATH/rpt_extnodes

echo “Retrieved node list from $i.$TOPDOMAIN”

date

#sleep 600

exit 0

else

echo “Problem retrieving node list from $i.$TOPDOMAIN, trying another server”;

sleep 30

fi

done

done

Or you could just issue the following wget command. Note the host is nodes1 where the above script will try nodes1, nodes2 and nodes3.

/usr/bin/wget -O /var/lib/asterisk/rpt_extnodes http://nodes1.allstarlink.org/cgi-bin/nodes.pl


Tim
:wq

On Apr 4, 2011, at 1:24 PM, Corey Dean n3fe@repeater.net wrote:

TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] **On Behalf Of **Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] **On Behalf Of **Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.


This message was scanned and is believed to be clean.
Click here to report this message as spam.


App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users


This message was scanned and is believed to be clean.
Click here to report this message as spam.

Isn’t time travel fun. :slight_smile:

Some time ago I noticed my systems had not received the extnodes file in a very long time because the rc.updatenodelist script was hung up on one of the servers that was having a problem. So I modified the wget line in the /etc/rc.d/rc.updatenodelist script.

I added the “-t 2 -T 8” to the line and that seems to let it more easily skip over the server that is not working correctly.

$WGET -q -t 2 -T 8 -O /tmp/rpt_extnodes-temp http://$i.$TOPDOMAIN/cgi-bin/[nodes.pl](http://nodes.pl)

Seems to be lots better since then. Even when there were 2 of the 4 servers that were having issues, my system with the modified script still kept getting the updated extnodes file, while my friends system without the change was not getting the updated extnodes file.

Chuck, WB9UUS

···

On Sat, Dec 7, 2013 at 12:16 PM, Tim Sawyer tim.sawyer@mac.com wrote:

Corey,

Your wget command puts the Allstar node list file in a temporary staging area/name. So it won’t actually update your node list immediately, if at all. The actual nodes list lives at /var/lib/asterisk/rpt_extnodes.

Normally the script rc.updatesnodelist will always be running (ps aux | grep updatenodelist) so it shouldn’t be necessary to use the script below. But for troubleshooting it may be useful.

Here is a modified version of rc.updatesnodelist. Put this in a file, mark it executable and run it.

#! /bin/sh

TOPDOMAIN=allstarlink.org

SUBDOMAINS=“nodes1 nodes2 nodes3”

FILEPATH=/var/lib/asterisk

WGET=which wget

for i in $SUBDOMAINS; do

res=0

while [ $res -eq 0 ]; do

$WGET -O $FILEPATH/rpt_extnodes-temp http://$i.$TOPDOMAIN/cgi-bin/nodes.pl

res=$?

if [ $res -eq 0 ]; then

/bin/chmod 700 $FILEPATH/rpt_extnodes-temp

/bin/mv -f $FILEPATH/rpt_extnodes-temp $FILEPATH/rpt_extnodes

echo “Retrieved node list from $i.$TOPDOMAIN”

date

#sleep 600

exit 0

else

echo “Problem retrieving node list from $i.$TOPDOMAIN, trying another server”;

sleep 30

fi

done

done

Or you could just issue the following wget command. Note the host is nodes1 where the above script will try nodes1, nodes2 and nodes3.

/usr/bin/wget -O /var/lib/asterisk/rpt_extnodes http://nodes1.allstarlink.org/cgi-bin/nodes.pl


Tim
:wq

On Apr 4, 2011, at 1:24 PM, Corey Dean n3fe@repeater.net wrote:

TO add to this I can see my node trying to register. I will look at another node 27362 after it has downloaded the rpt-extnodes file and my 2340 does not show up… This just started today… Any clues? Sorry about all the emails… I am just trying to figure this out…

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] **On Behalf Of **Corey Dean
Sent: Monday, April 04, 2011 3:36 PM
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Registration issues

Same here. My node hasn’t been able to get the updated list for hours now. I manually issued the command on my node (which is registered to the system). An hour later it is still sitting here…

/usr/bin/wget -q -O /tmp/rpt_extnodes-temp http://nodes3.allstarlink.org/cgi-bin/nodes.pl

I have also seen this on at least 2 other nodes in the last month or so as well… The only way we can get by it is to add the info into rpt.conf

Corey N3FE

From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] **On Behalf Of **Randy Ballard
Sent: Monday, April 04, 2011 3:16 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Registration issues

My nodes 27365 and 27751 both on same server is showing on the status page but not showing in the rpt_extnodes on other nodes im using standard port 4569.

we have been seeing this with several nodes in our group over past month or so of coarse if we define in the rpt file we can connect but would be nice if it was registering.

sometimes it may show up in a few hours or a day generally a reboot and its gone again

Thanks for any help in advance

73

Randy KB3HJC


This message was scanned and is believed to be clean.
Click here to report this message as spam.


This message was scanned and is believed to be clean.
Click here to report this message as spam.


App_rpt-users mailing list
App_rpt-users@ohnosec.org

http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users


App_rpt-users mailing list

App_rpt-users@ohnosec.org

http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users