Hello ,<br>I have try  to install cdrtoool on debian.It&#39;s working now.<br><br> thanks you your reply.<br><br><br><br><div class="gmail_quote">2010/1/10 Saúl Ibarra Corretgé <span dir="ltr">&lt;<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div><div></div><div class="h5"><br>
On 9/1/10 7:54 PM, Nguyen Quang Tri wrote:<br>
&gt; Hello ,<br>
&gt; I have use Centos 5.2 ,PHP 5.2.12 .CDRTool 7.0 ,I have installed<br>
&gt; start-stop-daemon<br>
&gt;<br>
&gt; when i type /etc/init.d/cdrtool start i have get log<br>
&gt;<br>
&gt;<br>
&gt; Jan  9 19:48:25  cdrtool[1035]: Starting CDRTool Rating Engine...<br>
&gt; Jan  9 19:48:25  cdrtool[1035]: Cached 12291 total, 12291 default, 0<br>
&gt; gateway, 0 domain, 0 subscriber destinations<br>
&gt; Jan  9 19:48:25  cdrtool[1035]: Updated cache for 0 SIP destinations<br>
&gt; Jan  9 19:48:27 cdrtool[1035]: Memory usage: 5.30MB, memory limit: 128MB<br>
&gt; Jan  9 19:48:27 cdrtool[1035]: Loaded 1 profiles into memory<br>
&gt; Jan  9 19:48:27  cdrtool[1035]: Loaded 0 ratesHistory into memory<br>
&gt; Jan  9 19:48:27  cdrtool[1035]: Loaded 0 holidays into memory<br>
&gt; Jan  9 19:48:27  cdrtool[1035]: Loaded 1 enumTlds into memory<br>
&gt; Jan  9 19:48:27 5 cdrtool[1035]: Memory usage: 5.30MB, memory limit: 128MB<br>
&gt; Jan  9 19:48:27  cdrtool[1035]: Rating Engine started sucesfully, going<br>
&gt; to background...<br>
&gt;<br>
&gt; but can not start rating engine<br>
&gt;<br>
&gt; i have try run<br>
&gt;<br>
&gt; /usr/local/apache/htdocs/CDRTool/scripts/ratingEngine.php<br>
&gt;<br>
&gt; same like that.<br>
&gt; Pls help me fix it<br>
&gt; Thank you.<br>
&gt;<br>
<br>
</div></div>That&#39;s because the init script provided is for a Debian based GNU/Linux<br>
distributions.<br>
<br>
Look at the first lines of the init file:<br>
<br>
CDRTOOL_PATH=/var/www/CDRTool<br>
DAEMON=$CDRTOOL_PATH/scripts/ratingEngine.php<br>
<br>
As you are running another distribution your installation may be located<br>
elsewhere. You may edit those lines to match your script location.<br>
<br>
We currently develop, test and maintain the software for Debian based<br>
distributions, so running it on another distribution may lead you to<br>
problems we are not always able to track down and solve as we don&#39;t<br>
maintain the software for them.<br>
<br>
<br>
Regards,<br>
<font color="#888888"><br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a 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>
</div></div></blockquote></div><br>