[chef] Re: Problem installing chef server on Ubuntu 10.04 LTS


Chronological Thread 
  • From: Brendan Murtagh < >
  • To:
  • Subject: [chef] Re: Problem installing chef server on Ubuntu 10.04 LTS
  • Date: Mon, 14 Nov 2011 08:18:34 -0500

Sam,

To follow up my email from earlier, I originally used the guide: http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

I was able to get up to 'Configure the Command Line Client' which states to do:

sudo cp /etc/chef/validation.pem /etc/chef/webui.pem ~/.chef

The problem I ran into was that the /etc/chef/webui.pem file did not exist. This was confirmed running 'knife configure -i' and it erroring out for File Not Found.

I'm not sure how/why it wasn't created and I was able to briefly speak to ssd7 on the irc chan, but he needed to step away.

Once I began asking for help and ran into these issues, the suggested method was to use Chef Solo to install Chef Server. I'm in the process of doing that method of installation now and we'll see where it leads. Here is the URL to that walkthrough

http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo


Brendan Murtagh
Email Administrator / IT Coordinator
PHONE: (610) 874-5000 x2232
FAX: (610) 874-5030
WEB: http://www.powerhrg.com


Power Home Remodeling Group

Awarded Window & Door Magazine's Dealer of the Year
Awarded The Top Workplace for Mid-Sized Companies by Philadelphia Inquirer
Awarded to the Inc. 5000 Fastest Growing Companies List


Visit our other websites and social platforms: Facebook | YouTube | PHRG Reviews | Total Care Installs

Power Home Remodeling Group is an equal opportunity employer, committed to hiring a diverse and talented workforce. Confidentiality Notice: Please be advised that no quotes, agreements, or understandings involving Power Home Remodeling Group, will be binding unless and until codified in a written document signed by an officer of the company. The information transmitted by this email is intended only for the use of the addressee(s) and may contain confidential and/or privileged information. Any interception, review, retransmission, dissemination, or other use of, or taking any action upon this information by persons or entities other than the intended recipient(s) is prohibited by law and may subject them to criminal or civil liability. If you have received this communication in error, please contact us immediately at (610) 874-5000 and delete the message from any computer or other storage system.

On 11/11/2011 2:56 AM, Sam Hamilton wrote:
" type="cite">
Hi, 

I am trying to install chef-server on a fresh copy of ubuntu 10.04 but I get an error when it gets to rabbitmq. I am afraid i don't understand what the rabbitmq error message means - any help would be much appreciated! 


CONSOLE OUTPUT:
Setting up libmerb-core-ruby1.8 (1.0.12+dfsg-4) ...
Setting up merb-core (1.0.12+dfsg-4) ...
Setting up libmerb-assets-ruby1.8 (1.0.12+dfsg-4) ...
Setting up libmerb-assets-ruby (1.0.12+dfsg-4) ...
Setting up libmerb-haml-ruby1.8 (1.0.12+dfsg-4) ...
Setting up libmerb-haml-ruby (1.0.12+dfsg-4) ...
Setting up libmerb-helpers-ruby1.8 (1.0.12+dfsg-4) ...
Setting up libmerb-helpers-ruby (1.0.12+dfsg-4) ...
Setting up rabbitmq-server (1.7.2-1ubuntu1) ...
Adding group `rabbitmq' (GID 108) ...
Done.
Adding system user `rabbitmq' (UID 104) ...
Adding new user `rabbitmq' (UID 104) with group `rabbitmq' ...
Not creating home directory `/var/lib/rabbitmq'.
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err
rabbitmq-server.
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing rabbitmq-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libchef-ruby (0.9.18+dfsg-1) ...
dpkg: dependency problems prevent configuration of chef-solr:
 chef-solr depends on rabbitmq-server (>= 1.6); however:
  Package rabbitmq-server is not configured yet.
dpkg: error processing chef-solr (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of chef-server-api:
 chef-server-api depends on rabbitmq-server (>= 1.6); however:
  Package rabbitmq-server is not configured yet.
 chef-server-api depends on chef-solr (= 0.9.18+dfsg-1); however:
  Package chef-solr is not configured yet.
dpkg: error processing chef-server-api (--configure):
 dependency problems - leaving unconfigured
Setting up libmerb-param-protection-ruby1.8 (1.0.12+dfsg-4) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                                                                                    Setting up libmerb-param-protection-ruby (1.0.12+dfsg-4) ...
Setting up libcoderay-ruby1.8 (0.9.1-0ubuntu1) ...
Setting up libcoderay-ruby (0.9.1-0ubuntu1) ...
dpkg: dependency problems prevent configuration of chef-server:
 chef-server depends on chef-server-api (= 0.9.18+dfsg-1); however:
  Package chef-server-api is not configured yet.
 chef-server depends on chef-solr (= 0.9.18+dfsg-1); however:
  Package chef-solr is not configured yet.
dpkg: error processing chef-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of chef-server-webui:
 chef-server-webui depends on chef-server (= 0.9.18+dfsg-1); however:
  Package chef-server is not configured yet.
dpkg: error processing chef-server-webui (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Processing triggers for python-central ...
Setting up libgcj10 (4.4.3-1ubuntu4.1) ...

Setting up libgcj-bc (4.4.3-4ubuntu1) ...
Setting up gcj-4.4-jre-lib (4.4.3-1ubuntu4.1) ...
Setting up libdb4.7-java-gcj (4.7.25-9) ...

Setting up openjdk-6-jre-headless (6b20-1.9.9-0ubuntu1~10.04.2) ...
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/java to provide /usr/bin/java (java) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.

Setting up openjdk-6-jre-lib (6b20-1.9.9-0ubuntu1~10.04.2) ...

Setting up libjaxp1.3-java (1.3.04-5ubuntu3) ...
Setting up libxerces2-java (2.9.1-4ubuntu1) ...
Setting up ant (1.7.1-4ubuntu1.1) ...
Setting up ant-gcj (1.7.1-4ubuntu1.1) ...

Setting up ant-optional (1.7.1-4ubuntu1.1) ...
Setting up ant-optional-gcj (1.7.1-4ubuntu1.1) ...

Setting up libservlet2.5-java (6.0.24-2ubuntu1.9) ...
Setting up libslf4j-java (1.5.10-1) ...
Setting up libjetty-java (6.1.22-1ubuntu1) ...
Setting up libcommons-daemon-java (1.0.2~svn20061127-10ubuntu1) ...
Setting up jsvc (1.0.2~svn20061127-10ubuntu1) ...
Setting up jetty (6.1.22-1ubuntu1) ...
Adding system user `jetty' (UID 105) ...
Adding new group `jetty' (GID 109) ...
Adding new user `jetty' (UID 105) with group `jetty' ...
Not creating home directory `/usr/share/jetty'.
 * Not starting jetty - edit /etc/default/jetty and change NO_START to be 0 (or comment it out).

Setting up libregexp-java (1.5-2) ...
Setting up libbcel-java (5.2-6) ...
Setting up libcommons-collections3-java (3.2.1-4) ...
Setting up libcommons-logging-java (1.1.1-7) ...
Setting up libcommons-beanutils-java (1.8.2-1) ...
Setting up libcommons-codec-java (1.4-2) ...
Setting up libcommons-collections-java (2.1.1-9) ...
Setting up libcommons-compress-java (1.0-1) ...
Setting up libcommons-csv-java (0.1-SNAPSHOT+svn678580-1ubuntu0.1) ...
Setting up libcommons-pool-java (1.5.3-1ubuntu1) ...
Setting up libcommons-dbcp-java (1.3~svn828639-1ubuntu1) ...
Setting up libcommons-digester-java (1.8.1-2) ...
Setting up libcommons-io-java (1.4-2ubuntu1) ...
Setting up libcommons-fileupload-java (1.2.1-3ubuntu2) ...
Setting up libcommons-httpclient-java (3.1-9) ...
Setting up libdb-je-java (3.3.62-3) ...
Setting up libgnuinet-java (1.1.1-4) ...
Setting up libgnujaf-java (1.1.1-5) ...
Setting up libgnumail-java (1.1.2-4) ...
Setting up libicu4j-java (4.0.1.1-1) ...
Setting up liblog4j1.2-java (1.2.15-9ubuntu2) ...
Setting up libmx4j-java (3.0.2-8ubuntu1) ...
Setting up libtomcat6-java (6.0.24-2ubuntu1.9) ...
Setting up libjetty-extra-java (6.1.22-1ubuntu1) ...
Setting up libjetty-extra (6.1.22-1ubuntu1) ...
Setting up libjline-java (0.9.94-5) ...
Setting up libjtidy-java (7+svn20070309-4) ...
Setting up liblucene2-java (2.9.2+ds1-1) ...
Setting up libxml-commons-external-java (1.3.05-1) ...
Setting up solr-common (1.4.0+ds1-1ubuntu1) ...

Setting up solr-jetty (1.4.0+ds1-1ubuntu1) ...
 * Not starting jetty - edit /etc/default/jetty and change NO_START to be 0 (or comment it out).

Setting up icedtea-6-jre-cacao (6b20-1.9.9-0ubuntu1~10.04.2) ...
Setting up default-jre-headless (1.6-34) ...
Setting up ca-certificates-java (20100406ubuntu1) ...
creating /etc/ssl/certs/java/cacerts...
  removed untrusted certificate mozilla/DigiNotar_Root_CA.crt
done.

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 rabbitmq-server
 chef-solr
 chef-server-api
 chef-server
 chef-server-webui
E: Sub-process /usr/bin/dpkg returned an error code (1)

STARTUP_LOG:
Starting all nodes...
Starting node 
 
{error_logger,{{2011,11,11},{1,44,44}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}^M
{error_logger,{{2011,11,11},{1,44,44}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.117>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,24},{reductions,471}],[]]}^M
{error_logger,{{2011,11,11},{1,44,44}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[rabbit,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}^M
{error_logger,{{2011,11,11},{1,44,44}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}^M
{error_logger,{{2011,11,11},{1,44,44}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}^M
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}^M

STARTUP_ERR:
Error: {node_start_failed,normal}
^M
Crash dump was written to: erl_crash.dump^M
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})^M



Archive powered by MHonArc 2.6.16.

§