I have, peer, subscriber, talkgroupOn Sun, Feb 28, 2016 at 1:24 PM, Steve Zingman <szingman@msgstor.com> wrote:And you have all the csv files in /opt/dmrlink?
Sent via smoke signal (AT&T 4G LTE)root@repeater:/opt/dmrlink/ambe_audio# ls -l subscriber_ids.csvSo the owner has read and write, and everyone else just write.
-rw-r--r-- 1 root root 1630189 Feb 28 13:07 subscriber_ids.csv
root@repeater:/opt/dmrlink/ambe_audio# ls -l talkgroup_ids.csv
-rw-r--r-- 1 root root 256 Feb 28 13:07 talkgroup_ids.csvOn Sun, Feb 28, 2016 at 1:15 PM, Steve Zingman <szingman@msgstor.com> wrote:What are the permissions on the file?
Sent via smoke signal (AT&T 4G LTE)Well I tried as you suggested I am still getting the same error. Would a file permission be causing this issue?
File "/opt/dmrlink/ambe_audio/ambe_audio.py", line 19, in <module>
from dmrlink import IPSC, NETWORK, networks, logger, int_id, hex_str_3, hex_str_4, get_info, talkgroup_ids, peer_ids, PATH, get_subscriber_info, reread_subscribers
ImportError: cannot import name get_subscriber_infoOn Sun, Feb 28, 2016 at 1:07 PM, Steve Zingman <szingman@msgstor.com> wrote:Try to copy it to /opt/dmrlink/ambe_audio
Sent via smoke signal (AT&T 4G LTE)I am able to open in nano /opt/dmrlink/subscriber_ids.csv everything looks ok, I see a bunch of IDs and names. I noticed that its not executable.On Sun, Feb 28, 2016 at 12:53 PM, Steve Zingman <szingman@msgstor.com> wrote:Check for subscriber_ids.csv in /opt/darling
Sent via smoke signal (AT&T 4G LTE)I must be missing a file? by my own screwing up of coarse!OK resolved one issue with 0.0.0.0:52307 I ran rc.local twice and had a couple of instances. I went thru and killed duplicate processes and that errror cleared up here is the results of netstat -unapambe_audio.py will not run I still get this error.
root@repeater:~# netstat -unap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0:34001 0.0.0.0:* 279/DMRGateway
udp 0 0 127.0.0.1:32001 0.0.0.0:* 277/asterisk
udp 0 0 0.0.0.0:31000 0.0.0.0:* 279/DMRGateway
udp 0 0 0.0.0.0:50001 0.0.0.0:* 234/python
udp 0 0 0.0.0.0:2460 0.0.0.0:* 221/AMBEserverGPIO
udp 0 0 0.0.0.0:4569 0.0.0.0:* 277/asterisk
udp 0 0 0.0.0.0:52307 0.0.0.0:* 234/python
udp 0 0 0.0.0.0:53900 0.0.0.0:* 234/python
udp 0 0 0.0.0.0:49823 0.0.0.0:* 279/DMRGateway
File "/opt/dmrlink/ambe_audio/ambe_audio.py", line 19, in <module>
from dmrlink import IPSC, NETWORK, networks, logger, int_id, hex_str_3, hex_str_4, get_info, talkgroup_ids, peer_ids, PATH, get_subscriber_info, reread_subscribers
ImportError: cannot import name get_subscriber_infoOn Sun, Feb 28, 2016 at 12:41 PM, Steve Zingman <szingman@msgstor.com> wrote:netstat-unap
Sent via smoke signal (AT&T 4G LTE)The second issuse about can not import subscriber_info, I am not sure where to look for that.So I noticed that ambe_audio.py and bridge.py were not comming up at bootup. I ran ./rc.local and saw it was permission denied. I corrected that. This is what I get.So I think the first problem where it says it cant listen on 0.0.0.0:52307 that has to do with my peer connection to brandmiester. I've looked at dmrlink.cfg in both ambe_audio and bridge directories. I can not see where that port is duplicated.
root@repeater:/etc# Traceback (most recent call last):
File "/opt/dmrlink/bridge/bridge.py", line 273, in <module>
reactor.listenUDP(NETWORK[ipsc_network]['LOCAL']['PORT'], networks[ipsc_network], interface=NETWORK[ipsc_network]['LOCAL']['IP'])
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 374, in listenUDP
p.startListening()
File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 175, in startListening
self._bindSocket()
File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 195, in _bindSocket
raise error.CannotListenError(self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on 0.0.0.0:52307: [Errno 98] Address already in use.
Traceback (most recent call last):
File "/opt/dmrlink/ambe_audio/ambe_audio.py", line 19, in <module>
from dmrlink import IPSC, NETWORK, networks, logger, int_id, hex_str_3, hex_str_4, get_info, talkgroup_ids, peer_ids, PATH, get_subscriber_info, reread_subscribers
ImportError: cannot import name get_subscriber_infoOn Sun, Feb 28, 2016 at 10:57 AM, Steve Zingman <szingman@msgstor.com> wrote:I checked the notes. Above the move of the ini is a cd DMRGateway
Sent via smoke signal (AT&T 4G LTE)So I'm following the instructions from a previous email.
I executed the cp command from /srv
cp DMRGateway.armv7 DMRGateway
I get no such file or directory. I can however see DMRGateway.armv7 in
/srv/DMRGatewayAm I just in the wrong directory?
N1XBM
Apparare Scientor
Paratus Communicare
Allstar Node # 27086, 41540, 41812, 42086, 42658
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital