Error No Log Destination Specified
[ subject ] [ author ] Have you checked permissions of the file / dir? Marcel Grandemange wrote: > |->>I have a problem where I upgraded v1 to v2 of freeradius and now I can > only > |->start it with mode radius -X , if I try use script is simply does > following. > |-> > |-> > |-> > |->>/usr/local/etc/rc.d]# ./rc.radiusd start > |->>Starting FreeRADIUS:radiusd: Error: No log destination specified. > |->>Radius > |-> > |-> > |->>Any advise? > |-> > |->FYI - I have now made a startup script to the following. > |-> > |->/usr/local/sbin/radiusd -X & > /dev/null 2>&1 > |-> > |->To Run Freeradius as this is a production machine. > > >> It is complaining that you have not specified a place to write a log file. >> > > >> ====== >> logdir = /var/log >> # >> # The logging messages for the server are appended to the >> # tail of this file. >> # >> log_file = ${logdir}/radius.log >> ====== >> > > >> This is from my radiusd.conf file. Radius writes log file messages (few >> and far between) to /var/log/radius.log >> > > >> Fix that and you wont have to use the redirect to /dev/null, which I would >> not use anyway as you want log files to know if something is going wrong. >> > > This is the beginning of my radius.conf, it seems the entry is indeed there > and valid as it's same as old installation. > > prefix = /usr/local > exec_prefix = ${prefix} > sysconfdir = ${prefix}/etc > localstatedir = /var > sbindir = ${exec_prefix}/sbin > logdir = /var/log > raddbdir = ${sysconfdir}/raddb > radacctdir = ${logdir}/radacct > > # Location of config and logfiles. > confdir = ${raddbdir} > run_dir = ${localstatedir}/run/radiusd > > # > # The logging messages for the server are appended to the > # tail of this file. > # > log_file = ${logdir}/radius.log > > >> HTH, >> Keith >> > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > -------------- next part -------------- An HTML attachment was scrubbed... URL:
♦ ♦ | Report Content as Inappropriate ♦ ♦ start errors: Error: No log destination specified. This post has NOT been accepted by the mailing list yet. Hello everyone. I'm a new user of freeradius. I get serveral questions when I start use freeradius. Q.1 When I get start the freeradius: root@RoxPro-Radius:/etc/freeradius# /etc/init.d/freeradius start Starting FreeRADIUS daemon: freeradiusradiusd: Error: No log destination specified. failed! This is the detail of freeradius -X: FreeRADIUS Version 2.1.10, for host i486-pc-linux-gnu, built on Nov 14 2010 at 20:41:03 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. Starting - reading configuration files ... including configuration file /etc/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration http://lists.freeradius.org/pipermail/freeradius-users/2008-December/033845.html file /etc/freeradius/clients.conf including configuration file /etc/freeradius/eap.conf including configuration file /etc/freeradius/sql.conf including configuration file /etc/freeradius/sql/mysql/dialup.conf main { user = "freerad" group = "freerad" allow_core_dumps = no } including dictionary file /etc/freeradius/dictionary main { prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no http://freeradius.1045715.n5.nabble.com/start-errors-Error-No-log-destination-specified-td5116555.html max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/var/run/freeradius/freeradius.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log_auth = yes log_auth_badpass = yes log_auth_goodpass = yes log_stripped_names = no security { max_attributes = 200 reject_delay = 1 status_server = no } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = "testing123" response_window = 20 max_outstanding = 65536 require_message_authenticator = yes zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4
radius –X http://abills.net.ua/forum/viewtopic.php?t=7189 , if I try use script is simply does > following… > > /usr/local/etc/rc.d]# ./rc.radiusd error no start > > Starting FreeRADIUS:radiusd: Error: No log destination specified. Look at the *default* radiusd.conf, section "log", configuration "destination". Set that in the edited radiusd.conf. Alan DeKok. - List info/subscribe/unsubscribe? error no log See http://www.freeradius.org/list/users.html Previous message View by thread View by date Next message No log destination specified. Marcel Grandemange RE: No log destination specified. Marcel Grandemange RE: No log destination specified. Marcel Grandemange Re: No log destination specified. Marco C. Coelho RE: No log destination specified. Keith Re: No log destination specified. Alan DeKok Reply via email to Search the site The Mail Archive home freeradius-users - all messages freeradius-users - about the list Expand Previous message Next message The Mail Archive home Add your mailing list FAQ Support Privacy 493EB194.1050401@deployingradius.com
Регистрация Список форумов Технические вопросы Сообщения об ошибках и поддержка Поиск radiusd: Error: No log destination specified. Ответить Версия для печати Поиск Расширенный поиск 6 сообщений • Страница 1 из 1 Sasha462 Сообщения: 216 Зарегистрирован: Ср дек 27, 2006 2:45 pm Откуда: Львов radiusd: Error: No log destination specified. Цитата Сообщение Sasha462 » Пн мар 10, 2014 10:17 am Installing freeradius-2.2.3_1... done/usr/ports/net/freeradius2]# /usr/local/etc/rc.d/radiusd startStarting radiusd. /usr/ports/net/freeradius2]# radiusd: Error: No log destination specified.logdir = /var/loglog_file = ${logdir}/radius.logУдалил все зделал наново при запуске невидит.Невидет - cd /usr/local/share/examples/freeradius/raddb/modules/pap# Executing group from file /usr/local/etc/raddb/sites-enabled/abills_default+group REJECT {rlm_perl: Added pair NAS-Port-Type = Ethernetrlm_perl: Added pair CHAP-Password = 0x01c18415fb3e70e77348fe2774babd0a22rlm_perl: Added pair Acct-Session-Id = 4449730-L-1rlm_perl: Added pair Service-Type = Framed-Userrlm_perl: Added pair Tunnel-Medium-Type = IEEE-802rlm_perl: Added pair Calling-Station-Id = 90f6525b8843rlm_perl: Added pair Message-Authenticator = 0x238b5d4595693c5b60b316eb3864964frlm_perl: Added pair Framed-Protocol = PPPrlm_perl: Added pair Tunnel-Client-Endpoint = 90:f6:52:5b:88:43rlm_perl: Added pair User-Name = testrlm_perl: Added pair CHAP-Challenge = 0xbb1e688bdec307910f1190d2c16a9e27163b13d76a1cd0481erlm_perl: Added pair NAS-Identifier =*.uarlm_perl: Added pair NAS-Port = 1rlm_perl: Added pair mpd-link = L-1rlm_perl: Added pair NAS-Port-Id = fxp0rlm_perl: Added pair Reply-Message = Unknow server ''rlm_perl: Added pair Post-Auth-Type = REJECT rlm_perl: Added pair Reply-Message = Unknow server '' - ??????radtest test zaqxsw 127.0.0.1:1812 0 radsecret 0 127.0.0.1 Тест проходитRadius NAS-Identifier Идентификатор сервера (можно не вписывать)$conf{mpd_filters}=1;$conf{RADIUS2}=1;Unknow server '' Nas-Identifier: *******.ua