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
17122 posts

Uber Geek

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
188 posts

Master Geek

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.


jandal160165

170 posts

Master Geek


  #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....




michaelmurfy
meow
13243 posts

Uber Geek

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

170 posts

Master Geek


  #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 :(

 

 


michaelmurfy
meow
13243 posts

Uber Geek

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.


jandal160165

170 posts

Master Geek


  #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.


jandal160165

170 posts

Master Geek


  #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]


mm1352000
1149 posts

Uber Geek
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

170 posts

Master Geek


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

That sounds very feasible


jandal160165

170 posts

Master Geek


  #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


jandal160165

170 posts

Master Geek


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

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


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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.