On 08/21/2015 10:13 PM, to...@tuxteam.de wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Aug 21, 2015 at 10:28:11AM -0700, Gary Roach wrote:
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)
Something is definitely wrong, but the error message is just too
unspecific to give us any clue. But...

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.
I re-indented the lines a bit (being a bit liberal about line length)

[ 2015-08-21 09:44:56.9036 862/7f3e77342740
      agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent 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 ]: PassengerLoggingAgent 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 Passenger agents started!
[Fri Aug 21 09:44:56.964658 2015] [wsgi:warn] [pid 855:tid 140337965688704]
      mod_wsgi: Compiled for Python/2.7.8.
[Fri Aug 21 09:44:56.964745 2015] [wsgi:warn] [pid 855:tid 140337965688704]
      mod_wsgi: Runtime using Python/2.7.9.
This one is probably harmless (just a difference in the minor-minor version).

[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

[rest elided]

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.
[note: you have a typo there (passanger): only important when
cutting&pasting]

Yes, this seems to me the most promising clue as well. Note that there
is a mention of an "error details" file in /tmp/passenger-error-m73dnZ.html.
Perhaps there are more clues there.

Searching for which Debian packages provide a file named like that [1] points
to a package named "passenger". OTOH there's no package named like that [2],
but there are two: libapache2-mod-passenger and ruby-passenger (OK, there
are more of them, but they are documentation packages).

Both of them seem to be installed, judging by the logs.

What is the output of "aptitude search passenger"? Alternatively, if you
use a graphical package manager (synaptic or similar) what does it say
about packages of similar name?

What files come with libapache2-mod-passenger? What files with ruby-passenger?
(You can find that out in the command line with "dpkg -L ruby-passenger")
Which one provides /usr/bin/passenger-config?

Try to force-reinstall that one.

- - - - - -
[1] Here's how I went about that:
   apt-file search usr/bin/passenger-config

   (you have to have the apt-file package installed for that, and
   perhaps do from time to time an "apt-file update")

[2] This might well be sign of a packaging error.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXYBOAACgkQBcgs9XrR2kaMSQCfU/FLTrnbFW3yE0b09gx8/sSr
fEcAniuI40GAhZ6XEsoiqHabH73QMWry
=rNVI
-----END PGP SIGNATURE-----

I'm starting another thread. I ripped out redmine and am very slowly reinstalling ruby, ruby-rails etc. This thread has gotten too messy. So lets all vacate and start over.

I really appreciate all of your participation

Gary R.

Reply via email to