[OpenSIPS-Users] RES: opensips.pid not found

AsteriskGuide flavio at asteriskguide.com
Fri Nov 6 14:37:39 CET 2009


Please, check if the directory has been created and you have appropriate rights to /var/run/opensips.

 

Flavio E. Goncalves

 

De: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] Em nome de Huabiao Xu
Enviada em: Friday, November 06, 2009 11:11 AM
Para: users at lists.opensips.org
Assunto: Re: [OpenSIPS-Users] opensips.pid not found

 

Hi,

 

I've recently installed OpenSIPS through Ubuntu apt-get. I used the instructions from

 

 <http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/INSTALL> http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/INSTALL

 

to configure, opting to use the MySQL option. After all is said and done, I tried to use:

 

sudo /etc/init.d/opensips restart to run the server.

 

I get this following error message in syslog:

 

"ERROR:core:daemonize: unable to create pid file /var/run/opensips/opensips.pid: No such file or directory"

 

I would appreciate your expertise on the matter. Here are the relevant logs that I can find:

 

In STDOUT:

 

"Restarting opensips: opensipsListening on 

             udp: 127.0.0.1 [127.0.0.1]:5060

             udp: 192.168.11.12 [192.168.11.12]:5060

             tcp: 127.0.0.1 [127.0.0.1]:5060

             tcp: 192.168.11.12 [192.168.11.12]:5060

Aliases: 

             tcp: ubuntu.local:5060

             tcp: localhost:5060

             udp: ubuntu.local:5060

             udp: localhost:5060"

 

ps aux | grep -i "sip" returns nothing

 

In messages log:

"ubuntu opensips: INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)"

 

The syslog has a lot of DBG loading up (no errors) then the pid error:

 

"Nov  5 22:30:36 ubuntu opensips: DBG:core:yyparse: loading module /usr/lib/opensips/modules/db_mysql.so

Nov  5 22:30:36 ubuntu opensips: DBG:core:yyparse: loading module /usr/lib/opensips/modules/signaling.so

Nov  5 22:30:36 ubuntu opensips: DBG:core:yyparse: loading module /usr/lib/opensips/modules/sl.so

Nov  5 22:30:36 ubuntu opensips: DBG:core:yyparse: loading module /usr/lib/opensips/modules/tm.so

Nov  5 22:30:36 ubuntu opensips: DBG:core:register_module: register_pv: tm

...

Nov  5 22:42:10 ubuntu opensips: ERROR:core:daemonize: unable to create pid file /var/run/opensips/opensips.pid: No such file or directory"

 

Thanks very much for help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091106/7e198e3a/attachment-0001.htm 


More information about the Users mailing list