1834785 Members
2569 Online
110070 Solutions
New Discussion

unknown hostname

 
Terry Gibbar
Advisor

unknown hostname

I recently upgraded to 11.0 and now I'm having problems getting the server on the network. The server keeps rebooting and coming up with an "unknown" hostname / uname. Any ideas?

Thanks,
Terry
Inside Pitch, Gone.
8 REPLIES 8
Victor BERRIDGE
Honored Contributor

Re: unknown hostname

Hi,
Use set_parms to give your host a name, IP etc...

Else
Have a look in you have no problems with /etc/rc.config.d/netconf

Good luck
Victor
Kofi ARTHIABAH
Honored Contributor

Re: unknown hostname

Terry, In addition to Victor's suggestions - can you verify that your hostname is not longer than 8 chars and does not contain any "special characters"?

good luck.
nothing wrong with me that a few lines of code cannot fix!
Terry Gibbar
Advisor

Re: unknown hostname

I have tried all of the suggestions and I'm still having the same problem. The /etc/rc.config.d/netconf was copied over from the 10.20 copy. I've reset the hostname with hostname omhq1378 and the uname with uname -S omhq1378. I've also used set_parms to set the hostname. A lanscan shows the ethernet card on lan3, but if I issue ifconfig lan3, I receive no such interface. Also, a netstat -i is not showing lan3. The gated daemon will not start either. I'm thinking I have a corrupted file, but I have no idea which one it would be.

Please help,
Terry
Inside Pitch, Gone.
Brenda McLaren
Occasional Advisor

Re: unknown hostname

Terry,

I ran into a similar problem and found that the drivers for my 100BT ethernet card did not load with the initial install. I had to configure the 10BT card first, bring it up and then load the 100BT drivers. Once the drivers were loaded I could configure the correct card for the network. All the while I was working through this I kept getting messages that the node couldn't resolve it's hostname. Don't know if this is your problem but thought just maybe.

Regards,
Brenda
Darrel Louis
Honored Contributor

Re: unknown hostname

Hi,

When you run netstat -rn, do you see the ip-address of the server, default etc.
Did you check your /etc/rc.log file for error messages.

Some other things to check:
- ioscan -fn
Does it show unclaimed devices.
- swlist -l fileset -a state, check for installed state. Run swconfig \*, if this is the case.
- Any error messages in the syslog.log file.
- Check the /etc/hosts file.
- Is the ip-address reachable from another server: ping 10.10.10.10

Darrel
Victor BERRIDGE
Honored Contributor

Re: unknown hostname

Try and test lan3 then:
ifconfig lan3 down

ifconfig lan3 inet netmask up

verify, netstat -r

route add default 1
netstat -r

What does it give?
Tom Danzig
Honored Contributor

Re: unknown hostname

Make sure you have an entry in the /etc/hosts file for your server.

Curtis Larson
Trusted Contributor

Re: unknown hostname

How is DNS setup?
check /etc/resolv.conf and /etc/nsswitch.conf for proper entries. And, of course, is your ip address and host name been added to the DNS server (nslookup).