[asterisk-users] Two pid's shown in asterisk service status

S, Kantharuban IN MAA SL kantharuban.s at siemens.com
Wed Apr 2 01:40:27 CDT 2014


Hi Jg and All,
	Good day,
	Unfortunately we did not take the ps command output during problem time. We have taken the below command outputs

[root at Centos ~]# netstat -lnp | grep asterisk
tcp        0      0 0.0.0.0:5038                0.0.0.0:*                   LISTEN      4136/asterisk
tcp        0      0 0.0.0.0:2000                0.0.0.0:*                   LISTEN      4146/asterisk
udp        0      0 0.0.0.0:5000                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:5000                0.0.0.0:*                               4136/asterisk
udp        0      0 0.0.0.0:4873                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15626               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15627               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4364                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18446               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:11790               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18447               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:11791               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4240                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4497                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:14482               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:14483               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4372                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17428               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17429               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4121                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17690               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17691               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4507                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4635                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4765                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:11684               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4516                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:11685               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4263                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:2727                0.0.0.0:*                               4136/asterisk
udp        0      0 0.0.0.0:4520                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:16684               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4140                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:16685               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4141                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:16946               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4531                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:16947               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4800                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17220               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:5060                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:5060                0.0.0.0:*                               4136/asterisk
udp        0      0 0.0.0.0:17221               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4165                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4422                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4679                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4296                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18638               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15566               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4942                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17486               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18639               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15567               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17487               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:12626               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:12627               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17492               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:13524               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17493               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:13525               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15448               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15449               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4955                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18908               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15324               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18909               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:15325               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4703                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4448                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:16356               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:16357               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18790               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18791               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4339                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17396               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18036               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:12020               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17397               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:18037               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:12021               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:11000               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:11001               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17660               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4477                0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:17661               0.0.0.0:*                               4146/asterisk
udp        0      0 0.0.0.0:4606                0.0.0.0:*                               4146/asterisk
unix  2      [ ACC ]     STREAM     LISTENING     11764  4136/asterisk       /var/run/asterisk/asterisk.ctl
unix  2      [ ACC ]     STREAM     LISTENING     11767  4146/asterisk       /var/run/asterisk/asterisk.ctl
[root at Centos ~]#



[root at Centos ~]# service asterisk status
asterisk (pid 4146 4136) is running...

Will these help to identify the problem. I can also give the messages logs from Asterisk taken at the time of problem. 

Best regards,
Ruban.S


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of jg
Sent: Tuesday, April 01, 2014 6:22 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Two pid's shown in asterisk service status

What does "ps aux | grep asterisk" say?

jg

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list