![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
I run freeradius on my openbsd server. But often not accept request. This occurs when WAIT status on top utils is lockf. And I must restart the freeradius service.
Quote:
![]() Sorry, about my english
|
|
||||
|
Your radiusd server is waiting for a file, or a portion of a file, to be unlocked by another process...most likely another process within the same application. The lockf you are asking about is a syscall. See lockf(3).
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
OK. But, how to know what file it is ?
There is some utility for that ? |
|
||||
|
fstat(1) may be of some assistance, as it can show you open files and the processes that have them open ... but a quick use of Google with "radiusd" or "freeradius" and "lockf" shows many hits, including "LOCKF=..." in configuration files.
I've never used any RADIUS application, nor do I know anything about freeradius. That stated, your symptom indicates either a configuration/provisioning problem or an application problem.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
"LOCKF=..." in google only startup script for redhat.
|
|
||||
|
I don't know if you have proceeded as recommended in the radiusd.conf file:
Code:
###################################################################### # # Read "man radiusd" before editing this file. See the section # titled DEBUGGING. It outlines a method where you can quickly # obtain the configuration you want, without running into # trouble. # # Run the server in debugging mode, and READ the output. # # $ radiusd -X # # We cannot emphasize this point strongly enough. The vast # majority of problems can be solved by carefully reading the # debugging output, which includes warnings about common issues, # and suggestions for how they may be fixed. # # There may be a lot of output, but look carefully for words like: # "warning", "error", "reject", or "failure". The messages there # will usually be enough to guide you to a solution..... Code:
# If this limit is ever reached, clients will be LOCKED OUT...... Good luck!
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 9th June 2011 at 03:04 PM. Reason: clarity |
|
|||
|
Everything was fine for 6 months. But, I don't know why get problem now
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|