[Serusers] Re: problem in ser
Kamran Ahmad
p_kami at yahoo.com
Tue Jun 14 16:58:21 CEST 2005
i am using kernel-2.6.9-1.667
>hello
>
>i have some problems i am using ser-0.9.0 with
>radiusclient-ng. but unable to compile radius
modules.
>and when i am trying to start ser. and unable to stop
>ser. or even i cannot kill ser. any comments
>
>
>
>[root at voice ser-0.9.0]# serctl moni
>Error opening ser's FIFO /tmp/ser_fifo
>Make sure you have line fifo=/tmp/ser_fifo in your
>config
>-----------------------------------------------------
>#ser.cfg
>dns=no
>rev_dns=no
>fifo="/tmp/ser_fifo"
>
>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/xlog.so"
>
>loadmodule "/usr/local/lib/ser/modules/auth.so"
>
>loadmodule "/usr/local/lib/ser/modules/exec.so"
>
>loadmodule "/usr/local/lib/ser/modules/uri.so"
>loadmodule "/usr/local/lib/ser/modules/nathelper.so"
>loadmodule "/usr/local/lib/ser/modules/textops.so"
>loadmodule "/usr/local/lib/ser/modules/auth_db.so"
>
>modparam("nathelper", "natping_interval", 30)
>modparam("nathelper", "ping_nated_only", 1)
>modparam("nathelper",
>"rtpproxy_sock","unix:/var/run/rtpproxy.sock")
>modparam("usrloc", "db_mode", 0)
>modparam("registrar", "nat_flag", 6)
>modparam("rr", "enable_full_lr", 1)
>modparam("nathelper", "natping_interval", 15)
>modparam("nathelper", "ping_nated_only", 1)
>-----------------------------------------------------
>
>make_and_install_output.txt
>
>make[1]: Entering directory
>`/ser-0.9.0/modules/auth_radius'
>../../Makefile.rules:77: authorize.d: No such file or
>directory
>../../Makefile.rules:77: authrad_mod.d: No such file
>or directory
>../../Makefile.rules:77: sterman.d: No such file or
>directory
>make[1]: Leaving directory
>`/ser-0.9.0/modules/auth_radius'
>make[1]: Entering directory
>`/ser-0.9.0/modules/auth_radius'
>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
>-Wall -minline-all-stringops -malign-double
>-falign-loops -mtune=athlon
>-I/opt/axxany/siprouter/radiusclient/include
>-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
>-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386
>-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"'
>-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK
>-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
>-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
>-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
>-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
>-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
>-DHAVE_ALLOCA_H -I/usr/local/include -c authorize.c
-o
>authorize.o
>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
>-Wall -minline-all-stringops -malign-double
>-falign-loops -mtune=athlon
>-I/opt/axxany/siprouter/radiusclient/include
>-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
>-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386
>-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"'
>-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK
>-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
>-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
>-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
>-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
>-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
>-DHAVE_ALLOCA_H -I/usr/local/include -c authrad_mod.c
>-o authrad_mod.o
>authrad_mod.c: In function `mod_init':
>authrad_mod.c:110: error: `DICT_VENDOR' undeclared
>(first use in this function)
>authrad_mod.c:110: error: (Each undeclared identifier
>is reported only once
>authrad_mod.c:110: error: for each function it
appears
>in.)
>authrad_mod.c:110: error: `vend' undeclared (first
use
>in this function)
>authrad_mod.c:134: warning: assignment makes pointer
>from integer without a cast
>authrad_mod.c:139: error: too many arguments to
>function `rc_conf_str'
>authrad_mod.c:139: error: too many arguments to
>function `rc_read_dictionary'
>authrad_mod.c:144: warning: implicit declaration of
>function `rc_dict_findvend'
>authrad_mod.c:159: error: too many arguments to
>function `rc_dict_findattr'
>authrad_mod.c:159: error: too many arguments to
>function `rc_dict_findval'
>make[1]: *** [authrad_mod.o] Error 1
>make[1]: Leaving directory
>`/ser-0.9.0/modules/auth_radius'
>
>
>
>make[1]: Entering directory
>`/ser-0.9.0/modules/group_radius'
>../../Makefile.rules:77: group.d: No such file or
>directory
>../../Makefile.rules:77: grouprad_mod.d: No such file
>or directory
>make[1]: Leaving directory
>`/ser-0.9.0/modules/group_radius'
>make[1]: Entering directory
>`/ser-0.9.0/modules/group_radius'
>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
>-Wall -minline-all-stringops -malign-double
>-falign-loops -mtune=athlon
>-I/opt/axxany/siprouter/radiusclient/include
>-DNAME='"ser"' -DVERSION='"0.9.1"' -DARCH='"i386"'
>-DOS='"linux"' -DCOMPILER='"gcc 3.4"' -D__CPU_i386
>-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"'
>-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK
>-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
>-DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
>-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
>-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
>-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
>-DHAVE_ALLOCA_H -I/usr/local/include -c group.c -o
>group.o
>group.c: In function `radius_is_user_in':
>group.c:194: warning: passing arg 2 of
`rc_avpair_add'
>makes integer from pointer without a cast
>group.c:194: warning: passing arg 3 of
`rc_avpair_add'
>makes pointer from integer without a cast
>group.c:194: warning: passing arg 4 of
`rc_avpair_add'
>makes integer from pointer without a cast
>group.c:194: error: too many arguments to function
>`rc_avpair_add'
>group.c:203: warning: passing arg 2 of
`rc_avpair_add'
>makes integer from pointer without a cast
>group.c:203: warning: passing arg 3 of
`rc_avpair_add'
>makes pointer from integer without a cast
>group.c:203: warning: passing arg 4 of
`rc_avpair_add'
>makes integer from pointer without a cast
>group.c:203: error: too many arguments to function
>`rc_avpair_add'
>group.c:209: warning: passing arg 2 of
`rc_avpair_add'
>makes integer from pointer without a cast
>group.c:209: warning: passing arg 3 of
`rc_avpair_add'
>makes pointer from integer without a cast
>group.c:209: warning: passing arg 4 of
`rc_avpair_add'
>makes integer from pointer without a cast
>group.c:209: error: too many arguments to function
>`rc_avpair_add'
>group.c:215: warning: passing arg 1 of `rc_auth'
makes
>integer from pointer without a cast>group.c:215:
warning: passing arg 3 of `rc_auth' from
>incompatible pointer type
>group.c:215: warning: passing arg 4 of `rc_auth' from
>incompatible pointer type
>group.c:215: error: too many arguments to function
>`rc_auth'
>make[1]: *** [group.o] Error 1
>make[1]: Leaving directory
>`/ser-0.9.0/modules/group_radius'
__________________________________
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.html
More information about the sr-users
mailing list