Comments (11)
From honglilai on April 15, 2008 13:05:31
Hi erbmicha. Are these instructions applicable for RHEL 4 only, or for newer RHEL
versions as well?
Labels: -Type-Defect Type-Enhancement
from passenger.
From erbmicha on April 15, 2008 13:25:54
Sorry, but I do not know as I only have access to RHEL 4 servers. I assume that the up2date commands were
moved forward with subsequent releases...
from passenger.
From honglilai on April 16, 2008 04:02:49
Labels: -Priority-Medium Priority-Low OpSys-Linux Usability
from passenger.
From osh.sean on April 22, 2008 13:34:38
up2date is only applicable to RHEL4 (as far as I know) ... I have access to both and RHEL 5 uses "yum"...
from passenger.
From xipher1 on April 27, 2008 13:06:09
I am on RHEL as well, but I installed apache 2 from source, is there a way to specify
the location of these files on the command line when running
passenger-install-apache2-module?
from passenger.
From honglilai on April 27, 2008 13:47:37
Yes. See "2.2. Specifying the correct Apache installation" in the Users guide.
from passenger.
From mikeisgreat on May 18, 2009 11:25:36
mod_rails passenger RHEL4 issues and fixes (multiple apaches installed)
I had a migration to complete today. I was dropping mongrel while moving from rails1
to rails2 on our customer support server. It got a little bit ugly when trying to get
passenger (mod_rails) up and running.
There was an old httpd package installed by up2date awhile back that was not in use
but seemed to be the culprit. I haven't been using that for a long time, we use our
own compiled version of apache.
after installing passenger via "gem install passenger":
[Mon May 18 11:48:26 2009] [error] *** Passenger could not be initialized because of
this error: Could not connect to the ApplicationPool server: Connection reset by peer
(104)
[Mon May 18 11:48:26 2009] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a
DAV/2 Phusion_Passenger/2.2.2 configured -- resuming normal operations
[Mon May 18 11:48:40 2009] [notice] caught SIGTERM, shutting down
/usr/local/apache/logs/passenger-2.2.2/ext/apache2/ApplicationPoolServerExecutable:
error while loading shared libraries: libapr-1.so.0: cannot open shared object file:
No such file or directory
[Mon May 18 11:56:25 2009] [error] *** Passenger could not be initialized because of
this error: Could not connect to the ApplicationPool server: Connection reset by peer
(104)
[Mon May 18 11:56:25 2009] [notice] Digest: generating secret for digest
authentication ...
[Mon May 18 11:56:25 2009] [notice] Digest: done
/usr/local/apache/logs/passenger-2.2.2/ext/apache2/ApplicationPoolServerExecutable:
error while loading shared libraries: libapr-1.so.0: cannot open shared object file:
No such file or directory
[Mon May 18 11:56:26 2009] [error] *** Passenger could not be initialized because of
this error: Could not connect to the ApplicationPool server: Connection reset by peer
(104)
[Mon May 18 11:56:26 2009] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a
DAV/2 Phusion_Passenger/2.2.2 configured -- resuming normal operations
after reading the passenger docs I set:
export APXS2=/usr/local/apache/bin/apxs
and ran "passenger-install-apache2-module"
Checking for required software...
- GNU C++ compiler... found at /usr/bin/g++
- Ruby development headers... found
- OpenSSL support for Ruby... found
- RubyGems... found
- Rake... found at /usr/local/bin/rake
- Apache 2... found at /usr/local/apache/bin/httpd
- Apache 2 development headers... found at /usr/local/apache/bin/apxs
- fastthread... found
- fastthread... found
- Apache Portable Runtime (APR) development headers... found at
/usr/local/apache/bin/apr-1-config - Apache Portable Runtime Utility (APU) development headers... found at
/usr/local/apache/bin/apu-1-config
..and everything looked okay until I tried to hit the site. It wasn't loading the
rails app with the same error above. After removing the old up2date rpm's for httpd
rpm -e --nodeps httpd-devel
After removing the older httpd rpm's and attempted to build the apache module:
Checking for required software...
- GNU C++ compiler... found at /usr/bin/g++
- Ruby development headers... found
- OpenSSL support for Ruby... found
- RubyGems... found
- Rake... found at /usr/local/bin/rake
- Apache 2... not found
- Apache 2 development headers... not found
- fastthread... found
- fastthread... found
- Apache Portable Runtime (APR) development headers... not found
- Apache Portable Runtime Utility (APU) development headers... not found
Some required software is not installed.
But don't worry, this installer will tell you how to install them.
Which I thought was odd because previously it was telling me it was using the headers
found in /usr/local/apache -- where it should have been.
next step:
I added the following to /etc/ld.so.conf
echo "/usr/local/apache/lib" >> /etc/ld.so.conf
than ran:
ldconfig
I removed the passenger gem and reinstalled it.
after installing the apache module -- wallah. app is running.
hopefully that helps someone else and saves them a little time.
from passenger.
From honglilai on May 18, 2009 11:37:47
mikeisgreat: your problem is actually related to a linking bug that we fixed a few
days ago. The next version should work without you having to edit ld.so.conf.
from passenger.
From mikeisgreat on May 18, 2009 15:17:12
honglilai: ack! Yes, this is what I figured,but it still took me about an hour to
figure out. would've take less, but I forgot to run ldconfig after editing ld.so.conf.
thanks for putting my dogs (mongrels) to sleep! :-)
from passenger.
From kanarip on July 17, 2009 01:14:37
Patch in commit b3e6a03cc81981dfd7e7ab5b673575def5381602 on
git://git.kanarip.com/passenger applies to:
origin/stable-1.0
origin/stable-2.0
origin/stable-2.1
- View: http://git.kanarip.com/?p=passenger;a=commitdiff;h=b3e6a03cc81981dfd7e7ab5b673575def5381602 Patch in commit c1f22f87bf35f8928202625ef462aa36774a260e on
git://git.kanarip.com/passenger applies to:
origin/master
from passenger.
From honglilai on February 04, 2013 01:23:50
Status: WontFix
from passenger.
Related Issues (20)
- Feature request: Ability to configure path to error renderer template
- Deprecation warning with ActiveRecord 7.1.2
- passenger-install-nginx-module is running after installation as a dynamic module HOT 8
- Security update without published advisory HOT 2
- Memory leak HOT 3
- Crash when starting Ruby 3.3.0 Rails 7 application HOT 3
- Disable secure headers option for GLS HOT 1
- HTTP3/QUIC breaks passenger Python apps ( Nginx + HTTP3 + Passenger ) HOT 2
- Cannot build passenger nginx dynamic module HOT 1
- Out of memory leads to passenger shutdown and ensuing 502 error on nginx HOT 3
- Out of memory leads to passenger shutdown and ensuing 502 error on nginx HOT 1
- Cannot upgrade to 1.24.0-1: unmet dependencies HOT 2
- Cannot find nginx module on Amazon Linux 2023 HOT 1
- Cannot install passenger-6.0.20-1.el9.x86_64.rpm on CentOS 9 Stream with Ruby 3.3 HOT 2
- Requests intermittently result in 500, directory in /tmp not found HOT 2
- Better cooperation with Kubernetes zero-downtime restarts
- Error with Rack prevents editing rails production credentials
- params are empty upon proper form submission HOT 1
- Packaging of unmaintained dependency: http-parser HOT 2
- The passenger spawns more processes than are allocated to it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passenger.