1 |
Sat, 14 Jun 2008 01:24:41 +0200 |
2 |
Erik Danielsson <danielss@××××××××××××××××.se> wrote: |
3 |
|
4 |
> Hello! |
5 |
> |
6 |
> I'm unable to get the logging up and running as it should. |
7 |
> I've tried syslog-ng, which seems to be pretty much what I need, but |
8 |
> it keeps spamming my logs with a weird error message I can't seem to |
9 |
> figure out. |
10 |
> |
11 |
> It fills the logs with |
12 |
> |
13 |
> "syslog-ng[9533]: Error opening file for writing; |
14 |
> filename='/dev/tty12', error='Permission denied (13)'" |
15 |
> |
16 |
> and never stops. It pushes the CPU usage up to almost 100% as well. |
17 |
> |
18 |
> What's going on? |
19 |
> |
20 |
> Best wishes |
21 |
> Erik |
22 |
|
23 |
Unsure why it would use 100% cpu, but check that /dev/tty12 exists and |
24 |
is writable by root. Or you could just remove references to /dev/tty12 |
25 |
in /etc/syslog-ng/syslog-ng.conf |
26 |
|
27 |
Thanks |
28 |
|
29 |
Miika |