You are not logged in.
Hello,
i have just updated my Arch by using comands
sudo pacman -Syy
sudo pacman -SyuMy kernel updated from version 3.5.3 to 3.6.2 and now
at system boot i get an error:
INIT: Entering runlevel: 3
::Starting Syslog-NG
Error binding socket; addr='AF_UNIX(/run/systemd/journal/syslog)'
Error initializing source driver: source='src', id='src=src#0'
Error initializing message pipeline;
[FAIL] My system still boots, but i would love to fix this error if possible.
Last edited by 71GA (2012-10-22 17:15:26)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Syslog-ng is now configured to listen to systemd's journal. So since you are using initscripts, you probably have to configure it to listen to the right socket. I am a systemd user myself, so I cannot tell you what it is you need to do. Yuo probably have to google it.
Offline
I guess you are not using systemd and did not read the output from the update?
[2012-10-21 20:50] ==> syslog-ng now reads from /run/systemd/journal/syslog in the
[2012-10-21 20:50] default config. If you still use sysvinit/initscripts, this
[2012-10-21 20:50] must be /dev/log in /etc/syslog-ng/syslog-ng.conf
[2012-10-21 20:50] upgraded syslog-ng (3.3.6-2 -> 3.3.6-3)CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Wow, its amazing the things that pacman knows.... and how many people don't listen to the pacman.
Edit: I just rid myself of syslog-ng and set up persistent logs with journald... I guess I just like that minimalism thing.
Last edited by WonderWoofy (2012-10-21 22:18:02)
Offline
https://bbs.archlinux.org/viewtopic.php … 4#p1179304
IMHO this post-update message is just terrible ...
Offline
I presume i have to install systemd-sysvcompat (described here) package and set it in my DAEMONS instead of syslog-ng.
I presume this is all i need to do, but before i do it i would like an confirmation just so i don't mess anything up.
With kind regards.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
I presume i have to install systemd-sysvcompat (described here) package and set it in my DAEMONS instead of syslog-ng.
I presume this is all i need to do, but before i do it i would like an confirmation just so i don't mess anything up.With kind regards.
Are you using systemd?
Offline
71GA wrote:I presume i have to install systemd-sysvcompat (described here) package and set it in my DAEMONS instead of syslog-ng.
I presume this is all i need to do, but before i do it i would like an confirmation just so i don't mess anything up.With kind regards.
Are you using systemd?
In my daemons i have syslog-ng listed. How do i know which one i use?
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Do you have sysvinit installed?
Offline
Do you have sysvinit installed?
Yes sysvinit is installed.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
So you now have a working initscripts setup w/o the syslog error, right? Installing systemd-sysvcompat is not needed.
If you have problems with switching to systemd, please open another thread.
Offline
So you now have a working initscripts setup w/o the syslog error, right? Installing systemd-sysvcompat is not needed.
If you have problems with switching to systemd, please open another thread.
No, i still get an error.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
karol wrote:So you now have a working initscripts setup w/o the syslog error, right? Installing systemd-sysvcompat is not needed.
If you have problems with switching to systemd, please open another thread.No, i still get an error.
Did you read https://bbs.archlinux.org/viewtopic.php … 4#p1179304 ?
Offline
71GA wrote:karol wrote:So you now have a working initscripts setup w/o the syslog error, right? Installing systemd-sysvcompat is not needed.
If you have problems with switching to systemd, please open another thread.No, i still get an error.
Did you read https://bbs.archlinux.org/viewtopic.php … 4#p1179304 ?
I did. At the end he says he did swich to system-md. Thats it. But how did he do it?
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Do just this:
Edit your syslog-ng.conf.
unix-dgram("/dev/log");
then reboot.
Edit one line in /etc/syslog-ng/syslog-ng.conf and reboot to see if it worked.
Offline
Do just this:
Allan wrote:Edit your syslog-ng.conf.
unix-dgram("/dev/log");then reboot.
Edit one line in /etc/syslog-ng/syslog-ng.conf and reboot to see if it worked.
This worked and i get no more errors at startup. But what did i actually do with this line?
Chose another system log or what? I am just curious.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
I'm guessing that systemd is the default and folks still using initscripts have to do some modifications, like telling syslog where the log should be.
Once you (we ;P) switch to systemd, such user actions won't be necessary.
Offline
Prior to this change, you had to edit syslog-ng's config if you wanted to use syslog-ng with systemd. It needed to be pointed at /run/systemd/journal/syslog. So I guess the idea is that this is now the default and you need to change it if you want to use it with init scripts...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline