(RADIATOR) Problem with starting multiple radius deamons on one server

Hugh Irvine hugh at open.com.au
Fri Jun 20 07:56:37 CDT 2008


Hello Freerk -

There must be some other module defined in your Radiator  
configuration file that is trying to open the same port number in  
both instances.

I will need to see the complete configuration files (no secrets) to  
say any more.

regards

Hugh



On 20 Jun 2008, at 18:48, Bosscha, F.J. wrote:

> I Try to start 2 different radius daemons on my server:
>
> The syntax I use is:
>
>    /usr/local/bin/radiusd -config_file /etc/radiator/radius.cfg - 
> auth_port 1812 -acct_port 1813
>    /usr/local/bin/radiusd -config_file /etc/radiator/ 
> radius_gasten.cfg -auth_port 1814 -acct_port 1815
>
> The config file: radius.cfg looks like:
>
> # Radiator configuration file.
> # Produced by /cgi-bin/radconfig.cgi Fri Mar 17 07:52:52 2006
> #REMOTE_USER: , REMOTE_ADDR: 141.252.175.3
>
> AcctPort 1813
> AuthPort 1812
> DbDir /etc/radiator
> LogDir /var/log/radius
> LogFile /var/log/radius/radius1.log.%m%d
> Trace 0
>
> <AuthBy FILE>
>   Identifier NHL_FILE
>
> # Input file
>   Filename %D/users
>
> # SSL/TLS settings
>   SSLeayTrace 4
>   EAPTLS_CAFile %D/cert/nhlca.crt
>   EAPTLS_CertificateFile %D/cert/nhlserver.crt
>   EAPTLS_CertificateType PEM
>   EAPTLS_MaxFragmentSize 1024
>   EAPTLS_PrivateKeyFile %D/cert/nhlserver.key
>   EAPTLS_PrivateKeyPassword /////
>   EAPType TTLS
>   EAPAnonymous %0
>
> #
>   AutoMPPEKeys
> </AuthBy>
> ……
>
> The confile file for radius_gasten.cfg looks like:
>
> # Radiator configuration file.
> # Produced by /cgi-bin/radconfig.cgi Fri Mar 17 07:52:52 2006
> #REMOTE_USER: , REMOTE_ADDR: 141.252.175.3
>
> AcctPort 1815
> AuthPort 1814
> DbDir /etc/radiator
> LogDir /var/log/radius2
> LogFile /var/log/radius2/radius.log.%m%d
> Trace 0
>
> <AuthBy FILE>
>   Identifier NHL_GASTEN
>
> # Input file
>   Filename %D/gasten
>
> # SSL/TLS settings
>   SSLeayTrace 4
>   EAPTLS_CAFile %D/cert/nhlca.crt
>   EAPTLS_CertificateFile %D/cert/nhlserver.crt
>   EAPTLS_CertificateType PEM
>   EAPTLS_MaxFragmentSize 1024
>   EAPTLS_PrivateKeyFile %D/cert/nhlserver.key
>   EAPTLS_PrivateKeyPassword /////
>   EAPType TTLS
>   EAPAnonymous %0
>
> #
>   AutoMPPEKeys
> </AuthBy>
>
> …..
>
> Although it looks like the start I get a message in the log-file:
>
> Fri Jun 20 08:38:35 2008: ERR: Could not bind StreamServer socket:  
> Address already in use
>
>
> I have tried to search in the different lists, but couldn’t fine  
> any topic.
>
> Thanx for any reply,
>
>
> Freerk Bosscha | Senior Technisch Beheer | Noordelijke Hogeschool  
> Leeuwarden | Postbus 1080  8900 CB Leeuwarden | Bezoekadres:  
> Tesselschadestraat 12 8913 HB Leeuwarden | T 058 251 1875 |  
> f.j.bosscha at nhl.nl | www.nhl.nl
>
> Disclaimer e-mail
> De informatie in dit emailbericht is uitsluitend bestemd voor de  
> geadresseerde(n). Verstrekking aan en gebruik door anderen is niet  
> toegestaan. Dit emailbericht is niet voorzien van een rechtsgeldige  
> handtekening. Aan de inhoud van dit bericht kunnen geen rechten  
> worden ontleend.
>



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?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
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.



--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list