View previous topic :: View next topic |
Author |
Message |
PCnity n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Dec 2005 Posts: 41
|
Posted: Mon Nov 06, 2006 8:35 pm Post subject: LAMP error after updating - solved |
|
|
Today I upgraded to mysql 5 (emerge --update --deep world) and after a reboot, apache 2 did not start. Because of:
Code: |
master ~ # /etc/init.d/apache2 restart
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 5 of /etc/apache2/modules.d/70_mod_php5.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
|
I will try to reemerge dev-lang/php... I hope it solves the problem.
Last edited by PCnity on Mon Nov 06, 2006 9:10 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PCnity n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Dec 2005 Posts: 41
|
Posted: Mon Nov 06, 2006 8:45 pm Post subject: Waaaaaaaaaaaaaaaaaaaaaa |
|
|
And this...
Code: |
master ~ # postfix reload
postfix: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Mon Nov 06, 2006 8:47 pm Post subject: |
|
|
You need to recompile PHP and Postfix, they're still linked against the old version of MySQL. You might want to check if there's anything else left to rebuild - revdep-rebuild -av lets you do that. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PCnity n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Dec 2005 Posts: 41
|
Posted: Mon Nov 06, 2006 8:51 pm Post subject: |
|
|
I run revdep-rebuid before a while and it seems to have much work ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PCnity n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Dec 2005 Posts: 41
|
Posted: Mon Nov 06, 2006 9:10 pm Post subject: |
|
|
Everything is OK after runing revdep-rebuild two times. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|