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

10862 posts

Uber Geek


  # 2160567 13-Jan-2019 20:47
One person supports this post
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.

83 posts

Master Geek

Subscriber

  # 2160571 13-Jan-2019 20:50
One person supports this post
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.


 
 
 
 




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


Mr Snotty
8764 posts

Uber Geek

Moderator
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?







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

 

 


Mr Snotty
8764 posts

Uber Geek

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







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


 
 
 
 




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


1134 posts

Uber Geek

Trusted

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




157 posts

Master Geek


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

That sounds very feasible




157 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




157 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



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel expands 10th Gen Intel Core Mobile processor family
Posted 23-Aug-2019 10:22


Digital innovation drives new investment provider
Posted 23-Aug-2019 08:29


Catalyst Cloud becomes a Kubernetes Certified Service Provider (KCSP)
Posted 23-Aug-2019 08:21


New AI legaltech product launched in New Zealand
Posted 21-Aug-2019 17:01


Yubico launches first Lightning-compatible security key, the YubiKey 5Ci
Posted 21-Aug-2019 16:46


Disney+ streaming service confirmed launch in New Zealand
Posted 20-Aug-2019 09:29


Industry plan could create a billion dollar interactive games sector
Posted 19-Aug-2019 20:41


Personal cyber insurance a New Zealand first
Posted 19-Aug-2019 20:26


University of Waikato launches space for esports
Posted 19-Aug-2019 20:20


D-Link ANZ expands mydlink ecosystem with new mydlink Mini Wi-Fi Smart Plug
Posted 19-Aug-2019 20:14


Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.