[OpenSIPS-Users] ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start faile

Faisal Rehman faisal.rehman22 at yahoo.com
Mon Sep 26 13:45:13 CEST 2011


Hi Hood,

From the logs below, it seems that there isn't any database module "mysql.so"  in /usr/local/lib64/opensips/modules directory, so please re-compile the OpenSIPS with database support with the help of below commands in the OpenSIPS installation directory:

make clean

make all include_modules="db_mysql"
modules

make install include_modules="db_mysql"
modules

 
With Best Regards,


Faisal Rehman


________________________________
From: Hood Yours <huyours at hotmail.com>
To: users at lists.opensips.org
Sent: Saturday, September 17, 2011 8:48 AM
Subject: [OpenSIPS-Users] ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start faile


 
this is log when I start opensips. I assume there is database error,but do not know how ti fix. it is my first time to install opensips. Thanks.


Sep 17 23:35:50 localhost opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: NOTICE:core:main: version: opensips 1.7.0-notls (i386/linux)
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:core:main: using 32 Mb shared memory
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:core:main: using 2 Mb private memory per process
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: NOTICE:signaling:mod_init: initializing module ...
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:sl:mod_init: Initializing StateLess engine
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:tm:mod_init: TM - initializing...
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:rr:mod_init: rr - initializing
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:maxfwd:mod_init: initializing...
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:usrloc:ul_init_locks: locks array size 512
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:registrar:mod_init: initializing...
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:textops:mod_init: initializing...
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:core:db_check_api: module db_mysql does not export db_use_table function
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:uri:mod_init: No database module found
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:core:init_mod: failed to initialize module uri
Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:core:main: error while initializing modules
Sep 17 23:35:50 localhost opensips: INFO:core:daemonize: pre-daemon process exiting with -1

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110926/65c0f44e/attachment.htm>


More information about the Users mailing list