Hi everyone,
I have downloaded the Rapsbian Weather Station image (sep-17), burned it to the SD card, then inserted into the weather station board and when I boot the Weather Station it prompts me that "Failed to start the Apache HTTO server".
I also tried to update & upgrade but failed too.
I'm here providing you the links for both screenshots to see if you can help me:
https://i.imgur.com/ZJp2bXD.jpg
https://i.imgur.com/HCi1OoH.jpg
How can I fix the Apache error?
Thanks a lot from Argentina.
Cristián
Re: Failed to start the Apache HTTP server
Try running sudo apachectl config-test and post the output here.
Re: Failed to start the Apache HTTP server
This is the result of running 'sudo apachectl config-test':
/usr/sbin/apachectl: 208: /usr/sbin/apachectl: /usr/sbin/apache2: Exec format error
Action 'config-test' failed
The Apache error log may have more information
/usr/sbin/apachectl: 208: /usr/sbin/apachectl: /usr/sbin/apache2: Exec format error
Action 'config-test' failed
The Apache error log may have more information
- DougieLawson
- Posts: 43580
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: Failed to start the Apache HTTP server
Take a look in /var/log/apache2/error.log.
Try sudo apt install --reinstall apache2
Try sudo apt install --reinstall apache2
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on Bluesky or by LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on Bluesky or by LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
Re: Failed to start the Apache HTTP server
When I do 'sudo apt install -reinstall apache2' I get the following prompt:
E: Comand line option 'r' [from -reinstall is not understood in combination with the other options.
E: Comand line option 'r' [from -reinstall is not understood in combination with the other options.
Re: Failed to start the Apache HTTP server
You need to put two dashes in front of the reinstall option.
Code: Select all
--reinstall
not
-reinstall
Re: Failed to start the Apache HTTP server
Thanks Rpdom!!
I finally solved the problem using the Raspbian Stretch Desktop image and then installing the weather station software manually.
Everything worked fine (except that I had to manually install MySQL) and now I have my weather station up and running (well, not NOW but yesterday night).
Now I'm ready to continue experimenting and learning using all the lessons.
Thanks again.
Kind regards,
Cristián
I finally solved the problem using the Raspbian Stretch Desktop image and then installing the weather station software manually.
Everything worked fine (except that I had to manually install MySQL) and now I have my weather station up and running (well, not NOW but yesterday night).
Now I'm ready to continue experimenting and learning using all the lessons.
Thanks again.
Kind regards,
Cristián
- DougieLawson
- Posts: 43580
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: Failed to start the Apache HTTP server
You also need a new camera, because your one is crap.
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on Bluesky or by LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on Bluesky or by LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
Re: Failed to start the Apache HTTP server
And I thought it was my eyes/Christmas spiritYou also need a new camera, because your one is crap.