Giter Club home page Giter Club logo

Comments (5)

lukas-vlcek avatar lukas-vlcek commented on June 30, 2024

Hmmm... I am getting the same on Fedora too. This might be related to my recent PR... I will check.

from docker-fluentd.

lukas-vlcek avatar lukas-vlcek commented on June 30, 2024

Probably not related to my recent PR. I tried to build the image from older commits and still running into this issue (now on Fedora):

[lvlcek@dhcp-2-178 docker-fluentd]$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                     PORTS               NAMES
484ecc2e21a5        17cf1ebcc25a        "/bin/sh -c /usr/sbin"   12 seconds ago      Exited (1) 5 seconds ago                       jolly_bartik

[lvlcek@dhcp-2-178 docker-fluentd]$ docker logs --tail 200 484ecc2e21a5181489727d143dd2571275c1deb837d9774908b9057d22fb6a56
+ ES_HOST=viaq-elasticsearch
+ ES_PORT=9200
+ SYSLOG_LISTEN_PORT=10514
+ DEBUG_FLUENTD=false
+ LOGSTASH_PREFIX=v2016.03.10.0-viaq
+ '[' false = true ']'
+ FLUENTD_ARGS=
+ '[' -f /data/fluent.conf ']'
+ for file in /etc/fluent/fluent.conf '/etc/fluent/config.d/*.conf' '/etc/fluent/config.d/**/*.conf'
+ '[' '!' -f /etc/fluent/fluent.conf ']'
+ continue
+ for file in /etc/fluent/fluent.conf '/etc/fluent/config.d/*.conf' '/etc/fluent/config.d/**/*.conf'
+ '[' '!' -f '/etc/fluent/config.d/*.conf' ']'
+ continue
+ for file in /etc/fluent/fluent.conf '/etc/fluent/config.d/*.conf' '/etc/fluent/config.d/**/*.conf'
+ '[' '!' -f '/etc/fluent/config.d/**/*.conf' ']'
+ continue
+ fluentd
2016-06-06 13:23:32 +0000 [info]: reading config file path="/etc/fluent/fluent.conf"
/opt/app-root/src/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:474:in `read': No such file or directory - /etc/fluent/fluent.conf (Errno::ENOENT)
    from /opt/app-root/src/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:474:in `read_config'
    from /opt/app-root/src/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:144:in `start'
    from /opt/app-root/src/gems/fluentd-0.12.26/lib/fluent/command/fluentd.rb:173:in `<top (required)>'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/app-root/src/gems/fluentd-0.12.26/bin/fluentd:5:in `<top (required)>'
    from /opt/app-root/src/bin/fluentd:23:in `load'
    from /opt/app-root/src/bin/fluentd:23:in `<main>'

[lvlcek@dhcp-2-178 docker-fluentd]$ git log --oneline -n 5
c5dca58 Merge pull request #16 from t0ffel/master
47f9ca2 Merge pull request #18 from lukas-vlcek/17
c862389 Specify fluentd version. Closes #17
ab10d44 Move LOGSTASH_PREFIX to env variables, normalizer info parametrization added
36e59a1 cleanup of the configs and scripts. Added instructions

from docker-fluentd.

lukas-vlcek avatar lukas-vlcek commented on June 30, 2024

It seems this issue was introduced by merging #16
When I use commit f1ab463 and manually fix Dockerfile (to workaround issue fixed later, see #17) then the container starts and run correctly.

from docker-fluentd.

richm avatar richm commented on June 30, 2024

How are you running fluentd?

from docker-fluentd.

lukas-vlcek avatar lukas-vlcek commented on June 30, 2024

Basically I delete all docker containers, images and then I do:

./build-image.sh
docker create _hash_
docker start _hash_

from docker-fluentd.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.