ggilat
(Guy)
April 11, 2016, 8:26am
1
hello,
in trying to run second logstash instance with a different config file (for syslog events) i'm getting this error:
"Pipeline aborted due to error {:exception=>#<Errno::EACCES: Permission denied - bind(2)"
how can i change the port so i want clash?
thanks,
guy
warkolm
(Mark Walkom)
April 11, 2016, 8:28am
2
How are you running each one?
ggilat
(Guy)
April 11, 2016, 8:31am
3
one runs as a service and the other manually (for testing). it dose not work if it put the conf file in the conf.d folder also.
warkolm
(Mark Walkom)
April 11, 2016, 8:34am
4
ggilat
(Guy)
April 11, 2016, 8:38am
5
i did. but i'm getting this:
Pipeline aborted due to error Errno::EACCES: Permission denied - bind(2)
warkolm
(Mark Walkom)
April 11, 2016, 8:39am
6
Maybe if you provide your config we can help.
ggilat
(Guy)
April 11, 2016, 8:44am
7
input {
tcp {
port => 514
type => syslog
}
udp {
port => 514
type => syslog
}
}
filter {
date {
match => [ "ts", "UNIX" ]
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "logstash-bro-%{+YYYY.MM.dd}"
}
}
warkolm
(Mark Walkom)
April 11, 2016, 9:17am
8
When you run LS manually are you doing it as root? If not, that's why.