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.


Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 

gzt

gzt
18682 posts

Uber Geek
+1 received by user: 7824

Lifetime subscriber

  #2160567 13-Jan-2019 20:47
Send private message

My bad. It is intended to provide the status of the start attempt. Soft boot and then run sudo systemctl status apache2 and post the output.



jlittle
200 posts

Master Geek
+1 received by user: 76

ID Verified
Subscriber

  #2160571 13-Jan-2019 20:50
Send private message

chevrolux:Edit: my understanding of Debian though is that it doesn't rc.local though....

 

Well, my Ubuntu 18.10 does.   There's a systemd service called rc-local.service, description "/etc/rc.local Compatibility", and it does work.





Regards, John Little


jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2160582 13-Jan-2019 21:12
Send private message

apache2.service - The Apache HTTP Server

 

   Loaded: loaded (/etc/systemd/system/apache2.service; enabled; vendor preset: enabled)

 

   Active: failed (Result: timeout) since Sun 2019-01-13 21:08:45 NZDT; 2min 2s ago

 

  Process: 442 ExecStart=/usr/sbin/apachectl start (code=killed, signal=TERM)

 

 

 

Jan 13 21:08:34 max2play systemd[1]: Starting The Apache HTTP Server...

 

Jan 13 21:08:45 max2play systemd[1]: apache2.service: Start operation timed out. Terminating.

 

Jan 13 21:08:45 max2play systemd[1]: Failed to start The Apache HTTP Server.

 

Jan 13 21:08:45 max2play systemd[1]: apache2.service: Unit entered failed state.

 

Jan 13 21:08:45 max2play systemd[1]: apache2.service: Failed with result 'timeout'.

 

 

 

 

 

Thats it....





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




michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2160586 13-Jan-2019 21:28
Send private message

What sort of SD card are you using on this Pi? Is it a known brand Class 10 card?





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.


jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2160589 13-Jan-2019 21:37
Send private message

Processing triggers for man-db (2.7.6.1-2) ...

 

pi@max2play:~ $ dd if=/dev/zero of=test bs=1048576 count=200

 

200+0 records in

 

200+0 records out

 

209715200 bytes (210 MB, 200 MiB) copied, 27.099 s, 7.7 MB/s

 

pi@max2play:~ $ dd if=test of=/dev/null bs=1048576

 

200+0 records in

 

200+0 records out

 

209715200 bytes (210 MB, 200 MiB) copied, 0.254257 s, 825 MB/s

 

 

 

I think its a sandisk.... but did buy it in a reputable? chinese shop in china :(

 

 





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


michaelmurfy
meow
13579 posts

Uber Geek
+1 received by user: 10910

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.


 
 
 

Shop now on AliExpress (affiliate link).
jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2160703 14-Jan-2019 00:14
Send private message

Hey thanks.  Will order one on payday.  I have got that same card that you said stay away from.  Dang.





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


jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2161065 14-Jan-2019 17:34
Send private message

Found a quicker memory card.  Not much quicker.  But its made quiet a big improvement.  Mostly Apache2 always starts.  And if it doesn't a soft reboot will mean that it does the next time.  I will still get a quicker card.

 

Thanks everyone for your help.  Im calling this one [SOLVED]





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


mm1352000
1149 posts

Uber Geek
+1 received by user: 95
Inactive user


  #2161077 14-Jan-2019 18:01
Send private message

As a workaround, it may also be possible to increase a timeout setting to enable the system to wait a little longer for services to start.


jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2161078 14-Jan-2019 18:03
Send private message

That sounds very feasible





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


jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2162066 16-Jan-2019 16:16
Send private message

Got my memory card on the way.  Has anyone put copper heatsinks on a Raspberry Pi 3 B+?  Did it make much difference? Where did you get them from?  Cheers





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


 
 
 

Shop now on AliExpress (affiliate link).
jandal160165

174 posts

Master Geek
+1 received by user: 9


  #2162850 17-Jan-2019 23:30
Send private message

My samsung evo has made a big difference.   It boots much faster.  Cool





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


1 | 2 
Filter this topic showing only the reply marked as answer 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.