-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed from RPM/systemd Logstash 5 not working #6562
Comments
Actually, it doesn't even seem to work from the default location. I'm using the JDBC input & ES output and nothing is happening. |
When starting with systemd
|
I went back to version 2.4 for now |
@untergeek can you look at this please? |
Can you please describe the full process you used? I'm currently running two instances of Logstash–from a single, package install–in my home setup with systemd and it works great for me. I'd like to try to replicate your process to see what happened. |
I've since moved on from this installation and have installed version 5 with Docker successfully since. |
@untergeek I'm having the same problem on CentOS 7. When installed from RPM, systemd starts the service but after a while (approx 2 mins) I receive these messages:
The problem seems to be in the
The parameter
EDIT: I just discovered that I swapped the order of the |
I'm having a similar problem again. I installed on a different machine from RPM and nothing is happening and there's no output in the log. Loaded: loaded (/etc/systemd/system/logstash.service; disabled; vendor preset: disabled)
Active: active (running) since jeu. 2017-03-16 15:27:36 CET; 4s ago
Main PID: 22182 (java)
CGroup: /system.slice/logstash.service
└─22182 /usr/bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -Djava.awt.headless=true -Dfile.en...
mars 16 15:27:36 scadastatslogstashshipper systemd[1]: Started logstash.
mars 16 15:27:36 scadastatslogstashshipper systemd[1]: Starting logstash... |
If I run it like this: I get the output:
Should there be further output? |
@mrjameshamilton Is there a possibility you are hitting the slow-startup-because-there's-insufficient-entropy bug? I ask, because with no further output, it could be this. |
See also #5507 |
OK, yes, maybe it's related to that. after a while it seems to start. |
Going to re-close, then, since it seems unrelated to the original issue. |
Hi, I want to run multiple Logstash instances on the same machine. I installed from RPM according to https://discuss.elastic.co/t/solved-multiple-instances-for-logstash/65539/2
I copied the /etc/logstash folder to /etc/logstash-statistics
When I try
sudo systemctl start logstash-statistics.service
the process starts but nothing works; not even any output in the log folder.I try running like this
sudo /usr/share/logstash/bin/logstash --path.settings="/etc/logstash-statistics"
and get the following error:ERROR: Failed to load settings file from "path.settings". Aborting... path.setting=/etc/logstash-statistics, exception=Psych::SyntaxError, message=>(<unknown>): expected <block end>, but found BlockMappingStart while parsing a block mapping at line 72 column 2
The text was updated successfully, but these errors were encountered: