From: Michael Schreiber on
hi,

i have a problem with lsof under solaris 10 sparc:

lsof -i |tail -2
httpd 29589 wwwrun 123u IPv4 0x300100cd600 0t0 TCP *:65535
(LISTEN)
httpd 29589 wwwrun 124u IPv4 0x3000fd8c500 0t0 TCP *:65535
(LISTEN)

-> WHY IS THE PORT 80 NOT LISTET? *:65535 -> should be *:80 or *:http

on our solaris 9 system:
lsof -i | tail -2
httpd 1994 orainst 16u IPv4 0x3000b7d4f50 0t0 TCP *:7786
(LISTEN)
httpd 1994 orainst 17u IPv4 0x3000b7d4dd0 0t0 TCP *:7785
(LISTEN)
httpd 1994 orainst 18u IPv4 0x3000b7d4c50 0t0 TCP *:7784
(LISTEN)


any suggestions?

thanks in advance
mike
From: Casper H.S. Dik on
Michael Schreiber <nospam(a)schreiber.at> writes:

>hi,

>i have a problem with lsof under solaris 10 sparc:

>lsof -i |tail -2
>httpd 29589 wwwrun 123u IPv4 0x300100cd600 0t0 TCP *:65535
>(LISTEN)
>httpd 29589 wwwrun 124u IPv4 0x3000fd8c500 0t0 TCP *:65535
>(LISTEN)

>-> WHY IS THE PORT 80 NOT LISTET? *:65535 -> should be *:80 or *:http

>on our solaris 9 system:
>lsof -i | tail -2
>httpd 1994 orainst 16u IPv4 0x3000b7d4f50 0t0 TCP *:7786
>(LISTEN)
>httpd 1994 orainst 17u IPv4 0x3000b7d4dd0 0t0 TCP *:7785
>(LISTEN)
>httpd 1994 orainst 18u IPv4 0x3000b7d4c50 0t0 TCP *:7784
>(LISTEN)

>any suggestions?


Recompile lsof?

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
From: AHinMaine on


On Nov 17, 8:07 am, Michael Schreiber <nos...(a)schreiber.at> wrote:
> hi,
>
> i have a problem with lsof under solaris 10 sparc:
>
> lsof -i |tail -2
> httpd 29589 wwwrun 123u IPv4 0x300100cd600 0t0 TCP *:65535
> (LISTEN)
> httpd 29589 wwwrun 124u IPv4 0x3000fd8c500 0t0 TCP *:65535
> (LISTEN)
>
> -> WHY IS THE PORT 80 NOT LISTET? *:65535 -> should be *:80 or *:http

It is a vast assumption that the last two lines of your lsof output
will be httpd using port 80. Instead, try lsof -i :80

--
Andy

From: Michael Schreiber on
# lsof -i :80

returns nothing

lsof -i @x.x.x.x

returns nothing

because all ports are listet @ TCP 65535.
i have this problem on all my solaris 10 sparc maschines.

can anybody confirm that?

thx



"AHinMaine" <aharrison(a)gmail.com> wrote in news:1163778116.613682.113550
@b28g2000cwb.googlegroups.com:

>
>
> On Nov 17, 8:07 am, Michael Schreiber <nos...(a)schreiber.at> wrote:
>> hi,
>>
>> i have a problem with lsof under solaris 10 sparc:
>>
>> lsof -i |tail -2
>> httpd 29589 wwwrun 123u IPv4 0x300100cd600 0t0 TCP *:65535
>> (LISTEN)
>> httpd 29589 wwwrun 124u IPv4 0x3000fd8c500 0t0 TCP *:65535
>> (LISTEN)
>>
>> -> WHY IS THE PORT 80 NOT LISTET? *:65535 -> should be *:80 or *:http
>
> It is a vast assumption that the last two lines of your lsof output
> will be httpd using port 80. Instead, try lsof -i :80
>

From: j.goerke on
Michael Schreiber <nospam(a)schreiber.at> wrote:
> because all ports are listet @ TCP 65535.
> i have this problem on all my solaris 10 sparc maschines.
> can anybody confirm that?

Are you absolutely sure you're using a version of lsof that has been
compiled for use with Solaris 10? I had similar problems using one from
Solaris 8 with Solaris 9.

Jens
--
Jens Goerke, mobilcom Server Systeme
mobilcom Communicationstechnik GmbH, Hollerstr. 126, 24782 Buedelsdorf
Tel: +49-(0)4331-69-5505 Fax: +49-(0)4331-69-5599