Problems with installing to /etc and /var
Michael Cooper
mcooper at bccisp.net
Sat Jul 9 00:36:26 CEST 2005
Hello jck,
I don't know what the proper permissions are, however
----- Original Message -----
From: <jck-freeradius at southwestern.edu>
To: <freeradius-users at lists.freeradius.org>
Sent: Friday, July 08, 2005 4:37 PM
Subject: Problems with installing to /etc and /var
>I am running freeradius-1.0.4 from source, on SLES 9.0. I want to install
> freeradius so that it uses /etc and /var, and not /usr/local/etc and
> /usr/local/var.
>
> If I do:
>
> /usr/local/src/freeradius-1.0.4 # make clean && make distclean
>
> /usr/local/src/freeradius-1.0.4 #
> ./configure --disable-shared --without-rlm_x99_token --prefix=/ --localstatedir=/var
> --sysconfdir=/etc --exec-prefix=/ --bindir=/usr/local --sbin=/usr/local --libexec=/usr/local
> --datadir=/usr/local --libdir=/usr/local --includedir=/usr/local --oldincludedir=/usr/local
> --infodir=/usr/local --mandir=/usr/local && make
>
> Why do I receive this error message:
>
> /usr/local/src/freeradius-1.0.4 # src/main/radiusd
> Fri Jul 8 15:49:43 2005 : Info: Starting - reading configuration files
> ...
> radiusd: Couldn't open /usr/local/var/log/radius/radius.log for logging:
> Permission denied
> (rlm_exec: Wait=yes but no output defined. Did you mean output=none?)
It looks like to me you have to chmod 644 /usr/local/var/log/radius/ <- this
dir then also make sure it is creating the proper log file -> radius.log
Maybe one of these othere gurus know better what to tell you .... I ran into
that problem as well a week ago I think.
>
>
> There should be no reference to:
>
> Couldn't open /usr/local/var/log/radius/radius.log
>
> Full logs of configure and make are viewable at:
> http://www.southwestern.edu/~johnk/freeradius_build_logs.txt
>
> Additionaly, why isn't there a Makefile method for deinstallation?
>
> Thanks,
> --johnk
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.8.10/43 - Release Date: 7/6/2005
>
Good luck,
Michael A Cooper
BCCISP.net
http://www.bccisp.net
281-854-2079
"Technology that counts, voices that matter!"
More information about the Freeradius-Users
mailing list