[RADIATOR] Mac Startup

Hugh Irvine hugh at open.com.au
Tue Jun 22 10:47:29 CDT 2010


Hello Adam -

I always suggest using the fully qualified pathnames so you know what is going on.

Ie:

	/usr/bin/perl -I …..  …../radiusd -config_file /etc/radiator/radius.cfg


where "….." is the path to your Radiator source directory.

On my machine here I would do something like this:

	/usr/bin/perl -I /Local/src/Radiator/Radiator-4.6  /Local/src/Radiator/Radiator-4.6./radiusd -config_file /etc/radiator/radius.cfg

hope that helps

regards

Hugh


On 22 Jun 2010, at 11:12, Adam Gerson wrote:

> I am following the instructions in INSTALL.MacOSX. That startup item 
> uses /usr/bin/radiusd which I believe conflicts with the default 
> installation of FreeRadius on Mac Server 10.4.6.
> 
> 
> sidekick:~ sadmin$ /Library/StartupItems/Radiator/Radiator start
> Starting Radiator RADIUS server
> /Library/StartupItems/Radiator/Radiator: line 15: /usr/bin/radiusd: No 
> such file or directory
> 
> To get arround this during testing you had me start the process manually 
> with:
> 
> sudo perl radiusd -foreground -log_stdout -trace 4 -config_file 
> /etc/radiator/radius.cfg
> 
> How should I modify StartService to give it the right command to start 
> in my environment?
> 
> 
> StartService ()
> {
>     if [ "${RADIUS:=-NO-}" = "-YES-" ]; then
>         if ! pid=$(GetPID radiusd); then
>             ConsoleMessage "Starting Radiator RADIUS server"
>             /usr/bin/radiusd -config_file /etc/radiator/radius.cfg \
>                 -pid_file /var/run/radiusd.pid
>         fi
>     fi
> }
> 
> 
> -- 
> Adam Gerson
> Assistant Director of Technology
> Columbia Grammar and Prep School
> phone. 212-749-6200 ex. 321
> fax.  212-428-6806
> agerson at cgps.org
> http://www.cgps.org
> 
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator



NB: 

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets), 
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.





More information about the radiator mailing list