I get "/sbin/dhcpinfo: connect: connection refused" during my bootup
I get "/sbin/dhcpinfo: connect: connection refused" during my bootup
I donot use dhcp as the system is attached to another sun server that needs static ip addresses.This message that I get was not present until I installed the Solaris 8 Recommended patches. I had first used Solaris 8 0202. Then when I switched to Solaris 8 0204 the message was there even though I had stipulated that I was not using dhcp. It does not seem to degrade system performance at all and the system seems to perform to specifications.
I just don't like to have extraneous messages show up on the screen that I don't about. Can you help me get rid of these mesages. By the way, they appear 5 times, the same message.
ThankYou, Mike Davies
[742 byte] By [
mndavies] at [2007-11-26 10:39:27]

# 1
Please run:# for i in /etc/hostname.* ; do echo "==$i" ; cat $i ; done-- Darren
# 2
Ok, what did I just do?3 ScotlandSIM5 root:/> sh# for i in /etc/hostname.* ; do echo "==$i" ; cat $i ; done==/etc/hostname.eri0ScotlandSIM5==/etc/hostname.eri1avp-ipx# cd /etc# more hostname.eri0ScotlandSIM5#
# 3
Hi just in case, here is what the bootup looks like:
ok boot
Boot devices: disk:a File and args:
SunOS Release 5.8 Version Generic_117350-41 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
configuring Ipv4 interfaces: eri0 eri1
Hostname: ScotlandSIM5
The system is coming up.Please wait.
checking ufs filesystems
/dev/rdsk/c1t0d0s5: is clean
/dev/rdsk/c1t0d0s7: is clean
/sbin/dhcpinfo: connect: connection refused
add net default: gateway 172.26.129.1
/sbin/dhcpinfo: connect: connection refused
starting rpc services: rpcbind done.
setting netmask of eri0 to 255.255.255.0
/sbin/dhcpinfo: connect: connection refused
/sbin/dhcpinfo: connect: connection refused
/sbin/dhcpinfo: connect: connection refused
setting default interface for multicast: add net 224.0.0.0: gateway ScotlandSIM5
syslog service starting.
print services starting.
volume management starting.
The system is ready.
ScotlandSIM5 console login:
# 4
> Ok, what did I just do?
You just displayed all the interface configuration files and their contents.
> ==/etc/hostname.eri0
> ScotlandSIM5
> ==/etc/hostname.eri1
> avp-ipx
Which (for better or worse) look reasonable. Nothing there that looks to me like it would contribute.
How about the output of '/sbin/netstrategy'?
# 5
Here is the output of netstrategy, I believe everything is correct.6 ScotlandSIM5 root:/sbin> netstrategyufs eri0 none
# 6
Here is a funny thing, I have 3 Ultra5's (IIi) running Solaris8 and they have the same /sbin/dhcpinfo: connect: connection refused when they bootup, as does my sparc5 and the PDSi box running a sparc IIe and Solaris8.
The PDSi runs the sun chip set and all. It runs the up to date OpenBoot eeprom and the Ultra's are 3.31 which is up to date. Here is the funny part, My E250 runs Solaris8 and up to date OpenBoot 3.30 and it does not have the problem when it boots up......go figure!All of the units have the latest Solaris8 Recommended Patches. I have an old sparc20, guess I could turn it on and see what it does.
Thanks, Mike
# 7
Do you have a DHCP server on the same subnet ?Perhaps your computers are telling you they rejected a DHCP assignment.
# 8
I thought that could be the problem.
But I shutdown the system and disconnected both network connections to eri0 and eri1.
I then booted the system back up....same thing made no difference.
I shut it down again and booted (cold boot) the system, same.
Is there something else I may have to change while the system is disconnected from the network?
What I can't understand is why did the system only start doing this after I installed the Solaris8 Recommended Patches.
Thanks, Mike
# 9
It looks to me like this is coming from the /etc/rc2.d/S69inet script.
The script I has checks netstrategy to set some variables, then if the variable has set dhcp, runs dhcpinfo. Either you have a different script than I do (perhaps part of a bad patch), the variable is set wrong, or something around there is happening.
Things I would try.
#1. Make a backup of the S69inet script. If something goes wrong you can replace it in single-user
#2. There's only one dhcpinfo spot in the script. I'd put some "echo" statements around it so that you can verify that line is responsible for at least one of the console messages (the first one I think).
#3. Reboot and check. I don't think you can run the script by hand to check this because /sbin/rc2 is setting the variable itself.
#4. If it is a problem, maybe echo the $_INIT_NET_STRATEGY variable. Is it 'none' as your netstrategy output suggests?
If that shows a problem, then I'd start looking at the logic in /sbin/rc2 where the variable is set, etc.
Good luck!
--
Darren
# 10
I started trying the things that you recommended and then I happen to notice that the files in rc2.d in my E-250 were newer than the files in my other systems. hum....now I was curious why this could have happened as I loaded the last system with the last released version of Solaris8 and newest Solaris8 Recommended Patches. I am still looking, but what I did do is ftp the whole rc2.d directory from my E250 to my other system. Besides the little tweaks and things I had to do like remove S00sunatm and other things, my system is now booting up with no extraneous messages. Thankyou so much! A fine learning experience for me!
When I find out what happened to my installations, I will get back to you. Another reason to configure my server for jumpstart, better get on that.