Novell Cool Solutions

Address is not well-formed during Conferencing Server installation



By:

April 9, 2008 7:27 am

Reads:5,070

Comments:0

Score:Unrated

Print/PDF

Recently I had a need to install Conferencing in a network that had 255 in one of the network octets of the address, eg 10.255.254.X/24

The problem

During the install script, when attempting to enter addresses on this network, we kept getting messages similar to:

!!!!! 10.255.254.20 is not well-formed

After a fair bit of head scratching, we determined that the utils.sh script, used by the installation script, had a function validate_ip that did not like 255 in the address. (In most cases this would be correct)

The Fix

Simply modify the utils.sh script that is in the same location you run install.sh from. EG. sitescape-conferencing directory.

Within utils.sh, locate the function validate_ip (Around about line 864)
Locate the four lines that read

if [ ${comps[0]} -ge 0 -a ${comps[0]} -lt 255 ] &&
[ ${comps[0]} -ge 0 -a ${comps[0]} -lt 255 ] &&
[ ${comps[0]} -ge 0 -a ${comps[0]} -lt 255 ] &&
[ ${comps[0]} -ge 0 -a ${comps[0]} -lt 255 ] ; then
return 0
else

and change them to

if [ ${comps[0]} -ge 0 -a ${comps[0]} -lt 256 ] &&
[ ${comps[0]} -ge 0 -a ${comps[0]} -lt 256 ] &&
[ ${comps[0]} -ge 0 -a ${comps[0]} -lt 256 ] &&
[ ${comps[0]} -ge 0 -a ${comps[0]} -lt 256 ] ; then
return 0
else

You should then be able to use 255 in the network part, or host part if you really want 😉 of your conferencing server addresses during the install.

Have fun….

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS