syslogd restarting issue

This forum has moved to

syslogd restarting issue

Postby ravik » Wed Jun 15, 2016 12:41 pm

I am porting legato framework on IMX6. I am getting following error while restarting syslogd with "/sbin/syslogd -C2000" command.

Code: Select all
/sbin/syslogd: invalid option -- 'C'
usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]
 [-s domainlist] [-f conffile]

I checked with MangoH board, it seems the syslogd was built with busybox and it is accepting -C option.

Code: Select all
syslogd -> /bin/busybox.nosuid

Can you help to understand the purpose of "-C2000" option in "/sbin/syslogd -C2000" command. In rootfs of IMX6 the syslogd was not built with busybox. Is there any alternate option for syslogd for the same purpose served by -C option.
Posts: 4
Joined: Mon May 09, 2016 5:26 am
Has thanked: 2 times
Have thanks: 0 time

Re: syslogd restarting issue

Postby scoulson » Thu Aug 04, 2016 9:47 pm

Hi ravik,

I see this post is a few weeks old and perhaps you have solved this already, but for the record,

yes, we use the busybox syslogd and the meaning of the -C option is to specify the size of the circular RAM buffer in kB so in our case the size of the RAM buffer is set to 2000kB or 2MB. Obviously this is somewhat arbitrary and not a requirement of the framework.

For this post the author scoulson
has been thanked by :
ravik (Tue Aug 09, 2016 11:45 am)
Posts: 2
Joined: Tue Sep 02, 2014 10:57 am
Has thanked: 0 time
Have thanks: 2 times

Return to Legato Application Framework -- MOVED TO FORUM.LEGATO.IO

Who is online

Users browsing this forum: No registered users and 1 guest