Operating System - HP-UX
1827713 Members
2662 Online
109967 Solutions
New Discussion

Re: ifconfig : socket: operation not supported

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

ifconfig : socket: operation not supported

After a server crash (due to power failure)
the lan cards cannot be initialized.
lanscan sees the lan cards but ifconfig gives the error

ifconfig: socket: operation not supported

This is for all network cards.


Any ideas ??
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
13 REPLIES 13
Fred Ruffet
Honored Contributor
Solution

Re: ifconfig : socket: operation not supported

HI !

From ifconfig man page : "Messages indicate if the specified interface does not exist, the requested address is unknown, or the user is not privileged and tried to alter an interface's configuration."

In your case, it seems that the 3rd is the more likely to match the problem. If your system crashes, it may have leave files (sockets ?) that you don't have right on.

Maybe you could get $? after ifconfig completion.

Regards,

Fred



--

"Reality is just a point of view." (P. K. D.)
Fabio Ettore
Honored Contributor

Re: ifconfig : socket: operation not supported

Hi Rainer,

what is the exact ifconfig command that you launched?

Best regards,
Fabio
WISH? IMPROVEMENT!
Rainer von Bongartz
Honored Contributor

Re: ifconfig : socket: operation not supported

Fabio:

even the sinple form

ifconfig lan0
or
ifconfig lan1

produces

ifconfig : socket: operation not supported

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Fred Ruffet
Honored Contributor

Re: ifconfig : socket: operation not supported

What is the output from lanscan ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Rainer von Bongartz
Honored Contributor

Re: ifconfig : socket: operation not supported

lanscan looks pretty good, displaying
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
10/4/16.1 0x080009305C38 1 UP lan1 snap1 1 ETHER Yes 119
10/12/6 0x080009E31A53 0 UP lan0 snap0 2 ETHER Yes 119


landiag also shows no problems

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Bharat Katkar
Honored Contributor

Re: ifconfig : socket: operation not supported

What does
# ioscan -fnC lan
Says.. Does it shows the Claimed status.. proper driver loaded .. H/w State .. ??

Regards,
You need to know a lot to actually know how little you know
Rainer von Bongartz
Honored Contributor

Re: ifconfig : socket: operation not supported

lanscan -fnC lan:

Hardware is claimed, State is up driver is correct and devices files (/dev/ether* , /dev/lan*) exist

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Bharat Katkar
Honored Contributor

Re: ifconfig : socket: operation not supported

Hi,
See if this works

# ifconfig lan0 plumb
# ifconfig lan0

Regards,
You need to know a lot to actually know how little you know
Rainer von Bongartz
Honored Contributor

Re: ifconfig : socket: operation not supported

Got it:

ifconfig : socket: operation not supported
is an alias for
/tmp file system full !!!!!!!!!!!!!!!!!

Due to the crash a dump file was writte to /tmp which filled the files system 100 %.

Obviously ifconfig need some disk space in /tmp to work.

After removing the crash dump and so freeing space in /tmp ifconfig worked

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Fred Ruffet
Honored Contributor

Re: ifconfig : socket: operation not supported

It's maybe time to create /var/adm/crash :)

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Rainer von Bongartz
Honored Contributor

Re: ifconfig : socket: operation not supported

Agreed.....

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Clif Smith
New Member

Re: ifconfig : socket: operation not supported

I'm having a very similar issue, but disk space is fine. I've done a clean install of 11i on 2 A500's, but the system never lights up the port (I can see this via the network switch console). PLEASE HELP!

# ifconfig lan0
ifconfig: socket: Operation not supported

# ioscan
H/W Path Class Description
=========================================
root
0 ioa System Bus Adapter (582)
0/0 ba Local PCI Bus Adapter (782)
0/0/0/0 lan HP PCI 10/100Base-TX Core


# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E26118C 0 UP lan0 snap0 1 ETHER Yes 119

Thanks, Clif
Clif Smith
New Member

Re: ifconfig : socket: operation not supported

Also, sam tells me:
There are currently no network interface cards installed on this system.