Now I am able to start kamailio, As showing the message when started it.

[root@localhost sbin]# kamailio start ;
Listening on
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 192.168.3.13 [192.168.3.13]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 192.168.3.13 [192.168.3.13]:5060
Aliases:
             tcp: asd:5060
             tcp: localhost:5060
             tcp: localhost.localdomain:5060
             udp: asd:5060
             udp: localhost:5060
             udp: localhost.localdomain:5060

Jan  6 10:55:00 [3025] NOTICE:core:main: config file ok, exiting...


but kamailio is not stopping when I am trying to stop the kamailio by using command like
kamailio stop. it shows the message
[root@localhost sbin]# kamailio stop;
Listening on
             udp: 127.0.0.1 [127.0.0.1]:5060
             udp: 192.168.3.13 [192.168.3.13]:5060
             tcp: 127.0.0.1 [127.0.0.1]:5060
             tcp: 192.168.3.13 [192.168.3.13]:5060
Aliases:
             tcp: asd:5060
             tcp: localhost:5060
             tcp: localhost.localdomain:5060
             udp: asd:5060
             udp: localhost:5060
             udp: localhost.localdomain:5060


Please suggest me how can I stop kamailio?? .



On Tue, Jan 5, 2010 at 9:39 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:


On 1/5/10 11:34 AM, Klaus Darilion wrote:
Try starting kamailio manually (e.g. "kamailio") or using the init scripts (/etc/init.d/kamailio start)
init.d script is provided in the tutorial:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn#the_init.d_script

Note that kamctl and init.d scripts start kamailio with a different pid file, so it is not working to start using one and stop using the other.

To check for errors:

/usr/loca/sbin/kamailio -c

Cheers,
Daniel



klaus

Dinesh gautam schrieb:
Dear Sir,

I am using kamailio 1.5.0,  having installed and configured as given on the kamailio site
<http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn>  on my PC having Centos operating system. I have configured the config files kamailio.cfg, kamctlrc accordingly as given on site.

when I start the kamailio using kamctl start command. it gives the error message like

*[root@localhost ~]# kamctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded

INFO: Starting Kamailio :

ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed

*please* *help me out to solve this problem and suggest me where I am wrong. * *I have configured kamalio so many times it gives me the same kind of error message.


*

*
-
With Regards,
Dinesh Kumar Gautam
Noida,
+919911838275


------------------------------------------------------------------------

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


--
Daniel-Constantin Mierla
* http://www.asipto.com/




--
With Regards,
Dinesh Kumar Gautam
Noida,
+919911838275