You are not logged in.

#1 2012-11-02 14:45:42

foobarch
Member
Registered: 2009-10-13
Posts: 66

[SOLVED] syslog-ng missing /run/systemd/journal/syslog

$ sudo /etc/rc.d/syslog-ng start
Error binding socket; addr='AF_UNIX(/run/systemd/journal/syslog)', error='No such file or directory (2)'
Error initializing source driver; source='src', id='src#0'
Error initializing message pipeline;

Apparently I messed up the rc.conf and/or systemd setups. IIRC I never switched from rc.conf to systemd (as described in https://wiki.archlinux.org/index.php/Sy … to_systemd).

Ideas?

Last edited by foobarch (2012-11-02 15:00:22)

Offline

#2 2012-11-02 14:49:25

nuc
Member
Registered: 2012-04-26
Posts: 117

Re: [SOLVED] syslog-ng missing /run/systemd/journal/syslog

you should create the /var/log/journal/ directory if it doesnt exist:

wiki wrote:

By default (when Storage= is set to auto in /etc/systemd/journald.conf), the journal writes to /var/log/journal/. If the directory /var/log/journal/ does not exist (e.g. if you or some program delete it), systemd will not create it automatically, but instead write its logs to /run/systemd/journal. This means that logs will be lost on reboot.

Last edited by nuc (2012-11-02 14:51:29)

Offline

#3 2012-11-02 14:59:53

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: [SOLVED] syslog-ng missing /run/systemd/journal/syslog

Ah, that's what I missed:

[2012-10-22 09:03] ==> syslog-ng now reads from /run/systemd/journal/syslog in the
[2012-10-22 09:03]     default config. If you still use sysvinit/initscripts, this
[2012-10-22 09:03]     must be /dev/log in /etc/syslog-ng/syslog-ng.conf
[2012-10-22 09:03] upgraded syslog-ng (3.3.6-2 -> 3.3.6-3)

Thanks.

Offline

#4 2016-12-09 01:13:02

Bachsau
Member
Registered: 2016-12-09
Posts: 16

Re: [SOLVED] syslog-ng missing /run/systemd/journal/syslog

Why is this marked SOLVED? I can't find any solution to get journald to create the missing socket.

Offline

#5 2016-12-09 02:03:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,909
Website

Re: [SOLVED] syslog-ng missing /run/systemd/journal/syslog

Initscripts are no longer supported, if you're still using them then you are pretty much on your own. Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB