Solved

httpd won't start because libpq.so.4 is missing

Posted on 2009-07-08
4
1,874 Views
Last Modified: 2013-12-16
I had to power cycle my Redhat system and now I can't get httpd to start. Here is what happens when I try "service httpd start":

    Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory


First off, libpq.so.4 sounds like a postgres library. I do have PostsreSQL installed, but I dont' know what it has to do with apache.

How can I fix this? I only use apache to forward traffic to other ports depending on what domain the user is coming to the site with. I don't recall ever adding any special modules, so I'm totally confused as to why apache is complaining about a postgres library.

I tried "yum remove httpd" then "yum install httpd" then I copied back my httpd.conf and tried to start it again, but that didn't fix anything.

FWIW, postgres itself doesn't seem to be having any problems.
0
Comment
Question by:HappyEngineer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
dinokhan earned 500 total points
ID: 24811664
0
 

Author Comment

by:HappyEngineer
ID: 24820799
I eventually worked around it by getting an rpm for httpd and using rpm --nodeps to make it ignore dependencies when installing. When I ran it, it complained about a missing *.so file, but I just created a soft link to a newer version of that file and it ran like a charm.

If yum just had a --nodeps argument then I would have been up and running a long time ago.

Stupid dependency systems.
0
 
LVL 2

Expert Comment

by:dinokhan
ID: 24829152
some time its helpfull
0
 

Expert Comment

by:richelieuhq
ID: 25583376
yum update apr-util
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
web server dns redirect 5 72
Apache module 5 84
VMware machine is not booting 6 120
Script or automated way to Download JPG's off a web site 5 17
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question