Re: Starting Freeradius with init script

2003-12-04 Thread Manohar Pradhan
Thanks Alan,

Yes, I restarted the server with auth_log options and now I can see the
entries in radius.log now.

Basically I am doing following with test.sh ( I just modifed the script now
to work with database- earlier was just sending 0 or 1 as returning simply
to test). I am trying to authenticate VoIP users according to CLI and their
IP address using 2 parameters in Authentication request package. I use these
values through enviromental variables %{h323-remote-address} and
%{Calling-Station-Id} and give to my test.sh script, which checks the
entries in database for matching pair for CLI and IP address and if cound,
it returns value 0 to radius, and radius sends Access-Accept to Cisco and
Cisco provides service to the users.

When I run radiusd with -X debug mode, I can see all the processes and see
Radius is sending  Access-Accept  to Cisco and call goes through without
problem. Means my radius setting is fine, as well as Exec-Program-Wait is
doing its job.

But when I start radius with init scripts, the call does not go through,
though now I can see Login OK in the radius.log file. I could not
understand why this time call does not go through. Bit confused why it only
it works Debugging mode.

Any idea about this.

Thanks
MP


- Original Message - 
From: Alan DeKok [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:11 PM
Subject: Re: Starting Freeradius with init script


 Manohar Pradhan [EMAIL PROTECTED] wrote:
  When I start the server with radiusd -X, calls go through for anyuser
  being analysed by test.sh as well as for test1 users with password
  test1.

   OK...

  However when I start using supplied rc.radiusd  or rc.radiusd-redhat, it
  does not work for all other users except test1, neither I see any
  messages in Logfile radius.log.

   Read 'radiusd.conf', and look for the 'log_auth' configuration
 entries.  Set them to 'yes', and re-start the server.

   Alan DeKok.

 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: starting freeradius

2002-08-31 Thread Tripolszky Zsolt

see message:
 http://lists.cistron.nl/archives/freeradius-devel/2002/07/msg00281.html

if you havent done that, recompile your server

On Sat, Aug 31, 2002 at 12:23:55PM +1000, Mattt wrote:
 On Sat, 2002-08-31 at 12:17, George Carden wrote:
  I must me dumb.
 
 erm, no comment ;-)
   
  Here is my configuration
   
  Sun ultra10 runing solaris 9
  Mysql 
  Freeradiusd complied ok
   
  The command radiusd -x works
   
  However I can't get radiusd  to stay running as a daemon... any body
  have any ideas?
 
 did you try 'radiusd' ?
 
 or 'man radiusd'?  -- your best bet, it would seem.
 
   
   
  George Carden
 -- 
 Cheers,
  Mattt.   icq   : 117539757
  Network and Tech Guy,www1  : http://www.pulse.nq4u.net
  Expressnet.  www2  : http://www.expressnet.net.au
  [EMAIL PROTECTED]  jabber: [EMAIL PROTECTED]
  
I always wanted to be someone. I should have been more specific...
 
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



RE: starting freeradius

2002-08-31 Thread George Carden

Thanks this suggestion worked


George L. Carden III
Office 706-823-2115
Fax 706-823-2019
Home 706-798-2245


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Tripolszky
Zsolt
Sent: Saturday, August 31, 2002 5:25 AM
To: [EMAIL PROTECTED]
Subject: Re: starting freeradius

see message:
 http://lists.cistron.nl/archives/freeradius-devel/2002/07/msg00281.html

if you havent done that, recompile your server

On Sat, Aug 31, 2002 at 12:23:55PM +1000, Mattt wrote:
 On Sat, 2002-08-31 at 12:17, George Carden wrote:
  I must me dumb.
 
 erm, no comment ;-)
   
  Here is my configuration
   
  Sun ultra10 runing solaris 9
  Mysql 
  Freeradiusd complied ok
   
  The command radiusd -x works
   
  However I can't get radiusd  to stay running as a daemon... any body
  have any ideas?
 
 did you try 'radiusd' ?
 
 or 'man radiusd'?  -- your best bet, it would seem.
 
   
   
  George Carden
 -- 
 Cheers,
  Mattt.   icq   : 117539757
  Network and Tech Guy,www1  : http://www.pulse.nq4u.net
  Expressnet.  www2  : http://www.expressnet.net.au
  [EMAIL PROTECTED]  jabber:
[EMAIL PROTECTED]
  
I always wanted to be someone. I should have been more specific...
 
 
 - 
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
 

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: starting freeradius

2002-08-30 Thread Mattt

On Sat, 2002-08-31 at 12:17, George Carden wrote:
 I must me dumb.

erm, no comment ;-)
  
 Here is my configuration
  
 Sun ultra10 runing solaris 9
 Mysql 
 Freeradiusd complied ok
  
 The command radiusd -x works
  
 However I can't get radiusd  to stay running as a daemon... any body
 have any ideas?

did you try 'radiusd' ?

or 'man radiusd'?  -- your best bet, it would seem.

  
  
 George Carden
-- 
Cheers,
 Mattt.   icq   : 117539757
 Network and Tech Guy,www1  : http://www.pulse.nq4u.net
 Expressnet.  www2  : http://www.expressnet.net.au
 [EMAIL PROTECTED]  jabber: [EMAIL PROTECTED]
 
   I always wanted to be someone. I should have been more specific...


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html