I am setting up a node for a friend 52352 and thought I would be slick and just copy my image to his (same hardware)- I adjusted everything and the node is working but Allmon never connects to the AMI(sp?)
I have checked manager.conf and the allmon2 cfg file many times and they match. I can log into the web interface too. Suggestions? Not sure what I am missing.
Clifford
OMG now my original node is doing the same thing- not sure what happened- file permissions? Ugh- so strange not changed anything on orig node. 48654
When bringup a new node install app_rpt as you would from scratch, rename the asterisk directory, make a new one and copy the backup files to it. Easy and quick.
end lecture
Have you checked manager.conf for the correct bindaddr and permissions? Use the search tool on this site (or google) for settings. If all else fails post you manger.conf (sans password) so we can take a look.
I cloned the drive. I do backup both locally and to ASL servers. Cloning was fast. Thx for outlining another way to do it. I have checked allmon.ini and manager.conf many many times I see nothing out of place. bindaddr is fine at 127.0.0.1:5038 and user/pass matches in manager and allmon cfg files.
I can log on to allmon but only displays āWaitingā for a split sec then āConnecting to Asterisk Managerā¦ā
Manager-
bindaddr = 127.0.0.1 ; Local interface only! $
displayconnects = yes
;
; Add a Unix epoch timestamp to events (not action responses)
;
;timestampevents = yes
I donāt think the port is supposed to be specified on the bindaddr.
[general]
displaysystemname = yes
enabled = yes
;webenabled = yes
port = 5038
;httptimeout = 60
; a) httptimeout sets the Max-Age of the http cookie
; b) httptimeout is the amount of time the webserver waits
; on a action=waitevent request (actually its httptimeout-10)
; c) httptimeout is also the amount of time the webserver keeps
; a http session alive after completing a successful action
bindaddr = 127.0.0.1 ; Local interface only!
;displayconnects = yes
;
; Add a Unix epoch timestamp to events (not action responses)
;
;timestampevents = yes
[admin]
secret = <secret>
read = all,system,call,log,verbose,command,agent,user,config
write = all,system,call,log,verbose,command,agent,user,config
I canāt read your allmon.ini.php. Please post it by putting 3 backticks (```) on a line by them self. Then, on the next line, paste your config. Then finish it off with 3 more backticks on the line following your config.
Also- I have tried to understand what actually requests the login and how the info is generated like āConnecting to Asterisk Managerā¦ā but I have not figured it out. I have looked at page source and try to understand but js is not my forteā.
Try setting a simple password, only letters and numbers. I had a report a while back (post is on here somewhere) that some special character caused AMI login to fail.
Does anyone know what script on the Allmon page requests access to ASM and then what produces the text output? (āConnecting to Asterisk Managerā¦ā)
If I understood what was actually taking place behind the scenes maybe I could solve this problem. I have tried reverse engineering it- but cannot locate the code on the web page or the ASM executable etc.
@kk6qms, Sounds like youāre getting desperate. If you didnāt know Iām the developer of Allmon. Would you like to do a TeamViewer session? Iāll be glad to take a look at your setup.
I just want to solve the problem and give my 77yo friend his node so he can start enjoying it. Ya a TV session would be great as my ISP is dragging their feet getting me in bridge mode so I can get all my port forwarding set up for SSH etc. Sending you my TV info privately- thanks!
Hi- Iām back- same node/hardware but now ācould not connectā¦ā
Maybe due to last update/upgrade cycle. I think I pushed some kernel and kernel repository upgrades through. I can log in to Allmon2 no prob. Telnet does not connect
"
root@ASL_PI_52352:/home/repeater# telnet localhost 5038
Trying ::1ā¦
Trying 127.0.0.1ā¦
telnet: Unable to connect to remote host: Connection refused
"
I donāt recall what you did last time- any suggestions appreciated.
Rebuilt DAHDI, have created asterisk.ctl over and over in var/run but after reboot the file is gone. Restored backup from April. Nothing has worked. I think I installed things that were held back forgetting it could screw up ASL. Wish that were not the case- lesson learned.