Hi, When I installed the OSCAR in the CentOS 5.6 I obtained a similar error:
"Head private IP: Cannot update hosts without a valid ip. ERROR: Impossible to update the headnode NIC data at /usr/bin/oscar-config line 315" All was configured right. The IP address, hostname and others configurations. I noticed that the IP address don't was obtained. When I read the file "/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Network.pm" I found the following fragment code: open(IFCONFIG,"/sbin/ifconfig $interface |") or (carp("Couldn't run 'ifconfig $interface'"), return undef); while(<IFCONFIG>) { if(/^.*:($ipregex).*:($ipregex).*:($ipregex)\s*$/o) { ($ip, $broadcast, $net) = ($1,$2,$3); The output of the command "ifconfig" is: eth0 Link encap:Ethernet Endereço de HW 20:CF:30:60:24:A1 inet end.: 192.168.20.254 Bcast:192.168.20.255 Masc:255.255.255.0 UP BROADCASTMULTICAST MTU:1500 Métrica:1 Then, just I added one space in the line of the script: if(/^.*: ($ipregex).*:($ipregex).*:($ipregex)\s*$/o) ^ SPACE And the installation proceeded normally. I hope this may help you, Angelo C. R. 2012/8/2 <ri...@utfpr.edu.br>: > > Hi, > > Cluster information: > > - CentOS 5.3 > - OSCAR 6.1.1 > > - /etc/hosts > 127.0.0.1 localhost.localdomain localhost > 192.168.0.1 oscar.master oscar > > - hostname > oscar > > - system-sanity ok ... only warning > > Checking your system... > ---------------------------------------------------- > WARNING: oscar_server is not defined in /etc/hosts. > This may be normal if this is the first time you > execute OSCAR. > ---------------------------------------------------- > Warning: network-check.pl > Success: tftpboot-check.pl > Success: hostfile-check.pl > Success: selinux-check.pl > Success: ssh-check.pl > Success: yum-check.pl > Success: debrepo-check.pl > Success: su-check.pl > Success: display-check.pl > > > The error occurs in the final of script (oscar-config --bootstrap)... > > ============================================================================= > == Update NIC info (eth0) > ============================================================================= > > Cannot update hosts without a valid ip. > at /usr/bin/create_and_populate_basic_node_info line 145 > ERROR: Impossible to update the /etc/hosts file at > /usr/bin/create_and_populate_basic_node_info line 145 > ERROR: Impossible to store data about the head NIC used for cluster > deployment at /usr/bin/create_and_populate_basic_node_info line 146. > Head private IP: > ERROR: Impossible to execute > /usr/bin/create_and_populate_basic_node_info at /usr/bin/oscar-config > line 99 > ERROR: Impossible to install the server side of OSCAR > at /usr/bin/oscar-config line 99 > ERROR: Impossible to complete stage 2 of the bootstrap. > at /usr/bin/oscar-config line 99 > ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 100 > main::bootstrap() called at /usr/bin/oscar-config line 331 > ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 332. > > > Thanks regards, > Cassiano Rista > > ---------------------------------------------------------------- > Esta mensagem foi enviada pelo e-mail institucional da UTFPR. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Oscar-users mailing list > Oscar-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oscar-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users