0

i've installed passenger and then apache2. all is ok, but when i want to start passenger on 80 port it says:

*** ERROR ***
The address 0.0.0.0:80 is already in use by another process, perhaps another
Phusion Passenger Standalone instance.

If you want to run this Phusion Passenger Standalone instance on another port,
use the -p option, like this:

  passenger start -p 81

and on the 80 port works apache2. so they don't work together. and if i want to start passenger on 80 port, i have to disable apache2. is it correct? or how i should change settings? now i've done: /etc/apache2/mods-available/passenger.conf :

PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.14                                                 
PassengerRuby /usr/bin/ruby1.8

/etc/apache2/mods-available/passenger.load :

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so

and nothing else. thanks for your answers

1
  • Correct, only one process can listen on a port at a time.
    – Eric
    Nov 5, 2011 at 21:10

1 Answer 1

1

I might not have exactly the correct terminology here, but Passenger is a module that runs inside Apache2. You don't start them independently. You just start Apache2 and then it loads up Passenger.

1
  • thanks..i got it..how i should config my apache2? i've viewed about 20 websites, but nothing is clear..
    – Aaxenon
    Nov 6, 2011 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.