Fedora Linux Support Community & Resources Center
  #1  
Old 21st September 2007, 06:08 PM
KingCharles Offline
Registered User
 
Join Date: Sep 2007
Posts: 4
fedora newbie: yum: installing an apache module

Hi there.

My company just joined iWeb via a dedicated server (we are glad and very happy of it Very Happy ) not too long ago. I am in charge of the server configuration and maintenance, and have some questions. The server is Fedora Core 6, on a dedicated machine.

I come from a Debian world, and it is my first time managing a Fedora server. I find 'yum' to be very good, and similar to 'apt', so not many problems there. I have read the man pages for it, and seems to be straight forward transition.

Now, on to my problem:
We have a website that requires the 'mod_auth_mysql' module, but have not been able to install it. Since I am used to 'apt' style of installing things, where dependencies are taken care of, I already have setup:

/etc/yum/yum-updatesd.conf

where
"do_download_deps = yes".

But when I run:
/etc/init.d/yum-updatesd reload
It fails to stop the service. Any ideas how to reload the configuration file for yum?

In have tried running:
yum install mod_auth_mysql

it gives me 2 errors telling me that dependencies are missing.

As you can see, I'm still a newbie to Fedora set-ups.
Any help would be much appreciated it.

Thanks in advance.
Reply With Quote
  #2  
Old 21st September 2007, 06:56 PM
fnmblot Offline
Registered User
 
Join Date: Feb 2005
Location: Atlanta, GA
Posts: 300
is the process still running? Do you see the process when you do a ps -A |grep yum ? try killing the process and then service yum-updatesd start
__________________
Gee Ricky, I'm sorry your mom blew up.
Reply With Quote
  #3  
Old 21st September 2007, 07:16 PM
KingCharles Offline
Registered User
 
Join Date: Sep 2007
Posts: 4
I was thinking about the same... and then you posted ehehhe ;P

hum... how weird. It is actually not running.

I wonder how do the iWeb guys have yum setup? :|
This is going to be an interesting search
Reply With Quote
  #4  
Old 21st September 2007, 11:04 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
Yum-updatesd is the update notifier/automatic update daemon. Its configuration has nothing to do with the actions of the yum command.
If yum complains about missing dependencies then either yum (not yum-updatesd) is misconfigured, your system is in inconsistent state, or there's a problem in the repositories. Post the full output of the yum command that fails, not just the number of error messages.
Reply With Quote
  #5  
Old 23rd September 2007, 06:12 AM
KingCharles Offline
Registered User
 
Join Date: Sep 2007
Posts: 4
Ic Ic :]

Oh cool.

I guess YUM is more similar to APT than I thought then.
Well it seems that they have excluded all of the LAMP packages in the "yum.conf" file, so that answers a lot of questions.

I guess iWeb guys left the exclusion in there to make the server more stable (just my guess); still, If I take the exclusion out and try:
Code:
yum update
it would try to update some of the LAMP packages to more recent versions.

this is what I get:
Code:
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package pure-ftpd.i386 0:1.0.21-9.fc6 set to be updated
---> Package kernel.i686 0:2.6.22.5-49.fc6 set to be installed
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: pure-ftpd
--> Processing Dependency: libmysqlclient.so.15 for package: pure-ftpd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mysql.i386 0:5.0.27-1.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: perl(DBI) for package: mysql
--> Processing Conflict: mysql conflicts MySQL
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package perl-DBI.i386 0:1.52-1.fc6 set to be updated
--> Running transaction check
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.18-1.2798.fc6 set to be erased
--> Running transaction check
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
Error: mysql conflicts with MySQL
Any ideas what could be causing the mysql conflict?
Reply With Quote
  #6  
Old 23rd September 2007, 08:49 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
There's a non-standard mysql package installed that conflicts with the Fedora one. Probably it's the generic version from MySQL AB.
Replacing Fedora packages with other ones means that the system isn't really Fedora. The hosting company is violating the Fedora Trademark Guidelines by selling/leasing/distributing such a modified system as "Fedora".
Reply With Quote
  #7  
Old 23rd September 2007, 02:09 PM
KingCharles Offline
Registered User
 
Join Date: Sep 2007
Posts: 4
interesting...

Hum... interesting.
It could be that, or it could be that I screwd up something along the way too.

I thought coming from Debian, it would be actually not-so-hard to transition. I find it quite difficult actually, not only because fedora uses a different way of structuring their file system, specially for their configuration files, uses SELinux, and LVM (both which are fine by me really), but because it seems to me, that fedora devs are way into the thinking it has to be "their way or no way".

I understand fedora "feels" this way maybe because it is Red Hat without the price tag, but man... there could be a little more co-operation between Linux distributions out there. :\

Last edited by KingCharles; 23rd September 2007 at 04:59 PM.
Reply With Quote
  #8  
Old 25th September 2007, 06:02 PM
landoncz Offline
Registered User
 
Join Date: Dec 2005
Location: Florida, USA
Age: 35
Posts: 338
Quote:
Originally Posted by KingCharles
Oh cool.

I guess YUM is more similar to APT than I thought then.
Well it seems that they have excluded all of the LAMP packages in the "yum.conf" file, so that answers a lot of questions.

I guess iWeb guys left the exclusion in there to make the server more stable (just my guess); still, If I take the exclusion out and try:
Code:
yum update
it would try to update some of the LAMP packages to more recent versions.
You should not have needed to edit the yum.conf, updatesd.conf, or any of those files. A default fedora core 6 installation will have the necessary repos to create a LAMP stack. All you should have had to do from the beginning is enter something like this as root:
Code:
yum install php mysql php-mysql httpd
and yum would have automatically handled dependencies for you... My guess is in the editing of your .conf files, you might have accidentally screwed something up.
Yes, yum is pretty similar to APT from a user's perspective, e.g. apt-get install XYZ = yum install XYZ. Also, the LVM and SELinux are both optional, you don't have to use them if you don't want to...
__________________
Fedora Core 6 on Asus Z63A 14" Laptop
2.0 Ghz Pentium M
1 Gig RAM
100 Gig 7200 RPM

Code:
# rm -rf /dev/brain
Reply With Quote
Reply

Tags
apache, fedora, installing, module, newbie, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie cant get fedora apache working goshan Servers & Networking 1 20th June 2009 11:38 AM
newbie:install dbg.so in fedora core 4,php5.04,apache 2.0.54 cuongvt Servers & Networking 5 31st August 2005 01:12 AM
Custom apache module doesn't work in Apache 2 Skeptical Using Fedora 2 6th December 2004 07:32 AM


Current GMT-time: 14:08 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat