[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: free radius 0.7.1
From:       "Omachonu Ogali" <oogali () dialassurance ! com>
Date:       2003-06-30 21:10:18
[Download RAW message or body]

You want to have FreeRADIUS reload its files, right?
kill -1 `cat /var/run/radiusd/radiusd.pid`

That's the command you need to execute, and FreeRADIUS will automatically reload its \
configuration files and modules (assuming there are no configuration or module \
errors) upon receiving the SIGHUP (-1) signal. Rakesh was incorrect when he said it \
would kill the FreeRADIUS process.

Also, before restarting, it would be a good idea to run check-radiusd-config to make \
sure there are no configuration or module loading errors. If check-radiusd-config \
returns with a non-zero status, then there's a problem with your configuration files \
and/or modules, your script should spit out an error, and skip the restarting of \
FreeRADIUS.

Omachonu Ogali
DialAssurance, Inc.
oogali@dialassurance.com
(888) 524-2551
  ----- Original Message ----- 
  From: Arthur Stephens 
  To: freeradius-users@lists.cistron.nl 
  Sent: Monday, June 30, 2003 3:01 PM
  Subject: Re: free radius 0.7.1


  I verified the file location and content...
  When I issue
  kill -1 `cat /var/run/radiusd/radiusd.pid`
  I get another prompt and the process is still running.
  It appears the same comment without the -1 works though.

  Thanks for the help. :)

  Arthur Stephens
  Sales Technician
  Ptera Wireless Internet
  astephens@ptera.net
  509-255-9204

    ----- Original Message ----- 
    From: rakesh jha 
    To: 'freeradius-users@lists.cistron.nl' 
    Sent: Saturday, June 28, 2003 10:15 PM
    Subject: RE: free radius 0.7.1


    You may include this command in your restart script: kill -1 `cat \
/usr/local/var/run/radiusd.pid` . This will kill the radisud process and you can \
restart the Radius normally.



    Rakesh Jha



    -----Original Message-----
    From: Arthur Stephens [mailto:astephens@ptera.net] 
    Sent: Saturday, June 28, 2003 01:39 AM
    To: freeradius-users@lists.cistron.nl
    Subject: free radius 0.7.1



    I am developing scripts to automate adding users to our radius database but it \
seems there is something wrong with mine.

    If I issue radiusd restart I get..

    [root@ren-2 root]# radiusd restart
    Fri Jun 27 14:57:54 2003 : Info: Starting - reading configuration files ...
    auth bind: Address already in use



    I have to use "ps aux" to find its PID and then kill it.

    Then I can issue a radiusd start.

    It seems to me I should be able to issue radiusd restart and that is what should \
happen.

    Please help.



    Arthur Stephens
    Sales Technician
    Ptera Wireless Internet
    astephens@ptera.net
    509-255-9204


----------------------------------------------------------------------------

    If you are not the addressee indicated in this electronic mail or responsible for \
delivering this electronic message to the intended recipient, you should delete this \
message and notify the sender immediately.


----------------------------------------------------------------------------

    DISCLAIMER: Any non-official business related views, opinions and other \
information presented in this electronic mail are solely those of the sender/author. \
Burgan Bank does not endorse or accept responsibility for these opinions, views or \
conclusions. If you are not the addressee indicated in this electronic mail or \
responsible for delivering this electronic message to the inteded recipient, you \
should delete this message and notify the sender immediately. 

    Burgan Bank 


     

----------------------------------------------------------------------------


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE>@font-face {
	font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue bgColor=white>
<DIV><FONT face=Arial size=2>You want to have FreeRADIUS reload its files, 
right?</FONT></DIV>
<DIV><FONT face=Arial size=2>kill -1 `cat 
/var/run/radiusd/radiusd.pid`</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>That's the command you need to execute, and 
FreeRADIUS will automatically reload its configuration files and modules 
(assuming there are no configuration or module errors) upon receiving the SIGHUP 
(-1) signal. Rakesh was incorrect when he said it would kill the FreeRADIUS 
process.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, before restarting, it would be a good idea to 
run check-radiusd-config to make sure there are no configuration or module 
loading errors. If check-radiusd-config returns with a non-zero status, then 
there's a problem with your configuration files and/or modules, your script 
should spit out an error, and skip the restarting of FreeRADIUS.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Omachonu Ogali<BR>DialAssurance, Inc.<BR><A 
href="mailto:oogali@dialassurance.com">oogali@dialassurance.com</A><BR>(888) 
524-2551</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=astephens@ptera.net href="mailto:astephens@ptera.net">Arthur 
  Stephens</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freeradius-users@lists.cistron.nl 
  href="mailto:freeradius-users@lists.cistron.nl">freeradius-users@lists.cistron.nl</A> \
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 30, 2003 3:01 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: free radius 0.7.1</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>I verified the file location and 
  content...</FONT></DIV>
  <DIV><FONT face=Arial size=2>When I issue</FONT></DIV>
  <DIV><FONT face=Arial size=2>kill -1 `cat 
  /var/run/radiusd/radiusd.pid`</FONT></DIV>
  <DIV><FONT face=Arial size=2>I get another prompt and the process is still 
  running.</FONT></DIV>
  <DIV><FONT face=Arial size=2>It appears the same comment without the -1 works 
  though.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thanks for the help. :)</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Arthur Stephens<BR>Sales Technician<BR>Ptera 
  Wireless Internet<BR><A 
  href="mailto:astephens@ptera.net">astephens@ptera.net</A><BR>509-255-9204</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: \
#000000 2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV>  <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=rakesh@burgan.com href="mailto:rakesh@burgan.com">rakesh jha</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A 
    title=freeradius-users@lists.cistron.nl 
    href="mailto:'freeradius-users@lists.cistron.nl'">'freeradius-users@lists.cistron.nl'</A> \
  </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, June 28, 2003 10:15 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: free radius 0.7.1</DIV>
    <DIV><BR></DIV>
    <DIV class=Section1>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">You may include 
    this command in your restart script: kill -1 `cat 
    /usr/local/var/run/radiusd.pid` . This will kill the radisud process and you 
    can restart the Radius normally.</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Rakesh 
    Jha</SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original 
    Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Arthur 
    Stephens [mailto:astephens@ptera.net] <BR><B><SPAN 
    style="FONT-WEIGHT: bold">Sent:</SPAN></B> </SPAN></FONT><FONT face=Tahoma 
    size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Saturday, June 28, 
    2003</SPAN></FONT><FONT face=Tahoma size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> </SPAN></FONT><FONT 
    face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">01:39 
    AM</SPAN></FONT><FONT face=Tahoma size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><BR><B><SPAN 
    style="FONT-WEIGHT: bold">To:</SPAN></B> <A 
    href="mailto:freeradius-users@lists.cistron.nl">freeradius-users@lists.cistron.nl</A><BR><B><SPAN \
  style="FONT-WEIGHT: bold">Subject:</SPAN></B> free radius 
    0.7.1</SPAN></FONT></P>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am developing scripts to 
    automate adding users to our radius database but it seems there is something 
    wrong with mine.</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">If I issue radiusd restart I 
    get..</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">[root@ren-2 root]# radiusd 
    restart<BR>Fri Jun 27 </SPAN></FONT><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">14:57:54</SPAN></FONT><FONT 
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 2003 : 
    Info: Starting - reading configuration files ...<BR>auth bind: Address 
    already in use</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have to use "ps aux" to find 
    its PID and then kill it.</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Then I can issue a radiusd 
    start.</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">It seems to me I should be able 
    to issue radiusd restart and that is what should 
    happen.</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please 
    help.</SPAN></FONT></P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Arthur Stephens<BR>Sales 
    Technician<BR>Ptera Wireless Internet<BR><A 
    href="mailto:astephens@ptera.net">astephens@ptera.net</A><BR>509-255-9204</SPAN></FONT></P></DIV>
  <DIV>
    <DIV class=MsoNormal style="MARGIN-LEFT: 0.5in; TEXT-ALIGN: center" 
    align=center><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt">
    <HR align=center width="100%" SIZE=2>
    </SPAN></FONT></DIV>
    <P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face="Times New Roman" 
    size=3><SPAN style="FONT-SIZE: 12pt">If you are not the addressee indicated 
    in this electronic mail or responsible for delivering this electronic 
    message to the intended recipient, you should delete this message and notify 
    the sender immediately.</SPAN></FONT></P></DIV></DIV>
    <HR>

    <P><FONT color=#800000>DISCLAIMER: </FONT>Any non-official business related 
    views, opinions and other information presented in this electronic mail are 
    solely those of the sender/author. Burgan Bank does not endorse or accept 
    responsibility for these opinions, views or conclusions. If you are not the 
    addressee indicated in this electronic mail or responsible for delivering 
    this electronic message to the inteded recipient, you should delete this 
    message and notify the sender immediately. </P>
    <P><STRONG>Burgan Bank</STRONG> </P>
    <DIV><BR>&nbsp;</DIV>
    <HR>
  </BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic