[lfs-dev] log daemon fails

Bruce Dubbs bruce.dubbs at gmail.com
Wed Feb 3 15:32:35 PST 2016


Roger Koehler wrote:
> On Feb 3, 2016 3:02 PM, "Roger Koehler" <roger.o.koehler at gmail.com> wrote:
>>
>> Starting system log daemon...FAIL
>> Starting system log daemon... FAIL
>
> Sorry, the second line should read:
>
> Starting *kernel* log daemon...FAIL

Look at the boot script,  /etc/init.d/sysklogd

It does:

parms=${SYSKLOGD_PARMS-'-m 0'}
start_daemon /sbin/syslogd $parms

and

start_daemon /sbin/klogd

The start_daemon script basically checks to see if the process is already 
running and if not executes the program.

So, just see what you get if you run  '/sbin/syslogd -m 0' from the 
command line.  You can also look at 'ldd /sbin/syslogd' to see if it is 
finding it's libraries, but that's probably not the issue since other 
commands run:

$ sudo ldd /sbin/syslogd
         linux-vdso.so.1 (0x00007ffeeafba000)
         libc.so.6 => /lib/libc.so.6 (0x00007f3c64887000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f3c64c2b000)

   -- Bruce



More information about the lfs-dev mailing list