Message: 1 Date: Fri, 5 Mar 2010 10:27:50 +0700 From: "Fajar A. Nugraha" <fajar@fajar.net> Subject: Re: Lost and confused To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID: <7207d96f1003041927s3ac683d8g1b32a892bb553009@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Please do NOT include entire mail digest content in your mail. It's unnecessary, waste network bandwidth, and prevents other from seeing the point. On Fri, Mar 5, 2010 at 7:44 AM, jin jin <jyajin@yahoo.com.sg> wrote:
radiusd: #### Opening IP addresses and Ports #### listen { ??? type = "auth" ??? ipaddr = * ??? port = 0 Failed binding to socket: Address already in use /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812
Try "netstat -anp | grep 1812". It should print what program is using that port. -- Fajar I did what you say and here is the result: lauwk@lauwk-desktop:~$ sudo netstat -anp | grep 1812 [sudo] password for lauwk: udp 0 0 0.0.0.0:1812 0.0.0.0:* 1505/freeradius
From the above I take it that freeRADIUS is using the correct port right? I followed the documents and didn't touch the configuration file at all because I'm a total beginner. What can I do from this part onwards? Thanks for the reply.
Sincerely, Jin New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/sg/
On Fri, Mar 5, 2010 at 2:34 PM, jin jin <jyajin@yahoo.com.sg> wrote:
lauwk@lauwk-desktop:~$ sudo netstat -anp | grep 1812 [sudo] password for lauwk: udp 0 0 0.0.0.0:1812 0.0.0.0:* 1505/freeradius
then a freeradius server process is already running.
From the above I take it that freeRADIUS is using the correct port right? I followed the documents and didn't touch the configuration file at all because I'm a total beginner. What can I do from this part onwards? Thanks for the reply.
As Alan said, stop the server before you run it in debugging mode. If initscript can't stop it, you may need to kill it manually. -- Fajar
To start FreeRadius in debug mode with time stamps use the command: radiusd -XX To shutdown FreeRadius use the command: killall radiusd After you start FreeRadius in Debug mode you can press Ctrl+c to stop FreeRadius. I think this can only be done in the same terminal window you started FreeRadius in.
"Fajar A. Nugraha" <fajar@fajar.net> 3/5/2010 3:40 AM >>> On Fri, Mar 5, 2010 at 2:34 PM, jin jin <jyajin@yahoo.com.sg> wrote: lauwk@lauwk-desktop:~$ sudo netstat -anp | grep 1812 [sudo] password for lauwk: udp 0 0 0.0.0.0:1812 0.0.0.0:* 1505/freeradius
then a freeradius server process is already running.
From the above I take it that freeRADIUS is using the correct port right? I followed the documents and didn't touch the configuration file at all because I'm a total beginner. What can I do from this part onwards? Thanks for the reply.
As Alan said, stop the server before you run it in debugging mode. If initscript can't stop it, you may need to kill it manually. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan Buxey -
Fajar A. Nugraha -
J Brandon Polley -
jin jin