Re: ambeserver failing?


 

Try starting it on the command line, not using the systemctl / service scripts and see if it stays up.

On Sat, Mar 16, 2019 at 2:01 PM Mike Besemer <mwbesemer@...> wrote:

Still struggling.  Currently getting an Unable to Transmit error from dummyrepeater. 

I went back and looked at ambeserver.  As you can see below, I start ambeserver and immediately check the status.  It appears to start properly.  Then I check the status again less than a minute later and see a failed message.  I dont know if this is what’s causing dummyrepeater to throw the error code, but I dont think this is right.

Mike

WM4B

pi@compass:~ $ sudo systemctl start ambeserver@...

pi@compass:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled)

   Active: active (running) since Sat 2019-03-16 16:55:45 EDT; 12s ago

  Process: 2201 ExecStartPre=/bin/chmod 0660 /dev/ttyAMA0 (code=exited, status=0/SUCCESS)

  Process: 2198 ExecStartPre=/bin/chgrp dialout /dev/ttyAMA0 (code=exited, status=0/SUCCESS)

 Main PID: 2204 (AMBEserver)

   CGroup: /system.slice/system-ambeserver.slice/ambeserver@...

           └─2204 /usr/sbin/AMBEserver -p 2460 -i /dev/ttyAMA0 -r

Mar 16 16:55:45 compass systemd[1]: Starting DV3000 Daemon...

Mar 16 16:55:45 compass systemd[1]: Started DV3000 Daemon.

Mar 16 16:55:45 compass AMBEserver[2204]: AMBEserver: Starting...

Mar 16 16:55:45 compass AMBEserver[2204]: AMBEserver: Opened serial port /dev/ttyAMA0 at 230400 bps.

pi@compass:~ $ sudo systemctl status ambeserver@...

● ambeserver@... - DV3000 Daemon

   Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Sat 2019-03-16 16:56:22 EDT; 22s ago

  Process: 2204 ExecStart=/usr/sbin/AMBEserver -p ${UDP_PORT} -i /dev/ttyAMA0 $AMBESERVER_FLAGS (code=exited, status=1/FAILURE)

  Process: 2201 ExecStartPre=/bin/chmod 0660 /dev/ttyAMA0 (code=exited, status=0/SUCCESS)

  Process: 2198 ExecStartPre=/bin/chgrp dialout /dev/ttyAMA0 (code=exited, status=0/SUCCESS)

 Main PID: 2204 (code=exited, status=1/FAILURE)

Mar 16 16:55:45 compass systemd[1]: Starting DV3000 Daemon...

Mar 16 16:55:45 compass systemd[1]: Started DV3000 Daemon.

Mar 16 16:55:45 compass AMBEserver[2204]: AMBEserver: Starting...

Mar 16 16:55:45 compass AMBEserver[2204]: AMBEserver: Opened serial port /dev/ttyAMA0 at 230400 bps.

Mar 16 16:56:22 compass systemd[1]: ambeserver@...: Main process exited, code=exited, status=1/FAILURE

Mar 16 16:56:22 compass systemd[1]: ambeserver@...: Unit entered failed state.

Mar 16 16:56:22 compass systemd[1]: ambeserver@...: Triggering OnFailure= dependencies.

Mar 16 16:56:22 compass systemd[1]: ambeserver@...: Failed with result 'exit-code'.

pi@compass:~ $




--


John D. Hays
Edmonds, WA
K7VE

   

Join ambe@nw-digital-radio.groups.io to automatically receive all group messages.