[OpenSIPS-Users] problem with opensips startup on Centos 5

ha do haloha201 at yahoo.com
Tue Sep 14 05:05:20 CEST 2010


Hello all

i use Centos 5:
[root at localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 
i686 i686 i386 GNU/Linux

i am testing the opensips 1.6.2 and i installed successfully opensips

the step to get problem:
      1. Install opensips successfull
   2. copy file packaging/fedora/opensips.init to /etc/init.d/opensips
      3. chmod 755 /etc/init.d/opensips
   4. chkconfig --add /etc/init.d/opensips
   5. restart Server 
   6. check the opensips status:
[root at localhost ~]# ps -ef | grep opensips
root      1539     1  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1543  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1544  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1545  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1546  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1547  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1548  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1574  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1575  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1576  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1577  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1578  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1579  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1599  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1600  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1601  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1602  1539  0 22:56 ?        00:00:00 /usr/local/sbin/opensips
root      1650  1627  0 22:57 pts/0    00:00:00 grep opensips

    7. i use the opensipsctl restart and got the problem :
[root at localhost ~]# opensipsctl restart

INFO: Restarting OpenSIPS :

ERROR: No PID file found (/var/run/opensips.pid)! OpenSIPS probably not running

INFO: Starting OpenSIPS :

ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed


could someone help me, i want opensips startup along with Server and the 
opensipsctl command should work properly

Thank you
Ha`



      



More information about the Users mailing list