- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ifconfig : socket : Operation not supported
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 01:57 AM
тАО05-04-2005 01:57 AM
e.g. lanscan, linkloop, lanadmin, netstat work, but ifconfig, ping don't work.
I've tried deleting and recreating the whole of /dev to no avail.
I've run SAM against the running kernel and all the subsystems seem OK, the kernel appears to support networking.
I've checked /usr /var /sbin and /etc (well recovered them off backup actually).
Any other ideas? (It's not a hardware issue BTW).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:02 AM
тАО05-04-2005 02:02 AM
Re: ifconfig : socket : Operation not supported
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:02 AM
тАО05-04-2005 02:02 AM
Re: ifconfig : socket : Operation not supported
Make sure netfilter firewall isn't running.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:07 AM
тАО05-04-2005 02:07 AM
Re: ifconfig : socket : Operation not supported
SEP - What do you mean by restart the network?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:22 AM
тАО05-04-2005 02:22 AM
Re: ifconfig : socket : Operation not supported
Does lanscan show all nics??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:26 AM
тАО05-04-2005 02:26 AM
Re: ifconfig : socket : Operation not supported
/sbin/init.d/net start
That resets the network.
Sorry for not provideing the detail. This sometimes clears this issue.
Also, go to the sd/ux database and install every network patch thats two or three stars with deps. This sometimes helps with this issue. Original suggestion is probably more practical.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:30 AM
тАО05-04-2005 02:30 AM
Re: ifconfig : socket : Operation not supported
lanscan shows all NICs (there is only one)
Hardware Path = 10/0/12/0 = correct
Station Address is correct
Crd Instance = 0 = correct
Hdw State = UP = correct
Net-Interface/NamePPa = lan0 snap0 = correct
NMId = 1 = correct
MAC/Type = ETHER = correct
HP-DLPI Support = Yes = correct
DLPI Mjr# = 119 = correct
SAM seems happy except when it tries to run
/usr/sam/lbin/laninfo
which also gets the socket error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:34 AM
тАО05-04-2005 02:34 AM
Re: ifconfig : socket : Operation not supported
# /sbin/init.d/net stop
# /sbin/init.d/net start
ERROR: lan0 interface: ifconfig: socket: Operation not supported
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad [sic] after the interface is up:
add net default: gateway X.X.X.X: Network is unreachable.
BTW O/S is hpux 11.11 on a B1000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:46 AM
тАО05-04-2005 02:46 AM
Re: ifconfig : socket : Operation not supported
Check if you have all the above or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:54 AM
тАО05-04-2005 02:54 AM
Re: ifconfig : socket : Operation not supported
I am trying to run (logged in as root)
# ifconfig lan0
I have
crw-rw-rw- 1 bin bin 14 0x000000 /dev/lan0
crw-rw-rw- 1 bin bin 14 0x000001 /dev/ether0
crw-rw-rw- 1 bin bin 14 0x000080 /dev/diag/lan0
ioscan -Clan -fn gives
lan 0 10/0/12/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core
/dev/diag/lan0 /dev/ether0 /dev/lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 02:57 AM
тАО05-04-2005 02:57 AM
Re: ifconfig : socket : Operation not supported
reset lan
lanadmin and display
is operational status up??
Is /etc/rc.config.d/hpbtlanconf file OK??
And last but not least, network patches.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 03:02 AM
тАО05-04-2005 03:02 AM
Re: ifconfig : socket : Operation not supported
landamin -> lan -> reset
lanadmin -> lan -> display
Administration Status (value) = up(1)
Operation Status (value) = down(2)
Take your pick as to whether it is up or down!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 03:03 AM
тАО05-04-2005 03:03 AM
Re: ifconfig : socket : Operation not supported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 03:05 AM
тАО05-04-2005 03:05 AM
Re: ifconfig : socket : Operation not supported
Operation Status (value) = up(2)
I guess it's finished its self-test then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 03:31 AM
тАО05-04-2005 03:31 AM
Re: ifconfig : socket : Operation not supported
I ran SAM and looked at subsystems and they all seemed to be configured in OK.
CD-ROM/9000 In/In
DLPI/9000 In/In
FCT1 FCMS In/In
LAN/9000 In/In
NFS/9000 In/In
SIO DIAGNOSTIC SUBSYSTEM Out/Out
STREAMS/9000 In/In
WSIO DIAGNOSTIC SUBSYSTEM In/In
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 05:24 PM
тАО05-04-2005 05:24 PM
Re: ifconfig : socket : Operation not supported
Question, What does the loopback interface look like?
Netstat -in should list both the lan0 interface and the loopback.
Netstat -rn would also help in looking at what could be wrong on the system.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 06:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 09:41 PM
тАО05-04-2005 09:41 PM
Re: ifconfig : socket : Operation not supported
What needed to be done was
autopush -f /tmp/stcp.conf
where /tmp/stcp.conf contained
-----------------------
tcp -1 0 tcpm
udp -1 0 udpm
rawip -1 0 rawipm
arp -1 0 arpm
-----------------------