Operating System - HP-UX
1753776 Members
7358 Online
108799 Solutions
New Discussion юеВ

ifconfig: socket: Host is down

 
Wilder Mellotto
Frequent Advisor

ifconfig: socket: Host is down

Hi, I have a problem with a HPUX 11.31 (rp4440).

I rebooted the server, and the message above appears:

ifconfig: socket: Host is down

I cant execute the /sbin/init.d/net start or ifconfig lan0 up

I don't have any clue to solve this problem, can anyone help me?
12 REPLIES 12
Jupinder Bedi
Respected Contributor

Re: ifconfig: socket: Host is down

is the host still down or UP . if it is up you can check your lan cable if it is properly connected or not and also check your cable on the switch side as well.

if still you are facing the same prob than change you lan cable and try .

if agani you are facing the same issue send me the output of

/etc/rc.config.d/netconf

lanscan

netstat -in

Good Luck
All things excellent are as difficult as they are rare
smatador
Honored Contributor

Re: ifconfig: socket: Host is down

Hi,
Do you see lan0 with lanscan?
what is the output of ioscan -fnkC lan?
HTH
Matti_Kurkela
Honored Contributor

Re: ifconfig: socket: Host is down

What is displayed if you run "lanscan"?

What is displayed if you run "ifconfig lan0"?

Try "ifconfig lan0 plumb" first, then "ifconfig lan0 ". Does it work any better?

Look at /etc/rc.log. There might be other error messages related to this problem.

If you have a typo in your /etc/rc.config.d/* files, you may get a *lot* of error messages in /etc/rc.log. In that case, don't panic: just look at the first error message, find the typo, fix it and test again.

Sometimes missing a quote character or something like that can throw off the entire /etc/rc.config.d/* processing, causing a cascade of error messages. Fixing the typo that caused it makes all fine again.

MK
MK
Wilder Mellotto
Frequent Advisor

Re: ifconfig: socket: Host is down

Thanks a lot for all responses. I attached some outputs.

The server is down. I rebooted for a Timezone maintenence and this problem occurs. I tried runnng ifconfig in single user mode, but the same error occurs.

Jupinder Bedi
Respected Contributor

Re: ifconfig: socket: Host is down

have you checked your network connectivity ? have you ever changed any kernel paramters in between you last reboot ann this reboot . also please provide us the coppy of /etc/rc.config.d/netconf
All things excellent are as difficult as they are rare
Wilder Mellotto
Frequent Advisor

Re: ifconfig: socket: Host is down

Now I can give some mor information, I checked my rc.log, please check this error:

Configure Loopback interfaces (lo0)
Output from "/sbin/rc2.d/S008net.init start":
----------------------------
Boot time cleanup of /etc/ifconfig.muxids completed.
fopen: No such file or directory
/usr/bin/autopush: Can't open file: -
Errno 2: No such file or directory
ERROR: lo0 interface: ifconfig: socket: Host is down
sockfd error: : Host is down
ERROR: Failed to set ndd tunable parameters
ERROR: lo0 interface: ifconfig: IPv6 software has not been installed
"/sbin/rc2.d/S008net.init start" FAILED

I go to the script and the script call this command:

# /usr/bin/autopush -g -M 63 -m 0
/usr/bin/autopush: Device (63,0) not configured for autopush

My netconf is attached
Dennis Handly
Acclaimed Contributor

Re: ifconfig: socket: Host is down

>I rebooted for a Timezone maintenance

What needed that and why?
Wilder Mellotto
Frequent Advisor

Re: ifconfig: socket: Host is down

To change my timezone. I add a new entry in /etc/TIMEZONE and /usr/lib/tztab.
Dennis Handly
Acclaimed Contributor

Re: ifconfig: socket: Host is down

>I add a new entry in /etc/TIMEZONE and /usr/lib/tztab.

The former may need a reboot but the latter doesn't.
Did you add a custom entry in tztab(4)?