(RADIATOR) Unexpected crashing

Hugh Irvine hugh at open.com.au
Mon May 12 17:31:38 CDT 2008


Hello Barry -

This is undoubtedly Perl crashing for some reason.

You should run radiusd like this by hand so you can see the Perl  
error messages when the crash occurs:

	cd /your/Radiator/source/distribution

	perl radiusd -foreground -log_stdout -trace 4 -config_file /your/ 
Radiator/configuration/file

	.....

You should of course use your own pathnames above to match your  
environment.

Otherwise you can use the "restartWrapper" utility that we provide in  
the Radiator distribution and configure it to send you an email with  
the error messages if there is a crash.

See section 16.1 in the Radiator 4.2 reference manual ("doc/ref.pdf").

regards

Hugh


On 13 May 2008, at 07:17, Barry Ard wrote:

> We have 2 instances of radiusd running; one servicing wireless  
> clients, the other for our switch infrasture. Both instances  
> terminate unexpectantly from time to time, maybe once or twice a  
> week. The commonality is that we use KRB5 AuthBy in both instances.  
> There is very little to debug from but here is the config and trace  
> 15 from my most recent event.
>
> Mon May 12 10:45:01 2008: DEBUG: Packet dump:
> *** Received from 129.128.254.252 port 1645 ....
>
> Packet length = 76
> 01 58 00 4c 36 f7 77 00 35 83 06 cb 67 88 78 b2
> 28 69 ef 2d 04 06 81 80 fe fc 05 06 00 00 00 01
> 3d 06 00 00 00 05 01 05 6e 6f 73 1f 0f 31 32 39
> 2e 31 32 38 2e 31 30 2e 37 39 02 12 9f fc 20 e8
> fa 97 34 a0 10 0c da 9c 32 a4 c9 34
> Code:       Access-Request
> Identifier: 88
> Authentic:  6<247>w<0>5<131><6><203>g<136>x<178>(i<239>-
> Attributes:
>        NAS-IP-Address = 129.128.254.252
>        NAS-Port = 1
>        NAS-Port-Type = Virtual
>        User-Name = "nos"
>        Calling-Station-Id = "129.128.10.79"
>        User-Password = <159><252>  
> <232><250><151>4<160><16><12><218><156>2<164><201>4
>
> Mon May 12 10:45:01 2008: DEBUG: Handling request with Handler  
> 'Client-Identifier=backbone'
> Mon May 12 10:45:01 2008: DEBUG:  Deleting session for nos,  
> 129.128.254.252, 1
> Mon May 12 10:45:01 2008: DEBUG: Handling with Radius::AuthFILE:
> Mon May 12 10:45:01 2008: DEBUG: Radius::AuthFILE looks for match  
> with nos [nos]
> Mon May 12 10:45:01 2008: DEBUG: Handling with Radius::AuthKRB5:  
> KrbAuth
> Mon May 12 10:45:01 2008: DEBUG: Radius::AuthKRB5 looks for match  
> with nos [nos]
> Mon May 12 10:45:01 2008: DEBUG: Building Kerberos principal:  
> nos at UALBERTA.CA
> Mon May 12 10:45:38 2008: DEBUG: include /etc/radiator/clients- 
> backbone.conf
> Mon May 12 10:45:38 2008: DEBUG: Finished reading configuration  
> file '/etc/radiator/radius-backbone.cfg'
> Mon May 12 10:45:38 2008: DEBUG: Reading dictionary file '/usr/ 
> local/radiator/dictionary'
> Mon May 12 10:45:39 2008: DEBUG: Reading dictionary file '/usr/ 
> local/radiator/dictionary.ascend'
> Mon May 12 10:45:39 2008: DEBUG: Creating authentication port  
> 0.0.0.0:1645
> Mon May 12 10:45:39 2008: DEBUG: Creating accounting port 0.0.0.0:1646
> Mon May 12 10:45:39 2008: NOTICE: Server started: Radiator 4.2 on  
> radius-1
>
>
>
>
>
> #LogStdout
> #Foreground
> #Trace          3
> Trace           15
> AuthPort        1645
> AcctPort        1646
> LogDir          /var/log/radiator/backbone
> DbDir           /etc/radiator
>
> LogFile         %L/%Y%m%d.log
> DictionaryFile  /usr/local/radiator/dictionary,/usr/local/radiator/ 
> dictionary.ascend
> Include         %D/clients-backbone.conf
>
> <Handler Request-Type=Accounting-Request>
>    AcctLogFileName     %L/detail
> </Handler>
>
>
> <AuthBy KRB5>
>    Identifier              KrbAuth
>    KrbRealm                UALBERTA.CA
> </AuthBy>
>
> <Handler Client-Identifier=backbone>
>    <AuthBy FILE>
>        Filename        %D/users.backbone
>    </AuthBy>
> </Handler>
>
> -- 
> =================================================================
> Barry Ard                                   barry.ard at ualberta.ca
> Network Operations
> Academic Information and Communication Technologies (AICT)
> University of Alberta
> Edmonton, Alberta   Canada
>
> This communication is intended for the use of the recipient to  
> which it
> is addressed, and may contain confidential, personal, and/or  
> privileged
> information.  Please contact us immediately if you are not the  
> intended
> recipient of this communication.  If you are not the intended  
> recipient
> of this communication, do not copy, distribute, or take action on it.
> Any communication received in error, or subsequent reply, should be
> deleted or destroyed.
>
>
> --
> 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.



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