Coder Social home page Coder Social logo

Comments (10)

mariussturm avatar mariussturm commented on May 24, 2024 1

Thanks for the update!
It is possible that parts of your data got corrupted during a container stop/remove. I will take a look how to improve this. Is the container also not starting when you move the journal data away from the persistent folder?

from graylog2-images.

mariussturm avatar mariussturm commented on May 24, 2024

Could you please provide a longer dump of the server logs? When ES and MongoDB are running, Graylog server should also start.

from graylog2-images.

anaion avatar anaion commented on May 24, 2024

Hi,

Here are the container logs:
https://onedrive.live.com/redir?resid=A4F0B06FF24DE882%21118

Thanks for looking into this!

from graylog2-images.

mariussturm avatar mariussturm commented on May 24, 2024

Really odd! The server logs look fine but nothing is listening on the API port. The only thing that irritates me is the beginning of the server log. It looks like the server was started two times. Could you please check how many graylog-server processes are running? Something like ps ax| grep graylog.jar would give informations.

from graylog2-images.

anaion avatar anaion commented on May 24, 2024

Checked and there's only one graylog process running.

/opt/graylog/embedded/jre/bin/java -Xms1g -Xmx1g -XX:NewRatio=1 -XX:PermSize=128m -XX:MaxPermSize=256m -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -jar /opt/graylog/server/graylog.jar server -f /opt/graylog/conf/graylog.conf

from graylog2-images.

mariussturm avatar mariussturm commented on May 24, 2024

Sorry can't reproduce the issue. Just checked here a couple of times :/

from graylog2-images.

chuckleb avatar chuckleb commented on May 24, 2024

Ah, I'm having the same problem in my Cent7 system, I'm not sure if it's related to firewalld or not. I'm more used to running this under Cent6 with iptables.

I've deleted all images and pulled fresh copies of the docker container just now and am getting a new error of Chef dying. Will make a new ticket

from graylog2-images.

chuckleb avatar chuckleb commented on May 24, 2024

Ok just to update, it seems to cause this if I point to my existing data. I destroyed everything and just ran it from inside the container completely and things worked fine, no problems that anaion was having.

@anaion Can you post your startup string? Do you crash if you start like this?

docker run -t -p 9000:9000 -p 12201:12201 graylog2/allinone

I tested with firewalld up and down.

from graylog2-images.

mariussturm avatar mariussturm commented on May 24, 2024

Latest image is shutting down all services gracefully when the container gets a docker stop. This should prevent your problem.

from graylog2-images.

curzonj avatar curzonj commented on May 24, 2024

I got this issue because I'm trying to run graylog on OS X with boot2docker. https://gist.github.com/sevastos/2fa4c86f01541351efe8

Due to this mongodb never started and therefore the api server never started.

from graylog2-images.

Related Issues (20)

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.