Project

General

Profile

Actions

Bug #2256

closed

FreeRadius not starting

Added by Ruediger Biernat about 12 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/04/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.0.1
Affected Plus Version:
Affected Architecture:

Description

Not sure if this is the right place to report.

I installed the latest FreeRadius2 on my compactflash PCengines system with 3LAN and Serial console. I received a lot of errors regarding caption portal and freeradius2 but blamed it to my missing radius knowledge. Eventually I realized that the freeradius2 service is not started at all! Trying to restart it or start it by rebooting pfsense failed.

So I went to the shell and started "radiusd -x -X". It revealed that the directories

/var/log/radacct
/var/log/radacct/timecounter

and the file

db.daily

were missing. Afer creating those directories/files everything started.

Actions #1

Updated by Alexander Wilke about 12 years ago

Could not reproduce this error.
The folders in /var/log will be created after re-/installation of freeradius2 package.
db.daily will be placed in /var/log/radacct/timecounter after first start of freeradius2. It is the database for the time based counter module.

I installed the freeradius2 package many time on a i386 and amd64 pfsense machine. I am using the .ISO and a full install. Not sure if your problems are related to nanobsd.

Does this happen every time you install the package or did it just happen one time ?
Try to reproduce this error and post the way you go.

Actions #2

Updated by Jim Pingle about 12 years ago

On NanoBSD, /var is a RAM disk and is blank at bootup. You should re-create any directories under /var (if they are missing) each time the package syncs, not just on install.

Actions #3

Updated by Alexander Wilke about 12 years ago

Thanks jimp. I asked about that folder on pfsense dev mailing list but no answer.
freeradius2 package will now check if these folders exist and if not recreate them after reboot.

Fix is implemented in pkg v1.6.6_1

Actions #4

Updated by Jim Pingle over 11 years ago

  • Status changed from New to Feedback

Many changes to the package since then, is this still a problem?

Actions #5

Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF