The server threw a 'kernel: Oops: 0000 [1] SMP' while compiling PHP 5.4.9.

It crashed when I try it again just to make sure that it was the culprit.

Other than that, the server works fine.

Its kinda old and running on a very old operating system:

Before the server became unresponsive, I checked the dmesg log for errors but there was none.

Am I missing any logs? Any tips on how I can troubleshoot this kernel panic?

I would like to add that I also compiled Nginx but that went fine.

  • Why are you compiling php instead of installing an RPM? – EEAA Dec 19 '12 at 8:02
  • 3
    Replace the defective hardware. – Michael Hampton Dec 19 '12 at 8:17
  • @EEAA I thought of compiling because the latest version from the repository was 5.2.6. – Joseph Ho Dec 19 '12 at 12:34
  • And that's because you're running an OS that you should have decommissioned four years ago. Apparently on some hardware that's past its useful life, too. Scrap the whole thing and start over. – Michael Hampton Dec 19 '12 at 20:16

Kernel panic on relatively high load of server often indicates hardware problems. Check your processor temperature, run memory test, etc.

| improve this answer | |

Try to compile it not under the root user (anyway better way is to install it via RPM).

| improve this answer | |
  • The user you compile under should have no effect on this problem (though generally it's better to use the vendor-supplied packages if at all possible). – voretaq7 Dec 19 '12 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.