Here is the list of the installed package versions.
$ruby -v
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]
$gem -v
3.3.7
$fluentd --version
fluentd 1.14.6
$fluentd --dry-run
After running the above command getting the following error.
/home/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/fluentd-1.14.6/lib/fluent/config.rb:31:in `initialize': No such file or directory # rb_sysopen - /etc/fluent/fluent.conf (Errno::ENOENT)
from /home/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/fluentd-1.14.6/lib/fluent/config.rb:31:in `open'
from /home/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/fluentd-1.14.6/lib/fluent/config.rb:31:in `build'
from /home/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/fluentd-1.14.6/lib/fluent/supervisor.rb:747:in `configure'
from /home/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/fluentd-1.14.6/lib/fluent/command/fluentd.rb:355:in `<top (required)>'
from <internal:/home/user/.rbenv/versions/3.1.1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/home/user/.rbenv/versions/3.1.1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /home/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/fluentd-1.14.6/bin/fluentd:15:in `<top (required)>'
from /home/user/.rbenv/versions/3.1.1/bin/fluentd:25:in `load'
from /home/user/.rbenv/versions/3.1.1/bin/fluentd:25:in `<main>'
$echo '{"json":"message"}' | fluent-cat debug.test
connect failed: Connection refused - connect(2) for "127.0.0.1" port 24224
connect failed: Connection refused - connect(2) for "127.0.0.1" port 24224
connect failed: Connection refused - connect(2) for "127.0.0.1" port 24224
connect failed: Connection refused - connect(2) for "127.0.0.1" port 24224
connect failed: Connection refused - connect(2) for "127.0.0.1" port 24224
connect failed: Connection refused - connect(2) for "127.0.0.1" port 24224
exceed retry limit
You need to create a config file on /etc/fluent/fluent.conf or start the server with -c /path/to/config
Related
I'm running macOS Monterey on an M1 Pro. I've installed rvm with Ruby 3.0.0 and 2.7.2.
➜ ~ rvm list
=* ruby-2.7.3 [ arm64 ]
ruby-3.0.0 [ arm64 ]
# => - current
# =* - current && default
# * - default
I can install gems without any issues when using Ruby 3.0.0. However, when I attempt to install gems using 2.7.3 - I start hitting problems.
➜ ~ gem install bundler -V --debug
NOTE: Debugging mode prints all exceptions even when rescued
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960 - getaddrinfo: Invalid value for ai_flags
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:962 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:1025 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:272 - no such name (https://rubygems.org/api/v1/dependencies)
Exception `Errno::EEXIST' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/fileutils.rb:250 - File exists # dir_s_mkdir - /Users/cclarke/.gem/specs/rubygems.org%443
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960 - getaddrinfo: Invalid value for ai_flags
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:962 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:1025 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:272 - no such name (https://rubygems.org/prerelease_specs.4.8.gz)
Exception `Errno::EEXIST' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/fileutils.rb:250 - File exists # dir_s_mkdir - /Users/cclarke/.gem/specs/rubygems.org%443
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960 - getaddrinfo: Invalid value for ai_flags
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:962 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:1025 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:272 - no such name (https://rubygems.org/specs.4.8.gz)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/spec_fetcher.rb:256 - no such name (https://rubygems.org/specs.4.8.gz)
Exception `Gem::UnsatisfiableDependencyError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/resolver.rb:235 - Unable to resolve dependency: user requested 'bundler (>= 0)'
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/specs.4.8.gz)
Exception `Errno::EEXIST' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/fileutils.rb:250 - File exists # dir_s_mkdir - /Users/cclarke/.gem/specs/rubygems.org%443
Exception `Errno::ENOENT' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:297 - No such file or directory # rb_file_s_stat - /Users/cclarke/.gem/specs/rubygems.org%443/latest_specs.4.8
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960 - getaddrinfo: Invalid value for ai_flags
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:962 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:1025 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:272 - no such name (https://rubygems.org/latest_specs.4.8.gz)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/spec_fetcher.rb:256 - no such name (https://rubygems.org/latest_specs.4.8.gz)
Exception `Errno::EEXIST' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/fileutils.rb:250 - File exists # dir_s_mkdir - /Users/cclarke/.gem/specs/rubygems.org%443
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960 - getaddrinfo: Invalid value for ai_flags
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:962 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `SocketError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:1025 - Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:272 - no such name (https://rubygems.org/prerelease_specs.4.8.gz)
Exception `Gem::RemoteFetcher::UnknownHostError' at /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/rubygems/spec_fetcher.rb:256 - no such name (https://rubygems.org/prerelease_specs.4.8.gz)
I've tried installing Ruby 2.7.2 in 2 ways but the problem still persists.
rvm install 2.7.2 (Installs fine)
Using this GitHub link
I think perhaps, it's the problem is with openssh but I cannot be sure. Why it can't open a TCP connection I with ruby gems I can't figure. If anyone has any insight I'd be very grateful.
Kind regards,
Christian
~edit. My Gem sources are correctly set for 2.7.3 as they are for 3.0.0. Which works fine.
➜ ~ gem sources
*** CURRENT SOURCES ***
https://rubygems.org/
I ran curl from the rubygems.org site
➜ ~ curl -Lks 'https://git.io/rg-ssl' | ruby
Here's your Ruby and OpenSSL environment:
Ruby: 2.7.3p183 (2021-04-05 revision 6847ee089d7655b2a0eea4fee3133aeacd4cc7cc) [arm64-darwin21]
RubyGems: 3.1.6
Bundler: 2.1.4
Compiled with: OpenSSL 1.1.1m 14 Dec 2021
Loaded version: OpenSSL 1.1.1m 14 Dec 2021
SSL_CERT_FILE: /opt/homebrew/etc/openssl#1.1/cert.pem
SSL_CERT_DIR: /opt/homebrew/etc/openssl#1.1/certs
With that out of the way, let's see if you can connect to rubygems.org...
Bundler connection to rubygems.org: failed ❌ (Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags))
RubyGems connection to rubygems.org: failed ❌ (no such name (https://rubygems.org))
Ruby net/http connection to rubygems.org: failed ❌
Unfortunately, this Ruby can't connect to rubygems.org. 😡
Even worse, we're not sure why. 😕
Here's the full error information:
SocketError: Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags)
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `initialize'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `open'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:958:in `connect'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:938:in `start'
-:101:in `<main>'
You might have more luck using Mislav's SSL doctor.rb script. You can get it here:
https://github.com/mislav/ssl-tools/blob/8b3dec4/doctor.rb
Read more about the script and how to use it in this blog post:
https://mislav.net/2013/07/ruby-openssl/
Traceback (most recent call last):
8: from -:101:in `<main>'
7: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:938:in `start'
6: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
5: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:958:in `connect'
4: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
3: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
2: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
1: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `open'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `initialize': getaddrinfo: Invalid value for ai_flags (SocketError)
8: from -:101:in `<main>'
7: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:938:in `start'
6: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
5: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:958:in `connect'
4: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
3: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
2: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
1: from /Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `open'
/Users/cclarke/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/http.rb:960:in `initialize': Failed to open TCP connection to rubygems.org:443 (getaddrinfo: Invalid value for ai_flags) (SocketError)
~Edit. I couldn't figure this out. So, in the end I followed the advice in this post How to run the Homebrew installer under Rosetta 2 on M1 Macbook. For Ruby 3 I use native Arm. For Ruby 2.7.5 I use Rosetta2. Perhaps, not natively running Arm .. but at least it's working.
Ubuntu 16.04.1 LTS
Hadoop 3.3.1
I have mannually downloaded and installed java version "1.8.0_261"
when I run start-dfs.sh,
hadoop#ubuntu:~/hadoop/sbin$ start-dfs.sh
Starting namenodes on [ubuntu]
ubuntu: ssh: connect to host ubuntu port 22: Connection refused
Starting datanodes
localhost: ssh: connect to host localhost port 22: Connection refused
Starting secondary namenodes [ubuntu]
ubuntu: ssh: connect to host ubuntu port 22: Connection refused
2021-06-25 17:42:19,711 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... > using builtin-java classes where applicable
Try installing whole SSH package pack:
sudo apt-get install ssh
jeeu#DESKTOP-C6RMAI6:/mnt/d/EFK4/elasticsearch-2.1.1$ docker run --name kibana -e ELASTICSEARCH_URL=http://192.168.49.1:9200 -p 5601:5601 -d kibana:4.1.4
3fdfacce49c6fd70e697570304edf65d1cf534fc794863ab1cf9e26d3f287e8d
docker: Error response from daemon: failed to initialize logging driver: dial tcp 127.0.0.1:24224:
connect: connection refused.
Tried almost every attempt found here in the community but didn't figure out how to access web through continers created in my Docker Desktop Environment.
This is my last attempt with Ubuntu (also tried Centos and Debian suites):
docker run -i -t --rm=true ubuntu /bin/bash
root#310f7a660efd:/# apt-get update -y
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (91.189.88.24). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.173). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.174). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.31). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused)
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not connect to security.ubuntu.com:80 (91.189.91.14). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.24). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.31). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.174). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.91.26). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.91.24). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.91.23). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.173). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused)
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to archive.ubuntu.com:80 (91.189.88.24). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.173). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.174). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.31). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not connect to security.ubuntu.com:80 (91.189.91.14). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.24). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.31). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.174). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.91.26). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.91.24). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.91.23). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.173). - connect (111: Connection refused) Could not connect to security.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused)
W: Some index files failed to download. They have been ignored, or old ones used instead.
If i ping google.com from the server no problem but just can't access repos.
Seems a proxy problem but just because I set proxy in the Docker settings it allows me to download images from dockerhub.
Also tried DNS fixed to 8.8.8.8.
My OS is Windows 10 and this is Docker info:
Client:
Debug Mode: false
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 3
Server Version: 19.03.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894--------------16b8817763c29fb
runc version: 425e105d5a03----------9eeede87f
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.184-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952GiB
Name: docker-desktop
ID: UL2M:2GDU:GGIH:IO6C:EJWA:YUXM:5DFL:F6Q4:XTFE:K3MN:7474:TY4J
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 38
Goroutines: 58
System Time: 2019-10-07T13:34:51.1886632Z
EventsListeners: 1
HTTP Proxy: xxxxxxxxxxxxxxxx:3128
HTTPS Proxy: xxxxxxxxxxxxxxxx:3128
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
This is quite sad situation since if a container can't access web it's very limited.
Also if I put unreachable path from those stack in my chrome they are perfectly available.
Hope for some advice to put me in the right direction.
I get the following error in apache log on puppet master:
Any ideas what could be wrong here:
[ E 2018-03-11 07:50:58.9057 10913/T8 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is cd3585fe. Please see earlier logs for details about the error.
App 10950 stdout:
App 10950 stdout:
[ E 2018-03-11 07:51:03.0922 10913/Te age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/puppet/rack/puppetmasterd: An error occurred while starting up the preloader.
Error ID: 01cd04d1
Error details saved to: /tmp/passenger-error-sAcbhg.html
Message from application: cannot load such file -- puppet/util/command_line (LoadError)
/usr/local/rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
config.ru:32:in `block in <main>'
/usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/builder.rb:55:in `instance_eval'
/usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.2.1/src/helper-scripts/rack-preloader.rb:110:in `eval'
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.2.1/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.2.1/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.2.1/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-5.2.1/src/helper-scripts/rack-preloader.rb:29:in `<main>'
My config:
Centos 6.5,
Puppet 3.8.7,
Apache/2.2.15,
Phusion Passenger 5.2.1