Article

midsonm's picture
article
Reads:

4492

Score:
0
0
 
Comments:

0

Address is not well-formed during Conferencing Server installation

(View Disclaimer)

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....


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

© 2013 Novell