[OpenSIPS-Users] problem with opensips startup on Centos 5
ha do
haloha201 at yahoo.com
Tue Sep 14 11:48:09 CEST 2010
Hi all
i think the script file in packaging/fedora/opensips.init is not create the
/var/run/opensips.pid
it is the same problem with
Chrispy? — 01 September 2010, 01:46on webpage
http://www.opensips.org/Resources/DocsTsStart
for workaround :
service opensips stop
then issue : opensipsctl start -> /var/run/opensips.pid should create
successfull
but when server restart i cannot use the munin service
could someone help me
Thank you
Ha`
----- Original Message ----
From: ha do <haloha201 at yahoo.com>
To: OpenSIPS <users at lists.opensips.org>
Sent: Tue, September 14, 2010 10:05:20 AM
Subject: [OpenSIPS-Users] problem with opensips startup on Centos 5
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`
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list