[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnu-radius] Error when starting radius, dont now how to fix
From: |
Julio César Mejia Vergara |
Subject: |
[Help-gnu-radius] Error when starting radius, dont now how to fix |
Date: |
Fri, 12 Mar 2004 11:26:45 -0800 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 |
Hi,
I have compiled GNU Radius 1.2 on Solaris 8 SPARC (Ultra 5)
I'm new to radius, the compilation when well no errors or warning.
I'm new to radius configuration and dont now what i'm doing wrong.
I get the following error when i start the radius deamon:
#more /var/log/radius.log
Mar 12 11:04:40 Main.info: Starting
Mar 12 11:04:40 Main.info: Terminating the subprocesses
Mar 12 11:04:40 Main.info: Loading configuration files.
Mar 12 11:04:40 Main.info: reading /usr/local/etc/raddb/config
Mar 12 11:04:40 Main.error: /usr/local/etc/raddb/users:4: parse error
Mar 12 11:04:40 Main.error: discarding user `sega'
Mar 12 11:04:40 Main.info: /usr/local/etc/raddb/users reloaded.
Mar 12 11:04:40 Main.error: USER LIST IS EMPTY
Mar 12 11:04:40 Main.info: Ready
#
I start the server like this:
#/usr/local/sbin/radius
#
And the demon starts, but i get the above errors in the /var/lo/radius.log
Here are my radius configuration files:
#cd /usr/local/etc/raddb
# more users
sega Auth-Type = Local,
User-Password = test
jume Auth-Type = Local,
User-Password = test2
#
#more config
# For detailed description, run:
# info Radius config
option {
max-requests 1024;
resolve no;
};
logging {
prefix-hook "default_log_prefix";
channel default {
file "radius.log";
print-category yes;
print-level yes;
};
channel info {
file "radius.info";
print-pid yes;
};
channel debug {
file "radius.debug";
};
category auth {
print-auth yes;
print-failed-pass yes;
};
category info {
channel info;
};
category =debug {
channel debug;
};
category * {
channel default;
};
};
auth {
max-requests 127;
request-cleanup-delay 2;
detail yes;
strip-names yes;
checkrad-assume-logged yes;
};
acct {
max-requests 127;
request-cleanup-delay 2;
};
rewrite {
load "checknas.rw";
load "log-hook.rw";
};
message {
account-closed "Tu cuenta de DialUp fue Cancelada";
access-denied "Acceso Denegado";
};
# snmp {
# listen no;
# };
#
# more clients
# For detailed description, run:
# info Radius clients
#Client Name Key
#---------------- -------------------
147.15.34.160 intranet
147.15.34.8 intranet
147.15.68.129 intranet
147.15.87.20 intranet
147.15.81.6 intranet
#
# more naslist
# For detailed description, run:
# info Radius naslist
# NAS Name Short Name Type Flags
#---------------- ---------- ---- ---------------
#localhost local true
147.15.34.160 pio true
147.15.34.8 firewall true
147.15.68.129 lomas true
147.15.87.20 prueba1 true
147.15.81.6 prueba2 true
#
Everything else is the default configuration.
Thanks
Julio
- [Help-gnu-radius] Error when starting radius, dont now how to fix,
Julio César Mejia Vergara <=