[Eisfair_dev] [e1] Fehler: 'Inappropriate ioctl for device' beim Start von Eibd

Tom Schulz tom_strike at gmx.de
Sa Feb 10 17:56:53 CET 2018


Hallo Marcus,

Marcus Roeckrath schrieb:

> Neben der eben geposteten Möglichkeit wäre eventuell auch ein Blick in das
> Initskript von mail hilfreich. Jürgen verwendet auch su, kann aber derzeit
> nicht sehen, dass dieses auch diese das Problem hat.
> 
> Vielleicht liegts an "-s /bin/sh".

---->
eis # su eibd -s /bin/sh -c -m "eibd -D -T -S -d -e 1.1.251
--listen-tcp=6720 --pid-file=/var/run/eibd.pid tpuarts:/dev/ttyACM0"
+ su eibd -s /bin/sh -c -m 'eibd -D -T -S -d -e 1.1.251
--listen-tcp=6720 --pid-file=/var/run/eibd.pid tpuarts:/dev/ttyACM0'
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
----<

Es scheint an '-m' zu liegen,da:

---->
eis # su eibd -s /bin/sh -c "eibd -D -T -S -d -e1.1.251
--listen-tcp=6720 --pid-file=/var/run/eibd.pid tpuarts:/dev/ttyACM0"
+ su eibd -s /bin/sh -c 'eibd -D -T -S -d -e1.1.251 --listen-tcp=6720
--pid-file=/var/run/eibd.pid tpuarts:/dev/ttyACM0'
eis # ps -ef | grep eibd
+ ps -ef
+ grep eibd
root     16191  3620  0 17:51 pts/0    00:00:00 /bin/sh /bin/grep eibd
----<

keinen Fehler liefert. Allerdings der Daemon auch hier nicht startet.

Gruss,

Tom



Mehr Informationen über die Mailingliste Eisfair_dev