Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache2 not starting [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Sun Mar 04, 2007 9:05 pm    Post subject: apache2 not starting [solved] Reply with quote

This is what apache2 init script gives:
Code:

localhost mayday # /etc/init.d/apache2 start
 * Caching service dependencies ...                                                                                         [ ok ]
 * Apache2 has detected a syntax error in your configuration files:
/usr/sbin/apache2: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

I tried re-emerging "expat" and "apache" as well, but still the same error.
_________________
gentoo.ro


Last edited by mayday147 on Tue Mar 06, 2007 10:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sun Mar 04, 2007 9:14 pm    Post subject: Reply with quote

revdep-rebuild ?
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Sun Mar 04, 2007 10:00 pm    Post subject: Reply with quote

Code:

Configuring search environment for revdep-rebuild
                 
Checking reverse dependencies...
                 
Packages containing binaries and libraries broken by a package update
will be emerged. 
                 
Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.
                 
Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.
                 
Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.
                 
Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.
                 
Evaluating package order... using existing /root/.revdep-rebuild.5_order.
                 
All prepared. Starting rebuild...
emerge --oneshot  =dev-libs/apr-util-0.9.12 =app-admin/gnome-system-tools-2.14.0 =dev-python/gnome-python-extras-2.14.0-r1 =net-mi
sc/neon-0.25.3 =net-misc/vino-2.13.5 =x11-libs/vte-0.12.2 =media-libs/mesa-6.4.2-r2 =media-libs/musicbrainz-2.1.2 =x11-wm/metacity
-2.14.5 =x11-terms/gnome-terminal-2.14.2 =gnome-base/gnome-vfs-2.14.2 =gnome-base/gnome-keyring-0.4.9 =gnome-base/libbonoboui-2.14.0 =gnome-base/libgnomeui-2.14.1 =gnome-base/gnome-desktop-2.14.2 =gnome-base/librsvg-2.14.4 =gnome-base/nautilus-2.14.1 =gnome-base/control-center-2.14.2 =gnome-base/gnome-panel-2.14.2 =gnome-base/gnome-mount-0.4-r4 =gnome-base/gnome-volume-manager-1.5.15-r3 =gnome-base/gnome-session-2.14.2 =app-text/poppler-0.5.3 =app-text/evince-0.5.3-r1 =media-sound/rhythmbox-0.8.8-r1 =gnome-extra/nautilus-cd-burner-2.14.2 =gnome-extra/gtkhtml-2.6.3 =gnome-extra/gucharmap-1.6.0 =gnome-extra/yelp-2.14.2-r2 =gnome-extra/gnome-utils-2.14.0 =gnome-extra/gcalctool-5.8.16 =gnome-extra/gconf-editor-2.14.0 =gnome-extra/gnome-games-2.14.2.1 =gnome-extra/gnome-keyring-manager-2.14.0 =media-video/totem-1.4.2-r1 =www-client/epiphany-2.14.2.1-r1 =net-analyzer/gnome-netstatus-2.12.0 =mail-client/evolution-2.6.2-r1 =dev-java/swt-3.2.1
..........       
m/metacity-2.14.5 =x11-terms/gnome-terminal-2.14.2 =gnome-base/gnome-vfs-2.14.2 =gnome-base/gnome-keyring-0.4.9 =gnome-base/libbonoboui-2.14.0 =gnome-base/libgnomeui-2.14.1 =gnome-base/gnome-desktop-2.14.2 =gnome-base/librsvg-2.14.4 =gnome-base/nautilus-2.14.1 =gnome-base/control-center-2.14.2 =gnome-base/gnome-panel-2.14.2 =gnome-base/gnome-mount-0.4-r4 =gnome-base/gnome-volume-manager-1.5.15-r3 =gnome-base/gnome-session-2.14.2 =app-text/poppler-0.5.3 =app-text/evince-0.5.3-r1 =media-sound/rhythmbox-0.8.8-r1 =gnome-extra/nautilus-cd-burner-2.14.2 =gnome-extra/gtkhtml-2.6.3 =gnome-extra/gucharmap-1.6.0 =gnome-extra/yelp-2.14.2-r2 =gnome-extra/gnome-utils-2.14.0 =gnome-extra/gcalctool-5.8.16 =gnome-extra/gconf-editor-2.14.0 =gnome-extra/gnome-games-2.14.2.1 =gnome-extra/gnome-keyring-manager-2.14.0 =media-video/totem-1.4.2-r1 =www-client/epiphany-2.14.2.1-r1 =net-analyzer/gnome-netstatus-2.12.0 =mail-client/evolution-2.6.2-r1 =dev-java/swt-3.2.1Calculating dependencies \
emerge: there are no ebuilds to satisfy "=media-libs/mesa-6.4.2-r2".


revdep-rebuild failed to emerge all packages
you have the following choices:

Reemerging "mesa" for now and come back with other report.
_________________
gentoo.ro
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Sun Mar 04, 2007 10:31 pm    Post subject: Reply with quote

Seems like he wants mesa-6.4.2 although I've installed the latest mesa-6.5.2. How can I find which programs it depend on?
_________________
gentoo.ro
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Mon Mar 05, 2007 12:11 am    Post subject: Reply with quote

take a look at equery
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Tue Mar 06, 2007 10:05 pm    Post subject: Reply with quote

Did complete revdep-rebuild ad now everything its ok. Thank you.
_________________
gentoo.ro
Back to top
View user's profile Send private message
pharaoh
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 211
Location: Spring City, PA

PostPosted: Tue Mar 20, 2007 9:30 pm    Post subject: Reply with quote

I was getting fed up with dependency after dependency on the revdep-rebuild and was having to do a lot of it by hand. Then I did this and apache2 started just fine, but I'm wondering if this is bad?
Code:
cd /usr/lib
ln -s libexpat.so libexpat.so.0

It works, but why did it come to this?
_________________
Intel Core i7 860 Processor 2.80 GHz 8 MB LGA1156
Gigabyte GA-P55-USB3 rev2.0
MSI Radeon HD7850 2GB GDDR5
8GB DDR3 1600 CL8
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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