The Virtualhere Server is running on my Raspberry Pi 3, wanted to run it as a systemd Service. So i configured it according to https://www.virtualhere.com/usb_server_software
But if i wanna run the service it exits with Code 203:
systemctl status virtualhere
* virtualhere.service - VirtualHere USB Sharing
Loaded: loaded (/etc/systemd/system/virtualhere.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-10-08 18:02:40 CEST; 31min ago
Process: 638 ExecStart=/usr/sbin/vhusbdarm (code=exited, status=203/EXEC)
Process: 633 ExecStartPre=/bin/sh -c logger VirtualHere settling...;sleep 1s;logger VirtualHere settled‘ (code=exited, status=0/SUCCESS)
Main PID: 638 (code=exited, status=203/EXEC)
CPU: 18ms
Oct 08 18:02:40 raspberrypi systemd[1]: Started VirtualHere USB Sharing.
Oct 08 18:02:40 raspberrypi systemd[638]: virtualhere.service: Failed at step EXEC spawning /usr/sbin/vhusbdarm: No such file or directory
Oct 08 18:02:40 raspberrypi systemd[1]: virtualhere.service: Main process exited, code=exited, status=203/EXEC
Oct 08 18:02:40 raspberrypi systemd[1]: virtualhere.service: Unit entered failed state.
Oct 08 18:02:40 raspberrypi systemd[1]: virtualhere.service: Failed with result 'exit-code'.
So what does the Code 203 mean? :)
.
/usr/sbin/vhusbdarm: No such file or directory
There is your problem, The server program is not there.
But it is there
root@raspberrypi /usr/sbin # ls
accessdb dpkg-reconfigure ip6tables-apply paperconfig setvesablank update-info-dir
addgnupghome e2freefrag iptables-apply phpdismod sshd update-initramfs
addgroup e4crypt ispell-autobuildhash phpenmod start-statd update-java-alternatives
add-shell e4defrag laptop-detect phpquery sync-available update-locale
adduser fdformat ldattach pi-greeter tarcat update-mime
alsabat-test filefrag lightdm plymouth-set-default-theme tcpd update-passwd
alsactl gconf-schemas lightdm-gtk-greeter pwck tcpdchk update-pciids
alsa-info genl lighttpd pwconv tcpdmatch update-rc.d
applygnupgdefaults gnome-menus-blacklist lighttpd-angel pwunconv tcptraceroute update-usbids
arp gparted lighttpd-disable-mod readprofile tcptraceroute.db update-xmlcatalog
arpd gpartedbin lighttpd-enable-mod remove-default-ispell th-cmd usb_modeswitch
aspell-autobuildhash groupadd lighty-disable-mod remove-default-wordlist thd usb_modeswitch_dispatcher
avahi-daemon groupdel lighty-enable-mod remove-shell traceroute useradd
blkmapd groupmems locale-gen rfkill try-from userdel
bluetoothd groupmod logrotate rmt tunelp usermod
chgpasswd grpck mkinitramfs rmt-tar tzconfig v4l2-dbg
chpasswd grpconv mklost+found rpcdebug update-ca-certificates validlocale
chroot grpunconv mountstats rpc.gssd update-catalog vcstime
cifs.idmap i2cdetect newusers rpc.idmapd update-default-aspell vhusbdarmpi3
cifs.upcall i2cdump nfnl_osf rpcinfo update-default-ispell vigr
cpgr i2cget nfsidmap rpc.svcgssd update-default-wordlist vipw
cppw i2cset nfsiostat rsyslogd update-dictcommon-aspell visudo
cron i2c-stub-from-dump nfsstat rtcwake update-dictcommon-hunspell xfce4-kiosk-query
delgroup iconvconfig nologin safe_finger update-fonts-alias zic
deluser in.identtestd pam-auth-update select-default-ispell update-fonts-dir
dmidecode install-sgmlcatalog pam_getenv select-default-wordlist update-fonts-scale
dpkg-preconfigure invoke-rc.d pam_timestamp_check service update-icon-caches
Oh wait
The command is named not like the arm version. Is it that?
Okay renamed but still 203
root@raspberrypi ~ # systemctl status virtualhere.service
● virtualhere.service - VirtualHere USB Sharing
Loaded: loaded (/etc/systemd/system/virtualhere.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-10-09 07:49:30 CEST; 47s ago
Process: 8619 ExecStart=/usr/sbin/vhusbdarmpi3 (code=exited, status=203/EXEC)
Main PID: 8619 (code=exited, status=203/EXEC)
CPU: 3ms
Okt 09 07:49:30 raspberrypi systemd[1]: Started VirtualHere USB Sharing.
Okt 09 07:49:30 raspberrypi systemd[1]: virtualhere.service: Main process exited, code=exited, status=203/EXEC
Okt 09 07:49:30 raspberrypi systemd[1]: virtualhere.service: Unit entered failed state.
Okt 09 07:49:30 raspberrypi systemd[1]: virtualhere.service: Failed with result 'exit-code'.
Nvm
I fixed it by re-add the /bin/sh -c which I took away by trying to get it running.
Thanks :)