Hello everyone, I am testing ser 0.10.99 dev8, radiusclient-ng 0.5.1 with freeradius 1.0.2 on the same machine. It is not working. I am not sure whether it is a version or a configuration problem. The question is, do this versions work all together? Is there any radiusclient-ser compatibility matrix?
I compile acc module with this options in Makefile:
# uncomment the next line if you wish to enable SQL accounting #DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to enable RADIUS accounting DEFS+=-DRAD_ACC -I$(LOCALBASE)/include LIBS=-L$(LOCALBASE)/lib -lradiusclient-ng
# uncomment the next two lines if you wish to enable DIAMETER accounting #DEFS+=-DDIAM_ACC
I don't have in my system any lradiusclient-ng, what I have is libradiusclient-ng.so. Is that OK??
Any clue is apreciated,
Pablo.
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
On 28-06-2005 07:00, Jose Bertuzzi wrote:
Hello everyone, I am testing ser 0.10.99 dev8, radiusclient-ng 0.5.1 with freeradius 1.0.2 on the same machine. It is not working. I am not sure whether it is a version or a configuration problem. The question is, do this versions work all together? Is there any radiusclient-ser compatibility matrix?
Yes, they work together, I tested this combination yesterday. Here is a check list:
1) Make sure you configure the IP of the auth and accounting server in radiusclient.conf 2) Make sure you have proper shared secret in radiusclient-ng/servers 3) Make sure you have the same shared secret configured on the server 4) Make sure you include dictionary.ser from sip_router/etc/dictionary.ser in the main dictionary of the radiusclient-ng library (use $INCLUDE dictionary.ser at the end)
5) Make sure you include the same dictionary.ser into the main dictionary of freeradius server
If you are not running the readius server and client on the same machine via loopback then you also have to change the value of "bindaddr" parameter in the configuration file of radiusclient.conf
Then start radiuserver with -x command line option, this will print debugging information to stdout.
Jan.
I compile acc module with this options in Makefile:
# uncomment the next line if you wish to enable SQL accounting #DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to enable RADIUS accounting DEFS+=-DRAD_ACC -I$(LOCALBASE)/include LIBS=-L$(LOCALBASE)/lib -lradiusclient-ng
# uncomment the next two lines if you wish to enable DIAMETER accounting #DEFS+=-DDIAM_ACC
I don't have in my system any lradiusclient-ng, what I have is libradiusclient-ng.so. Is that OK??
Any clue is apreciated,
Pablo.
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Thanks Jan for your fast response,
Well, I forgot to mention that ser does not start. I followed the radius how-to posted on iptel, and tested the radius server with radclient -f digest localhost auth testing123. The server responds.
Now, when starting ser:
freebsd# serctl start
Starting SER : started pid(483) freebsd# freebsd# freebsd# freebsd# serctl moni Error opening ser's FIFO /tmp/ser_fifo Make sure you have line fifo=/tmp/ser_fifo in your config freebsd#
This is my ser.cfg:
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/lib/ser/modules/mysql.so" loadmodule "/usr/local/lib/ser/modules/sl.so" loadmodule "/usr/local/lib/ser/modules/tm.so" loadmodule "/usr/local/lib/ser/modules/rr.so" loadmodule "/usr/local/lib/ser/modules/maxfwd.so" loadmodule "/usr/local/lib/ser/modules/usrloc.so" loadmodule "/usr/local/lib/ser/modules/registrar.so" loadmodule "/usr/local/lib/ser/modules/textops.so" loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so" loadmodule "/usr/local/lib/ser/modules/acc.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params -- modparam("usrloc", "db_mode", 2)
# -- auth params -- modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password")
# -- rr params -- modparam("rr", "enable_full_lr", 1)
# -- acc params -- modparam("acc", "radius_flag", 1) modparam("acc", "radius_config", "usr/local/etc/radiusclient-ng/radiusclient.conf")
I am missing something? Pablo.
--- Jan Janak jan@iptel.org wrote:
On 28-06-2005 07:00, Jose Bertuzzi wrote:
Hello everyone, I am testing ser 0.10.99 dev8, radiusclient-ng
0.5.1
with freeradius 1.0.2 on the same machine. It is
not
working. I am not sure whether it is a version or
a
configuration problem. The question is, do this versions work all together? Is there any radiusclient-ser compatibility matrix?
Yes, they work together, I tested this combination yesterday. Here is a check list:
- Make sure you configure the IP of the auth and
accounting server in radiusclient.conf 2) Make sure you have proper shared secret in radiusclient-ng/servers 3) Make sure you have the same shared secret configured on the server 4) Make sure you include dictionary.ser from sip_router/etc/dictionary.ser in the main dictionary of the radiusclient-ng library (use $INCLUDE dictionary.ser at the end)
- Make sure you include the same dictionary.ser
into the main dictionary of freeradius server
If you are not running the readius server and client on the same machine via loopback then you also have to change the value of "bindaddr" parameter in the configuration file of radiusclient.conf
Then start radiuserver with -x command line option, this will print debugging information to stdout.
Jan.
I compile acc module with this options in
Makefile:
# uncomment the next line if you wish to enable
SQL
accounting #DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to
enable
RADIUS accounting DEFS+=-DRAD_ACC -I$(LOCALBASE)/include LIBS=-L$(LOCALBASE)/lib -lradiusclient-ng
# uncomment the next two lines if you wish to
enable
DIAMETER accounting #DEFS+=-DDIAM_ACC
I don't have in my system any lradiusclient-ng,
what I
have is libradiusclient-ng.so. Is that OK??
Any clue is apreciated,
Pablo.
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty
viruses.
http://promotions.yahoo.com/new_mail
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com
Just because you can not use serctl moni to watch ser's status does not mean that it is not running.
verif if ser is running using ps, e.g. # ps -Alf|grep ser
if it does not start, try to start it manually # ser
and watch syslog # tail -f /var/log/syslog or in case of red hat: # tail -f /var/log/messages
regards, klaus
Jose Bertuzzi wrote:
Thanks Jan for your fast response,
Well, I forgot to mention that ser does not start. I followed the radius how-to posted on iptel, and tested the radius server with radclient -f digest localhost auth testing123. The server responds.
Now, when starting ser:
freebsd# serctl start
Starting SER : started pid(483) freebsd# freebsd# freebsd# freebsd# serctl moni Error opening ser's FIFO /tmp/ser_fifo Make sure you have line fifo=/tmp/ser_fifo in your config freebsd#
This is my ser.cfg:
# ------------------ module loading
loadmodule "/usr/local/lib/ser/modules/mysql.so" loadmodule "/usr/local/lib/ser/modules/sl.so" loadmodule "/usr/local/lib/ser/modules/tm.so" loadmodule "/usr/local/lib/ser/modules/rr.so" loadmodule "/usr/local/lib/ser/modules/maxfwd.so" loadmodule "/usr/local/lib/ser/modules/usrloc.so" loadmodule "/usr/local/lib/ser/modules/registrar.so" loadmodule "/usr/local/lib/ser/modules/textops.so" loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so" loadmodule "/usr/local/lib/ser/modules/acc.so"
# ----------------- setting module-specific parameters
# -- usrloc params -- modparam("usrloc", "db_mode", 2)
# -- auth params -- modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password")
# -- rr params -- modparam("rr", "enable_full_lr", 1)
# -- acc params -- modparam("acc", "radius_flag", 1) modparam("acc", "radius_config", "usr/local/etc/radiusclient-ng/radiusclient.conf")
I am missing something? Pablo.
--- Jan Janak jan@iptel.org wrote:
On 28-06-2005 07:00, Jose Bertuzzi wrote:
Hello everyone, I am testing ser 0.10.99 dev8, radiusclient-ng
0.5.1
with freeradius 1.0.2 on the same machine. It is
not
working. I am not sure whether it is a version or
a
configuration problem. The question is, do this versions work all together? Is there any radiusclient-ser compatibility matrix?
Yes, they work together, I tested this combination yesterday. Here is a check list:
- Make sure you configure the IP of the auth and
accounting server in radiusclient.conf 2) Make sure you have proper shared secret in radiusclient-ng/servers 3) Make sure you have the same shared secret configured on the server 4) Make sure you include dictionary.ser from sip_router/etc/dictionary.ser in the main dictionary of the radiusclient-ng library (use $INCLUDE dictionary.ser at the end)
- Make sure you include the same dictionary.ser
into the main dictionary of freeradius server
If you are not running the readius server and client on the same machine via loopback then you also have to change the value of "bindaddr" parameter in the configuration file of radiusclient.conf
Then start radiuserver with -x command line option, this will print debugging information to stdout.
Jan.
I compile acc module with this options in
Makefile:
# uncomment the next line if you wish to enable
SQL
accounting #DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to
enable
RADIUS accounting DEFS+=-DRAD_ACC -I$(LOCALBASE)/include LIBS=-L$(LOCALBASE)/lib -lradiusclient-ng
# uncomment the next two lines if you wish to
enable
DIAMETER accounting #DEFS+=-DDIAM_ACC
I don't have in my system any lradiusclient-ng,
what I
have is libradiusclient-ng.so. Is that OK??
Any clue is apreciated,
Pablo.
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty
viruses.
http://promotions.yahoo.com/new_mail
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This is what my /var/log/messages show:
Jun 28 14:53:56 freebsd /usr/local/sbin/ser[483]: Maxfwd module- initializing Jun 28 14:53:57 freebsd kernel: pid 483 (ser), uid 0: exited on signal 11 (core dumped)
Pablo.
--- Klaus Darilion klaus.mailinglists@pernau.at wrote:
Just because you can not use serctl moni to watch ser's status does not mean that it is not running.
verif if ser is running using ps, e.g. # ps -Alf|grep ser
if it does not start, try to start it manually # ser
and watch syslog # tail -f /var/log/syslog or in case of red hat: # tail -f /var/log/messages
regards, klaus
Jose Bertuzzi wrote:
Thanks Jan for your fast response,
Well, I forgot to mention that ser does not start. I followed the radius how-to posted on iptel, and tested the radius server with radclient -f digest localhost auth testing123. The server responds.
Now, when starting ser:
freebsd# serctl start
Starting SER : started pid(483) freebsd# freebsd# freebsd# freebsd# serctl moni Error opening ser's FIFO /tmp/ser_fifo Make sure you have line fifo=/tmp/ser_fifo in your config freebsd#
This is my ser.cfg:
# ------------------ module loading
loadmodule "/usr/local/lib/ser/modules/mysql.so" loadmodule "/usr/local/lib/ser/modules/sl.so" loadmodule "/usr/local/lib/ser/modules/tm.so" loadmodule "/usr/local/lib/ser/modules/rr.so" loadmodule "/usr/local/lib/ser/modules/maxfwd.so" loadmodule "/usr/local/lib/ser/modules/usrloc.so" loadmodule
"/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so" loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so" loadmodule "/usr/local/lib/ser/modules/acc.so"
# ----------------- setting module-specific
parameters
# -- usrloc params -- modparam("usrloc", "db_mode", 2)
# -- auth params -- modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password")
# -- rr params -- modparam("rr", "enable_full_lr", 1)
# -- acc params -- modparam("acc", "radius_flag", 1) modparam("acc", "radius_config", "usr/local/etc/radiusclient-ng/radiusclient.conf")
I am missing something? Pablo.
--- Jan Janak jan@iptel.org wrote:
On 28-06-2005 07:00, Jose Bertuzzi wrote:
Hello everyone, I am testing ser 0.10.99 dev8, radiusclient-ng
0.5.1
with freeradius 1.0.2 on the same machine. It
is
not
working. I am not sure whether it is a version or
a
configuration problem. The question is, do this versions work all together? Is there any radiusclient-ser compatibility matrix?
Yes, they work together, I tested this
combination
yesterday. Here is a check list:
- Make sure you configure the IP of the auth
and
accounting server in radiusclient.conf 2) Make sure you have proper shared secret in radiusclient-ng/servers 3) Make sure you have the same shared secret configured on the server 4) Make sure you include dictionary.ser from sip_router/etc/dictionary.ser in the main dictionary of the radiusclient-ng library (use $INCLUDE dictionary.ser at the end)
- Make sure you include the same dictionary.ser
into the main dictionary of freeradius server
If you are not running the readius server and client on the same machine via loopback then you also have to
change
the value of "bindaddr" parameter in the configuration file
of
radiusclient.conf
Then start radiuserver with -x command line option, this will print debugging information to stdout.
Jan.
I compile acc module with this options in
Makefile:
# uncomment the next line if you wish to enable
SQL
accounting #DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to
enable
RADIUS accounting DEFS+=-DRAD_ACC -I$(LOCALBASE)/include LIBS=-L$(LOCALBASE)/lib -lradiusclient-ng
# uncomment the next two lines if you wish to
enable
DIAMETER accounting #DEFS+=-DDIAM_ACC
I don't have in my system any lradiusclient-ng,
what I
have is libradiusclient-ng.so. Is that OK??
Any clue is apreciated,
Pablo.
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty
viruses.
http://promotions.yahoo.com/new_mail
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
=== message truncated ===
__________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html
-----Oprindelig meddelelse----- Fra: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] På vegne af Sebastian Kühner Finally I have my serweb running (it had problems with apache2 and php5... many problems!).
If i may ask, what problems were these...? I myself am having problem with array in my_account.php - you to?
Now I have the problem that serweb doesn't show me the missed calls. I looked at the mysql-database and noticed that ser doesn't save the domain and username - information in the table "missed_calls"...
For this problem, i also would like to know a solution..
René
On Jun 28, 2005 at 11:54, Jose Bertuzzi pablo_bertuzzi@yahoo.com wrote:
This is what my /var/log/messages show:
Jun 28 14:53:56 freebsd /usr/local/sbin/ser[483]: Maxfwd module- initializing Jun 28 14:53:57 freebsd kernel: pid 483 (ser), uid 0: exited on signal 11 (core dumped)
Could you update to the latest cvs (-dev9) and retry? If it still core dumps could you send me a backtrace? ( gdb ser core and then bt).
Andrei