Hi All,
I need to start openser with Digest Authentication enabled. I have
installed libmysqlclient-dev package and modified the openser.cfg file
to enable digest authentication feature.
When I try to run the openser it gives following error. Looks like it
searching for mysql server. Please clarify me how to enable the Digest
authentication feature in openser.
0(3004) WARNING: fix_socket_list: could not rev. resolve 192.168.127.151
0(3004) WARNING: fix_socket_list: could not rev. resolve
192.168.127.151
Listening on
udp: 127.0.0.1 [127.0.0.1]:5060
udp: 192.168.127.151 [192.168.127.151]:5060
tcp: 127.0.0.1 [127.0.0.1]:5060
tcp: 192.168.127.151 [192.168.127.151]:5060
Aliases:
tcp: my.firewall:5060
udp: my.firewall:5060
WARNING: no fork mode and more than one listen address found(will use
only the
the first one)
0(3004) init_tcp: using epoll_lt as the io watch method (auto detected)
0(0) INFO: statistics manager successfully initialized
0(0) StateLess module - initializing
0(0) TM - initializing...
0(0) Maxfwd module- initializing
0(0) TextOPS - initializing
0(0) AUTH module - initializing
0(0) AUTH_DB module - initializing
0(0) new_connection: Can't connect to local MySQL server through socket
'/var/l
ib/mysql/mysql.sock' (2)
0(0) ERROR:auth_db:auth_fixup: Unable to open database connection
0(0) ERROR: fix_actions: fixing failed (code=-1) at cfg line 134
0(0) ERROR: fix_expr : fix_actions error
ERROR: error -1 while trying to fix configuration
Thanks,
Karthik
-----Original Message-----
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
Behalf Of Karthik Kamaraj
Sent: Monday, February 19, 2007 8:38 PM
To: Bogdan-Andrei Iancu
Cc: users(a)openser.org
Subject: RE: [Users] Error while compiling "mysql" module
Hi Bogdan,
You mean to say that libmysqlclient-dev package will provide the
required *.h files?
Thanks,
Karthik
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Sent: Monday, February 19, 2007 8:34 PM
To: Karthik Kamaraj
Cc: users(a)openser.org
Subject: Re: [Users] Error while compiling "mysql" module
Hi Karthik,
you need to install the libmysqlclient-dev package containing the
development files for mysql client library.
regards,
bogdan
Karthik Kamaraj wrote:
Hi All,
I was trying to install Openser from source openser-1.1.1-notls and I
am getting followinr error while compiling "mysql" module.
Compiling dbase.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-Wno-strict-aliasing -m
inline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64
-DNAME='"op
enser"' -DVERSION='"1.1.1-notls"'
-DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gc
c 4.1.1"' -D__CPU_i386 -D__OS_linux -D__SMP_yes
-DCFG_DIR='"/usr/local/etc/opens
er/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST
-DUSE_TCP -DDISA
BLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS -DFAST_LOCK
-DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCH
ED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TI
MEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/local/include
-I/usr/loca
l/include/mysql -I/usr/local/mysql/include/mysql
-I/usr/local/mysql/include -I/u
sr/include/mysql -c dbase.c -o dbase.o
dbase.c:29:25: error: mysql/mysql.h: No such file or directory
dbase.c:30:26: error: mysql/errmsg.h: No such file or directory
Looks like mysql.h and errmsg.h file is not available.
I need your comments to resolve the issue.
Thanks,
Karthik
========================================================================
====================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you
may review at
http://www.techmahindra.com/Disclaimer.html externally
and
http://tim.techmahindra.com/Disclaimer.html internally within Tech
Mahindra.
========================================================================
====================================================
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
========================================================================
====================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.…
ra.com/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.…
ra.com/Disclaimer.html</a> internally within Tech Mahindra.
========================================================================
====================================================
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
============================================================================================================================
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained herein is proprietary and confidential and
subject to the Tech Mahindra policy statement, you may review at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.…
externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.…
internally within Tech Mahindra.
============================================================================================================================