homepage Welcome to WebmasterWorld Guest from 54.204.59.230
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
RHN repository problem?
Can't get Apache working
isorg




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

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.

 

isorg




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

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
Finished
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.

isorg




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved