Cool Solutions

Address is not well-formed during Conferencing Server installation


April 9, 2008 7:27 am





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:

!!!!! is not well-formed

After a fair bit of head scratching, we determined that the 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 script that is in the same location you run from. EG. sitescape-conferencing directory.

Within, 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

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

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.

Categories: Uncategorized


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.