1827852 Members
1628 Online
109969 Solutions
New Discussion

problem with ifconfig

 
SOLVED
Go to solution
Leonard G
Frequent Advisor

problem with ifconfig

Hi all,

I have a 'K' class machine that was given to me recently for installing OVO. As I am new to HP UX, i am having a problem regarding the ip address.
Whenever I typr 'ifconfig' or 'ifconfig lan0' , it is giving a message called

"ifconfig:Socket:Operation not Supported"

Could anyone please help me out with this.

Thanks in advance,
Leo
15 REPLIES 15
Pete Randall
Outstanding Contributor

Re: problem with ifconfig

Could you post the output of "ioscan -fnClan", please?


Pete

Pete
Pete Randall
Outstanding Contributor

Re: problem with ifconfig

And "lanscan", too.


Pete

Pete
Uday_S_Ankolekar
Honored Contributor

Re: problem with ifconfig

Check if your /tmp directory is full
/sbin/init.d/net.init created a small file in /tmp before it starts.

delete few files in /tmp and then try ifconfig

Goodluck,

-USA..
Good Luck..
Jeff Schussele
Honored Contributor

Re: problem with ifconfig

Hi Leo,

What is the rest of the command?
Are you just looking for current config or are you trying to set something?
Need more info.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
HGN
Honored Contributor

Re: problem with ifconfig

Hi

Do a lanscan and from the output do a ifconfig lanx (x is the PPA).

Rgds

HGN
Leonard G
Frequent Advisor

Re: problem with ifconfig

Hi Pete,

Here is the output of ioscan -fnClan and lanscan.

I have attached the required document.
Regards
Leo

Leonard G
Frequent Advisor

Re: problem with ifconfig

Hi uday,

The server doesnt have a /tmp mounted. It has got only / and /stand.
Is this is a problem.

Regards,
Leo.
Uday_S_Ankolekar
Honored Contributor
Solution

Re: problem with ifconfig

/tmp is needed for many other stuff. Mount /tmp and run /sbin/init.d/net.init or just reboot.
Well, I am surprised to see just / and /stand mounted. Where are other essential directroies like /var /opt /usr etc?
Have you done the installation correctly?
What's the OS version you are working on ?

Beginning in HP-UX 11.23 the startup script will attempt to use
either /tmp or /var/tmp and will print an error message if the
temporary file cannot be created in either location.

-USA..
Good Luck..
Leonard G
Frequent Advisor

Re: problem with ifconfig

Hi Uday,

As I previously mentioned I got the server from some other team here. May be there was a separate disk array along with this server that had the /tmp /opt and the others mounted. The server has HP UX 11.11 installed. I better reinstall the OS then so that I get all the file systems.

Thanks a lot,
Leo.
sysadm_1
Valued Contributor

Re: problem with ifconfig

Hi Leonard,
This system may not have /tmp seperately mounted.If there is enough space in root and there is folder /tmp exists,then it will be fine.
Did you check "ifconfig lan1".since your lanscan does not show lan0.

cheers!!
sysadm
Leonard G
Frequent Advisor

Re: problem with ifconfig

hi sysadm,

/tmp does exist in /.
i tried even ifconfig lan1, it is also throwing up the same error.

regards,
Leo
Muthukumar_5
Honored Contributor

Re: problem with ifconfig

What is the file system statitics? Is it full?

# bdf

ifconfig will create a temporary file in /tmp. If it is full then you will face this problem.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: problem with ifconfig

Do like,

# sh -x /sbin/init.d/net.init stop
# sh -x /sbin/init.d/net.init start

what are you getting there?

Refer this thread as well:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=870504

--
Muthu
Easy to suggest when don't know about the problem!
Leonard G
Frequent Advisor

Re: problem with ifconfig

Thanks all of you for your valuable help in the issue. I have tried out all your solutions, yet i am not able to solve this issue ...

This might be beacuse i dont have the disk array that was connected to the server pior to this or due to someother issue.

since this is not a producton server, I am going ahead with the re-installation of the OS itself.

Thanks opnce again,
regards,
Leo
Leonard G
Frequent Advisor

Re: problem with ifconfig

This might be beacuse i dont have the disk array that was connected to the server pior to this or due to someother issue.

since this is not a producton server, I am going ahead with the re-installation of the OS itself.

thanks
Leo