FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-13-2008, 11:40 PM
Miika Linnapuomi
 
Default syslog-ng logging problem

Sat, 14 Jun 2008 01:24:41 +0200
Erik Danielsson <danielss@student.chalmers.se> wrote:

> Hello!
>
> I'm unable to get the logging up and running as it should.
> I've tried syslog-ng, which seems to be pretty much what I need, but
> it keeps spamming my logs with a weird error message I can't seem to
> figure out.
>
> It fills the logs with
>
> "syslog-ng[9533]: Error opening file for writing;
> filename='/dev/tty12', error='Permission denied (13)'"
>
> and never stops. It pushes the CPU usage up to almost 100% as well.
>
> What's going on?
>
> Best wishes
> Erik

Unsure why it would use 100% cpu, but check that /dev/tty12 exists and
is writable by root. Or you could just remove references to /dev/tty12
in /etc/syslog-ng/syslog-ng.conf

Thanks

Miika
 
Old 06-13-2008, 11:54 PM
Nicolas Sebrecht
 
Default syslog-ng logging problem

Erik Danielsson <danielss@student.chalmers.se> a écrit:

> "syslog-ng[9533]: Error opening file for writing;
> filename='/dev/tty12', error='Permission denied (13)'"

Check '/etc/syslog-ng/syslog-ng.conf'.

You should have thoses lines :
destination console { usertty("root"); };
destination console_all { file("/dev/tty12"); };

Give us the result of :
$ grep tty /etc/syslog-ng/syslog-ng.conf

$ man syslog-ng.conf

--
Nicolas Sebrecht

--
gentoo-user@lists.gentoo.org mailing list
 
Old 06-14-2008, 07:30 AM
Neil Bothwick
 
Default syslog-ng logging problem

On Sat, 14 Jun 2008 01:24:41 +0200, Erik Danielsson wrote:

> "syslog-ng[9533]: Error opening file for writing;
> filename='/dev/tty12', error='Permission denied (13)'"

Make sure /etc/rc.conf contains rc_tty_number=12 is you use baselayout-2
or /etc/conf.d/rc contains an equivalent entry with baselayout 1.


--
Neil Bothwick

The geek shall inherit the earth.
 

Thread Tools




All times are GMT. The time now is 04:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org