Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

zookeeper does not start #12

Open
jeevanullas opened this issue May 28, 2015 · 0 comments
Open

zookeeper does not start #12

jeevanullas opened this issue May 28, 2015 · 0 comments

Comments

@jeevanullas
Copy link
Member

After I run the cookbook zookeeper fails to start. The log file says:

nohup: failed to run command `/usr/java/default/bin/java': No such file or directory

I am using CentOS 6.6 x86_64 and here is my run log:

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
CentOS release 6.6 (Final)
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile

  • extras: yum.tamu.edu
    Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
    Nothing to do
    [2015-05-28T06:08:28-07:00] WARN: *****************************************
    [2015-05-28T06:08:28-07:00] WARN: Did not find config file: /etc/chef/solo.rb, using command line options.
    [2015-05-28T06:08:28-07:00] WARN: *****************************************
    [2015-05-28T06:08:28-07:00] INFO: Forking chef instance to converge...
    [2015-05-28T06:08:28-07:00] WARN:
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    SSL validation of HTTPS requests is disabled. HTTPS connections are still
    encrypted, but chef is not able to detect forged replies or man in the middle
    attacks.

To fix this issue add an entry like this to your configuration file:

  # Verify all HTTPS connections (recommended)
  ssl_verify_mode :verify_peer

  # OR, Verify only connections to chef-server
  verify_api_cert true

To check your SSL configuration, or troubleshoot errors, you can use the
knife ssl check command like so:

  knife ssl check -c /etc/chef/solo.rb

[2015-05-28T06:08:28-07:00] INFO: *** Chef 11.16.4 ***
[2015-05-28T06:08:28-07:00] INFO: Chef-client pid: 24790
[2015-05-28T06:08:29-07:00] INFO: Setting the run_list to ["recipe[midokura::cassandra]", "recipe[midokura::default]"] from CLI options
[2015-05-28T06:08:29-07:00] INFO: Run List is [recipe[midokura::cassandra], recipe[midokura::default]]
[2015-05-28T06:08:29-07:00] INFO: Run List expands to [midokura::cassandra, midokura::default]
[2015-05-28T06:08:29-07:00] INFO: Starting Chef Run for odc-f-03.prc.eucalyptus-systems.com
[2015-05-28T06:08:29-07:00] INFO: Running start handlers
[2015-05-28T06:08:29-07:00] INFO: Start handlers complete.
[2015-05-28T06:08:29-07:00] INFO: Processing yum_repository[datastax] action create (midokura::cassandra line 1)
[2015-05-28T06:08:29-07:00] INFO: Processing template[/etc/yum.repos.d/datastax.repo] action create (/var/chef/cookbooks/yum/providers/repository.rb line 39)
[2015-05-28T06:08:29-07:00] INFO: template[/etc/yum.repos.d/datastax.repo] created file /etc/yum.repos.d/datastax.repo
[2015-05-28T06:08:29-07:00] INFO: template[/etc/yum.repos.d/datastax.repo] updated file contents /etc/yum.repos.d/datastax.repo
[2015-05-28T06:08:29-07:00] INFO: template[/etc/yum.repos.d/datastax.repo] mode changed to 644
[2015-05-28T06:08:29-07:00] INFO: template[/etc/yum.repos.d/datastax.repo] sending run action to executeyum-makecache-datastax
[2015-05-28T06:08:29-07:00] INFO: Processing execute[yum-makecache-datastax] action run (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:30-07:00] INFO: execute[yum-makecache-datastax] ran successfully
[2015-05-28T06:08:30-07:00] INFO: template[/etc/yum.repos.d/datastax.repo] sending run action to executeyum clean datastax
[2015-05-28T06:08:30-07:00] INFO: Processing execute[yum clean datastax] action run (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:30-07:00] INFO: execute[yum clean datastax] ran successfully
[2015-05-28T06:08:30-07:00] INFO: template[/etc/yum.repos.d/datastax.repo] sending create action to ruby_blockyum-cache-reload-datastax
[2015-05-28T06:08:30-07:00] INFO: Processing ruby_block[yum-cache-reload-datastax] action create (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:30-07:00] INFO: ruby_block[yum-cache-reload-datastax] called
[2015-05-28T06:08:30-07:00] INFO: Processing execute[yum clean datastax] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:30-07:00] INFO: Processing execute[yum-makecache-datastax] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:30-07:00] INFO: Processing ruby_block[yum-cache-reload-datastax] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:30-07:00] INFO: Processing package[dsc20] action install (midokura::cassandra line 10)
[2015-05-28T06:08:34-07:00] INFO: package[dsc20] installing dsc20-2.0.15-1 from datastax repository
[2015-05-28T06:08:41-07:00] INFO: Processing execute[CASSANDRA: set listening address] action run (midokura::cassandra line 12)
[2015-05-28T06:08:41-07:00] INFO: execute[CASSANDRA: set listening address] ran successfully
[2015-05-28T06:08:41-07:00] INFO: Processing execute[CASSANDRA: set cluster_name] action run (midokura::cassandra line 16)
[2015-05-28T06:08:41-07:00] INFO: execute[CASSANDRA: set cluster_name] ran successfully
[2015-05-28T06:08:41-07:00] INFO: Processing execute[CASSANDRA: set seed list] action run (midokura::cassandra line 21)
[2015-05-28T06:08:41-07:00] INFO: execute[CASSANDRA: set seed list] ran successfully
[2015-05-28T06:08:41-07:00] INFO: Processing service[cassandra] action enable (midokura::cassandra line 25)
[2015-05-28T06:08:41-07:00] INFO: service[cassandra] enabled
[2015-05-28T06:08:41-07:00] INFO: Processing service[cassandra] action start (midokura::cassandra line 25)
[2015-05-28T06:08:41-07:00] INFO: service[cassandra] started
[2015-05-28T06:08:41-07:00] INFO: Processing yum_globalconfig[/etc/yum.conf] action create (yum::default line 20)
[2015-05-28T06:08:41-07:00] INFO: Processing template[/etc/yum.conf] action create (/var/chef/cookbooks/yum/providers/globalconfig.rb line 29)
[2015-05-28T06:08:41-07:00] INFO: template[/etc/yum.conf] backed up to /var/chef/backup/etc/yum.conf.chef-20150528060841.596685
[2015-05-28T06:08:41-07:00] INFO: template[/etc/yum.conf] updated file contents /etc/yum.conf
[2015-05-28T06:08:41-07:00] INFO: Processing yum_repository[epel] action create (yum-epel::default line 22)
[2015-05-28T06:08:41-07:00] INFO: Processing template[/etc/yum.repos.d/epel.repo] action create (/var/chef/cookbooks/yum/providers/repository.rb line 39)
[2015-05-28T06:08:41-07:00] INFO: template[/etc/yum.repos.d/epel.repo] backed up to /var/chef/backup/etc/yum.repos.d/epel.repo.chef-20150528060841.603798
[2015-05-28T06:08:41-07:00] INFO: template[/etc/yum.repos.d/epel.repo] updated file contents /etc/yum.repos.d/epel.repo
[2015-05-28T06:08:41-07:00] INFO: template[/etc/yum.repos.d/epel.repo] sending run action to executeyum-makecache-epel
[2015-05-28T06:08:41-07:00] INFO: Processing execute[yum-makecache-epel] action run (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:55-07:00] INFO: execute[yum-makecache-epel] ran successfully
[2015-05-28T06:08:55-07:00] INFO: template[/etc/yum.repos.d/epel.repo] sending run action to executeyum clean epel
[2015-05-28T06:08:55-07:00] INFO: Processing execute[yum clean epel] action run (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:55-07:00] INFO: execute[yum clean epel] ran successfully
[2015-05-28T06:08:55-07:00] INFO: template[/etc/yum.repos.d/epel.repo] sending create action to ruby_blockyum-cache-reload-epel
[2015-05-28T06:08:55-07:00] INFO: Processing ruby_block[yum-cache-reload-epel] action create (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:55-07:00] INFO: ruby_block[yum-cache-reload-epel] called
[2015-05-28T06:08:55-07:00] INFO: Processing execute[yum clean epel] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:55-07:00] INFO: Processing execute[yum-makecache-epel] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:55-07:00] INFO: Processing ruby_block[yum-cache-reload-epel] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:55-07:00] INFO: Processing yum_repository[midokura-main] action create (midokura::_common line 12)
[2015-05-28T06:08:55-07:00] INFO: Processing template[/etc/yum.repos.d/midokura-main.repo] action create (/var/chef/cookbooks/yum/providers/repository.rb line 39)
[2015-05-28T06:08:55-07:00] INFO: template[/etc/yum.repos.d/midokura-main.repo] created file /etc/yum.repos.d/midokura-main.repo
[2015-05-28T06:08:55-07:00] INFO: template[/etc/yum.repos.d/midokura-main.repo] updated file contents /etc/yum.repos.d/midokura-main.repo
[2015-05-28T06:08:55-07:00] INFO: template[/etc/yum.repos.d/midokura-main.repo] mode changed to 644
[2015-05-28T06:08:55-07:00] INFO: template[/etc/yum.repos.d/midokura-main.repo] sending run action to executeyum-makecache-midokura-main
[2015-05-28T06:08:55-07:00] INFO: Processing execute[yum-makecache-midokura-main] action run (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:56-07:00] INFO: execute[yum-makecache-midokura-main] ran successfully
[2015-05-28T06:08:56-07:00] INFO: template[/etc/yum.repos.d/midokura-main.repo] sending run action to executeyum clean midokura-main
[2015-05-28T06:08:56-07:00] INFO: Processing execute[yum clean midokura-main] action run (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:56-07:00] INFO: execute[yum clean midokura-main] ran successfully
[2015-05-28T06:08:56-07:00] INFO: template[/etc/yum.repos.d/midokura-main.repo] sending create action to ruby_blockyum-cache-reload-midokura-main
[2015-05-28T06:08:56-07:00] INFO: Processing ruby_block[yum-cache-reload-midokura-main] action create (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:56-07:00] INFO: ruby_block[yum-cache-reload-midokura-main] called
[2015-05-28T06:08:56-07:00] INFO: Processing execute[yum clean midokura-main] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:56-07:00] INFO: Processing execute[yum-makecache-midokura-main] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:56-07:00] INFO: Processing ruby_block[yum-cache-reload-midokura-main] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:56-07:00] INFO: Processing yum_repository[midokura-misc] action create (midokura::_common line 20)
[2015-05-28T06:08:56-07:00] INFO: Processing template[/etc/yum.repos.d/midokura-misc.repo] action create (/var/chef/cookbooks/yum/providers/repository.rb line 39)
[2015-05-28T06:08:56-07:00] INFO: template[/etc/yum.repos.d/midokura-misc.repo] created file /etc/yum.repos.d/midokura-misc.repo
[2015-05-28T06:08:56-07:00] INFO: template[/etc/yum.repos.d/midokura-misc.repo] updated file contents /etc/yum.repos.d/midokura-misc.repo
[2015-05-28T06:08:56-07:00] INFO: template[/etc/yum.repos.d/midokura-misc.repo] mode changed to 644
[2015-05-28T06:08:56-07:00] INFO: template[/etc/yum.repos.d/midokura-misc.repo] sending run action to executeyum-makecache-midokura-misc
[2015-05-28T06:08:56-07:00] INFO: Processing execute[yum-makecache-midokura-misc] action run (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:57-07:00] INFO: execute[yum-makecache-midokura-misc] ran successfully
[2015-05-28T06:08:57-07:00] INFO: template[/etc/yum.repos.d/midokura-misc.repo] sending run action to executeyum clean midokura-misc
[2015-05-28T06:08:57-07:00] INFO: Processing execute[yum clean midokura-misc] action run (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:57-07:00] INFO: execute[yum clean midokura-misc] ran successfully
[2015-05-28T06:08:57-07:00] INFO: template[/etc/yum.repos.d/midokura-misc.repo] sending create action to ruby_blockyum-cache-reload-midokura-misc
[2015-05-28T06:08:57-07:00] INFO: Processing ruby_block[yum-cache-reload-midokura-misc] action create (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:57-07:00] INFO: ruby_block[yum-cache-reload-midokura-misc] called
[2015-05-28T06:08:57-07:00] INFO: Processing execute[yum clean midokura-misc] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 55)
[2015-05-28T06:08:57-07:00] INFO: Processing execute[yum-makecache-midokura-misc] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 61)
[2015-05-28T06:08:57-07:00] INFO: Processing ruby_block[yum-cache-reload-midokura-misc] action nothing (/var/chef/cookbooks/yum/providers/repository.rb line 68)
[2015-05-28T06:08:57-07:00] INFO: Processing directory[/usr/java] action create (midokura::zookeeper line 7)
[2015-05-28T06:08:57-07:00] INFO: directory[/usr/java] created directory /usr/java
[2015-05-28T06:08:57-07:00] INFO: Processing link[/usr/java/default] action create (midokura::zookeeper line 9)
[2015-05-28T06:08:57-07:00] INFO: Processing package[zookeeper] action install (midokura::zookeeper line 14)
[2015-05-28T06:09:11-07:00] INFO: package[zookeeper] installing zookeeper-3.4.5-1 from midokura-misc repository
[2015-05-28T06:09:35-07:00] INFO: Processing template[/etc/zookeeper/zoo.cfg] action create (midokura::zookeeper line 18)
[2015-05-28T06:09:35-07:00] INFO: template[/etc/zookeeper/zoo.cfg] backed up to /var/chef/backup/etc/zookeeper/zoo.cfg.chef-20150528060935.828423
[2015-05-28T06:09:35-07:00] INFO: template[/etc/zookeeper/zoo.cfg] updated file contents /etc/zookeeper/zoo.cfg
[2015-05-28T06:09:35-07:00] INFO: template[/etc/zookeeper/zoo.cfg] owner changed to 497
[2015-05-28T06:09:35-07:00] INFO: template[/etc/zookeeper/zoo.cfg] group changed to 497
[2015-05-28T06:09:35-07:00] INFO: template[/etc/zookeeper/zoo.cfg] sending restart action to servicezookeeper
[2015-05-28T06:09:35-07:00] INFO: Processing service[zookeeper] action restart (midokura::zookeeper line 25)
[2015-05-28T06:09:42-07:00] INFO: service[zookeeper] restarted
[2015-05-28T06:09:42-07:00] INFO: Processing service[zookeeper] action enable (midokura::zookeeper line 25)
[2015-05-28T06:09:43-07:00] INFO: service[zookeeper] enabled
[2015-05-28T06:09:43-07:00] INFO: Processing service[zookeeper] action start (midokura::zookeeper line 25)
[2015-05-28T06:09:44-07:00] INFO: service[zookeeper] started
[2015-05-28T06:09:44-07:00] INFO: Processing package[kernel] action upgrade (midokura::midolman line 4)
[2015-05-28T06:09:44-07:00] INFO: Processing remote_file[/var/chef/cache/iproute-2.6.32-130.el6ost.netns.2.x86_64.rpm] action create (midokura::midolman line 10)
[2015-05-28T06:09:44-07:00] INFO: remote_file[/var/chef/cache/iproute-2.6.32-130.el6ost.netns.2.x86_64.rpm] created file /var/chef/cache/iproute-2.6.32-130.el6ost.netns.2.x86_64.rpm
[2015-05-28T06:09:45-07:00] INFO: remote_file[/var/chef/cache/iproute-2.6.32-130.el6ost.netns.2.x86_64.rpm] updated file contents /var/chef/cache/iproute-2.6.32-130.el6ost.netns.2.x86_64.rpm
[2015-05-28T06:09:45-07:00] INFO: Processing package[iproute] action install (midokura::midolman line 14)
[2015-05-28T06:09:49-07:00] INFO: Processing package[midolman] action install (midokura::midolman line 19)
[2015-05-28T06:09:49-07:00] INFO: package[midolman] installing midolman-2015.01-1.0.el6 from midokura-main repository
[2015-05-28T06:10:34-07:00] INFO: Processing package[kmod-openvswitch] action install (midokura::midolman line 23)
[2015-05-28T06:10:34-07:00] INFO: package[kmod-openvswitch] installing kmod-openvswitch-1.9.2-1.el6 from midokura-misc repository
[2015-05-28T06:11:19-07:00] INFO: Processing execute[Set zookeepers in midolman.conf] action run (midokura::midolman line 31)
[2015-05-28T06:11:19-07:00] INFO: execute[Set zookeepers in midolman.conf] ran successfully
[2015-05-28T06:11:19-07:00] INFO: Processing execute[Set cassandra nodes in midolman.conf] action run (midokura::midolman line 40)
[2015-05-28T06:11:19-07:00] INFO: execute[Set cassandra nodes in midolman.conf] ran successfully
[2015-05-28T06:11:19-07:00] INFO: Processing template[/etc/init.d/midolman] action create (midokura::midolman line 46)
[2015-05-28T06:11:19-07:00] INFO: template[/etc/init.d/midolman] backed up to /var/chef/backup/etc/init.d/midolman.chef-20150528061119.436568
[2015-05-28T06:11:19-07:00] INFO: template[/etc/init.d/midolman] updated file contents /etc/init.d/midolman
[2015-05-28T06:11:19-07:00] INFO: template[/etc/init.d/midolman] mode changed to 655
[2015-05-28T06:11:19-07:00] INFO: Processing service[midolman] action start (midokura::midolman line 51)
[2015-05-28T06:11:19-07:00] INFO: service[midolman] started
[2015-05-28T06:11:19-07:00] INFO: Processing service[midolman] action enable (midokura::midolman line 51)
[2015-05-28T06:11:19-07:00] INFO: service[midolman] enabled
[2015-05-28T06:11:19-07:00] INFO: Processing package[midonet-api] action install (midokura::midonet-api line 3)
[2015-05-28T06:11:19-07:00] INFO: package[midonet-api] installing midonet-api-2015.01-1.0.el6 from midokura-main repository
[2015-05-28T06:11:41-07:00] INFO: Processing package[python-midonetclient] action install (midokura::midonet-api line 6)
[2015-05-28T06:11:41-07:00] INFO: package[python-midonetclient] installing python-midonetclient-2015.01-1.0.el6 from midokura-main repository
[2015-05-28T06:11:47-07:00] INFO: Processing package[tomcat] action install (midokura::midonet-api line 10)
[2015-05-28T06:11:47-07:00] INFO: package[tomcat] installing tomcat-7.0.33-4.el6 from epel-6-x86_64 repository

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant