Dear all,
I am trying to install Oscar 6.0.4 in a RHEL 5.4 x86_64 server.
Steps 1 to 4 included in the documentation seems to work ok.
However when I start with the 5.1 step and write oscar-config
--bootstrap
I receive the following errors:
oscar-config --bootstrap
Verbosity: 0
=============================================================================
== OSCAR bootstrap
=============================================================================
db_type: no such variable at /etc/oscar/oscar.conf line 7
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
1058.
INFO: the /tftpboot/distro/redhat-el-5-x86_64.url file already exists,
we do nothing at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm
line 1100.
Updating OSCAR on your system...
Success: 01_update_ubuntu_repo
=============================================================================
== Setting redhat-el-5-x86_64...
=============================================================================
Success: 02_update_repo_conffile
Loaded plugins: rhnplugin, security
Cleaning up Everything
Pools to prepare for distro redhat-el-5-x86_64:
[ file:/tftpboot/distro/redhat-el-5-x86_64 ]
Array: 1 element(s)
Preparing pools: file:/tftpboot/distro/redhat-el-5-x86_64
Pool: file:/tftpboot/distro/redhat-el-5-x86_64
=============================================================================
== Preparing pool: file:/tftpboot/distro/redhat-el-5-x86_64
=============================================================================
CHECKSUM: /tmp/pool_distro_redhat-el-5-x86_64.md5 new:0
old:8f11fa5633079c811f5e0db337b3b64d
[ file:/tftpboot/distro/redhat-el-5-x86_64 ]
Array: 2 element(s)
Options Error: Error parsing '-y': URL must be http, ftp, file or
https not ""
ERROR: Impossible to execute /usr/bin/yum -c /tmp/fileUNO05s makecache
1>/dev/null; Impossible to get repos meta-data at /usr/bin/yume line
188.
ERROR during execution 512
Use of uninitialized value in join or string at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackMan.pm line 652.
ERROR: -1 error(s) occured for prereq orm(
WARNING: multiple architecture repos specified.) at
/usr/bin/install_prereq line 81
main::handle_smart_pkgs(0, 'orm') called at
/usr/bin/install_prereq line 407
main::install_prereq('redhat-el', 5, 'x86_64',
'ARRAY(0x1cf7ad0)', 'rpm') called at /usr/bin/install_prereq line 473
ERROR: The following packages were NOT installed:
orm
at /usr/bin/install_prereq line 415
main::install_prereq('redhat-el', 5, 'x86_64',
'ARRAY(0x1cf7ad0)', 'rpm') called at /usr/bin/install_prereq line 473
ERROR: Impossible to install the prereqs at /usr/bin/install_prereq
line 474.
ERROR: impossible to install ORM ( /usr/bin/install_prereq --smart
/usr/share/oscar/prereqs/ORM).
at /usr/bin/oscar-config line 99
ERROR: impossible to install ORM prereqs
(/usr/share/oscar/prereqs/ORM)
at /usr/bin/oscar-config line 99
ERROR: Impossible to complete stage 1 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.
Maybe it can be useful to show the oscar.conf file
cat /etc/oscar/oscar.conf
OSCAR_NETWORK_INTERFACE = eth1
# ODA_TYPE specifies the type of database that have to be used for
ODA. The two
# options are 'file' where ODA uses as flat text file, or 'db' where
ODA uses
# a real database (i.e. mysql).
ODA_TYPE = db
DB_TYPE = mysql
# PREREQ_MODE specifies the operation mode associated to the prereqs
management.
# Two modes are possible:
# - 'check_only', if a prereq is not in the expected status, we
notify the
# user and exit,
# - 'check_and_fix', if a prereq is not in the expected status, we
try to fix
# it.
PREREQ_MODE = check_and_fix
################################################################################
# Location of the different OSCAR components
#
# Note that variables must follow the following rules:
#
# - if the variable defines a path, the name must end by "_PATH",
this is #
# to perform some substitutions.
#
# - the variable name must be followed by a space, then by "= "
(note the #
# space after "=".
#
################################################################################
# Specify where the OSCAR scripts are
OSCAR_SCRIPTS_PATH = /usr/bin
# Specify where the prereqs are
PREREQS_PATH = /usr/share/oscar/prereqs
# Specify where rapt is
RAPT_PATH = /usr/share/oscar/prereqs/rapt
# Specify where yume is
YUME_PATH = /usr/share/oscar/prereqs/yume
# Specify where OSCAR packages are located. This is only used by
developers
OPKGS_PATH = packages
# Specify where the flat file ODA configuration file are
PATH_ODA_CONFIG_FILES = /etc/oscar/clusters
And also the following
distro-query
Distro package url: file:/tftpboot/distro/redhat-el-5-x86_64
OSCAR package pool:
distribution: redhat-el
distribution version: 5
compat distribution: rhel
compat distrover: 5
packaging method: rpm
Any help will be wellcome.
Thank you in advance.
0.007d0
-----------------------------------------------------------------
Prof. Adolfo Bastida Pascual Tlf: (34)-968.36.74.79
Departamento de Química Física Fax: (34)-968.36.41.48
Universidad de Murcia. e-mail: bast...@um.es
30100-Murcia WEB: http://www.um.es/
(Spain)
-----------------------------------------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users