start redmine on opensuse...
Added by ИВАН ИВАНОВ over 9 years ago
can not start redmine...
versions:
redmine = 3.1.0
opensuse = 13.2
ruby = 2.1
passenger = 5.0.16
gem install passenger passenger-install-apache2-module
Create file
/etc/apache2/mods-available/passenger.load
and write
LoadModule passenger_module /usr/lib64/ruby/gems/2.1.0/gems/passenger-5.0.16/buildout/apache2/mod_passenger.so
Create file
/etc/apache2/mods-available/passenger.conf
and write
<IfModule mod_passenger.c> PassengerRoot /usr/lib64/ruby/gems/2.1.0/gems/passenger-5.0.16 PassengerRuby /usr/bin/ruby.ruby2.1 </IfModule>
And create symlink by /etc/apache2/mods-available/passenger.load into /etc/apache2/mods-enabled/passenger.load
Then create /etc/apache2/sites-available/redmine
write
< VirtualHost *:80> ServerName name ServerAdmin 4name@site.ru DocumentRoot /srv/www/htdocs/projects/public/ < Directory /srv/www/htdocs/projects/public/> Allow from all Options -MultiViews < / Directory> ErrorLog /var/log/apache2/redmine-error.log LogLevel warn CustomLog /var/log/apache2/redmine-access.log combined RailsEnv production < / VirtualHost>
and create symlink into /etc/apache2/sites-enabled/redmine
try commnads
a2enmod passenger /etc/init.d/apache2 restart
try start
http://My_ip/redmine - and not started...
try
systemctl status apache2.service
Module "passenger" is not installed, ignoring.
Why???
If write it in http.conf
LoadModule passenger_module /usr/lib64/ruby/gems/2.1.0/gems/passenger-5.0.16/buildout/apache2/mod_passenger.so <IfModule mod_passenger.c> PassengerRoot /usr/lib64/ruby/gems/2.1.0/gems/passenger-5.0.16 PassengerDefaultRuby /usr/bin/ruby.ruby2.1 </IfModule>
and
passenger-config.ruby2.1 validate-install What would you like to validate? Use <space> to select. If the menu doesn't display correctly, press '!' ⬢ Passenger itself ‣ ⬢ Apache ------------------------------------------------------------------------- Checking whether there are multiple Apache installations... Only a single installation detected. This is good. ------------------------------------------------------------------------- * Checking whether this Passenger install is in PATH... ✓ * Checking whether there are no other Passenger installations... ✓ * Checking whether Apache is installed... ✓ * Checking whether the Passenger module is correctly configured in Apache... ✓ Everything looks good. :-)
not started too...
Replies (3)
RE: start redmine on opensuse...
-
Added by Pavel Potcheptsov over 9 years ago
Does redmine work itself by executing webrick?
RE: start redmine on opensuse...
-
Added by ИВАН ИВАНОВ over 9 years ago
Does redmine work itself by executing webrick?
Yes
ruby bin/rails server webrick -e production
and
ruby bin/rails server webrick -e production -b 0.0.0.0
working...
RE: start redmine on opensuse...
-
Added by Pavel Potcheptsov over 9 years ago
Have you looked at apache error log?