Bug in util/utilfunc.sh on binary M2

Ask questions about your setup or get help installing ZCS server (ZD section below).
rodrigoccurvo
Posts: 40
Joined: Fri Sep 12, 2014 9:55 pm

Bug in util/utilfunc.sh on binary M2

Postby rodrigoccurvo » Thu Dec 15, 2005 6:16 am

Hi,
The util/utilfunc.sh has a bug, when it tries to parse the /etc/hosts to verify the format



in the lines 229 and 230:
if ! cat /etc/hosts |

230 perl -ne 'if (/^s*d+.d+.d+.d+s+(S+)/ && !/^s*127.0.0.1/) { my @foo = split (/./,$1); if ($#foo == "0") {exit 11;} }';
Of course it can't guess (well, maybe it can) which one of /etc/hosts is my ip/hostname. Well I had my hosts like:
127.0.0.1 localhost.localdomain localhost

10.0.0.1 my.fully.qualified.name my # this is my ip

10.0.0.2 machinesimplename #this is another machine

10.0.0.3 machinesimplename2 #this is another machine

123.123.123.123 machinesimplename3 #this is another machine
My IP does have the fully qualified name, but the other ones don't. Zimbra doesn't need them for anything, but kept complaining until I write (fake!) full hostname to everyone.


rodrigoccurvo
Posts: 40
Joined: Fri Sep 12, 2014 9:55 pm

Bug in util/utilfunc.sh on binary M2

Postby rodrigoccurvo » Thu Dec 15, 2005 6:35 am

Forgot to say... I was trying to run install.sh...

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests