<HTML><BODY><pre style="margin-top: 1.5em; margin-bottom: 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 13px; font-family: monospace; vertical-align: baseline; overflow: auto;" data-mce-style="margin-top: 1.5em; margin-bottom: 1.5em; padding: 0px; border: 0px; outline: 0px; font-size: 13px; font-family: monospace; vertical-align: baseline; overflow: auto;">Package: pcs
Version: 0.9.149-1<br><br>When starting pcsd, it failing to start due to missing ruby lib called orderedhash<br><br></pre><p># service pcsd start<br># service pcsd status<br>● pcsd.service - PCS GUI and remote configuration interface<br> Loaded: loaded (/lib/systemd/system/pcsd.service; enabled)<br> Active: failed (Result: exit-code) since Вс 2016-03-20 21:18:25 IRKT; 5min ago<br> Process: 4896 ExecStart=/usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb & > /dev/null & (code=exited, status=1/FAILURE)<br> Main PID: 4896 (code=exited, status=1/FAILURE)</p><p>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/share/pcsd/config.rb:2:in `<top (required)>'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/share/pcsd/pcs.rb:12:in `<top (required)>'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br>мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/share/pcsd/ssl.rb:7:in `<main>'</p><p># /usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb<br>/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- orderedhash (LoadError)<br> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br> from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'<br> from /usr/share/pcsd/config.rb:2:in `<top (required)>'<br> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br> from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'<br> from /usr/share/pcsd/pcs.rb:12:in `<top (required)>'<br> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br> from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'<br> from /usr/share/pcsd/ssl.rb:7:in `<main>'</p><p>The problem solves when orderedhash is intalled:<br></p><p># gem install orderedhash<br>Fetching: orderedhash-0.0.6.gem (100%)<br>Successfully installed orderedhash-0.0.6<br>Parsing documentation for orderedhash-0.0.6<br>Installing ri documentation for orderedhash-0.0.6<br>Done installing documentation for orderedhash after 0 seconds<br>1 gem installed<br><br># service pcsd start<br></p><p># service pcsd status<br>● pcsd.service - PCS GUI and remote configuration interface<br> Loaded: loaded (/lib/systemd/system/pcsd.service; enabled)<br> Active: active (running) since Вс 2016-03-20 21:23:31 IRKT; 1s ago<br> Main PID: 4944 (ruby)<br> CGroup: /system.slice/pcsd.service<br> └─4944 /usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb & > /dev/null &<br><br>I suggest that dependency on orderedhash will be added to pcs package.<br><br>I am using GNU/Debian Jessie with pcs from stretch: <br># apt-cache showpkg pcs<br></p><p>Package: pcs<br>Versions: <br>0.9.149-1 (/var/lib/apt/lists/mirror.yandex.ru_debian_dists_stretch_main_binary-amd64_Packages) (/var/lib/dpkg/status)<br> Description Language: <br> File: /var/lib/apt/lists/mirror.yandex.ru_debian_dists_stretch_main_binary-amd64_Packages<br> MD5: c0a6a66cfb51ad928cea3b9db4755d69<br> Description Language: en<br> File: /var/lib/apt/lists/mirror.yandex.ru_debian_dists_stretch_main_i18n_Translation-en<br> MD5: c0a6a66cfb51ad928cea3b9db4755d69</p><p><br>Reverse Depends: <br> pacemaker,pcs<br> pacemaker,pcs<br>Dependencies: <br>0.9.149-1 - python:any (3 2.8) python:any (2 2.7.5-5~) init-system-helpers (2 1.18~) fonts-liberation (0 (null)) python2.7 (2 2.7.9) ruby (0 (null)) ruby-backports (0 (null)) ruby-eventmachine (0 (null)) ruby-highline (0 (null)) ruby-json (0 (null)) ruby-multi-json (0 (null)) ruby-open4 (0 (null)) ruby-rack (0 (null)) ruby-rack-protection (0 (null)) ruby-rack-test (0 (null)) ruby-rpam-ruby19 (0 (null)) ruby-sinatra (0 (null)) ruby-sinatra-contrib (0 (null)) ruby-thor (0 (null)) ruby-tilt (0 (null)) rubygems-integration (0 (null)) pacemaker (2 1.1.12) python-pcs (0 (null)) pacemaker (3 1.1.12) pacemaker (3 1.1.12) <br>Provides: <br>0.9.149-1 - <br>Reverse Provides:<br><br></p></BODY></HTML>