Back in the fray after a couple of weeks having to tend to other things.
When last I was trying to get OSCAR onto CentOS 5.2 (x86_64) I could
bootstrap successfully, and *almost* image a test node.

Wanting to try out developments since 25Feb, I stripped it all out, and
proceded forward as always, following http://svn.oscar.openclustergroup.org/trac/oscar/wiki/repoTesting

This time, the bootstrapping fails a short way in, apparently due to a typo in PackMan.pm (almost at first use of PackMan.pm after it's installed). Apparently an uninitialized variable. For completeness, here's the entire transcript.



[cut]

=============================================================================
== OSCAR bootstrap
=============================================================================

INFO: the /tftpboot/oscar/rhel-5-x86_64.url already exists, we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 923. INFO: the /tftpboot/distro/centos-5-x86_64.url file already exists, we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 965. Distro repository /tftpboot/oscar/rhel-5-x86_64 not found. Creating empty directory. at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 337. Commons repository /tftpboot/oscar/common-rpms not found. Creating empty directory.
mkdir /tftpboot/oscar/rhel-5-x86_64
mkdir /tftpboot/oscar/common-rpms
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * oscar: bear.csm.ornl.gov
 * base: www.muug.mb.ca
 * updates: www.muug.mb.ca
 * addons: www.muug.mb.ca
 * extras: www.muug.mb.ca
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package packman.noarch 0:3.1.7-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
packman noarch 3.1.7-1 oscar 29 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 29 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: packman                      ######################### [1/1]

Installed: packman.noarch 0:3.1.7-1
Complete!
Loading "fastestmirror" plugin
Cleaning up Everything
Cleaning up list of fastest mirrors
Loading "fastestmirror" plugin
Determining fastest mirrors
 * oscar: bear.csm.ornl.gov
 * base: mirror.csclub.uwaterloo.ca
 * updates: mirror.csclub.uwaterloo.ca
 * addons: mirror.csclub.uwaterloo.ca
 * extras: mirror.csclub.uwaterloo.ca
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package perl-IO-Tty.x86_64 0:1.02-4.oscar set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
perl-IO-Tty x86_64 1.02-4.oscar oscar 59 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 59 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: perl-IO-Tty                  ######################### [1/1]

Installed: perl-IO-Tty.x86_64 0:1.02-4.oscar
Complete!
Pools to prepare for distro centos-5-x86_64:
[ http://bear.csm.ornl. http://isoredirect.centos.org/centos/5/os/x86_64/ ]
Array: 2 element(s)
Preparing pools: http://bear.csm.ornl. http://isoredirect.centos.org/centos/5/os/x86_64/
Pool: http://bear.csm.ornl.
Pool: http://isoredirect.centos.org/centos/5/os/x86_64/
[ http://bear.csm.ornl. http://isoredirect.centos.org/centos/5/os/x86_64/ ]
Array: 2 element(s)
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackMan.pm line 242.
ERROR during execution 256
Use of uninitialized value in join or string at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackMan.pm line 632.
[r...@wulf ~]# ERROR: -1 error(s) occured for prereq dhcp(
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * oscar: bear.csm.ornl.gov
 * base: mirror.csclub.uwaterloo.ca
 * updates: mirror.csclub.uwaterloo.ca
 * addons: mirror.csclub.uwaterloo.ca
 * extras: mirror.csclub.uwaterloo.ca
Available Packages
Name   : dhcp
Arch   : x86_64
Epoch  : 12
Version: 3.0.5
Release: 13.el5
Size   : 890 k
Repo   : base
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent.
Description:
DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
individual devices on an IP network to get their own network
configuration information (IP address, subnetmask, broadcast address,
etc.) from a DHCP server. The overall purpose of DHCP is to make it
easier to administer a large network.  The dhcp package includes the
ISC DHCP service and relay agent.

To use DHCP on your network, install a DHCP service (or relay agent),
and on clients run a DHCP client daemon.  The dhcp package provides
the ISC DHCP service and relay agent.
) at /usr/bin/install_prereq line 81
main::handle_smart_pkgs(0, 'dhcp') called at /usr/bin/install_prereq line 401 main::install_prereq('centos', 5, 'x86_64', 'ARRAY(0x10803c10)', 'rpm') called at /usr/bin/install_prereq line 463
!!! ERROR: Some packages were NOT installed !!!
 at /usr/bin/install_prereq line 408
main::install_prereq('centos', 5, 'x86_64', 'ARRAY(0x10803c10)', 'rpm') called at /usr/bin/install_prereq line 463 ERROR: Impossible to install the prereqs at /usr/bin/install_prereq line 464. ERROR: impossible to install base ( /usr/bin/install_prereq --smart /usr/share/oscar/prereqs/base).
 at /usr/bin/oscar-config line 101
ERROR: impossible to install base prereqs (/usr/share/oscar/prereqs/base)
 at /usr/bin/oscar-config line 101
ERROR: Impossible to complete stage 2 of the bootstrap.
 at /usr/bin/oscar-config line 101
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 102
        main::bootstrap() called at /usr/bin/oscar-config line 351
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 352.

[dies]








On Thu, 19 Mar 2009 [email protected] wrote:

Same as usual: _please, run the command with the verbose option_ and send us 
the logs... the command tries to use rapt which is the backend for Debian, of 
course it  should not happen.

Thanks,

----- Mail Original -----
De: "VIGNESH PRABHU" <[email protected]>
À: [email protected], [email protected]
Envoyé: Jeudi 19 Mars 2009 06h38:11 GMT -05:00 USA/Canada - États de l'Est
Objet: [Oscar-users] Error in PackMan.pm line 463..


with constant guidence from Geoffroy, i have been able to make some progress in 
installing head node for Oscar cluster in my computer. however now i am facing 
the following problem. please let me know how to solve this problem



#oscar-config --bootstrap

============================================================================= == OSCAR bootstrap =============================================================================

Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/AppConfig): perl-AppConfig: already installed


INFO: the /tftpboot/oscar/rhel-5-i386.url already exists, we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 840. INFO: the /tftpboot/distro/centos-5-i386.url file already exists, we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 882. Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/packman): packman: already installed


Cleaning up Everything Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/yume): perl-IO-Tty: already installed python-urlgrabber: already installed python-elementtree: already installed yum: already installed createrepo: already installed yume: already installed


Pools to prepare for distro centos-5-i386: [ http://bear.csm.ornl.gov/repos/unstable/rhel-5-i386 http://isoredirect.centos.org/centos/5/os/i386/ ] Array: 2 element(s) Preparing pools: http://bear.csm.ornl.gov/repos/unstable/rhel-5-i386 http://isoredirect.centos.org/centos/5/os/i386/ Pool: http://bear.csm.ornl.gov/repos/unstable/rhel-5-i386 Pool: http://isoredirect.centos.org/centos/5/os/i386/ Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/ORM): orm: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/OSCAR-Database): oda: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/Selector): oscar-selector: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/Configurator): configurator: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/base): dhcp: already installed gd: already installed nfs-utils: already installed openssh: already installed openssh-clients: already installed openssh-server: already installed openssl: already installed tcpdump: already installed xinetd: already installed httpd: already installed php: already installed expat: already installed python: already installed zlib: already installed zlib-devel: already installed shadow-utils: already installed libcap: already installed ntp: already installed tftp-server.i?86: already removed lam: already removed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/perl-XML-Parser): perl-XML-Parser: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/perl-XML-Simple): perl-XML-Simple: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/perl-HTML-Tree): perl-HTML-Tree: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/perl-Tk): perl-Tk: already installed


Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/perl-Qt): perl-Qt: already installed


Initializing ODA: mysql Prereq status for centos, 5, i386 Prereqs status (/usr/share/oscar/prereqs/oda): mysql: already installed perl-DBD-MySQL: already installed perl-DBI: already installed mysql-server: already installed


Database Initialization

================================================================ Your MySQL has already setup the root password. To proceed, please enter your root password of MySQL: ================================================================

Database_status: 1

Successfully initialized ODA

Database Initialization

================================================================ Your MySQL has already setup the root password. To proceed, please enter your root password of MySQL: ================================================================

Database_status: 1 New interface: eth0

============================================================================= == Installing server core packages =============================================================================

Preparing pools: http://isoredirect.centos.org/centos/5/os/i386/ http://bear.csm.ornl.gov/repos/unstable/rhel-5-i386 Pool: http://isoredirect.centos.org/centos/5/os/i386/ Pool: http://bear.csm.ornl.gov/repos/unstable/rhel-5-i386 Need to install the following packages: opkg-yume-server.noarch Can't exec "/usr/bin/rapt": No such file or directory at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackMan.pm line 463. Error occured during smart_install (-1): at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Bootstrap.pm line 264 Can't exec "/usr/bin/rapt": No such file or directory at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackMan.pm line 463. Error occured during smart_install (-1): at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/Bootstrap.pm line 264


--
www.lug.nitdgp.ac.in

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

======================================================================
Christopher C Stevenson,  C4063                 office: (709) 737-2624
Dept. of Physics & Physical Oceanography        fax:    (709) 737-8739
Memorial University of Newfoundland St. John's, NL, CANADA A1B 3X7
URL: http://www.physics.mun.ca/~csteven
======================================================================
"We are all in the gutter,
but some of us are looking at the stars." - Oscar Wilde
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to