Hi Oscars, I am trying to install oscar 5.1b2 on Scientific linux 5.1 (a RHEL 5 respin).Current system is a PIII900MHz/768Mb.
I have got the common repo, and the rhel5 tarballs down, and got them in. I have also copied all the SL5.1 binary rpms to /tftpboot/distros/scientific_linux-5-i386. At 5Gb or so its a lot. My real interest is in diskless clusters, as I am trying to make a 24 or 32 node cluster on zero budget, with donated machiness, on restricted power supplies. I have the thin-oscr tarball, but obviously need an oscar installation to mangle first. By the way... I found a bug in one of the config files to do with urlgrabber (I think its a bug) Here is the script output.........................************** Script started on Thu 24 Apr 2008 02:36:56 PM BST [EMAIL PROTECTED] oscar]# env OSCAR_VERBOSE=3 ./install_cluster eth1 --> Setting env variable OSCAR_UI to gui Checking your system... Success: debrepo-check.pl Success: display-check.pl Success: selinux-check.pl ---------------------------------------------------- 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: su-check.pl Success: tftpboot-check.pl Success: ssh-check.pl System checked ============================================================================= == Running OSCAR install_cluster script Thu Apr 24 14:37:33 BST 2008 ============================================================================= --> Checking if this is a supported platform --> Running: "cd /opt/oscar/scripts && ./wizard_prep" ============================================================================= == Running OSCAR wizard_prep script ============================================================================= Available Distro Pools: $VAR1 = 'scientific_linux-5-i386'; $VAR2 = { 'url' => '/tftpboot/distro/scientific_linux-5-i386.url', 'oscar_repo' => 'file:/tftpboot/oscar/rhel-5-i386,file:/tftpboot/oscar/common-rpms', 'distro_repo' => 'file:/tftpboot/distro/scientific_linux-5-i386', 'os' => { 'compat_distro' => 'rhel', 'compat_distrover' => '5', 'distro' => 'scientific_linux', 'pkg' => 'rpm', 'arch' => 'i386', 'distro_version' => '5' } }; --> Bootstrapping OSCAR smart package manager OSCAR pkg path: file:/tftpboot/oscar/rhel-5-i386,file:/tftpboot/oscar/common-rpms Distro pkg path: file:/tftpboot/distro/scientific_linux-5-i386 Prereq paths: /opt/oscar/packages/yume,/opt/oscar/share/prereqs/packman found matching block [scientific.*:.*:.*] found matching block [.*:.*:.*] Following packages will be removed: Following packages will be installed: perl-IO-Tty urlgrabber python-elementtree yum createrepo yume packman-depman packman-depman-rpms Following shell commands will be executed: Executing: rpm -q perl-IO-Tty >/dev/null 2>&1 Executing: rpm -q urlgrabber >/dev/null 2>&1 globstring: /opt/oscar/packages/*/distro/{common-rpms,rhel5-i386}/urlgrabber*{i?86,noarch,all}.rpm /opt/oscar/share/prereqs/*/distro/{common-rpms,rhel5-i386}/urlgrabber*{i?86,noarch,all}.rpm /tftpboot/oscar/rhel-5-i386/urlgrabber*{i?86,noarch,all}.rpm /tftpboot/oscar/common-rpms/urlgrabber*{i?86,noarch,all}.rpm /tftpboot/distro/scientific_linux-5-i386/urlgrabber*{i?86,noarch,all}.rpm locate_pkg glob result: WARNING: Could not locate package urlgrabber <<<<<<<<<<<<<<<<<<PROBLEM Executing: rpm -q python-elementtree >/dev/null 2>&1 Executing: rpm -q yum >/dev/null 2>&1 Executing: rpm -q createrepo >/dev/null 2>&1 Executing: rpm -q yume >/dev/null 2>&1 Executing: rpm -q packman-depman >/dev/null 2>&1 Executing: rpm -q packman-depman-rpms >/dev/null 2>&1 Executing: rpm -q perl-IO-Tty >/dev/null 2>&1 Executing: rpm -q urlgrabber >/dev/null 2>&1 WARNING: Package urlgrabber was not installed! Executing: rpm -q python-elementtree >/dev/null 2>&1 Executing: rpm -q yum >/dev/null 2>&1 Executing: rpm -q createrepo >/dev/null 2>&1 Executing: rpm -q yume >/dev/null 2>&1 Executing: rpm -q packman-depman >/dev/null 2>&1 Executing: rpm -q packman-depman-rpms >/dev/null 2>&1 !!! Some packages were NOT installed !!! Could not bootstrap smart package manager! [EMAIL PROTECTED] oscar]# Oscar Wizard preparation script failed to complete at ./install_cluster line 275. [EMAIL PROTECTED] oscar]# exit exit Script done on Thu 24 Apr 2008 02:37:45 PM BST So from /opt/oscar I looked with a: find . -type f -exec grep -H urlgrabber {} \; to find which file had a naked 'urlgrabber' line, but not a 'python-urlgrabber' stanza. I had figured out that while scientific linux has a package called urlgrabber, Oscar uses python-urlgrabber. I found the scientific linux stanza in /opt/oscar/packages/yume/prereq.cfg [scientific*:*:*] perl-IO-Tty python-urlgrabber << this WAS just 'urlgrabber' python-elementtree yum createrepo yume and changed urlgrabber to python-urlgrabber. This enabled me to go further... I now get the error message: [EMAIL PROTECTED] oscar]# ./install_cluster --cli eth1 --> Setting env variable OSCAR_UI to cli Checking your system... Success: debrepo-check.pl Success: display-check.pl Success: selinux-check.pl ---------------------------------------------------- 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: su-check.pl Success: tftpboot-check.pl Success: ssh-check.pl System checked ============================================================================= == Running OSCAR install_cluster script Thu Apr 24 22:05:18 BST 2008 ============================================================================= --> Checking if this is a supported platform --> Running: "cd /opt/oscar/scripts && ./wizard_prep" ============================================================================= == Running OSCAR wizard_prep script ============================================================================= Available Distro Pools: $VAR1 = 'scientific_linux-5-i386'; $VAR2 = { 'url' => '/tftpboot/distro/scientific_linux-5-i386.url', 'oscar_repo' => 'file:/tftpboot/oscar/rhel-5-i386,file:/tftpboot/oscar/common-rpms', 'distro_repo' => 'file:/tftpboot/distro/scientific_linux-5-i386', 'os' => { 'compat_distro' => 'rhel', 'compat_distrover' => '5', 'distro' => 'scientific_linux', 'pkg' => 'rpm', 'arch' => 'i386', 'distro_version' => '5' } }; --> Bootstrapping OSCAR smart package manager OSCAR pkg path: file:/tftpboot/oscar/rhel-5-i386,file:/tftpboot/oscar/common-rpms Distro pkg path: file:/tftpboot/distro/scientific_linux-5-i386 Prereq paths: /opt/oscar/packages/yume,/opt/oscar/share/prereqs/packman found matching block [scientific.*:.*:.*] found matching block [.*:.*:.*] Following packages will be removed: Following packages will be installed: perl-IO-Tty python-urlgrabber python-elementtree yum createrepo yume packman-depman packman-depman-rpms Following shell commands will be executed: Executing: rpm -q perl-IO-Tty >/dev/null 2>&1 Executing: rpm -q python-urlgrabber >/dev/null 2>&1 Executing: rpm -q python-elementtree >/dev/null 2>&1 Executing: rpm -q yum >/dev/null 2>&1 Executing: rpm -q createrepo >/dev/null 2>&1 Executing: rpm -q yume >/dev/null 2>&1 Executing: rpm -q packman-depman >/dev/null 2>&1 Executing: rpm -q packman-depman-rpms >/dev/null 2>&1 Executing: rpm -q perl-IO-Tty >/dev/null 2>&1 Executing: rpm -q python-urlgrabber >/dev/null 2>&1 Executing: rpm -q python-elementtree >/dev/null 2>&1 Executing: rpm -q yum >/dev/null 2>&1 Executing: rpm -q createrepo >/dev/null 2>&1 Executing: rpm -q yume >/dev/null 2>&1 Executing: rpm -q packman-depman >/dev/null 2>&1 Executing: rpm -q packman-depman-rpms >/dev/null 2>&1 ERROR: Impossible to detect the distro associated to the <<<<<<<<<HELP!!!!!! pool /tftpboot/distro/scientific_linux-5-i386 at /opt/oscar/lib/OSCAR/PackageSmart.pm line 138. eval require PackageSmart returned Bad file descriptor --> Checking OSCAR repositories existence. Preparing pools: /tftpboot/distro/scientific_linux-5-i386 Analysing /tftpboot/distro/scientific_linux-5-i386 /tftpboot/distro/scientific_linux-5-i386 is a local pool (debian|fc|fedora| mdv|rhel|suse|redhat|yellowdog|ydl, rpms|debs) Oscar Wizard preparation script failed to complete at ./install_cluster line 275. And here I am STUCK!!! Any answers - gratefully received. Chhers, and Thanks, JAmes Albinson ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users