Re: 0anacron cron script produces errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>> I have been receiving "logger: socket /dev/log: Connection refused"
>> from the 0anacron script every hour since recently doing an update.
>> I've enabled tracing in the script with -x to try and isolate where
>> it's coming from, but nothing obvious is produced.
>>
>> I've even disabled selinux to make sure. Running logger manually as
>> root succeeds as expected.
>>
>> # ls -l /dev/log
>> srw-rw-rw- 1 root root 0 Aug 10 06:04 /dev/log
>
> No errors here.  But a difference
>
> [egreshko@meimei dev]$ ll /dev/log
> lrwxrwxrwx. 1 root root 28 Aug 10 13:27 /dev/log -> /run/systemd/journal/dev-log
>
> [egreshko@meimei dev]$ ll /run/systemd/journal/dev-log
> srw-rw-rw-. 1 root root 0 Aug 10 13:27 /run/systemd/journal/dev-log

Interesting. Perhaps it had something to do with the upgrade from fc21
to fc22. lsof also shows nothing was listening on /dev/log, but
systemd is listening on the device you showed:

# ls -l /run/systemd/journal/dev-log
srw-rw-rw- 1 root root 0 Aug 10 06:03 /run/systemd/journal/dev-log
[root@mail03 cron.hourly]# lsof|grep dev-log
systemd       1           root   26u     unix 0xffff880036821180
 0t0      14422 /run/systemd/journal/dev-log type=DGRAM
systemd-j   574           root    4u     unix 0xffff880036821180
 0t0      14422 /run/systemd/journal/dev-log type=DGRAM

Somehow it's now stopped, at least for this latest hour, but I'll
change the device to point to the systemd one anyway.

Thanks,
Alex
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux