Ask Your Question
0

Passenger error after restart

asked 2013-08-29 10:25:28 -0500

ethrbunny gravatar image

updated 2013-08-29 17:08:00 -0500

I'm testing a new puppet installation. It was working recently but I had to scrub out the various SSL certs and rebuild. Afterwards when I went to restart Apache the passenger installation wouldn't work anymore. These are the sorts of errors I'm seeing:

[ 2013-08-29 07:48:39.8087 27803/7f99f0b78700 Pool2/Spawner.h:738 ]: [App 27983 stdout]
[ 2013-08-29 07:48:40.9504 27803/7f99f0b78700 Pool2/Implementation.cpp:777 ]: Could not spawn process for group /usr/share/puppet/rack/puppetmasterd#default: An error occured while starting up the preloader.
 in 'void Passenger::ApplicationPool2::SmartSpawner::handleErrorResponse(Passenger::ApplicationPool2::SmartSpawner ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-08-29 12:44:28 -0500

ramindk gravatar image

updated 2013-09-01 18:10:47 -0500

Some edits to match the evolution of this question.

  • This is a horrible idea.
  • It won't do what you're expecting anyway
  • Most of your distro's default config are working against this
  • Any sysadmin who comes after you will pause to curse your name and then immediately rip it all out.

Apache the daemon generating these logs should log to /var/log/apache2/puppet.example.com-{access,error}.log or whatever scheme works in your system. The reason is that all the logs Apache writes are interactions with Apache, not the Rack application which is your Puppet master ... (more)

edit flag offensive delete link more

Comments

I didn't move the base apache logs. Those entries were strictly for the Passenger VirtualHost.

ethrbunny gravatar imageethrbunny ( 2013-09-04 13:57:12 -0500 )edit

Logs specified in an Apache vhost are Apache logs regardless of what you call them or where you put them because Apache is the daemon writing them. This would go ...(more)

ramindk gravatar imageramindk ( 2013-09-04 15:05:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-08-29 10:25:28 -0500

Seen: 1,440 times

Last updated: Sep 01 '13