Failed to install .deb logstash file on ubuntu 14.04

I am trying to setup ELK on my local machine.
I successfully installed elastic search and kibana.
But during installation of logstash I am getting error.
Below is the terminal logs.
I tried a lot but It is not working.
Any suggestion?

Thanks for help.

abx@xyz:~/Downloads$ sudo dpkg -i logstash-5.1.1.deb
[sudo] password for xyz:
(Reading database ... 310519 files and directories currently installed.)
Preparing to unpack logstash-5.1.1.deb ...
Unpacking logstash (1:5.1.1-1) over (1:5.1.1-1) ...
Setting up logstash (1:5.1.1-1) ...
Using provided startup.options file: /etc/logstash/startup.options
Failed to get D-Bus connection: Operation not permitted
Successfully created system startup script for Logstash

It looks like the installation of logstash was successful. The output you posted shows that logstash was installed again .
Unpacking logstash (1:5.1.1-1) over (1:5.1.1-1) ...

You can verify by running:
dpkg -l logstash
If you see something like:

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
ii  logstash       1:5.1.1-1    all          An extensible logging pipeline

it was installed successfully.

The D-Bus error is not related to Logstash. Are you installing in Docker or some other container?
The error seems to be a common error there.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.