¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Failure on Qngateway Service


 

¿ªÔÆÌåÓý

Hi Colby,

Here is the qn.cfg file.

# Qnet Gateway Configuration

ircddb = {
??????? login = "KM6VLB";???? # login callsign for the ircDDB network
??????? host = "rr.openquad.net"??? # other include group1-irc.ircddb.net
??????? port = 9007???????????????????????????????????? # not a good idea to ch$
??????? password = "1111111111111"????? # not needed for rr.openquad.net
}

gateway = {
??????? regen_header = true??????? # regenerate headers from incoming data
??????? send_qrgs_maps = true????? # send frequecy, offset, cooridinates and ur$
??????? local_irc_ip = "0.0.0.0"?? # 0.0.0.0 means accept any incoming connecti$
??????? aprs_send = true?????????? # send info to aprs
??????? ip = "127.0.0.1"?????????? # where the gateway is running

??? external = {
??????????????? ip = "0.0.0.0"
??????????????? port = 40000


??????? internal = {
??????????????? ip = "172.16.0.20"
??????????????? port = 20000
??????? }
}

module = {
#?????? a = { # an ICOM full stack might consist of up to three module
????????????? # Sorry, the 23 cm data module is not yet supported
????????? # 23 cm module will use "a"
????????? # 70 cm module will use "b"
????????? #? 2? M module will use "c"
#?????????????? type = "icom"????? # you must define at least one module by unc$
#?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$
#?????????????? port = 20000?????? # all icom modules should have the same UDP $
#?????????????? frequency = 0????? # in MHz, if you specify here, this frequenc$
#?????????????? offset = 0
#?????????????? range = 0????????? # the range of this repeater, in meters. 160$

#?????? agl = 0??????????? # the height above ground level for this repeater's $
#?????????????? latitude = 0?????? # you can leave this unspecified for a mobil$
#?????????????? longitude = 0????? # like the latitude
#?????????????? desc1 = ""???????? # maximum of 20 characters, most special sym$
#?????????????? desc2 = ""???????? # just like desc1
#?????????????? url = "github.com/n7tae/g2_ircddb"??? # 80 characters max
??????? }

??????? b = {
??????????????? type = "icom"
??????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$
??????????????? port = 20319?????? # all icom modules should have the same UDP $
??????????????? frequency = 448.260
??????????????? offset = 5 Mhz
??????????????? range = 15.0 miles
??????????????? agl = 30.0 ft
??????????????? latitude = 32.0
??????????????? longitude = 127.0
??????????????? desc1 = "La Mesa, CA"
#?????????????? desc2 = ""
??????????????? url = "github.com/n7tae/g2_ircddb"
??????? }

#?????? c = {
#?????????????? type = "icom"
#?????????????? ip = "172.16.0.1" # all icom modules should have the same IP ad$
#?????????????? port = 20000?????? # all icom modules should have the same UDP $
#?????????????? frequency = 0
#?????????????? dvap_offset = 0
#?????????????? range = 0.0
#?????????????? agl = 0.0
#?????????????? latitude = 0.0
#?????????????? longitude = 0.0
#?????????????? desc1 = ""
#?????????????? desc2 = ""
#?????????????? url = "github.com/n7tae/QnetGateway"
??????? }
}

log = {
??????? # debuging and extra logging switches
??????? qso = false???? # QSO info goes into the log
??????? irc = false???? # IRC debug info
??????? dtmf = false??? # DTMF debug info
}

aprs = {??????? # APRS.NET connect info
??????? host = "rotate.aprs.net"
??????? port = 14580
??????? interval = 40
#?????? filter = ""
}

link = {
??????? link_at_start = "BXRF072A" # Link to a reflector at startup.
#???????????????????????????? to link repeater module B to REF001 C, use "BREF0$
#?????? ref_login = "KM6VLB"???????????? # for loging into REF reflectors, if u$
??????? admin = [ "N0MIS" ]????????? # only these users can execute scripts, bl$
#????????????????????????????????????????????????????? # you probabaly want you$
??????? link_unlink = [ "N0MIS" ]??? # if defined, only these users can link an$
#?? no_link_unlink = [ "CALL7", "CALL8", "CALL9" ] # if defined, these users ca$
#????????????????????????????????????????????????????????????????????????????? $
??????? incoming_ip = "0.0.0.0"???? # incoming ip address, "0.0.0.0" means acce$
??????? ip = "127.0.0.1"?? # where g2_link is running
??????? port = 18997?????? # port for communications to g2_link
??????? ref_port = 20001?? # port for REF linking, don't change
??????? xrf_port = 30001?? # port for XRF linking, don't change
??????? dcs_port = 30051?? # port for DCS linking, don't change
??????? announce = true??? # do link, unlink, etc. announcements
??????? acknowledge = true # send text acknowledgement on key-up
??????? max_dongles = 20??? # maximum number of linked hotspots
}

file = {
??????? status = "/usr/local/etc/rptr_status"? # where repeater status info is $
??????? DTMF = "/tmp"????????????????????????? #
??????? echotest = "/tmp"????????????????????? # echo dat files will end up here
??????? qnvoicefile = /tmp/qnvoice.txt???????? # where qnvoice will create the $
??????? gwys = "/usr/local/etc/gwys.txt"?????? # where the list of gateways and$
??????? announce_dir = "/usr/local/etc"??????? # where are the *.dat files for $
}

timing = {
??????? timeout = {
??????????????? echo = 1???????? # delay time in seconds for echo
??????????????? voicemail = 1??? # delay time for voicemail
??????????????? remote_g2 = 2??? # after this many seconds with no packets, we $
??????????????? local_rptr = 1?? # local timeout, in seconds
??????? }

??????? play = {
??????????????? wait = 1????????? # seconds before playback occurs, between 1 a$
??????????????? delay = 19??????? # microseconds between frames playback, if ec$
??????? }

??????? inactivity = {
??????????????? a = 0???????????? # unlink repeater if no activity for this man$
??????????????? b = 0???????????? # zero mean there will be no timer
??????????????? c = 0
??????? }









?????????????????????????????????????????????????????????????????????????????



On 09/09/2018 08:06 AM, Colby Ross W1BSB wrote:

Ok. Send me your qn.cfg file.?

On Sun, Sep 9, 2018, 10:53 Nomis Bayan Jr. <nolyn78@...> wrote:

HI Colby,

Good Morning. Here is the output.

root@nolyn78dell:/usr/local/bin# ./qngateway /usr/local/etc/qn.cfg
VERSION QnetGateway-7.0.1
Reading file /usr/local/etc/qn.cfg
Parse error at /usr/local/etc/qn.cfg:54 - syntax error
Failed to process config file /usr/local/etc/qn.cfg
Segmentation fault


On 09/09/2018 12:22 AM, Colby Ross W1BSB wrote:

Type cd /usr/local/bin and enter the following command:

?

./qngateway /usr/local/etc/qn.cfg

?

Provide the output here please, thanks ¨C

?

Colby

?

?

From: [email protected] <[email protected]> On Behalf Of Nomis Bayan Jr.
Sent: Sunday, September 9, 2018 01:01
To: [email protected]
Subject: [QnetGateway] Failure on Qngateway Service

?

Hello,
I was able to set up the IP address for the 2nd NIC, as shown below "enp4s0". Ping Gateway 172.16.0.20 and controller 172.16.0.1 all okay. But failed qngateway.service shown below. Anyone could provide guidance. Thanks.

root@nolyn78dell:/home/nolyn1978/QnetGateway# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
??? link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
??? inet scope host lo
?????? valid_lft forever preferred_lft forever
??? inet6 ::1/128 scope host
?????? valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 18:0f:76:cc:18:fa brd ff:ff:ff:ff:ff:ff
??? inet brd 172.16.0.255 scope global enp4s0
?????? valid_lft forever preferred_lft forever
??? inet6 fe80::2007:6e18:1a5f:56c9/64 scope link
?????? valid_lft forever preferred_lft forever
3: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
??? link/ether 14:fe:b5:df:c6:c2 brd ff:ff:ff:ff:ff:ff
??? inet brd 192.168.1.255 scope global dynamic enp0s25
?????? valid_lft 86186sec preferred_lft 86186sec
??? inet6 fe80::16fe:b5ff:fedf:c6c2/64 scope link
?????? valid_lft forever preferred_lft forever



root@nolyn78dell:/home/nolyn1978/QnetGateway# systemctl status qngateway
¡ñ qngateway.service - QnetGateway
?? Loaded: loaded (/lib/systemd/system/qngateway.service; enabled; vendor preset: enabled)
?? Active: failed (Result: signal) since Sat 2018-09-08 21:33:44 PDT; 6min ago
? Process: 1409 ExecStart=/usr/local/bin/qngateway /usr/local/etc/qn.cfg (code=killed, signal=SEGV)
?Main PID: 1409 (code=killed, signal=SEGV)

Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Main process exited, code=killed, status=11/SEGV
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Service hold-off time over, scheduling restart.
Sep 08 21:33:44 nolyn78dell systemd[1]: Stopped QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Start request repeated too quickly.
Sep 08 21:33:44 nolyn78dell systemd[1]: Failed to start QnetGateway.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Unit entered failed state.
Sep 08 21:33:44 nolyn78dell systemd[1]: qngateway.service: Failed with result 'signal'.



Join [email protected] to automatically receive all group messages.