You are not logged in.

#1 2012-10-21 10:37:41

hifi25nl
Member
Registered: 2011-05-07
Posts: 262

Message about Error binding socket....journal/syslog

I do not have a systemd archlinux. I was only following the new suggestions about initscripts.

However, at boot, I see a message error like this:

Error binding socket; addr='AF_UNIX(/run/systemd/journal/syslog)', error='No such file or directory (2)'
etc.

There is another post about this, but it is related to a systemd arch installation.

???

Last edited by hifi25nl (2012-10-21 10:38:41)

Offline

#2 2012-10-21 10:50:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Message about Error binding socket....journal/syslog

Edit your syslog-ng.conf.

unix-dgram("/dev/log");

Offline

#3 2012-10-21 16:58:29

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Message about Error binding socket....journal/syslog

Hi, I double checked that and IMHO in such a case a .pacnew file should've been created ?

I'm not a developer, but I just wanted to put my user opinion here.
IMHO an update should never break my config this way...


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#4 2012-10-21 18:10:59

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Message about Error binding socket....journal/syslog

rebootl wrote:

Hi, I double checked that and IMHO in such a case a .pacnew file should've been created ?

I'm not a developer, but I just wanted to put my user opinion here.
IMHO an update should never break my config this way...

pacnew files are created according to the gospel in pacman's manpage.

Offline

#5 2012-10-21 18:29:04

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Message about Error binding socket....journal/syslog

I see (man pacman):

The current file is the same as the original but the new one differs. Since the user did not ever modify the file, and the new one may contain improvements or bugfixes, install the new file.

Makes sense.
Shame on me, for never reading or overseeing this...

Thanks for the pointer.

Last edited by rebootl (2012-10-21 18:30:03)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#6 2012-10-22 10:45:58

hifi25nl
Member
Registered: 2011-05-07
Posts: 262

Re: Message about Error binding socket....journal/syslog

Thank you for the suggestion. However I have switched to systemd and all is working very well.

Offline

#7 2012-11-01 12:34:46

nitralime
Member
Registered: 2009-12-30
Posts: 63

Re: Message about Error binding socket....journal/syslog

Allan wrote:

Edit your syslog-ng.conf.

unix-dgram("/dev/log");

I had also the same problem. It has been resolved by editing syslog-ng.conf as described above!

Last edited by nitralime (2012-11-01 12:42:35)

Offline

#8 2012-11-09 09:30:54

jan_goyvaerts
Member
Registered: 2012-09-24
Posts: 19

Re: Message about Error binding socket....journal/syslog

Same for me : many thanks indeed !!! :-)

Offline

#9 2012-11-09 12:00:46

fnj
Member
Registered: 2012-11-09
Posts: 2

Re: Message about Error binding socket....journal/syslog

I got bit by this on a recent upgrade of an installation made in October. I am completely confused. I didn't get a .pacnew file, yet the conf file had never been changed from the install and had the wrong line in it.

What am I missing here? It was only by finding this thread that I could fix my system.

Offline

#10 2012-11-10 18:06:26

Peterdes
Member
Registered: 2012-09-22
Posts: 7

Re: Message about Error binding socket....journal/syslog

I had the same thing. Seems quite bad it breaks without any means of intervention during update.

Offline

#11 2012-12-27 07:46:38

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: Message about Error binding socket....journal/syslog

works for me. thank you!

Allan wrote:

Edit your syslog-ng.conf.

unix-dgram("/dev/log");

Offline

#12 2013-02-02 21:56:52

zuargo
Member
From: Concepción, Chile
Registered: 2009-08-20
Posts: 116

Re: Message about Error binding socket....journal/syslog

Allan wrote:

Edit your syslog-ng.conf.

unix-dgram("/dev/log");

Thank you so much, it worked for me as well smile

Offline

Board footer

Powered by FluxBB