Then do a "sudo ps aux|grep 2963" to see if anything is returned.



—
Sincerely,
Fan Jiang

On Sat, Nov 7, 2015 at 8:45 PM, researcher cs <[email protected]>
wrote:

> i tried to run
> username@ubuntu:~$ sudo netstat -antlp|grep 2181
> tcp6 0 0 :::2181 :::* LISTEN 2301/java
> tcp6 0 0 127.0.0.1:2181 127.0.0.1:65107 ESTABLISHED 2301/java
> tcp6 0 0 127.0.0.1:2181 127.0.0.1:65105 ESTABLISHED 2301/java
> tcp6 0 0 127.0.0.1:65110 127.0.0.1:2181 ESTABLISHED 2512/java
> tcp6 0 0 127.0.0.1:65122 127.0.0.1:2181 ESTABLISHED 2963/java
> tcp6 0 0 127.0.0.1:65107 127.0.0.1:2181 ESTABLISHED 2415/java
> tcp6 0 0 127.0.0.1:2181 127.0.0.1:65110 ESTABLISHED 2301/java
> tcp6 0 0 127.0.0.1:65105 127.0.0.1:2181 ESTABLISHED 2319/java
> tcp6 0 0 127.0.0.1:2181 127.0.0.1:65122 ESTABLISHED 2301/java
> On Sat, Nov 7, 2015 at 5:40 PM, researcher cs <[email protected]>
> wrote:
>> ok i tried to run this "sudo netstat -antlp|grep 6703" and got this
>> tcp6 0 0 :::6703 :::* LISTEN 2963/java
>>
>> here did you mean the pid is 2963 if that i got nothing when ran
>> sudo ps -ef|grep 2963
>>
>>
>>
>>
>> On Sat, Nov 7, 2015 at 5:21 PM, Fan Jiang <[email protected]> wrote:
>>
>>> Type in "sudo netstat -antlp|grep 6703" to see if it returns anything -
>>> it should in your case. The rightmost column in the result is the PID of
>>> the running process using the port. The you can type in "sudo ps -ef|grep
>>> <pid>" to see what the exact process is. Make sure you prefix the commands
>>> with "sudo" so that you can search among all processes running on the
>>> machine.
>>>
>>> Please be nice to others who answer your question nicely. Nobody owe you
>>> an answer.
>>>
>>> —
>>> Sincerely,
>>> Fan Jiang
>>>
>>>
>>> On Sat, Nov 7, 2015 at 8:07 PM, Nick R. Katsipoulakis <
>>> [email protected]> wrote:
>>>
>>>> Then I guess it means that another process is using port 6703. That
>>>> means that the supervisor (Storm) can not start worker process on port 6703
>>>> and that is why you get the previous error.
>>>>
>>>> I hope the above helps.
>>>>
>>>> Nick
>>>>
>>>> On Sat, Nov 7, 2015 at 7:58 PM, researcher cs <[email protected]
>>>> > wrote:
>>>>
>>>>> sorry this command ps -ef|grep 6703 got this result username 3299 2766
>>>>> 0 02:55 pts/7 00:00:00 grep --color=auto 6703
>>>>>
>>>>> On Sat, Nov 7, 2015 at 4:57 PM, researcher cs <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> i used this command ps -ef|grep 6703 and got this username 4162 3449 0
>>>>>> 02:32 pts/8 00:00:00 grep --color=auto 6703
>>>>>>
>>>>>> and this command  netstat -netulp | grep 2181 and got this
>>>>>>  (Not all processes could be identified, non-owned process info will
>>>>>> not be shown, you would have to be root to see it all.) tcp6 0 0 :::2181
>>>>>> :::* LISTEN 1000 14805 2301/java
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Nick R. Katsipoulakis,
>>>> Department of Computer Science
>>>> University of Pittsburgh
>>>>
>>>
>>>
>>

Reply via email to