<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I was searching in google and noticed that there was I lot of themes
about this threat.<br>
<br>
In opensipsctlrc I have this:<br>
<br>
<small> $Id: opensipsctlrc 8290 2011-08-23 14:14:10Z razvancrainea $<br>
#<br>
# The OpenSIPS configuration file for the control tools.<br>
#<br>
# Here you can set variables used in the opensipsctl and
opensipsdbctl setup<br>
# scripts. Per default all variables here are commented out, the
control tools<br>
# will use their internal default values.<br>
<br>
## your SIP domain<br>
# SIP_DOMAIN=opensips.org<br>
<br>
## chrooted directory<br>
# $CHROOT_DIR="/path/to/chrooted/directory"<br>
<br>
## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, or DBTEXT,<br>
## by default none is loaded<br>
# If you want to setup a database with opensipsdbctl, you must at
least specify<br>
# this parameter.<br>
DBENGINE=MYSQL<br>
<br>
## database host<br>
DBHOST=127.0.0.1<br>
<br>
## database name (for ORACLE this is TNS name)<br>
DBNAME=opensips<br>
<br>
# database path used by dbtext or db_berkeley<br>
# DB_PATH="/usr/local/etc/opensips/dbtext"<br>
<br>
## database read/write user<br>
DBRWUSER=opensips<br>
<br>
## password for database read/write user<br>
DBRWPW="opensips"<br>
<br>
## database super user (for ORACLE this is 'scheme-creator' user)<br>
DBROOTUSER="root"<br>
<br>
# user name column<br>
USERCOL="username"</small><br>
<br>
Than I have created database with opensipsdbctl create .<br>
After I start opensips I get this:<br>
<br>
<small>[root@localhost opensips]# opensipsctl start<br>
<br>
<small>INFO: Starting OpenSIPS : <br>
<br>
ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS
start failed<br>
[root@localhost opensips]# </small><br>
<br>
This is my log message:<br>
<br>
Mar 29 10:15:02 localhost opensips: INFO:core:daemonize:
pre-daemon process exiting with -1<br>
Mar 29 10:17:40 localhost opensips: WARNING:core:fix_socket_list:
could not rev. resolve 172.31.1.191<br>
Mar 29 10:17:40 localhost opensips: WARNING:core:fix_socket_list:
could not rev. resolve 172.31.1.191<br>
Mar 29 10:17:40 localhost opensips: INFO:core:init_tcp: using
epoll_lt as the TCP io watch method (auto detected)<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
NOTICE:core:main: version: opensips 1.7.0-notls (x86_64/linux)<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:core:main: using 32 Mb shared memory<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:core:main: using 2 Mb private memory per process<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
NOTICE:signaling:mod_init: initializing module ...<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:sl:mod_init: Initializing StateLess engine<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:tm:mod_init: TM - initializing...<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:rr:mod_init: rr - initializing<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:maxfwd:mod_init: initializing...<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:usrloc:ul_init_locks: locks array size 512<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:registrar:mod_init: initializing...<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
INFO:textops:mod_init: initializing...<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
ERROR:core:db_check_api: module db_mysql does not export
db_use_table function<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
ERROR:uri:mod_init: No database module found<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
ERROR:core:init_mod: failed to initialize module uri<br>
Mar 29 10:17:40 localhost /usr/local/sbin/opensips[25216]:
ERROR:core:main: error while initializing modules<br>
Mar 29 10:17:40 localhost opensips: INFO:core:daemonize:
pre-daemon process exiting with -1</small><br>
<br>
<br>
Thanks!<br>
<br>
Regards,<br>
Miha<br>
</body>
</html>