[Allstar Digital] Install problem dmrgateway

Steve Zingman szingman at msgstor.com
Sun Feb 28 13:40:45 EST 2016


I'll have to troubleshoot when I get home

Sent via smoke signal (AT&T 4G LTE)

On Feb 28, 2016, at 1:38 PM, Robert Newberry <N1XBM at amsat.org> wrote:

I have, peer, subscriber, talkgroup

On Sun, Feb 28, 2016 at 1:24 PM, Steve Zingman <szingman at msgstor.com> wrote:

> And you have all the csv files in /opt/dmrlink?
>
> Sent via smoke signal (AT&T 4G LTE)
>
> On Feb 28, 2016, at 1:22 PM, Robert Newberry <N1XBM at amsat.org> wrote:
>
> root at repeater:/opt/dmrlink/ambe_audio# ls -l subscriber_ids.csv
> -rw-r--r-- 1 root root 1630189 Feb 28 13:07 subscriber_ids.csv
> root at repeater:/opt/dmrlink/ambe_audio# ls -l talkgroup_ids.csv
> -rw-r--r-- 1 root root 256 Feb 28 13:07 talkgroup_ids.csv
>
> So the owner has read and write, and everyone else just write.
>
> On Sun, Feb 28, 2016 at 1:15 PM, Steve Zingman <szingman at msgstor.com>
> wrote:
>
>> What are the permissions on the file?
>>
>> Sent via smoke signal (AT&T 4G LTE)
>>
>> On Feb 28, 2016, at 1:14 PM, Robert Newberry <N1XBM at amsat.org> wrote:
>>
>> 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_info
>>
>>
>> On Sun, Feb 28, 2016 at 1:07 PM, Steve Zingman <szingman at msgstor.com>
>> wrote:
>>
>>> Try to copy it to /opt/dmrlink/ambe_audio
>>>
>>> Sent via smoke signal (AT&T 4G LTE)
>>>
>>> On Feb 28, 2016, at 12:59 PM, Robert Newberry <N1XBM at amsat.org> wrote:
>>>
>>> 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 at msgstor.com>
>>> wrote:
>>>
>>>> Check for subscriber_ids.csv in /opt/darling
>>>>
>>>> Sent via smoke signal (AT&T 4G LTE)
>>>>
>>>> On Feb 28, 2016, at 12:48 PM, Robert Newberry <N1XBM at amsat.org> wrote:
>>>>
>>>> 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 -unap
>>>>
>>>> root at 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
>>>>
>>>> ambe_audio.py will not run I still get this error.
>>>>
>>>> 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_info
>>>>
>>>> I must be missing a file? by my own screwing up of coarse!
>>>>
>>>>
>>>> On Sun, Feb 28, 2016 at 12:41 PM, Steve Zingman <szingman at msgstor.com>
>>>> wrote:
>>>>
>>>>> netstat-unap
>>>>>
>>>>> Sent via smoke signal (AT&T 4G LTE)
>>>>>
>>>>> On Feb 28, 2016, at 12:38 PM, Robert Newberry <N1XBM at amsat.org> wrote:
>>>>>
>>>>> 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.
>>>>>
>>>>> root at 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_info
>>>>>
>>>>>
>>>>> 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.
>>>>>
>>>>> The second issuse about can not import subscriber_info, I am not sure
>>>>> where to look for that.
>>>>>
>>>>> On Sun, Feb 28, 2016 at 10:57 AM, Steve Zingman <szingman at 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)
>>>>>>
>>>>>> On Feb 28, 2016, at 10:49 AM, Robert Newberry <N1XBM at amsat.org>
>>>>>> wrote:
>>>>>>
>>>>>> 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/DMRGateway
>>>>>>
>>>>>> Am I just in the wrong directory?
>>>>>>
>>>>>> N1XBM
>>>>>> Apparare Scientor
>>>>>> Paratus Communicare
>>>>>> Allstar Node # 27086, 41540, 41812, 42086, 42658
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Allstar-Digital mailing list
>>>>>> Allstar-Digital at lists.keekles.org
>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Allstar-Digital mailing list
>>>>>> Allstar-Digital at lists.keekles.org
>>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> Allstar-Digital mailing list
>>>>> Allstar-Digital at lists.keekles.org
>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Allstar-Digital mailing list
>>>>> Allstar-Digital at lists.keekles.org
>>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Allstar-Digital mailing list
>>>> Allstar-Digital at lists.keekles.org
>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>
>>>>
>>>> _______________________________________________
>>>> Allstar-Digital mailing list
>>>> Allstar-Digital at lists.keekles.org
>>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>>
>>>>
>>> _______________________________________________
>>> Allstar-Digital mailing list
>>> Allstar-Digital at lists.keekles.org
>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>
>>>
>>> _______________________________________________
>>> Allstar-Digital mailing list
>>> Allstar-Digital at lists.keekles.org
>>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>>
>>>
>> _______________________________________________
>> Allstar-Digital mailing list
>> Allstar-Digital at lists.keekles.org
>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>
>>
>> _______________________________________________
>> Allstar-Digital mailing list
>> Allstar-Digital at lists.keekles.org
>> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>
>>
> _______________________________________________
> Allstar-Digital mailing list
> Allstar-Digital at lists.keekles.org
> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>
>
> _______________________________________________
> Allstar-Digital mailing list
> Allstar-Digital at lists.keekles.org
> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>
>
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital at lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.allstarlink.org/pipermail/allstar-digital/attachments/20160228/c5e41e1d/attachment.html>


More information about the Allstar-Digital mailing list