omxd icon indicating copy to clipboard operation
omxd copied to clipboard

Failed to start omxd.service: Unit omxd.service not found.

Open wuestkamp opened this issue 6 years ago • 3 comments

Hi,

when running service omxd start I'm getting:

Failed to start omxd.service: Unit omxd.service not found.

Any ideas?

Thanks, Kim

wuestkamp avatar Sep 15 '18 06:09 wuestkamp

Running this on PI 3 B+

When running omxd a ~/1.mp4 I'm getting:

Can't open omxctl or /var/run/omxctl

I did install like this:

 git clone https://github.com/subogero/omxd.git
 cd omxd
 make
 sudo make install

Here is the output:

pi@raspberrypi:~/tmp/omxd $ sudo make install
./preinst
Running omxd preinst
Failed to stop omxd.service: Unit omxd.service not loaded.
Unknown operation omxd.
cp omxd /usr/bin
cp omxd.1 /usr/share/man/man1/
mkdir -p /usr/share/doc/omxd
cp init /usr/share/doc/omxd/
cp omxd.service /usr/share/doc/omxd/
cp logrotate /usr/share/doc/omxd/
cp omxwd /usr/bin
perl -lne 'print unless /^omxd$/' -i /etc/rc.local # Auto migrate from rc.local
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").

wuestkamp avatar Sep 15 '18 06:09 wuestkamp

I had this problem: running make start, then sudo make install was necessary.

See: https://github.com/subogero/omxd/issues/77#issuecomment-359612081

dantaeyoung avatar Apr 21 '19 18:04 dantaeyoung

I also ran a "make start" after running "make install" and it created the correct startup files and worked fine on a reboot.

robinmordasiewicz avatar Jun 23 '20 18:06 robinmordasiewicz