<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
Have you loaded the db_mysql module before the uri module, or any
other module that requires a DB connection ?<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer</pre>
<br>
On 09/05/2011 10:47 AM, liujian wrote:
<blockquote cite="mid:BLU155-W47D4CD6853F8397EA785C7A71D0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
<div dir="ltr">
hello,<br>
I have installed opensips server in CentOS 5.5 , and when i <br>
opensipsctl start<br>
<br>
INFO: Starting OpenSIPS : <br>
ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS
start failed<br>
<br>
I looked for the OpenSIPS output:<br>
<br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
INFO:tm:mod_init: TM - initializing... <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
INFO:rr:mod_init: rr - initializing <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
INFO:maxfwd:mod_init: initializing... <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
INFO:usrloc:ul_init_locks: locks array size 512 <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
INFO:registrar:mod_init: initializing... <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
INFO:textops:mod_init: initializing... <br>
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 <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
ERROR:uri:mod_init: No database module found <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
ERROR:core:init_mod: failed to initialize module uri <br>
Sep 5 15:26:51 localhost /usr/local/sbin/opensips[29909]:
ERROR:core:main: error while initializing modules <br>
Sep 5 15:26:51 localhost opensips: INFO:core:daemonize:
pre-daemon process exiting with -1 <br>
<br>
and service mysqld is running:<br>
<br>
<p class="ecxvspace">i don't know how to fix it,Can anybody give
me some suggestions.</p>
<p class="ecxvspace">Thanks.</p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>