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

Apache issues while using the install script #13

Closed
ArthurBijGithub opened this issue Apr 15, 2021 · 3 comments
Closed

Apache issues while using the install script #13

ArthurBijGithub opened this issue Apr 15, 2021 · 3 comments

Comments

@ArthurBijGithub
Copy link

Hi, I'm quite new to Github, so apologies up front if this is not the way to address these issues.
I'm trying to install this IDDatyalogger on a fresh configured Pi 1 model B (with 8Gb SD-card).
While running the script I see some error-like messages (Bold and Italic parts are shown in red):

invoke-rc.d: initscript apache2, action "start" failed.
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-04-15 21:55:14 CEST; 214ms ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 10851 ExecStart=/usr/sbin/apachectl start (code=exited, status=132)

Apr 15 21:55:14 raspberrypi systemd[1]: Starting The Apache HTTP Server...
Apr 15 21:55:14 raspberrypi apachectl[10851]: Illegal instruction
Apr 15 21:55:14 raspberrypi apachectl[10851]: Action 'start' failed.
Apr 15 21:55:14 raspberrypi apachectl[10851]: The Apache error log may have more information.
Apr 15 21:55:14 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=132/n/a
Apr 15 21:55:14 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 15 21:55:14 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.

Further on it says:

pg_ctlcluster 11 main start

Ver Cluster Port Status Owner Data directory Log file
11 main 5432 down postgres /var/lib/postgresql/11/main /var/log/postgresql/postgresql-11-main.log

There is no question for username and password and entering 'cd IDDataLogger && ./start.sh' as suggested in the last line gives an error.

I hope there is something I can do to resolve this. If I can help by testing updated versions please let me know.
This is the full output: pi.docx

@ArthurBijGithub
Copy link
Author

Running through the apache error codes I found that (code=exited, status=132) can refer to too old hardware. Could this be the case? In that case it's something you can add to the documentation (and I'll start looking for a new RPi).

@robske110
Copy link
Owner

robske110 commented Apr 16, 2021

Welcome to GitHub! Yes, unfortunately the PI 1 is not supported. One can theoretically run the IDDataLogger on it by compiling certain software on it, but that is a very lengthy and somewhat complicated process. (And it makes updating hard)

I just added the list of supported PIs yesterday actually, it can be found here: https://github.com/robske110/IDDataLogger/wiki/Supported-Raspberry-PI-models

New Raspberry PIs are currently unfortunately "expensive" (as is everything with the global supply shortage), but if you are looking for a new one mainly for running this project, I would advise against the Pi 4 and buy a Pi 3 instead, as it is more cost-effective.

If you have any remaining questions don't hesitate to ask!

@ArthurBijGithub
Copy link
Author

Thanks for your swift response. I'll move to the Pi 3.

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

2 participants