[Serusers] radiusclient-ng

Jose Bertuzzi pablo_bertuzzi at yahoo.com
Tue Jun 28 20:54:53 CEST 2005


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 at 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 at 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:
> >>
> >>  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 at 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 




More information about the sr-users mailing list