On 08/21/2015 12:29 AM, to...@tuxteam.de wrote:
what do the log files say? Best is if you look at them (1) just after
having restarted Apache. The error log should contain possible
warnings about misconfiguration, etc. (2) after having tried an
access. The access log should at least show the attempt, perhaps the
error log has more info. There's a way to crank up the log verbosity,
if necessary. [1]
https://en.wikipedia.org/wiki/Shared_web_hosting_service#Name-based_virtual_hosts
Since last missive, localhost/redmine produces an error page "Web
application could not be started"
Then Phusion Passenger listed about 10 pages on just about everything in
the system. The first line seems significant. ie
(<unknown>): did not find expected key while parsing a block mapping at line 1
column 1 (Psych::SyntaxError)
The rest seems to be a repeat of the apache2 error log. The error log is
listed below. I've highlighted in red and a > the significant portions.
[ 2015-08-21 09:44:56.9036 862/7f3e77342740
agents/HelperAgent/Main.cpp:650 ]: PassengerHe
lperAgent online, listening at
unix:/tmp/passenger.1.0.855/generation-0/request
[ 2015-08-21 09:44:56.9109 869/7f0a4350d780
agents/LoggingAgent/Main.cpp:321 ]: PassengerL
oggingAgent online, listening at
unix:/tmp/passenger.1.0.855/generation-0/logging
[ 2015-08-21 09:44:56.9110 859/7f547f176740 agents/Watchdog/Main.cpp:728
]: All Phusion Pa
ssenger agents started!
>[Fri Aug 21 09:44:56.964658 2015] [wsgi:warn] [pid 855:tid
140337965688704] mod_wsgi: Comp
>iled for Python/2.7.8.
>[Fri Aug 21 09:44:56.964745 2015] [wsgi:warn] [pid 855:tid
140337965688704] mod_wsgi: Runt
>ime using Python/2.7.9.
[Fri Aug 21 09:44:56.965283 2015] [mpm_worker:notice] [pid 855:tid
140337965688704] AH00292: Apache/2.4.10 (Debian)
Phusion_Passenger/4.0.53 mod_wsgi/4.3.0 Python/2.7.9 configured --
resuming normal operations
[Fri Aug 21 09:44:56.965301 2015] [core:notice] [pid 855:tid
140337965688704] AH00094: Command line: '/usr/sbin/apache2'
App 4493 stdout:
>App 4493 stderr: env: /usr/bin/passenger-config: No such file or directory
App 4493 stdout:
>[ 2015-08-21 10:04:20.7347 862/7f3e7725c700
Pool2/Implementation.cpp:287 ]: Could not spawn process for >application
/usr/share/redmine: An error occured while starting up the preloader.
> Error ID: 469d837f
Error details saved to: /tmp/passenger-error-m73dnZ.html
Message from application: (<unknown>): did not find expected key
while parsing a block mapping at line 1 column 1 (Psych::SyntaxError)
/usr/lib/ruby/2.1.0/psych.rb:370:in `parse'
/usr/lib/ruby/2.1.0/psych.rb:370:in `parse_stream'
/usr/lib/ruby/2.1.0/psych.rb:318:in `parse'
/usr/lib/ruby/2.1.0/psych.rb:245:in `load'
/usr/share/redmine/Gemfile:54:in `eval_gemfile'
/usr/lib/ruby/vendor_ruby/bundler/dsl.rb:32:in `instance_eval'
/usr/lib/ruby/vendor_ruby/bundler/dsl.rb:32:in `eval_gemfile'
/usr/lib/ruby/vendor_ruby/bundler/dsl.rb:10:in `evaluate'
/usr/lib/ruby/vendor_ruby/bundler/definition.rb:25:in `build'
/usr/lib/ruby/vendor_ruby/bundler.rb:154:in `definition'
/usr/lib/ruby/vendor_ruby/bundler.rb:117:in `setup'
/usr/lib/ruby/vendor_ruby/bundler/setup.rb:17:in `<top (required)>'
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:263:in
`block in run_load_path_setup_code'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:366:in
`running_bundler'
/usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:261:in
`run_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:100:in
`preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
`<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
`<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
[ 2015-08-21 10:04:20.7400 862/7f3e74d12700
agents/HelperAgent/RequestHandler.h:2306 ]: [Client 20] Cannot checkout
session because a spawning error occurred. The identifier of the error
is 469d837f. Please see earlier logs for details about the error.
I think that the missing /usr/bin/passanger-config file is the root
problem. I tried to symlink the file in but it doesn't seem to have
worked. I'll keep working.
Gary R.