Hi again,
I had problems with my network configuration and the system didn't work. So
I tried install the system again, fixing the network errors, but now I have
a error in bootstrap.
This is my log. There is only one error message, but I don't know how fix
its.
[r...@head ~]# oscar-config --bootstrap
OSCAR bootstrap
install_prereq found: /usr/bin/install_prereq
Dealing with Prereq AppConfig ( /usr/share/oscar/prereqs/AppConfig,
check_and_fix)
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/AppConfig):
perl-AppConfig: already installed
AppConfig is already installed, nothing to do.
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.
Dealing with Prereq packman (/usr/share/oscar/prereqs/packman,
check_and_fix)
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/packman):
packman: already installed
packman is already installed, nothing to do.
Loading "fastestmirror" plugin
Cleaning up Everything
Cleaning up list of fastest mirrors
Dealing with Prereq yume (/usr/share/oscar/prereqs/yume, check_and_fix)
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
yume is already installed, nothing to do.
Pools to prepare for distro centos-5-i386:
[ http://bear.csm.ornl.gov/repos/rhel-5-i386
http://isoredirect.centos.org/centos/5/os/i386/ ]
Array: 2 element(s)
Preparing pools: http://bear.csm.ornl.gov/repos/rhel-5-i386
http://isoredirect.centos.org/centos/5/os/i386/
Pool: http://bear.csm.ornl.gov/repos/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/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
Executing: /usr/bin/oda --init mysql
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: 0
Checking for ODA database password file ... not found.
Generating a random password for the OSCAR database.
saved.
--> Password ok, now creating the database
================================================================
Your MySQL has already setup the root password.
To proceed, please enter your root password of MySQL:
================================================================
Starting the mysqld database server ...
/etc/init.d/mysqld start
Starting MySQL: [ OK ]
Making sure that the mysqld database server starts on subsequent boots ...
chkconfig mysqld on
================================================================
Your MySQL has already setup the root password.
To proceed, please enter your root password of MySQL:
================================================================
Checking for database existence of node oscar_server ...
Updating the hostname field in the oscar_server node to <head.centoscluster>
...
DB_DEBUG>/usr/bin/create_and_populate_basic_node_info:
====> in Database::update_table SQL: UPDATE Nodes SET
hostname='head.centoscluster' WHERE name='oscar_server'
Updating the dns_domain field in the oscar_server node to <centoscluster>
DB_DEBUG>/usr/bin/create_and_populate_basic_node_info:
====> in Database::update_table SQL: UPDATE Nodes SET
dns_domain='centoscluster' WHERE name='oscar_server'
=============================================================================
== Creating node group all ...
=============================================================================
=============================================================================
== Creating node group Default_node ...
=============================================================================
Detecting local distro...
Connecting to ODA...
Creating the list of packages to delete...
Getting info on all opkgs available in the passed OS repositories...
ERROR: Cannot recognized the OS at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/OSCAR/RepositoryManager.pm
line 135
[INFO] Querying for available OSCAR packages. That may take a while, please
be patient...
[ ]
Array: 0 element(s)
[INFO] Querying details for all OPKGs we found...
DEBUG>/usr/bin/populate_oda_packages_table:
====>print_hash
-- OPKGs data: ->
Checking for existence of package set <Default>
Initializing package set <Default>
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
=============================================================================
== >/usr/bin/set_node_nics: Connecting to the database...
=============================================================================
=============================================================================
== >/usr/bin/set_node_nics: Connecting to the database...
=============================================================================
=============================================================================
== 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/i386/
http://bear.csm.ornl.gov/repos/rhel-5-i386
Pool: http://isoredirect.centos.org/centos/5/os/i386/
Pool: http://bear.csm.ornl.gov/repos/rhel-5-i386
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...@head ~]#
===========================================================
The system-sanity appears ok:
[r...@head ~]# system-sanity
Checking your system...
Success: tftpboot-check.pl
Success: display-check.pl
------------------------------------------------------
WARNING: A valid NIC must be specified for the cluster
private network.
Valid NICs: eth1
You tried to use: <None>.
This may be normal if this is the first time you
execute OSCAR.
------------------------------------------------------
Warning: network-check.pl
Success: yum-check.pl
Success: su-check.pl
Success: ssh-check.pl
Success: selinux-check.pl
Success: debrepo-check.pl
===========================================================
After this, I tried to run the oscar_wizard install and received this
output:
[r...@head ~]# oscar_wizard install
Can't locate SystemInstaller/Tk/Common.pm in @INC (@INC contains:
/usr/lib/systemconfig /usr/lib/systeminstaller /usr/lib/systemimager/perl
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-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/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-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/lib/perl5/5.8.8/i386-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.
I don't know how fix this erros. Actually, I don't know they mean, sorry.
--
Henrique Baggio
------------------------------------------------------------------------------
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