<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Have you checked permissions of the file / dir?<br>
<br>
Marcel Grandemange wrote:
<blockquote cite="mid:03d501c95ae4$828a39f0$879eadd0$@za.net"
type="cite">
<pre wrap="">|->>I have a problem where I upgraded v1 to v2 of freeradius and now I can
only
|->start it with mode radius -X , if I try use script is simply does
following.
|->
|->
|->
|->>/usr/local/etc/rc.d]# ./rc.radiusd start
|->>Starting FreeRADIUS:radiusd: Error: No log destination specified.
|->>Radius
|->
|->
|->>Any advise?
|->
|->FYI - I have now made a startup script to the following.
|->
|->/usr/local/sbin/radiusd -X & > /dev/null 2>&1
|->
|->To Run Freeradius as this is a production machine.
</pre>
<blockquote type="cite">
<pre wrap="">It is complaining that you have not specified a place to write a log file.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">======
logdir = /var/log
#
# The logging messages for the server are appended to the
# tail of this file.
#
log_file = ${logdir}/radius.log
======
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">This is from my radiusd.conf file. Radius writes log file messages (few
and far between) to /var/log/radius.log
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">Fix that and you wont have to use the redirect to /dev/null, which I would
not use anyway as you want log files to know if something is going wrong.
</pre>
</blockquote>
<pre wrap=""><!---->
This is the beginning of my radius.conf, it seems the entry is indeed there
and valid as it's same as old installation.
prefix = /usr/local
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = /var
sbindir = ${exec_prefix}/sbin
logdir = /var/log
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
# Location of config and logfiles.
confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd
#
# The logging messages for the server are appended to the
# tail of this file.
#
log_file = ${logdir}/radius.log
</pre>
<blockquote type="cite">
<pre wrap="">HTH,
Keith
</pre>
</blockquote>
<pre wrap=""><!---->
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
</pre>
</blockquote>
</body>
</html>