Unsolved

This post is more than 5 years old

26 Posts

966

October 28th, 2009 23:00

client host name lenght question

I have install new backup environment, all host name was setup at 10 characters, include networker server. I wonder when I try to create client it's complain the hostname is invalid. I have to use alias name that's 8 character length or put "_backup" (tha'ts longer than 8 char but it work!.

My question is why host name such as "hoecmcnts1" is invalid but "hoecmcnts1_backup" is valid! and What difference between them in term of NetWorker.

My NetWorker is 7.5.1. running on Solaris 10. Client are both Solaris 10 and Windows 2003.

Message was edited by:
Kawin Treesuwan

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

October 30th, 2009 05:00

The problem is that hostname you entered could not be resolved and thus it failed. Since you can see that it works for names with 8+ I believe your problem is not number of characters, but the simple fact that hostname can't be resolved.

Nevertheless, it is bad practice to name hosts with 8+ccharacters. You have uname which has 8 characters limit, hostname is 64 (at least HPUX) and nodename I guess the same. However, most applications are still coded to understand or use calls which relay on 8 character limit.

2 Intern

 • 

150 Posts

October 30th, 2009 05:00

Hi Crvelin,

I had a similar issue. I was able to do nslookup the client machine from server but not able to add the client in networker. When I put the entry in host file I was able to create the client with the same hostname.

But I do not know why it happened.

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

October 30th, 2009 07:00

Could be something broken with bind() on that system. For example, I have an issue on linux platform where nslookup works, but ping does not and this is because cashing daemon has the issue with it. Same system calls used by casing daemon are used by NW so if you have strong auth on client running it will fail. There are several workaround, but the point here is that different system calls/libraries are used when using to read /etc/hosts and to get info via calls used by nslookup. You saw that on your example and I know on issue which I had. So, everything I said before still applies.

2 Intern

 • 

150 Posts

October 30th, 2009 08:00

Thanks Crveline.

0 events found

No Events found!

Top