Hallo zusammen,
Ich hoffe auf diesem Weg zu einer Lösung zu gelangen. Seid längerem versuche ich einen Autostart von einem python-Programm über die rc.local Datei zurealisieren.
In der dazugehörigen Log-Datei des Python Skripts wird folgende Exception ausgegeben: [Errno -3] Temporary failure in name resolution
Über systemctl status rc-local wird dies ausgegeben:
Code
rc-local.service - /etc/rc.local Compatibility
Loaded: loaded (/lib/systemd/system/rc-local.service; static; vendor preset: enabled)
Drop-In: /lib/systemd/system/rc-local.service.d
+-debian.conf
/etc/systemd/system/rc-local.service.d
+-ttyoutput.conf
Active: active (running) since Sat 2018-01-13 10:53:29 CET; 1min 2s ago
Process: 447 ExecStart=/etc/rc.local start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/rc-local.service
+-461 python /home/pi/RPiMessstation/main.py
Jan 13 10:53:31 raspberrypi rc.local[447]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Jan 13 10:53:31 raspberrypi rc.local[447]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Jan 13 10:53:31 raspberrypi rc.local[447]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
Jan 13 10:53:31 raspberrypi rc.local[447]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jan 13 10:53:31 raspberrypi rc.local[447]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Jan 13 10:53:31 raspberrypi rc.local[447]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Jan 13 10:53:31 raspberrypi rc.local[447]: Cannot connect to server socket err = No such file or directory
Jan 13 10:53:31 raspberrypi rc.local[447]: Cannot connect to server request channel
Jan 13 10:53:31 raspberrypi rc.local[447]: jack server is not running or cannot be started
Jan 13 10:53:31 raspberrypi rc.local[447]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Warning: rc-local.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Alles anzeigen
Mich verwundert nur, das das Programm einwandfrei manuell startet aber nicht über die rc.local Datei.
Vielen Dank im voraus,
JackerNils