Our Stack:
- Cent OS 5.2
- Passenger 3.0.2
- Ruby 1.8.7-p22 (yes, I know we're working on it)
- Rails 2.3.2 (yes, again, I know. We're working on that too)
- Apache 2.0.63 (this may or may not change depending on if it needs to.)
Our Problem:
I'm getting almost the same error 'Irfan' is getting on http://blog.phusion.nl/2011/09/04/phusion-passenger-3-0-9-released/ in the comments. The difference is I appear to be pointing to the 3.0.9 package install. I followed the install steps from the instructions for a CentOS 5 server and got the error below:
>> rpm -Uvh http://passenger.stealthymonkeys.com/rhel/5/passenger-release.noarch.rpm
>> yum install mod_passenger
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.lstn.net
* extras: mirror.team-cymru.org
* passenger: mirror.hmdc.harvard.edu
* rpmforge: ftp-stud.fht-esslingen.de
* updates: centos.mirror.lstn.net
base | 1.1 kB 00:00
dag | 1.1 kB 00:00
extras | 2.1 kB 00:00
passenger | 951 B 00:00
rpmforge | 1.1 kB 00:00
s3tools | 1.3 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mod_passenger.x86_64 1:3.0.9-1.el5 set to be updated
--> Processing Dependency: rubygem-passenger-native-libs = 1:3.0.9-1.el5 for package: mod_passenger
--> Processing Dependency: httpd for package: mod_passenger
--> Finished Dependency Resolution
1:mod_passenger-3.0.9-1.el5.x86_64 from passenger has depsolving problems
--> Missing Dependency: httpd is needed by package 1:mod_passenger-3.0.9-1.el5.x86_64 (passenger)
1:mod_passenger-3.0.9-1.el5.x86_64 from passenger has depsolving problems
--> Missing Dependency: rubygem-passenger-native-libs = 1:3.0.9-1.el5 is needed by package 1:mod_passenger-3.0.9-1.el5.x86_64
(passenger)
Error: Missing Dependency: httpd is needed by package 1:mod_passenger-3.0.9-1.el5.x86_64 (passenger)
Error: Missing Dependency: rubygem-passenger-native-libs = 1:3.0.9-1.el5 is needed by package 1:mod_passenger-3.0.9-1.el5.x86_64
(passenger)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
I Tried:
- yum clean all
- installing yum-utils and running
- package-cleanup --problems
- Saw other things, but nothing about httpd or rubygem-passenger-native-libs
- package-cleanup --dupes
- rpm -Va --nofiles --nodigest
- yum install rubygem-passenger-native-libs
- didn't work
...but that didn't fix the issue. I also don't want to try '--skip-broken' because I don't want to get our webserver in a whacky broken state if there's something else we should do first.
Also, I as mentioned, we currently have Passenger 3.0.2 running, but we simply did the gem install & module installation as we upgraded from 2.x to 3. We running into intermittent issues with our current install ( view that post here ) and are hoping a clean CentOS centric install via YUM will work better.
Finally, also posted this question to the Passenger Google Group. If I get a solution from my post there, i'll report it here and vice versa.
Thanks in advance for any thoughts posted,
-a