Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 10th, 2011, 09:32 AM
nightFix nightFix is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Location: US
Posts: 94 nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 23 h 43 m 54 sec
Reputation Power: 53
Apache can no longer load php

Hello fellow lamp users,

I have a server that has ran happily for a very long time now. It suddenly quit parsing php scripts on my website but phpmyadmin seemed to work fine. I logged on and tried running php from the command line and just like the warnings logged after the whitescreen url requests I received that the dynamic libraries could not be loaded due to undefined symbols. I temporarily commented these out and php came back for about 30 minutes then the server crashed along with the system. I was able to get the computer back up and running however my logs stopped logging shortly after php quit working the first time. Not sure why because there is still free space to log. Now when I try to start apache it says it cannot load the phplib5.so into the server due to an undefined symbol.

I'm not ready to recompile the server just yet and I'd love to know what happened. Nothing has been installed or updated that I'm aware of and all libraries are in their correct locations with nothing edited or moved.

Any ideas as to where to begin with such an issue? I'd love to try debugging some with gdb but unfortunately I can't find any makefiles and the debugger doesn't seem to be working in its current state with this install. Any ideas?
Since this could quite possibly be a system issue:
dmesg:
Code:
EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled during recovery. kjournald starting. 
Commit interval 5 seconds EXT3-fs: 
sda1: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode x1234
ext3_orphan_cleanup: deleting unreferenced inode x1234
ext3_orphan_cleanup: deleting unreferenced inode x1234
 etc...


Looks like there were about 10 inodes cleaned up. Unfortunately I don't see anything else of closer relevance.

Last edited by nightFix : December 10th, 2011 at 10:26 AM.

Reply With Quote
  #2  
Old December 10th, 2011, 06:14 PM
DonR DonR is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 494 DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)DonR User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 29722 Folding Title: Starter FolderFolding Points: 29722 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 2 Days 20 h 42 m 20 sec
Reputation Power: 216
i would suggest loading up a linux LiveCD and run FSCK on your system drive [since the filesystem needs to be unmounted before actually fixing any problems].
sounds like you may have some harddrive/filesystem corruption starting which may indicate bad sectors .

Reply With Quote
  #3  
Old December 10th, 2011, 06:54 PM
nightFix nightFix is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Location: US
Posts: 94 nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 23 h 43 m 54 sec
Reputation Power: 53
I've been considering that and it will work since the partition at fault is on its own /dev. I just didn't know how probable that would be since I can still read and copy the .so files. Also, I recently had a flood of new script attacks coming in and didn't want to waste time with a scan if I was missing something soft.

Reply With Quote
  #4  
Old December 12th, 2011, 08:39 PM
nightFix nightFix is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Location: US
Posts: 94 nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level)nightFix User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 23 h 43 m 54 sec
Reputation Power: 53
Culprit: faulty RAM module
Comments on this post
aitken325i agrees!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Apache can no longer load php

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap