<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; "><span><b>Hi Hood,</b></span></div><div style="font-family: tahoma, 'new york', times, serif; "><span><br></span></div><div><span class="Apple-style-span" style="font-family: tahoma, 'new york', times, serif; ">From the logs below, it seems that there isn't any database module "</span><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">mysql.so"</font> in <font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif">/usr/local/lib64/opensips/modules</font> directory, so please re-compile the OpenSIPS with database support with the help of below commands in the OpenSIPS installation directory:</div><div style="font-family: tahoma, 'new york', times, serif; "><br></div><div><div class="MsoNormal"
style="font-family: tahoma, 'new york', times, serif; text-align: justify; line-height: normal; "><span class="apple-style-span"><span style="font-size:10.0pt;font-family:"Courier New";
color:red;background:white">make clean</span></span></div><div class="MsoNormal" style="font-family: tahoma, 'new york', times, serif; text-align: justify; line-height: normal; "><span class="apple-style-span"><span style="font-size:10.0pt;font-family:"Courier New";
color:red;background:white"><br></span></span></div><div class="MsoNormal" style="font-family: tahoma, 'new york', times, serif; text-align: justify; line-height: normal; "><span class="apple-style-span"><span style="font-size:10.0pt;font-family:"Courier New";
color:red;background:white">make all include_modules="db_mysql"
modules</span></span><span style="font-size:10.0pt;font-family:"Courier New";
color:red;background:white"><o:p></o:p></span></div>
<div class="MsoNormal" style="font-family: tahoma, 'new york', times, serif; text-align: justify; line-height: normal; "><span style="font-size:10.0pt;font-family:"Courier New";color:red;background:white"><br>
<span class="apple-style-span">make install include_modules="db_mysql"
modules<o:p></o:p></span></span></div><div class="MsoNormal" style="text-align: justify; line-height: normal; "><font class="Apple-style-span" color="#ff0000" face="'Courier New'"><br></font></div></div><div style="font-family: tahoma, 'new york', times, serif; "> </div><div style="font-family: tahoma, 'new york', times, serif; ">With Best Regards,<br></div><div style="font-family: tahoma, 'new york', times, serif; "><br></div><div style="font-family: tahoma, 'new york', times, serif; "><b>Faisal Rehman</b><br><div style="font-size: 10pt; font-family: tahoma, 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Hood Yours <huyours@hotmail.com><br><b><span style="font-weight: bold;">To:</span></b> users@lists.opensips.org<br><b><span style="font-weight: bold;">Sent:</span></b> Saturday,
September 17, 2011 8:48 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [OpenSIPS-Users] ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start faile<br></font><br><div id="yiv776255296">
<style><!--
#yiv776255296 .yiv776255296hmmessage P
{
margin:0px;padding:0px;}
#yiv776255296 .yiv776255296hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">
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.<br><br><br>Sep 17 23:35:50 localhost opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: NOTICE:core:main: version: opensips 1.7.0-notls (i386/linux)<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:core:main: using 32 Mb shared memory<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:core:main: using 2 Mb private memory per process<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: NOTICE:signaling:mod_init: initializing module ...<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:sl:mod_init: Initializing StateLess engine<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:tm:mod_init: TM - initializing...<br>Sep 17 23:35:50 localhost
/usr/local/sbin/opensips[3287]: INFO:rr:mod_init: rr - initializing<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:maxfwd:mod_init: initializing...<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:usrloc:ul_init_locks: locks array size 512<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:registrar:mod_init: initializing...<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: INFO:textops:mod_init: initializing...<br><b>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<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:uri:mod_init: No database module found<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:core:init_mod: failed to initialize module uri<br>Sep 17 23:35:50 localhost /usr/local/sbin/opensips[3287]: ERROR:core:main: error while initializing modules</b><br>Sep 17
23:35:50 localhost opensips: INFO:core:daemonize: pre-daemon process exiting with -1<br>                                            </div>
</div><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div></div></div></div></body></html>