On Sun, 15 Aug 2004 14:56:22 +0200
richard lucassen <[EMAIL PROTECTED]> wrote:

> I want to run freeradius (Debian Sarge 0.9.3) under daemontools, but I
> can't get the auth-logging and other messages to stderr. I mean e.g. a
> line like this:
> 
> Sun Aug 15 14:19:14 2004 : Auth: Login OK: [EMAIL PROTECTED] (from
> client localhost port 0)

[snip]

radiusd is running as user freerad, but started as root. Could it be
that this user freerad has no access to /dev/stderr?

open("/dev/stderr", O_WRONLY|O_APPEND|O_CREAT, 0666) = -1 EACCES
(Permission denied) write(2, "freeradius: Couldn\'t open /dev/s"..., 69)
= 69 write(2, "  (", 3)                      = 3
write(2, "Ready to process requests.", 26) = 26
write(2, ")\n", 2)                      = 2
time(NULL)                              = 1092596176

It's just these sort of "Ready to process requests" messages that I
miss. When running radiusd -x there's no problem. Strange, because with
-x radiusd is also running as user "freerad".

R.

-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+

Attachment: pgpyQH76kHBpG.pgp
Description: PGP signature

Reply via email to