Hi Henrique, Thanks - in fact, I must've reset my mysql root password (following http://www.tech-faq.com/reset-mysql-password.shtml, as it's been a while), just as you were writing your email below ;) Other than having to issue this password many times through the bootstrapping stage, I have now successfully completed bootstrapping OSCAR. But not successfully installing it (read on):
[cut] ============================================================================= == Installing server core packages ============================================================================= Identified core packages: yume sync-files switcher sis selinux sc3 rapt oda c3 base apitest[ yume sync-files switcher sis selinux sc3 rapt oda c3 base apitest ] Array: 11 element(s) Preparing pools: http://isoredirect.centos.org/centos/5/os/x86_64/ http://bear.csm.ornl.gov/repos/unstable/rhel-5-x86_64 Pool: http://isoredirect.centos.org/centos/5/os/x86_64/ Pool: http://bear.csm.ornl.gov/repos/unstable/rhel-5-x86_64 Need to install the following packages: opkg-yume-server.noarch, opkg-sync-files-server.noarch, opkg-switcher-server.noarch, opkg-sis-server.noarch, opkg-selinux-server.noarch, opkg-sc3-server.noarch, opkg-rapt-server.noarch, opkg-oda-server.noarch, opkg-c3-server.noarch, opkg-base-server.noarch, opkg-apitest-server.noarch Marking core packages as always selected... [r...@wulf yum.repos.d]# The next step is to run the system-sanity script. When I do, it tells me the usual things one does when installing 5.x (ensure gpgcheck=0 in /etc/yum.conf: [cut] ---------------------------------------------- ERROR: Yum configuration is invalid The gpgkey is set to 1, it will be impossible to install OSCAR packages. Please, set the gpgkey to 1 (/etc/yum.conf). ---------------------------------------------- [cut] (I think the script means to say "Please set to 0"?) and also to ensure root is permitted direct ssh login (that is, "PermitRootLogin yes" is uncommented in /etc/ssh/sshd_config). It also complains about the network setup (because I haven't edited my /etc/hosts file as per prescriptions for 5.x installs). I have two NICs, so I create separate lines for the public (eth0) and cluster (eth1) NICs, importantly separated from the 127.0.0.1 localh...@localdomain localhost line. All familiar things I was wondering if I had to still do for 6.0.x. Re-running "system-sanity", it still seems to think I'm not specifying any NIC at all, when eth1 is clearly there at the top of /etc/oscar/oscar.conf: [r...@wulf yum.repos.d]# !sys system-sanity Checking your system... Success: display-check.pl Success: tftpboot-check.pl Success: yum-check.pl Success: selinux-check.pl Success: su-check.pl Success: debrepo-check.pl ------------------------------------------------------ WARNING: A valid NIC must be specified for the cluster private network. Valid NICs: eth0, eth1 You tried to use: <None>. This may be normal if this is the first time you execute OSCAR. ------------------------------------------------------ Warning: network-check.pl Success: ssh-check.pl [r...@wulf yum.repos.d]# head -1 /etc/oscar/oscar.conf OSCAR_NETWORK_INTERFACE = eth1 It does say this is a warning, not an error. Is there somewhere else this gets specified? Finally.... after a few minutes of fruitlessly typing "oscar-wizard" as specified in the repoTesting instructions, and then searching through my filesystems looking for it (!), I quickly see that the command has an underscore, not a dash (e.g., "/usr/bin/oscar_wizard"). It did for 5.1rc1, too (when it lived in /opt/oscar/scripts), so my mistake, but you might want to tweak this part of the "Testing the development version" instructions, too ;) Running "oscar_wizard" fails instantly because SystemInstaller, isn't installed: [r...@wulf /]# oscar_wizard Can't locate SystemInstaller/Tk/Common.pm in @INC (@INC contains: /usr/lib/systemconfig /usr/lib/systeminstaller /usr/lib/systemimager/perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/AddNode.pm line 34. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/AddNode.pm line 34. Compilation failed in require at /usr/bin/oscar_wizard line 51. BEGIN failed--compilation aborted at /usr/bin/oscar_wizard line 51. [r...@wulf /]# A quick check indicates the Tk/Common.pm module isn't being found because that entire tree is missing. SO, "yum install systeminstaller" (which successfully grabs systeminstaller-oscar and five dependencies from the oscar repo: [cut] Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: systeminstaller-oscar noarch 2.3.9-2 oscar 93k Installing for dependencies: perl-FreezeThaw noarch 0.43-5.el5 oscar 17k perl-MLDBM noarch 2.01-2.2.el5.rf oscar 19k systemconfigurator noarch 2.2.11-1 oscar 86k systemimager-common noarch 4.0.2-1 oscar 47k systemimager-server noarch 4.0.2-1 oscar 418k Transaction Summary ============================================================================= Install 6 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 680 k Is this ok [y/N]: y Downloading Packages: (1/6): systeminstaller-os 100% |=========================| 93 kB 00:00 (2/6): systemconfigurator 100% |=========================| 86 kB 00:00 (3/6): systemimager-commo 100% |=========================| 47 kB 00:00 (4/6): perl-FreezeThaw-0. 100% |=========================| 17 kB 00:00 (5/6): systemimager-serve 100% |=========================| 418 kB 00:00 (6/6): perl-MLDBM-2.01-2. 100% |=========================| 19 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test [cut] These all install successfully. However, this still doesn't provide what oscar_wizard is looking for; precisely the same happens again when oscar_wizard is invoked again ("Can't locate SystemInstaller/Tk/Common.pm in @INC (@INC contains:....") Well, sort of: there is now a SystemInstaller under /usr/lib, but it lacks a Tk dir: [r...@wulf ~]# cd / [r...@wulf /]# !find find . -name SystemInstaller ./usr/lib/systeminstaller/SystemInstaller [r...@wulf /]# ls ./usr/lib/systeminstaller/SystemInstaller/Tk ls: ./usr/lib/systeminstaller/SystemInstaller/Tk: No such file or directory Perl-Tk.x86_64 is indeed installed (and from the oscar repo): [r...@wulf /]# yum list installed |grep Tk perl-Tk.x86_64 804.026-1.oscar installed ..........I'll wait for guidance at this point. Thanks, Chris On Fri, 16 Jan 2009, Henrique Baggio wrote: > Hi Chris > > On Fri, Jan 16, 2009 at 2:56 PM, Chris Stevenson <cste...@mun.ca> wrote: > >> Hi Geoffroy et al, >> >> You will be pleased (as I) to know that, following my own "less haste more >> speed" advice, I did an even more thorough "purge" of previous bootstrapping >> attempts, yum removal of everything installed during those, finishing with a >> "yum clean all" to wipe caches, etc, removal of the OSCAR repo file in >> /etc/yum.repos.d, removal of /etc/oscar and \tftpboot, and finally a "yum >> update" to update the OS. Having restored things back to >> "pre-OSCAR-anything", I carefully followed exactly, verbatim, what was in >> the "Testing the development version" section of repoTesting after your >> fixes (changing nothing manually)... and I got much further, into stage 2 of >> the bootstrap, when it hit a snag at perl-Tk, another "ERROR: Impossible to >> install" error, when the package is trivially installable after you drop to >> a shell and use the same repo oscar-config is using. I'll leave this to you. >> >> So, yumming perl-Tk (which draws it from the oscar repo) and re-running the >> bootstrap brings it all the way to MySQL asking me for a password to >> continue. > > Excellent! Only, I never once set up a password for MySQL (this is a >> virgin CentOS 5.2 box, not even 10 days old; there are no other users, and >> MySQL was never configured for use). Hence, I'm now stuck for a totally >> separate reason. Is there a default password assigned during the >> /usr/bin/oda --init: mysql? At any rate, I don't know it... (and it isn't >> this box's root password, isn't blank, and isn't "oscar"...) > > >> > >> [cut] >> > >> > >> Database Initialization >> >> ================================================================ >> Your MySQL has already setup the root password. >> To proceed, please enter your root password of MySQL: >> >> The password is not correct!!! Please try it again. >> To proceed, please enter your root password of MySQL: >> >> (At this point, as I have NO IDEA what this password is...! >> (though I could possibly reset it outside of the bootstrapping process, I >> thought I'd communicate this because of the perl-Tk hiccup) >> > > I had this problem too. In my case, I restarted the mysqld and reconfigured > the password. > > /etc/rc.d/init.d/mysqld reset > /usr/bin/mysqladmin -u root -p"yourpass" > > the password don't have the quotes "". > > So, you can set your password and rerun the oscar bootstrap. > > I guess this can resolve your problem, but I don't know much about these > commands. > > -- > Henrique Baggio > ====================================================================== 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users