Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache 2 wont start after recent emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 853
Location: germany

PostPosted: Sat Jan 29, 2005 11:32 pm    Post subject: apache 2 wont start after recent emerge Reply with quote

hi all!

after a recent emerge my apache2 wont restart displaying the following error message:

* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 77 of /etc/apache2/conf/apache2.conf:
Cannot load /usr/lib/apache2-extramodules/libphp4.so into server: /usr/lib/apache2-extramodules/libphp4.so: undefined symbol: usmAES192PrivProtocol


googling around i found that this is a bug in php after updating net-snmp to ver 2.5 (http://bugs.php.net/bug.php?id=30995)

how can i fix this by not bringing any trouble to the "emerge-system"???

thx for your help in advance
snIP3r
Back to top
View user's profile Send private message
presto8
n00b
n00b


Joined: 03 Jan 2003
Posts: 35
Location: Portland, Oregon, USA

PostPosted: Sun Jan 30, 2005 12:53 am    Post subject: Reply with quote

Did you try remerging mod_php?
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 853
Location: germany

PostPosted: Sun Jan 30, 2005 4:06 pm    Post subject: Reply with quote

presto8 wrote:
Did you try remerging mod_php?


after fixing some bugs remerging solved the problem...
Back to top
View user's profile Send private message
JediSthlm
n00b
n00b


Joined: 22 Jan 2004
Posts: 21

PostPosted: Tue Feb 01, 2005 3:58 pm    Post subject: Reply with quote

I am having the same problem, could you please explain a bit more what you did?

Thanks

JediSthlm
_________________
-----------
JediSthlm
Back to top
View user's profile Send private message
stolen
n00b
n00b


Joined: 10 Jun 2003
Posts: 22

PostPosted: Sun Feb 06, 2005 4:49 am    Post subject: Reply with quote

I had the same problem and an "emerge sync", "emerge -Dup world" and then "emerge mod_php" resolved it.
alternatively, if that didn't work, you could go into /etc/portage/package.mask
and add the line
>=net-analyzer/net-snmp-5.2
emerge net-snmp (to downgrade to something less than 5.2)
emerge mod_php
and that should also fix the issue. Testing when they release new mod_php or new net-snmp versions to see if it would work, would require removing that line and upgrading again.
_________________
wrecked it again...
Back to top
View user's profile Send private message
JediSthlm
n00b
n00b


Joined: 22 Jan 2004
Posts: 21

PostPosted: Mon Feb 07, 2005 8:50 am    Post subject: Reply with quote

Thanks for the help. I did a re-emerge of the mod_php and it fixed the problem.

Jens
_________________
-----------
JediSthlm
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Mon Feb 07, 2005 9:21 am    Post subject: Reply with quote

You might find the solution faster if you search Bugzilla first. ;)

https://bugs.gentoo.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum