Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


jandal160165

174 posts

Master Geek
+1 received by user: 9


#244997 13-Jan-2019 15:30
Send private message

Hi I am running  a Raspberry Pi 3B+ with a version of raspian.  

 

When it does a soft reboot the webpage server Apache2 won't start.  

 

Can i adjust a initialising file to ensure it starts every time?  Can I get an example of that please?  

 

If I remove the power adaptor for at least 10 seconds it will surely start.  TIA





Pedro
Huawei P20, H96Max, Smart Modem 3, HiFiberry, Pi3b+, 


View this topic in a long page with up to 500 replies per page Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

michaelmurfy
meow
13581 posts

Uber Geek
+1 received by user: 10914

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2160702 14-Jan-2019 00:10
Send private message

That is pretty slow - I would replace it with a proper SD card. It looks like that may be the reason for Apache timing out. This is only a guess as during boot the system is doing quite a few other things which could explain why a service bails out from starting.

 

This is mine with a Class 10 SD:
209715200 bytes (210 MB, 200 MiB) copied, 10.4511 s, 20.1 MB/s

 

However note also, this is also a High Endurance SD card as it has quite a few logs written to it (so is slower, but more reliable).

 

SD cards are cheap. Stay away from the Sandisk Ultra cards as they have rubbish controllers in them, but consider grabbing a Samsung Evo card and giving that a go - you can use something like w32diskimager or dd on *nix to image the old card to the new one.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.