Operating System - HP-UX
1846601 Members
2394 Online
110256 Solutions
New Discussion

Re: netstat command creates core file

 
Juan Leon_2
Occasional Contributor

netstat command creates core file

I have a 700Series workstation with 2 nic cards
one card have set a lan ip 192.XX.XX.XX and the second card have set a wan IP using comcast behind router.
when I execute netstat or netstat -a the execution create a core file and does not display any information. But when running netstat -n or netstat -rvn I can see information and doesn't create a core file.
does anybody had a similar experience or someone can help me to search for the cause of the problme.

thank you

Juan
5 REPLIES 5
Alex Glennie
Honored Contributor

Re: netstat command creates core file

please post your /etc/nsswitch.conf file

"dns" is only allowed and applicable to the "hosts" line this could cause the above .... also O/S ? file core ? patch level wrt arpa transport, netwk patches etc ?
Michael Steele_2
Honored Contributor

Re: netstat command creates core file

Check your patches:

swlist -l fileset | grep -i netstat

Here are 'netstat' patches for 10.20:

http://www1.itrc.hp.com/service/patch/search.do

Here are 'netstat' patches for 11.00:

http://www1.itrc.hp.com/service/patch/search.do
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: netstat command creates core file

Those links may give you problems so here is how you find 'netstat' patches:

From the left margin on this page:

maintenance and support for hp products > individual patches > hp-ux > select O/S from drop down menu > enter 'netstat' into search data field > search
Support Fatherhood - Stop Family Law
T G Manikandan
Honored Contributor

Re: netstat command creates core file

Are you running as normal user?

If,
check the ulimit for the user!
Steven E. Protter
Exalted Contributor

Re: netstat command creates core file

The patches fix this problem on 11.00

Thats my experience.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com