Yesssss, that was it! You nailed it Rainer! I was convinced that selinux was disabled but it seems like it wasn't...
2013/6/24 Rainer Gerhards <[email protected]> > Could this be related to SELinux? I don't see much of a difference between > running in BG/FG... > > Rainer > > > On Mon, May 27, 2013 at 2:57 PM, Radu Gheorghe <[email protected] > >wrote: > > > Hello and sorry for my necromancy, > > > > I just bumped into the same issue on CentOS 6.4. And by "same issue" I > mean > > rsyslog can't connect to ES on localhost saying: > > > > omelasticsearch: curl_easy_perform() returned 7 > > omelasticsearch: we are suspending ourselfs due to failure 7 of > > curl_easy_perform() > > > > rsyslog is installed from the RPMs of the Adiscon repository. And here's > > where the weird stuff begins: > > > > - when running `rsyslogd -dn` it *can* connect > > - when running `bash /etc/init.d/rsyslog start` it can connect > > - when running `bash -c "/etc/init.d/rsyslog start"` doesn't connect > > - when changing /etc/init.d/rsyslog to simply: > > > > #!/bin/bash > > rsyslogd -dn > > > > --> it can't connect > > - when doing `cp /etc/init.d/rsyslog /etc/init.d/rsyslog2` and doing > > `/etc/init.d/rsyslog2 start` it can connect again > > > > So it seems to be something between the init-something of CentOS and > > rsyslog/libcurl that cause the issue. I mentioned libcurl because if I > > change the rsyslog script to something like: > > > > #!/bin/bash > > curl localhost:9200 > > > > --> it can connect. > > > > Does anyone have any hint of what could cause this behavior? > > > > Best regards, > > Radu > > > > > > 2013/4/18 Radu Gheorghe <[email protected]> > > > > > Hi Jose, > > > > > > > > > > If someone out there would put out an rpm > > > > for rsyslog-elasticsearch like the one available in: > > > > http://rpms.adiscon.com/v7-stable/epel-6/x86_64/RPMS/ I would be > > > > tremendously grateful. > > > > > > What do you mean? The RPM there doesn't work on your CentOS 6? I've > > tested > > > it with mine and it worked. > > > > > > Best regards, > > > Radu > > > > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > > DON'T LIKE THAT. > > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

