error restarting apache2

Added by jam vzla about 7 years ago

hi, after follow this guide

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/ into server: /usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.46/ext/apache2/ cannot open shared object file: No such file or directory
Action 'start' failed.
The Apache error log may have more information.

someone has revolved something like this?

thx in advance


Replies (2)

RE: error restarting apache2 - Added by Billy T almost 7 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 almost 7 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:
Application root:

Sin nombre.png (134 KB)