Skip to content
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

syslog-ng leaves its sockets everywhere and never cleans them up #128

Closed
kingdonb opened this issue Aug 7, 2014 · 2 comments
Closed

syslog-ng leaves its sockets everywhere and never cleans them up #128

kingdonb opened this issue Aug 7, 2014 · 2 comments

Comments

@kingdonb
Copy link
Collaborator

kingdonb commented Aug 7, 2014

#25 #31 #59 #60 (fixed in #71) is back

In another slightly different form:

Aug 7 15:03:22 sshbox syslog-ng[16]: Error opening control socket, bind() failed; socket='/var/lib/syslog-ng/syslog-ng.ctl', error='Address already in use (98)'

I get this error from syslog after committing a baseimage container and running the new image.

Look in /var/lib/syslog-ng and sure enough, there's an empty file syslog-ng.ctl with 755 mode.

The fix is probably the same as #25 but for /var/lib/syslog-ng/syslog-ng.ctl
(if it's not testing positive as -S, it should be rm'ed.)

@FooBarWidget
Copy link
Member

Closed via #129.

@AKIvan
Copy link

AKIvan commented Apr 22, 2016

@kingdonb can you tell me the fix for this as im little confused. I have used syslog-ng with TLS and MySQL and works ok till i have to decide to change the DB and updated from 3.5 to syslog-ng 3.8. So when i do this i have error saying that

Error binding socket; addr='AF_INET(0.0.0.0:6514)', error='Address already in use (98)'
[2016-04-22T12:46:33.433483] Error initializing message pipeline;

in the syslog-ng.ctl there is nothing and im using CentOS 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants