Project

General

Profile

error restarting apache2

Added by jam vzla over 9 years ago

hi, after follow this guide

http://www.redmine.org/projects/redmine/wiki/InstallRedmineOnDebianStableApacheMysqlPassenger

i have a trouble in the last chapter, when is required restart apache server.

/var/www# /etc/init.d/apache2 start
[....] Starting web server: apache2apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/passenger.load: Cannot load /usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.46/ext/apache2/mod_passenger.so into server: /usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.46/ext/apache2/mod_passenger.so: cannot open shared object file: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
failed!

someone has revolved something like this?

thx in advance

jm3dina


Replies (2)

RE: error restarting apache2 - Added by Billy T over 9 years ago

you probably have upgraded ruby version. I guess you are using Debian and "apt-get upgrade" everyday.
if so, you need to get the appropriate gem, and gem install the latest passenger again.

RE: error restarting apache2 - Added by jam vzla over 9 years ago

hi, i changed in the passenger.load to right ubication.

But now i have a new messange see the attachement

Error message:
cannot load such file -- bundler
Exception class:
LoadError
Application root:
/opt/redmine-2.5.2

    (1-2/2)