Logstash 5.0.2 can not install to specified path。。。


(Bejjm) #1

Hi all,
I download logstash-5.0.2.rpm file .
used command to install : sudo rpm -ivh --prefix=/opt logstash-5.0.2.rpm
But,install logstash is failed .
ERROR MESSAGE :
[root@cdm-autoinstall-single rpm]# sudo rpm -ivh --prefix=/opt logstash-5.0.2.rpm
warning: logstash-5.0.2.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
Preparing... ########################################### [100%]
1:logstash ########################################### [100%]
chown: cannot access /var/log/logstash': No such file or directory chown: cannot access/var/lib/logstash': No such file or directory
sed: can't read /etc/logstash/logstash.yml: No such file or directory
/var/tmp/rpm-tmp.dNzJEt: line 9: /usr/share/logstash/bin/system-install: No such file or directory
warning: %post(logstash-1:5.0.2-1.noarch) scriptlet failed, exit status 127


(Bejjm) #2

please help me


(system) #3

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