Problems with installing to /etc and /var

Michael Cooper mcooper at bccisp.net
Sat Jul 9 01:45:27 CEST 2005


Hey jck,

Oh, I am sorry, yeah how stupid of me. Yup I ran into that very same thing, 
Dang let me remember what I did to fix it and I'll email ya the solution.

See ya
Michael A Cooper
BCCISP.net
http://www.bccisp.net
281-854-2079
"Technology that counts, voices that matter!"
----- Original Message ----- 
From: <jck-freeradius at southwestern.edu>
To: <freeradius-users at lists.freeradius.org>
Sent: Friday, July 08, 2005 6:39 PM
Subject: Problems with installing to /etc and /var


> Hello Michael,
>
> On Fri, Jul 08, 2005 at 05:36:26PM -0500, Michael Cooper wrote:
>> Hello jck,
>>
>>         I don't know what the proper permissions are, however
>
> My problem is not permissions related.  I am trying to install FreeRADIUS
> so that it references /etc/raddb, and writes to /var/log/radius.
>
> Instead, I receive the following upon startup:
>
> radiusd: Couldn't open /usr/local/var/log/radius/radius.log for logging:
> Permission denied
>
> Granted, this is a permissions error.  Please note, I am not worried about
> the permission error.  Instead, I am worried about radiusd trying
> to reference:
>
> /usr/local/var/log/radius/radius.log
>
> when it should be referring to:
>
> /var/log/radius/radius.log
>
> I still require assistance with this matter!
>
>>
>> ----- 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!"
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
> Thank you,
> --johnk
>
> ----- End forwarded message -----
>
> -- 
> -
> 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
>
> 




More information about the Freeradius-Users mailing list