[OpenSIPS-Users] questions about intalling opensips in CentOS 5.5

Vlad Paiu vladpaiu at opensips.org
Mon Sep 5 09:56:14 CEST 2011


Hello,

Have you loaded the db_mysql module before the uri module, or any other
module that requires a DB connection ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 09/05/2011 10:47 AM, liujian wrote:
> hello,
> I have installed opensips server in CentOS 5.5 , and when i
> opensipsctl start
>
> INFO: Starting OpenSIPS :
> ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start
> failed
>
> I looked for the OpenSIPS output:
>
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> INFO:tm:mod_init: TM - initializing...
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> INFO:rr:mod_init: rr - initializing
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> INFO:maxfwd:mod_init: initializing...
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> INFO:usrloc:ul_init_locks: locks array size 512
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> INFO:registrar:mod_init: initializing...
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> INFO:textops:mod_init: initializing...
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> ERROR:core:db_check_api: module db_mysql does not export db_use_table
> function
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> ERROR:uri:mod_init: No database module found
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> ERROR:core:init_mod: failed to initialize module uri
> Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
> ERROR:core:main: error while initializing modules
> Sep 5 15:26:51 localhost opensips: INFO:core:daemonize: pre-daemon
> process exiting with -1
>
> and service mysqld is running:
>
> i don't know how to fix it,Can anybody give me some suggestions.
>
> Thanks.
>
>
> _______________________________________________
> 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/20110905/c11a3b95/attachment.htm>


More information about the Users mailing list