Mailinglist Archive: opensuse-buildservice (138 mails)

< Previous Next >
[opensuse-buildservice] Looks like passenger is broken in OBS repos
  • From: Mikhail Lesyk <godlike@xxxxxxxxx>
  • Date: Mon, 16 Mar 2015 21:40:43 +0200
  • Message-id: <CAFURAX3Hk1p4enYqOKw+z57tFV_pYZOEHtbBes=7LO2fR54j3w@mail.gmail.com>
Hello!
Yesterday I was struggled with private OBS instance.
As a result - it was working, but only with passenger standalone built
from source.
With passenger from repo and any web server(apache or nginx) I got
only hangs of web page.
I've maden a test.
Here are steps to reproduce:
1) Install minimal base system (I've tried both 13.1, 13.2)
2) Run:
zypper update
zypper ar -f
"http://download.opensuse.org/repositories/OBS:Server:2.6/openSUSE_13.1";
"OBS:Server:2.6"
zypper ar -f
"http://download.opensuse.org/repositories/openSUSE:Tools/openSUSE_13.1";
"openSUSE:Tools"
zypper install rubygem-passenger-apache2 ruby ruby2.1-rubygem-rake
mkdir /run/passenger
chmod 1777 /run/passenger
mkdir -p /webapps/rack_example/public
echo -e "app = proc do |env|\n\t[200, { \"Content-Type\" =>
\"text/html\" }, [\"hello <b>world</b>\"]]\nend\nrun app" >
/webapps/rack_example/config.ru
3) add passenger module in /etc/sysconfig/apache2
4) Put
<VirtualHost *:80>
ServerName testruby.example.org
DocumentRoot /webapps/rack_example/public
<Directory /webapps/rack_example/public>
Allow from all
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
Require all granted
</Directory>
</VirtualHost>
to /etc/apache2/vhosts.d/test.conf
5) run systemctl restart apache2
6) go to http://<ip_of_test_server>
And I got hanging of web page and these warnings in /var/log/apache2/error_log:
[ 2015-03-16 15:27:31.3151 2817/7f31634a5740
agents/Watchdog/Main.cpp:386 ]: Some Phusion Passenger agent processes
did not exit in time, forcefully shutting down all.

Same passenger behavior I have also, when I installs OBS Instance
using these guide:
https://github.com/openSUSE/open-build-service/blob/master/dist/README.SETUP
or this:
/usr/share/doc/packages/obs-server/README.md

Could anyone test this issue and try to reproduce it?
Thanks in advance.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages