Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

RHN repository problem?

Can't get Apache working



5:32 am on Oct 12, 2008 (gmt 0)

10+ Year Member

Hi folks,

In a moment of inspiration(!) I upgraded MySQL from 4.1 to 5.0 on my dedicated server. Well, that PHPMYAdmin thing told me to do so and I wanted my websites to run faster...!

That caused a conflict with Apache, resulting in Apache breaking completely.

So I Googled for a solution, and the answer was to rebuild Apache to take into account the new MySQL. Fair enough.

Now, the problem is that (apparently) there is a problem with the Red Hat Network repository hosted by my host (The Planet). Which means that "yum" cannot download the necessary files, and it cannot rebuild Apache. This is even if I try to build the most basic version of Apache (without PHP or MySQL).

I raised a ticket about this and the response seems to be that they don't know how long it will take to fix the repository problem.

In the meantime, all my sites are down because Apache is broken.

If I try to restart Apache, I get this error message:

"Syntax error on line 9 of /usr/local/apache/conf/php.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/lib/libmysqlclient.so.14: version `libmysqlclient_14' not found (required by /usr/local/apache/modules/libphp5.so)"

Is there something I'm missing?! Or can anyone suggest something I could do to get back online?!

I sent a support request to CPanel, and the tech support guy (who was very helpful) said that there was a problem with my /etc/yum.repos.d file - it contains only "rhel-debuginfo.repo" but it should have more entries. I am starting to shrug my shoulders at this stage :-(

Thanks in advance. I am using this opportunity to backup my databases and make sure I've got offline backups of everything. Thankfully, SSH and FTP are unaffected.


9:32 am on Oct 12, 2008 (gmt 0)

10+ Year Member

Update: The Planet are saying that the repository problem is fixed. However, "yum update" still gives errors:

There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
Internal Server Error
Setting up Update Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Excluding Packages in global exclude list
Skipping security plugin, no data

It seems part of the problem may be that there should be some repository files listed in /etc/yum.repos.d which are missing.


1:28 am on Oct 17, 2008 (gmt 0)

10+ Year Member

Update: The problem sorted itself out when The Planet's repository problem was fixed & I was able to rebuild Apache.

Featured Threads

Hot Threads This Week

Hot Threads This Month