[syslog-ng] klogctl: Invalid argument

micah milano micaho at gmail.com
Wed May 11 18:29:13 CEST 2005


It appears you are right, the init script provided with debian is
doing a dmesg -n 0, and for some reason dmesg -n 0 is spitting out
that error, when it should not.

Thanks,
micah

On 5/11/05, Balazs Scheidler <bazsi at balabit.hu> wrote:
> On Wed, 2005-05-11 at 10:53 -0500, micah milano wrote:
> > Hello,
> >
> > Whenever I stop/start/restart syslog-ng, I see the entirity of my
> > kernel buffer spit onto the screen, as well as the following message
> > sent to STDERR:
> >
> > klogctl: Invalid argument
> >
> > I cannot figure out where this comes from, I do not have a program
> > called klogctl on my system, and I've looked through the syslog-ng
> > sources to see if I could find anything there, and I can only find an
> > item in the NEWS file:
> >
> > ChangeLog:      * utils/klogctl.c: New file to control kernel log level
> > NEWS:   * Added klogctl program to control kernel logging level on Linux
> >
> > but there is no utils/ folder at all, nor is there anything else
> > related to klogctl.
> 
> klogctl has been removed as the same functionality can be achieved by
> using "dmesg -n"
> 
> The error message above is probably caused by some kind of packaging
> problem as syslog-ng itself does not touch kernel log settings.
> 
> --
> Bazsi
> 
>


More information about the syslog-ng mailing list