FS#16704 - [lirc] 0.8.6 lircd daemon will not start
Attached to Project:
Arch Linux
Opened by David Spicer (azleifel) - Saturday, 17 October 2009, 07:49 GMT
Last edited by Jan de Groot (JGC) - Thursday, 22 October 2009, 14:23 GMT
Opened by David Spicer (azleifel) - Saturday, 17 October 2009, 07:49 GMT
Last edited by Jan de Groot (JGC) - Thursday, 22 October 2009, 14:23 GMT
|
Details
Description:
After the update to lirc 0.8.6 the lircd daemon will not start: :: Starting LIRC Daemon [BUSY] lircd: can't open or create /var/run/lirc/lircd.pid lircd: No such file or directory Creating /var/run/lirc fixes the problem but I'm not certain that I should have had to have done that! Steps to reproduce: sudo /etc/rc.d/lircd start |
This task depends upon
* moved default lircd, lircmd and lircrcd config file locations to
/etc/lirc/lircd.conf, /etc/lirc/lircmd.conf and /etc/lirc/lircrc
* moved lircd socket from /dev/lircd to /var/run/lirc/lircd
* moved default pid file location from /var/run/lircd.pid to
/var/run/lirc/lircd.pid
So I created the dirs /etc/lirc and /var/run/lirc , and moved /etc/lircd.conf to /etc/lirc/lircd.conf . Now it's working again.
Are you getting errors when do you start lircd daemon? Something like this:
lircd: error in configfile line 5
lircd: reading of file '/etc/lirc/lircd.conf' failed
lircd: reading of config file failed
No, after I moved lircd.conf to /etc/lirc/lircd.conf and created the folder /var/run/lirc, the daemon starts without any errors.
(I've created the folder /var/run/lirc and both lircd and lircd.pid are present.)
[per@arch packages]$ sudo pacman -U lirc-utils-0.8.6-3-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts [#####################] 100%
error: failed to prepare transaction (conflicting files)
lirc-utils: /etc/conf.d/lircd.conf exists in filesystem
After removing /etc/conf.d/lircd.conf and installing the deamon won't start
[per@arch ~]$ sudo /etc/rc.d/lircd start
sudo: /etc/rc.d/lircd: command not found
loading package data...
checking dependencies...
(1/1) checking for file conflicts [###############] 100%
(1/1) upgrading lirc-utils [###############] 100%
looks fine here. could someone confirm the conflicts?
[per@arch /]$ sudo /etc/rc.d/lircd start
:: Starting LIRC Daemon [BUSY]
ln: creating symbolic link `/dev/lircd': File exists
[FAIL]
[per@arch /]$ sudo /etc/rc.d/lircd start
:: Starting LIRC Daemon [FAIL]
Thanks for the help Hugo, it's greatly appreciated! :)