The service does not work. please help me.

New to Debian (Or Linux in general)? Ask your questions here!

The service does not work. please help me.

Postby AKIRA » 2018-09-28 21:29

It is the operation I did.

root@debian:~# systemctl start ambeserver@ttyUSB0.service
Job for ambeserver@ttyUSB0.service failed because the control process exited with error code.
See "systemctl status ambeserver@ttyUSB0.service" and "journalctl -xe" for details.
root@debian:~# systemctl status ambeserver@ttyUSB0.service
ambeserver@ttyUSB0.service - DV3000 Daemon
Loaded: loaded (/lib/systemd/system/ambeserver@.service; enabled; vendor pres
Active: failed (Result: exit-code) since Fri 2018-09-28 18:13:42 JST; 6s ago
Process: 4833 ExecStartPre=/bin/chgrp dialout /dev/ttyUSB0 (code=exited, statu

9月 28 18:13:42 debian systemd[1]: Starting DV3000 Daemon...
9月 28 18:13:42 debian systemd[1]: ambeserver@ttyUSB0.service: Control process e
9月 28 18:13:42 debian systemd[1]: Failed to start DV3000 Daemon.
9月 28 18:13:42 debian systemd[1]: ambeserver@ttyUSB0.service: Unit entered fail
9月 28 18:13:42 debian systemd[1]: ambeserver@ttyUSB0.service: Triggering OnFail
9月 28 18:13:42 debian systemd[1]: ambeserver@ttyUSB0.service: Failed with resul

root@debian:~# cd /etc/opendv
root@debian:/etc/opendv# ls -l
合計 12
-rw-r--r-- 1 root root 275 5月 16 2016 ambeserver-ttyAMA0.conf
-rw-r--r-- 1 root root 275 5月 16 2016 ambeserver-ttyS0.conf
-rw-r--r-- 1 root root 282 9月 22 19:34 ambeserver-ttyUSB0.conf
root@debian:/etc/opendv#

root@debian:/etc/opendv# vi ambeserver-ttyUSB0.conf
# Configuration file for the AMBEserver program started by systemd.
# Adding flags to AMBESERVER_FLAGS will pass this to the daemon.
# For example, to change the speed to 460800, use the following line:
# AMBESERVER_FLAGS="-s 460800"
#

UDP_PORT=2460
AMBESERVER_FLAGS="-s 460800"

"ambeserver-ttyUSB0.conf" 9 lines, 282 characters


It is reference URL.

https://nw-digital-radio.groups.io/g/am ... r-Addendum

Thank you.
AKIRA
 
Posts: 1
Joined: 2018-09-28 21:21

Re: The service does not work. please help me.

Postby pylkko » 2018-10-04 13:44

can you show the contents of the service?

can you show that you have a ttyUSB0 at all?
User avatar
pylkko
 
Posts: 1357
Joined: 2014-11-06 19:02


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable