Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work on Pi Zero #168

Open
konradko opened this issue Sep 6, 2016 · 2 comments
Open

Does not work on Pi Zero #168

konradko opened this issue Sep 6, 2016 · 2 comments

Comments

@konradko
Copy link

konradko commented Sep 6, 2016

https://github.com/papertrail/remote_syslog2/releases/download/v0.18/remote-syslog2_0.18_armhf.deb does not work with Pi Zero - it installs fine, but errors with Illegal instruction when trying to run.

Same happens when trying to run the binary from https://github.com/papertrail/remote_syslog2/releases/download/v0.18/remote_syslog_linux_armhf.tar.gz

Interestingly enough, binary from this tar works: https://github.com/papertrail/remote_syslog2/releases/download/v0.18-beta1/remote_syslog_linux_arm.tar.gz (.deb cannot be installed as pi zero arch is armhf).

@johlym
Copy link
Contributor

johlym commented Nov 30, 2016

Hi @konradko how does the most recent version work for you?

@kraigh
Copy link

kraigh commented Dec 22, 2016

I'm having the same issue on 0.19. Here's my script that is doing the install:

# Install remote syslog from papertrail
wget https://github.com/papertrail/remote_syslog2/releases/download/v0.19/remote-syslog2_0.19_armhf.deb
sudo dpkg -i remote-syslog2_0.19_armhf.deb
sudo rm remote-syslog2_0.19_armhf.deb
sudo cp /home/pi/photo-frame-app/config/remote_syslog.init.d /etc/init.d/remote_syslog
sudo service remote_syslog start
sudo update-rc.d remote_syslog defaults
sudo chmod +x /etc/init.d/remote_syslog

Here is the error:

Dec 21 21:08:38 pidev systemd: Starting LSB: Start and Stop...
Dec 21 21:08:38 pidev remote_syslog: Starting remote_syslog: /etc/init.d/remote_syslog: line 38:   853 Illegal instruction     $prog -c $config --pid-file=$pid_file $EXTRAOPTIONS
Dec 21 21:08:39 pidev systemd: remote_syslog.service: control process exited, code=exited status=132
Dec 21 21:08:39 pidev systemd: Failed to start LSB: Start and Stop.
Dec 21 21:08:39 pidev dependencies.sh: Job for remote_syslog.service failed. See 'systemctl status remote_syslog.service' and 'journalctl -xn' for details.
Dec 21 21:08:39 pidev init.sh: dependencies.sh: Job for remote_syslog.service failed. See 'systemctl status remote_syslog.service' and 'journalctl -xn' for details.
Dec 21 21:08:39 pidev systemd: Unit remote_syslog.service entered failed state.
Dec 21 21:08:39 pidev dependencies.sh: invoke-rc.d: initscript remote_syslog, action "restart" failed.
Dec 21 21:08:39 pidev init.sh: dependencies.sh: invoke-rc.d: initscript remote_syslog, action "restart" failed.
Dec 21 21:08:39 pidev dependencies.sh: dpkg: error processing package remote-syslog2 (--install):
Dec 21 21:08:39 pidev init.sh: dependencies.sh: dpkg: error processing package remote-syslog2 (--install):
Dec 21 21:08:39 pidev dependencies.sh:  subprocess installed post-installation script returned error exit status 1
Dec 21 21:08:39 pidev init.sh: dependencies.sh:  subprocess installed post-installation script returned error exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants