-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Ubuntu 18.04 kibana.service Unknown lvalue 'StartLimitIntervalSec' in section 'Unit' #38842
Comments
Pinging @elastic/kibana-platform |
Pinging @elastic/kibana-operations |
Saw the same log error on Centos 7. Kibana version: 7.3.1 Browser version: Safari Original install method: yum Steps to reproduce:
|
Did this change to or from 'StartLimitInterval' ? See here: |
@dixon1e It changes from StartLimitInterval to StartLimitIntervalSec in systemd 230. But since Centos 7 still uses Systemd 219, then the update of .service file from Elastic devs is preventing Elastic to start... |
"StartLimitIntervalSec" and "StartLimitBurst" are in the section "[Unit]". |
@mkauf no, you are wrong : https://lists.freedesktop.org/archives/systemd-devel/2017-July/039255.html
|
@Atem18 ok, thanks for pointing this out.
So maybe Kibana could also use the old location to improve the compatibility with systems that don't know about the new location yet (e. g. CentOS 7). |
@mkauf Well, the big issue here is that they use both the new name and the new location. CentOS 7 know neither of them. So technically, they would have to maintain two files and according to the OS, copy the right one. |
@Atem18 It's possible to use the old name "StartLimitInterval" instead of "StartLimitIntervalSec". I have tested this:
It works on CentOS 7 (systemd 219) and it also works on Fedora 30 (systemd 241). The "Unknown lvalue" message does not appear anymore. |
@mkauf Then that should be the solution. |
Confirmed this is also a problem on
Updating the file as follows allowed Kibana to start.
|
This was resolved in #47909 starting with 7.5.0. |
Kibana version: 7.2.0
Elasticsearch version: 7.2.0
Server OS version: Ubuntu 18.04
Linux vagrant 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Browser version: Chrome
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): .deb packages default distribution
Describe the bug: If there's some bug that prevents Kibana from starting properly or if Kibana crashes, the
/etc/systemd/system/kibana.service
file causes it to attempt to restart. But apparently a setting has changed between version of systemd where our settings are not valid on this version.Steps to reproduce:
elasticsearch.hosts:
)journalctl -u kibana
to see logsExpected behavior:
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
This
Unknown lvalue 'StartLimitIntervalSec' in section 'Unit'
shows up at the beginning and the end of this log;Any additional context:
Here's the /etc/systemd/system/kibana.service from my install;
The text was updated successfully, but these errors were encountered: