freeradius down every Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
Dear all I found freeradius down every Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY) with the error code Sun Dec 30 06:50:40 2012 : Info: Received HUP signal. Sun Dec 30 06:50:40 2012 : Info: HUP - Re-reading configuration files Sun Dec 30 06:50:40 2012 : Error: rlm_sql_mysql: MYSQL Error: No Fields Sun Dec 30 06:50:40 2012 : Error: rlm_sql_mysql: MYSQL error: Sun Dec 30 06:50:40 2012 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #2 Sun Dec 30 06:50:40 2012 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2 Sun Dec 30 06:50:40 2012 : Info: rlm_sql (sql): Connected new DB handle, #2 Sun Dec 30 06:50:40 2012 : Error: rlm_sql (sql): failed after re-connect Sun Dec 30 06:50:40 2012 : Info: HUP - loading modules Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "files" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "suffix" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "pap" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "attr_filter.access_reject" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "attr_filter.accounting_response" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "radutmp" Sun Dec 30 06:50:40 2012 : Info: Loaded virtual server inner-tunnel Sun Dec 30 06:50:40 2012 : Info: Loaded virtual server <default> Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type
MOD_SINGLE) && (p->type <= MOD_POLICY)
Regards Chuan Chudabut
On 30/12/2555 09:12, EasyHorpak.com wrote:
Dear all
I found freeradius down every Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
with the error code
Sun Dec 30 06:50:40 2012 : Info: Received HUP signal. Sun Dec 30 06:50:40 2012 : Info: HUP - Re-reading configuration files Sun Dec 30 06:50:40 2012 : Error: rlm_sql_mysql: MYSQL Error: No Fields Sun Dec 30 06:50:40 2012 : Error: rlm_sql_mysql: MYSQL error: Sun Dec 30 06:50:40 2012 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #2 Sun Dec 30 06:50:40 2012 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2 Sun Dec 30 06:50:40 2012 : Info: rlm_sql (sql): Connected new DB handle, #2 Sun Dec 30 06:50:40 2012 : Error: rlm_sql (sql): failed after re-connect Sun Dec 30 06:50:40 2012 : Info: HUP - loading modules Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "files" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "suffix" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "pap" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "attr_filter.access_reject" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "attr_filter.accounting_response" Sun Dec 30 06:50:40 2012 : Info: Module: Reloaded module "radutmp" Sun Dec 30 06:50:40 2012 : Info: Loaded virtual server inner-tunnel Sun Dec 30 06:50:40 2012 : Info: Loaded virtual server <default> Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
Regards Chuan Chudabut
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More info about OS and freeradius version Debian x86_64 bit freeradius: FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57 Copyright (C) 1999-2010 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. For more information about these matters, see the file named COPYRIGHT.
On Sun, Dec 30, 2012 at 9:41 AM, EasyHorpak.com <info@easyhorpak.com> wrote:
On 30/12/2555 09:12, EasyHorpak.com wrote:
Dear all
I found freeradius down every Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
Sun Dec 30 06:50:40 2012 : Info: Received HUP signal.
This looks like cron job rotating the log and sending HUP. The easiest workaround for you is to just disable that logrotate job (/etc/logrotate.d/freeradius, I think).
Sun Dec 30 06:50:40 2012 : Info: Loaded virtual server <default> Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
Do you use fancy entries on policy.conf, perhaps?
More info about OS and freeradius version
Debian x86_64 bit
freeradius: FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57
In FR terms, this is old. If you're going to stick with old distro-provided versions, then file a bug report to the distro. I didn't get those errors in my environment, so you might also want to try one of these things: - try restoring policy.conf to the stock version. Just in case some changes you made broke it. - upgrade to the latest version, and see if the bug remains. See http://freeradius.org/, http://wiki.freeradius.org/building/Build#Building-Debian-packages, or https://launchpad.net/~freeradius/+archive/stable -- Fajar
On 30/12/2555 13:47, Fajar A. Nugraha wrote:
On Sun, Dec 30, 2012 at 9:41 AM, EasyHorpak.com <info@easyhorpak.com> wrote:
On 30/12/2555 09:12, EasyHorpak.com wrote:
Dear all
I found freeradius down every Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
Sun Dec 30 06:50:40 2012 : Info: Received HUP signal. This looks like cron job rotating the log and sending HUP. The easiest workaround for you is to just disable that logrotate job (/etc/logrotate.d/freeradius, I think).
Sun Dec 30 06:50:40 2012 : Info: Loaded virtual server <default> Sun Dec 30 06:50:40 2012 : Error: ASSERT FAILED modcall.c[106]: (p->type > MOD_SINGLE) && (p->type <= MOD_POLICY)
Do you use fancy entries on policy.conf, perhaps?
More info about OS and freeradius version
Debian x86_64 bit
freeradius: FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 24 2012 at 17:58:57
In FR terms, this is old. If you're going to stick with old distro-provided versions, then file a bug report to the distro.
I didn't get those errors in my environment, so you might also want to try one of these things: - try restoring policy.conf to the stock version. Just in case some changes you made broke it. - upgrade to the latest version, and see if the bug remains. See http://freeradius.org/, http://wiki.freeradius.org/building/Build#Building-Debian-packages, or https://launchpad.net/~freeradius/+archive/stable
Dear Fajar I have check in file /etc/logrotate.d/freeradius it 's show /var/log/freeradius/*.log { weekly rotate 52 compress delaycompress notifempty missingok postrotate /etc/init.d/freeradius reload > /dev/null endscript } so when I try on /etc/init.d/freeradius reload freeradius is stopped so I change to /etc/init.d/freeradius restart everything works fine Thank you so much for your advice. Regards Chuan Chudabut
participants (2)
-
EasyHorpak.com -
Fajar A. Nugraha