Re: Can't start radiusd -X ?
Zhang Shukun escribió: hi, when i want to start radius in debug mode. error happened. Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Could you tell me what's wrong? kill your radiusd instance before run another one Thanks! -- Regards, Sucan - 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: Can't start radiusd -X ?
John Dennis jden...@redhat.com writes: You can stop it using the service radiusd stop command if your OS supports it, or killall radiusd if the service command is not available or doesn't work for some reason. I believe it's polite to ask whether they use Solaris before giving that advice System Administration Commandskillall(1M) NAME killall - kill all active processes SYNOPSIS /usr/sbin/killall [signal] DESCRIPTION killall is used by shutdown(1M) to kill all active processes not directly related to the shutdown procedure. Bjørn - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
On 12/18/2009 04:40 AM, Bjørn Mork wrote: John Dennisjden...@redhat.com writes: You can stop it using the service radiusd stop command if your OS supports it, or killall radiusd if the service command is not available or doesn't work for some reason. I believe it's polite to ask whether they use Solaris before giving that advice System Administration Commandskillall(1M) NAME killall - kill all active processes SYNOPSIS /usr/sbin/killall [signal] DESCRIPTION killall is used by shutdown(1M) to kill all active processes not directly related to the shutdown procedure. Ouch! That's a valuable distinction to know about, thanks. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Can't start radiusd -X ?
hi, when i want to start radius in debug mode. error happened. Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Could you tell me what's wrong? Thanks! -- Regards, Sucan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
hi, when i want to start radius in debug mode. error happened. Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Could you tell me what's wrong? Freeradius is already running. killall radiusd and try again. You should stop the debug with Ctrl-C. If you just close the ssh session radiusd will continue running. Ivan Kalik - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
Thank you for your reply! i try to find the process of running radius use top command, and kill then. but failed. i don't know which is the right process of radius. Could you tell me? [r...@localhost raddb]# top top - 18:34:35 up 8:01, 4 users, load average: 0.15, 0.11, 0.03 Tasks: 89 total, 2 running, 87 sleeping, 0 stopped, 0 zombie Cpu(s): 1.5% us, 2.8% sy, 0.1% ni, 95.3% id, 0.3% wa, 0.0% hi, 0.0% si Mem:256044k total, 252756k used, 3288k free,29368k buffers Swap: 524280k total,0k used, 524280k free,77260k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 4096 root 25 10 40876 17m 10m R 1.9 7.1 4:39.54 rhn-applet-gui 12992 root 15 0 3728 852 672 R 1.9 0.3 0:00.01 top 1 root 16 0 2548 560 480 S 0.0 0.2 0:00.91 init 2 root 34 19 000 S 0.0 0.0 0:00.01 ksoftirqd/0 3 root 5 -10 000 S 0.0 0.0 0:00.98 events/0 4 root 5 -10 000 S 0.0 0.0 0:00.00 khelper 5 root 15 -10 000 S 0.0 0.0 0:00.00 kacpid 21 root 5 -10 000 S 0.0 0.0 0:00.04 kblockd/0 31 root 15 0 000 S 0.0 0.0 0:01.83 pdflush 32 root 15 0 000 S 0.0 0.0 0:00.40 pdflush 34 root 12 -10 000 S 0.0 0.0 0:00.00 aio/0 22 root 15 0 000 S 0.0 0.0 0:00.00 khubd 33 root 15 0 000 S 0.0 0.0 0:00.15 kswapd0 108 root 25 0 000 S 0.0 0.0 0:00.00 kseriod 179 root 21 0 000 S 0.0 0.0 0:00.00 scsi_eh_0 2009/12/18 t...@kalik.net hi, when i want to start radius in debug mode. error happened. Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Could you tell me what's wrong? Freeradius is already running. killall radiusd and try again. You should stop the debug with Ctrl-C. If you just close the ssh session radiusd will continue running. Ivan Kalik - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Regards, Sucan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
On 12/17/2009 08:41 PM, Zhang Shukun wrote: hi, when i want to start radius in debug mode. error happened. Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Could you tell me what's wrong? yes, you've got another version of the server running, probably the one running as the service daemon. You can stop it using the service radiusd stop command if your OS supports it, or killall radiusd if the service command is not available or doesn't work for some reason. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
On 12/17/2009 09:09 PM, Zhang Shukun wrote: Thank you for your reply! i try to find the process of running radius use top command, and kill then. but failed. i don't know which is the right process of radius. Could you tell me? top is the wrong command, us ps instead Consider taking a course in system administration. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
Thanks a lot! the command killall radiusd works! 2009/12/18 John Dennis jden...@redhat.com On 12/17/2009 08:41 PM, Zhang Shukun wrote: hi, when i want to start radius in debug mode. error happened. Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Could you tell me what's wrong? yes, you've got another version of the server running, probably the one running as the service daemon. You can stop it using the service radiusd stop command if your OS supports it, or killall radiusd if the service command is not available or doesn't work for some reason. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Regards, Sucan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Can't start radiusd -X ?
Ok, i am new to linux. and i will consider your suggestion. ;) 2009/12/18 John Dennis jden...@redhat.com On 12/17/2009 09:09 PM, Zhang Shukun wrote: Thank you for your reply! i try to find the process of running radius use top command, and kill then. but failed. i don't know which is the right process of radius. Could you tell me? top is the wrong command, us ps instead Consider taking a course in system administration. -- John Dennis jden...@redhat.com Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Regards, Sucan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html