- From: "Brendan Murtagh" <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Problem installing chef server on Ubuntu 10.04 LTS
- Date: Mon, 14 Nov 2011 06:44:39 -0500
What method of installing chef on Ubuntu did you use?
I originally used the apt-get wiki, but a webui.pem was never generated & I
ran into issues during the 'knife configure -i' steps.
Ended up on Friday removing and using the bootstrap method. I'll provide the
links I used when I get to work.
Also, don't be afraid to come to the #chef chan on Freenode. Plenty of
helpful people there
Irc.freenode.net #chef
-Brendan
Sent from my iPhone
On Nov 14, 2011, at 6:30 AM, Sam Hamilton
<
>
wrote:
>
So does anyone know a work around?
>
>
Thanks
>
Sam
>
>
>
On 11 Nov 2011, at 15:58, trevor stanhope wrote:
>
>
> I've had this exact same error, rabbitmq got held up, chef-server
>
> wouldn't start properly from 'sudo ervice chef-server start' and the
>
> validation.pem and webui.pem keys were never generated.
>
>
>
> On Fri, 2011-11-11 at 15:56 +0800, Sam Hamilton wrote:
>
>> 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.