# Allmon Missing Node Information

**URL:** <https://community.allstarlink.org/t/allmon-missing-node-information/15852>\
**Category:** AllStarLink\
**Created:** [December 26, 2019, 11:55pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852 "2019-12-26T23:55:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [December 26, 2019, 11:55pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/1 "2019-12-26T23:55:50Z")

</div>

If your Allmon has blanks under the Node Information column you need to make a simple change. In your Allmon directory change the astdb.php file $url= line as follows…

/var/www/html/astdb.php  
`$url = "https://www.allstarlink.org/allmondb.php";`

The Allmon directory varies according to your particular installation.

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [January 19, 2020, 2:16pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/2 "2020-01-19T14:16:07Z")

</div>

There was a change in the AllStar database last night. If you have blank Node information please run your Allmon update manually. It’s generally `/var/www/html/astdb.php` but may vary on your installation.

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [June 25, 2020, 5:43pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/3 "2020-06-25T17:43:25Z")

</div>

Hello Tim. I’m running DIAL and have had Allmon running stable for a couple of years.  
We run with Private Nodes. A few days ago I added a node to privatenodes.txt.  
After the ./astdb.php command all the Nodes Information went away.  
Any ideas on how to troubleshoot what happened? Tnx Mark WB2ERS

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [June 25, 2020, 8:38pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/4 "2020-06-25T20:38:43Z")

</div>

Mark,

See this [New URL for Allmon Database. Update astdb.php](https://community.allstarlink.org/t/new-url-for-allmon-database-update-astdb-php/16331)

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [July 14, 2020, 12:27pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/5 "2020-07-14T12:27:59Z")

</div>

Tim, We did that a couple of weeks ago and the private nodes showed up fine after that.  
A few days ago the Allmon stopped functioning and all we get when going to the server address is:  
Redirecting to about.php

Any ideas where to start troubleshooting?  
Tnx, Mark WB2ERS

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [July 14, 2020, 1:50pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/6 "2020-07-14T13:50:19Z")

</div>

Mark,

I just tested [http://allmondb.allstarlink.org](http://allmondb.allstarlink.org) from my browser. It worked fine so it appears the server is working and the URL is still good.

Have you tried to ping [allmondb.allstarlink.org](http://allmondb.allstarlink.org)?

What happens if you go to your allmon directory and run ./astdb.php?

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [November 5, 2020, 11:59am UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/7 "2020-11-05T11:59:50Z")

</div>

> [@WD6AWP](#):
>
> [allmondb.allstarlink.org](http://allmondb.allstarlink.org)

Tim, Hello. I finally am getting back to this project.  
I am running DIAL in this instance. Allmon was showing the privatenodes.txt  
with no problem and then it just went away.  
I did the $url change you suggested back then and the node information came back.  
Some weeks after that they went away again.  
Recently I installed Allmon2 on the same DIAL platform.  
I also added the privatenodes.txt file into the Allmon2 directory.  
Now I still have nothing in the Nodes Information and my Voter display is gone.  
Can you direct me with some troubleshooting suggestions and possible fix?

Tnx,

Mark

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 6, 2020, 12:06am UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/8 "2020-11-06T00:06:41Z")

</div>

Hi Mark,

The format of allmon.ini.php changed between Allmon and Allmon2. Check the sample ini included with Allmon2 for the new format. Let me know if you still have trouble.

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [November 7, 2020, 2:23am UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/9 "2020-11-07T02:23:57Z")

</div>

Tim, I don’t see a sample. This is the list of files I have in allmon2:  
root@GARASRV:/var/www/html/allmon2# ls  
about.php controlserver.php jquery-ui.css README  
allmon.css favicon.ico jquery-ui.js server.php  
allmon.inc.php footer.inc jquery-ui.min.css session.inc  
allmon.ini.php header.inc jquery-ui.min.js voter.ini.php  
allstarLogo.png images link.php voter.php  
astdb.php index.html login.php voterserver.php  
connect.php index.php logout.php  
controlpanel.ini.php jquery-3.3.1.min.js menu.inc  
controlpanel.php jquery.min.js privatenodes.txt

This is the privatenodes.txt file:  
NODE|CALL|INFO|LOCATION  
;1000|WD6AWP|Private Hub|Huntington Beach  
1400|WB2ERS-CI|TEST\_BENCH|CI  
1401|WB2ERS-CI|TEST\_BENCH|CI  
1431|W2RGM|147.675 110.9 rx|Hauppauge  
1432|W2RGM|223.96 110.9 rx|Hauppauge  
1444|WB2ERS-LI|444.75 110.9|LI-NY Region  
1448|WB2ERS|VHF Remote|LI-NY  
1449|WB2ERS|440 Remote|LI-NY  
1480|W2RGM|443.50 Rpt|Dix Hills LI  
1481|W2RGM|147.075 100.0|Dix Hills LI  
1482|W2RGM|224.56 136.5|Dix Hills LI  
1483|W2RGM|222.96 Rx 110.9|Hauppauge  
1490|42805 N1NDN|449.775 114.8|Glens Falls  
1500|W2TUP|VHF Frequency Agile omni|Morris  
1501|W2TUP|147.33 +.6 100.0|Tupper Lake  
1503|N2MNT|147.075 71.9|UHF SE Freq Agile  
1502|KA2FWN|UHF Omni F Agile|Old Forge NY  
1504|W2TUP|444.70 + 110.9|Tupper Lake  
1506|WB2ERS|444.75 + 110.9|Saratoga NY  
1507|W2WCR|146.73 +.6 via Hub|Glens Falls  
1510|N2MMV|449.825 - 110.9|Plattsburgh NY  
1512|N2MMV|449.575 -5 110.9|Malone-Perry NY  
1515|KC2KVE|147.79 +1 110.9|Ogdensburg  
1516|KC2KVE|Freq Agile 2M |Ogdensburg NY  
1518|KC2KVE|VHF Freq Agile|Ogdensburg  
1517|KC2KVE|448.775 -5 110.9|Ogdensburg  
1540|K2WW|147.39 +.6 100.0|Parishville  
1541|K2WW|444.75 +5 110.9|Parishville  
1520|W2SLV|444.75 + 110.9|Hopkinton NY  
1521|W2SLV|147.39 + 110.9|Hopkinton NY  
1530|K2WW|444.75 + 110.9|Watertown/Balmat  
1550|W1ABI|NEFMRA Link|Killington VT  
1992|K2WW|444.75 + 110.9|Potsdam NY  
1996|NR2C|442.025 + 110.9|Medina NY  
41764|N1NDN|449.775 - 114.8|Queensbury  
42279|WB2ERS|Allstar|Network Node  
42805|N1NDN|Allstar|tied to 1490  
40269|KE2EMS|ADK-DMR|Bridge  
;446.125 +5 110.9|Port Rptr

This is the astdb.php (first part:

$dir = “/var/www/html/allmon2/”;  
$db = $dir . “astdb.txt”;  
$privatefile = $dir . “privatenodes.txt”;

$retries = 0;  
$Pcontents = ‘’;  
$private = getenv(‘PRIVATE\_NODE’);  
$contents = ‘’;  
$contents2 = ‘’;

#$url = “[https://allstarlink.org/cgi-bin/allmondb.pl](https://allstarlink.org/cgi-bin/allmondb.pl)”;  
$url2 = “[https://nodelist.hamvoip.org/getASLdb.php](https://nodelist.hamvoip.org/getASLdb.php)”;  
//$url = “[http://allmondb.allstarlink.org/](http://allmondb.allstarlink.org/)”;  
$url = “[https://www.allstarlink.org/allmondb.php](https://www.allstarlink.org/allmondb.php)”;  
// Load private nodes if any  
// Private nodes are less than 2000 and loaded first  
// to ensure proper order of file  
if (file\_exists($privatefile)) {  
$Pcontents .= file\_get\_contents($privatefile);  
}

// Check if ONLY private nodes  
// In that case do not read Allstar database  
// Maintains compatibility with pre 1.3 versions  
// assumes empty environment variable  
if (is\_null($private) || !$private) { // If not a private node…  
// If called by cron wait between 0 and 30 min  
if (isset($argv[1]) && $argv[1] == ‘cron’) {  
$seconds = mt\_rand(0, 1800);  
print “Waiting for $seconds seconds…\n”;  
while ($seconds \> 0) {  
if ($seconds \> 60) {  
print “Sleeping for $seconds seconds…\n”;  
sleep(60);  
$seconds = $seconds - 60;  
} else {  
print “Sleeping for $seconds seconds…\n”;  
sleep($seconds);

Let me know your thoughts.

Tnx

Mark

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 7, 2020, 3:46pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/10 "2020-11-07T15:46:42Z")

</div>

Let’s back up. First read this you haven’t:

> <https://github.com/tsawyer/allmon2/blob/master/allmon.ini.txt>

Then try a simple config to be sure the basics are working something like:

file: allmon.ini.php

```auto
#change to your node, ID, password... etc
[2531]
system=AWP
host=0.0.0.0:1234
user=<userid>
passwd=<secret>
nomenu=yes
[2531 Santiago 440]
system=AWP
nodes=2531
[2531 RTCM]
system=AWP
rtcmnode=2531

```

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [November 8, 2020, 1:49pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/11 "2020-11-08T13:49:53Z")

</div>

> [@WD6AWP](#):
>
> $url = “[https://www.allstarlink.org/allmondb.php](https://www.allstarlink.org/allmondb.php)”;

Tim,

Could you send ma a a sample of what the first 10 lines of what astdb.php looks like?  
I still see no node information and the Allstar Public Node shows this:  
42279 - Node not in database

Mark

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 8, 2020, 3:39pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/12 "2020-11-08T15:39:21Z")

</div>

Sure Mark, Here’s the whole file. Clip what you need. But it might be easier to copy the whole thing. Hope this helps.

[https://raw.githubusercontent.com/tsawyer/allmon2/master/astdb.php](https://raw.githubusercontent.com/tsawyer/allmon2/master/astdb.php)

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [November 12, 2020, 4:16pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/13 "2020-11-12T16:16:41Z")

</div>

Tim,  
Thanks in advance for all the help.  
I installed allmon2 on my dial server.  
All the nodes and voter show up at [garanet.org/allmon2](http://garanet.org/allmon2) however  
each one displays this including my public Allstar node 42279:  
42279 - Node not in database  
Also, no Bubble-Chart link

Interestingly though the original allmon at [garanet.org/link.php](http://garanet.org/link.php) shows  
42279 properly and has the Bubble-Chart link

Neither allmon shows the privatenodes.txt “Node Information” which is my original problem.

Best Regards,  
Mark

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 12, 2020, 10:34pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/14 "2020-11-12T22:34:33Z")

</div>

You maybe overlooking something very simple. Really, you’re going to kick yourself when you find it 🙂 Double check the IP address, user ID, password, and permissions. Make sure to use the local IP if on the same network.

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [November 13, 2020, 8:17pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/15 "2020-11-13T20:17:53Z")

</div>

Tim,

I agree, I will be kicking myself.  
As for the IP address, I log in locally or I log in from the public and same result.  
The IP address internal non routable is what is used in the manager.conf bindaddr  
The person that set up my password died a year ago so I have no help in this area.  
I log in as root.  
I see that there are commands like htpasswd but I don’t know how to use them.  
Where do I find the permissions you refer to?

Tnx

---

<div class="post-metadata">

**Author:** ![wb2ers1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/a698b9/32.png) [@wb2ers1](https://community.allstarlink.org/u/wb2ers1)\
**Post date:** [November 13, 2020, 9:02pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/16 "2020-11-13T21:02:14Z")

</div>

Tim,

I think I’m getting closer.  
When I run ./astdb.php: Permission denied  
Where is this permission set?  
I’m logged into root.

Mark

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 15, 2020, 5:11pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/17 "2020-11-15T17:11:08Z")

</div>

Mark,

Do a `chmod +x astdb.php` to make it executable`.

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 16, 2020, 10:32pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/18 "2020-11-16T22:32:45Z")

</div>

Mark, Did you solve this?

---

<div class="post-metadata">

**Author:** ![KC1JFN](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/3e96dc/32.png) [@KC1JFN](https://community.allstarlink.org/u/KC1JFN)\
**Post date:** [April 14, 2022, 11:12am UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/19 "2022-04-14T11:12:12Z")

</div>

Hi Tim, how do you add info on privatenodes? Does privatenodes.txt resides on allmon2. I followed the privatenodes.sample.txt on allmon2 and updated astdb.php but nothing happens.

Did I do the right thing?

Anthony

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [April 14, 2022, 2:08pm UTC](https://community.allstarlink.org/t/allmon-missing-node-information/15852/20 "2022-04-14T14:08:57Z")

</div>

I’m not sure what to say… that’s all there is to it. Double check your work is all I’ve got.

[Next page](https://community.allstarlink.org/t/allmon-missing-node-information/15852.md?page=2)
