OK,

I think I figured out what happened. My last check-in r10194 seems to fix the 
issue of the missing oda.pm symlink and perl-DBI and perl-DBD-MySQL packages.
I believe that bootstrap process of oda was not run in time. I made it run 
right after install_prereq(oda) and it seems to be the right time to run it.
http://svn.oscar.openclustergroup.org/trac/oscar/changeset/10194

Regards,

--
- DongInn

On Nov 28, 2013, at 2:44 PM, DongInn Kim <di...@cs.indiana.edu> wrote:

> Hmmm, why OSCAR/oda.pm is not there even though the “oda" package is 
> installed?
> 
>> [root@rhel64-vm ui]# ll /usr/share/perl5/vendor_perl/OSCAR/oda.pm
>> ls: cannot access /usr/share/perl5/vendor_perl/OSCAR/oda.pm: No such file or 
>> directory
>> [root@rhel64-vm ui]# rpm -qa | grep oda
>> oda-1.4.18-1.noarch
>> [root@rhel64-vm ui]# rpm -ql oda
>> /usr/bin/create_oscar_database
>> /usr/bin/make_database_password
>> /usr/bin/oda
>> /usr/bin/populate_default_package_set
>> /usr/bin/populate_oda_packages_table
>> /usr/bin/prepare_oda
>> /usr/bin/set_global_oscar_values
>> /usr/share/man/man1/create_oscar_database.1.gz
>> /usr/share/man/man1/make_database_password.1.gz
>> /usr/share/man/man1/oda.1.gz
>> /usr/share/man/man1/populate_default_package_set.1.gz
>> /usr/share/man/man1/populate_oda_packages_table.1.gz
>> /usr/share/man/man1/prepare_oda.1.gz
>> /usr/share/man/man1/set_global_oscar_values.1.gz
>> /usr/share/oscar/prereqs/oda/etc
>> /usr/share/oscar/prereqs/oda/etc/Migration_AddGpuSupport.sh
>> /usr/share/oscar/prereqs/oda/etc/mysql.cfg
>> /usr/share/oscar/prereqs/oda/etc/oscar_table.sql
>> /usr/share/oscar/prereqs/oda/etc/pgsql.cfg
>> /usr/share/perl5/vendor_perl/OSCAR
>> /usr/share/perl5/vendor_perl/OSCAR/Database.pm
>> /usr/share/perl5/vendor_perl/OSCAR/Database_generic.pm
>> /usr/share/perl5/vendor_perl/OSCAR/ODA
>> /usr/share/perl5/vendor_perl/OSCAR/ODA/Bootstrap.pm
>> /usr/share/perl5/vendor_perl/OSCAR/ODA/mysql.pm
>> /usr/share/perl5/vendor_perl/OSCAR/ODA/pgsql.pm
>> /usr/share/perl5/vendor_perl/OSCAR/ODA_Defs.pm
> 
> Is there any hidden process to make a symlink of oda to ODA/mysql.pm or 
> ODA/pgsql.pm?
> I tried to manually make a symlink of oda to ODA/mysql.pm and I got the 
> missing DBI.pm module which is needed in oda.pm.
> 
>> --> Executing: /usr/bin/oda --init mysql
>> Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /lib 
>> /lib/OSCAR /usr/local/lib64/perl5 /usr/local/share/perl5 
>> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
>> /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/OSCAR/oda.pm line 32.
>> BEGIN failed--compilation aborted at 
>> /usr/share/perl5/vendor_perl/OSCAR/oda.pm line 32.
>> Compilation failed in require at 
>> /usr/share/perl5/vendor_perl/OSCAR/Database_generic.pm line 86.
>> BEGIN failed--compilation aborted at 
>> /usr/share/perl5/vendor_perl/OSCAR/Database_generic.pm line 86.
>> Compilation failed in require at /usr/bin/oda line 43.
>> BEGIN failed--compilation aborted at /usr/bin/oda line 43.
>> ERROR: Impossible to execute /usr/bin/oda --init mysql at 
>> /usr/bin/oscar-config line 99
>> ERROR: Impossible to install the server side of OSCAR
>>  at /usr/bin/oscar-config line 99
>> ERROR: Impossible to complete stage 2 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.
>> [root@rhel64-vm Downloads]#
> 
> Regards,
> 
> --
> - DongInn
> 
> On Nov 28, 2013, at 2:29 PM, DongInn Kim <di...@cs.indiana.edu> wrote:
> 
>> Any reason that we want to use our own yum config file to the command “yum”? 
>> (e.g., /usr/bin/yum -c $name)
>> 
>> The wrongfully generated config file, which does not have the proper distro 
>> repo URL, makes yum fail with the following errors:
>> 
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/dhcp" and/or "*bin/dhcp" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/gd" and/or "*bin/gd" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/nfs-utils" and/or "*bin/nfs-utils" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/xinetd" and/or "*bin/xinetd" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/php" and/or "*bin/php" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/zlib-devel" and/or "*bin/zlib-devel" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/php-gd" and/or "*bin/php-gd" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/php-mysql" and/or "*bin/php-mysql" to get that behaviour
>>> Warning: 3.0.x versions of yum would erroneously match against filenames.
>>>  You can use "*/php-mbstring" and/or "*bin/php-mbstring" to get that 
>>> behaviour
>>> ERROR: Impossible to execute "LC_ALL=C yum -c /tmp/fileftTexV provides 
>>> php-mbstring";
>>>        Some packages are not available: (-y, install, dhcp, gd, nfs-utils, 
>>> xinetd, php, zlib-devel, php-gd, php-mysql, php-mbstring) at /usr/bin/yume 
>>> line 330.
>>> ERROR during execution 65280
>>> ERROR: -1 error(s) occured for prereq dhcp, gd, nfs-utils, xinetd, php, 
>>> zlib-devel, php-gd, php-mysql, php-mbstring at /usr/bin/install_prereq line 
>>> 81
>>>         main::handle_smart_pkgs(0, 'dhcp', 'gd', 'nfs-utils', 'xinetd', 
>>> 'php', 'zlib-devel', 'php-gd', 'php-mysql', ...) called at 
>>> /usr/bin/install_prereq line 408
>>>         main::install_prereq('redhat-el', 6, 'x86_64', 'ARRAY(0xdccaf8)', 
>>> 'rpm') called at /usr/bin/install_prereq line 474
>>> ERROR: The following packages were NOT installed:
>>> dhcp, gd, nfs-utils, xinetd, php, zlib-devel, php-gd, php-mysql, 
>>> php-mbstring
>>>  at /usr/bin/install_prereq line 416
>>>         main::install_prereq('redhat-el', 6, 'x86_64', 'ARRAY(0xdccaf8)', 
>>> 'rpm') called at /usr/bin/install_prereq line 474
>>> ERROR: Impossible to install the prereqs at /usr/bin/install_prereq line 
>>> 475.
>>> ERROR: impossible to install base ( /usr/bin/install_prereq  --smart 
>>> /usr/share/oscar/prereqs/base).
>>>  at /usr/bin/oscar-config line 99
>>> ERROR: impossible to install base prereqs (/usr/share/oscar/prereqs/base)
>>>  at /usr/bin/oscar-config line 99
>>> ERROR: Impossible to complete stage 2 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.
>> 
>> I tried to not use the yum config file and the default one instead and I 
>> could go further (i.e., the missing packages (php-mbstring, php-mysql,…) 
>> could be installed). And I hit the oda perl module-not-found error.
>> 
>>> --> Prereqs status (/usr/share/oscar/prereqs/perl-Qt):
>>> -->     perl-Qt:                        is installed
>>> --> Executing: /usr/bin/oda --init mysql
>>> Can't locate OSCAR/oda.pm in @INC (@INC contains: /usr/lib/perl5/site_perl 
>>> /lib /lib/OSCAR /usr/local/lib64/perl5 /usr/local/share/perl5 
>>> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
>>> /usr/share/perl5 .) at 
>>> /usr/share/perl5/vendor_perl/OSCAR/Database_generic.pm line 86.
>>> BEGIN failed--compilation aborted at 
>>> /usr/share/perl5/vendor_perl/OSCAR/Database_generic.pm line 86.
>>> Compilation failed in require at /usr/bin/oda line 43.
>>> BEGIN failed--compilation aborted at /usr/bin/oda line 43.
>>> ERROR: Impossible to execute /usr/bin/oda --init mysql at 
>>> /usr/bin/oscar-config line 99
>>> ERROR: Impossible to install the server side of OSCAR
>>>  at /usr/bin/oscar-config line 99
>>> ERROR: Impossible to complete stage 2 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.
>>> [root@rhel64-vm Downloads]#
>> 
>> 
>> Regards,
>> 
>> --
>> - DongInn
>> 
> 
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk_______________________________________________
> Oscar-devel mailing list
> Oscar-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to