Everything starts except chef-server, no log output


#1

Hi,

My environment is Centos 6 64bit.

I’m following this : http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-rabbitmq

When I get to the chef-solo stage, installs just fine however when i try to start /etc/init.d/chef-server it says “OK” however a ps aux|grep server shows nothing.

Likewise /var/log/chef/server.log is empty.

I edited server.rb and increased the logging level to fatal , still nothing.

I’ve put an strace here : http://www.bignose.ca/strace/debug and I’ve also deleted stale /var/run/chef files but to no avail also.

Any tips would be appreciated, I’m getting anxious to get my learn on.

Jeff.


#2

Whoops, I should have set log_level to debug, not fatal. In any case I’ve now done that and the last few lines of my server.log are this

[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/checksums
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/environments
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[2012-06-12T14:47:52-04:00] INFO: Loading roles

Then it dies.

On 2012-06-12, at 3:53 PM, Jeff MacDonald wrote:

Hi,

My environment is Centos 6 64bit.

I’m following this : http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-rabbitmq

When I get to the chef-solo stage, installs just fine however when i try to start /etc/init.d/chef-server it says “OK” however a ps aux|grep server shows nothing.

Likewise /var/log/chef/server.log is empty.

I edited server.rb and increased the logging level to fatal , still nothing.

I’ve put an strace here : http://www.bignose.ca/strace/debug and I’ve also deleted stale /var/run/chef files but to no avail also.

Any tips would be appreciated, I’m getting anxious to get my learn on.

Jeff.


#3

I have found it will do that if not started in the right order (couchdb,
rabbitmq, chef-expander, chef-solr, chef-server, chef-server-webui)
I pulled that list from the installing manually page, might have it wrong…

-Jesse
On Jun 12, 2012 3:01 PM, “Jeff MacDonald” jeff@terida.com wrote:

Whoops, I should have set log_level to debug, not fatal. In any case I’ve
now done that and the last few lines of my server.log are this

[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to
localhost:5984/chef/_design/checksums
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to
localhost:5984/chef/_design/environments
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to
localhost:5984/chef/_design/id_map/_view/name_to_id
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to
localhost:5984/chef/_design/id_map/_view/name_to_id
[2012-06-12T14:47:52-04:00] DEBUG: Sending HTTP Request via GET to
localhost:5984/chef/_design/id_map/_view/name_to_id
[2012-06-12T14:47:52-04:00] INFO: Loading roles

Then it dies.

On 2012-06-12, at 3:53 PM, Jeff MacDonald wrote:

Hi,

My environment is Centos 6 64bit.

I’m following this :
http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-rabbitmq

When I get to the chef-solo stage, installs just fine however when i try
to start /etc/init.d/chef-server it says “OK” however a ps aux|grep server
shows nothing.

Likewise /var/log/chef/server.log is empty.

I edited server.rb and increased the logging level to fatal , still
nothing.

I’ve put an strace here : http://www.bignose.ca/strace/debug and I’ve
also deleted stale /var/run/chef files but to no avail also.

Any tips would be appreciated, I’m getting anxious to get my learn on.

Jeff.