Steve, Please, update your system, the RPMs are out-of-date. For the logs, feel free to send them to me directly in order to avoid the bouncing. Also remember that is always better for me to actually have the file, rather than the logs inside the email body.
Thanks, ----- "Stephen Shaw" <s.j.s...@swansea.ac.uk> a écrit : > Re: [Oscar-users] Failure at stage 4 with Centos 5.3 and 6.0.4 > Geoffroy, > > Oscar-base versions listed below along with my oscar.conf. I tried to > include the full log in previous emails but it bounced stating that > there is a 50Kb limit for message body size on this list. Should I > send attachments instead? > > > oscar-base-lib-6.0.4r8731-1 > oscar-base-server-6.0.4r8731-1 > oscar-base-6.0.4r8731-1 > oscar-base-scripts-6.0.4r8731-1 > > > [r...@head oscar]# cat /etc/oscar/oscar.conf > > OSCAR_NETWORK_INTERFACE = eth0 > > # 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 > > > > Regards > Steve. > > On Tue, 2009-10-06 at 06:30 +0100, geoffroy.val...@free.fr wrote: > > > Steve, > > Just with the first line, i can see that something is wrong on your > system: you have a mismatch between some of the oscar-base RPMs since > the db_type variable is not set in the /etc/oscar/oscar.conf file. If > the variable is not set, OSCAR cannot work correctly. > > Can you give me the version of all the oscar-base* RPMs installed on > your system? > > Thanks, > > PS: Please when you send your logs, do _not_ cut anything, otherwise, > i may be missing important information. > > ----- "Shaw S.J." <s.j.s...@swansea.ac.uk> a écrit : > > > Geoffroy, > > > > Please find below a section of my log when oscar_wizard is run with > > --verbose option as requested. > > (I tried to post the full log but it was too large to post on this > > list and was rejected, let me know if there is anything you need > that > > is missing) > > Thanks for looking at this. > > > > Steve. > > > > > > > ============================================================================= > > == oscar_wizard: Starting... > > > ============================================================================= > > > > db_type: no such variable at /etc/oscar/oscar.conf line 7 > > db_type: no such variable at /etc/oscar/oscar.conf line 7 > > > > << LOTS OF LINES REMOVED HERE>> > > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > (No > > such file or directory) > > module assumed to be built in > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > (No > > such file or directory) > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > (No > > such file or directory) > > Looking for deps of module aic7xxx: scsi_mod scsi_transport_spi > > Looking for deps of module scsi_mod > > Looking for deps of module sd_mod: scsi_mod > > Looking for deps of module scsi_transport_spi: scsi_mod > > Looking for deps of module aacraid: scsi_mod > > Looking for deps of module amd74xx > > No module amd74xx found for kernel 2.6.18-128.el5, aborting. > > ERROR: Impossible to execute chroot > > /var/lib/systemimager/images/oscarimage /sbin/mkinitrd -v -f > > --fstab=fstab.fake /boot/initrd-2.6.18-128.el5.img 2.6.18-128.el5 at > > /var/lib/oscar/packages/sis/api-post-image line 214 > > ERROR: Impossible to generate the initrd for > > /var/lib/systemimager/images/oscarimage at > > /var/lib/oscar/packages/sis/api-post-image line 215. > > ERROR: /var/lib/oscar/packages/sis/api-post-image exitted badly (1) > at > > /usr/bin/post_rpm_install line 119 > > ERROR: Couldn't run post_rpm_nochroot for sis at > > /usr/bin/post_rpm_install line 120 > > Looking for /var/lib/oscar/packages/switcher/api-post-image... > > Looking for /var/lib/oscar/packages/switcher/post_rpm_nochroot... > > Looking for /var/lib/oscar/packages/sync-files/api-post-image... > > Looking for /var/lib/oscar/packages/sync-files/post_rpm_nochroot... > > --> About to run > /var/lib/oscar/packages/sync-files/post_rpm_nochroot > > for sync-files > > Created templates for image oscarimage in > > /opt/sync_files/templates/image/oscarimage > > Make sure these files do not contain any user accounts. > > Only system account IDs should be included! > > ERROR: There were errors running post_rpm_install scripts. Please > > check your logs. at /usr/bin/post_rpm_install line 126. > > Looking for /var/lib/oscar/packages/yume/api-post-image... > > Looking for /var/lib/oscar/packages/yume/post_rpm_nochroot... > > ERROR: Impossible to execute /usr/bin/post_rpm_install oscarimage > eth0 > > --verbose at /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm > line > > 791 > > ERROR: Impossible to do post binary package install at > > /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791 > > ERROR: Impossible to run postimagebuild at > > /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791 > > ERROR: Impossible to create the image at > > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk.pm line > > 247 > > db_type: no such variable at /etc/oscar/oscar.conf line 7 > > FATAL: Can't remove /var/lib/systemimager/overrides/oscarimage! > > Image deletion failed for image oscarimage. > > at /usr/bin/mksiimage line 366 > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in Database::do_update SQL : DELETE FROM Images WHERE > > Images.name='oscarimage' > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting host = localhost > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting port = 3306 > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting database = oscar > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting type = mysql > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting user = oscar > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting password = > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in set_option_defaults setting password = > oscar.752.023.557.198 > > DEBUG>/usr/bin/mksiimage: > > ====>print_hash > > -- in oda::oda_connect called from package=OSCAR::oda > > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm:698 > > database_connected_flag=0 passed_options_ref= -> > > -- database => <oscar> > > -- debug => <1> > > -- host => <localhost> > > -- password => <oscar.752.023.557.198> > > -- port => <3306> > > -- type => <mysql> > > -- user => <oscar> > > DEBUG>/usr/bin/mksiimage: > > ====>print_hash > > -- in oda::oda_connect options_ref= -> > > -- database => <oscar> > > -- debug => <1> > > -- host => <localhost> > > -- password => <oscar.752.023.557.198> > > -- port => <3306> > > -- type => <mysql> > > -- user => <oscar> > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::oda_connect connnecting to database <oscar> as user > > <oscar>, password <oscar.752.023.557.198> using connect argument > > <DBI:mysql:oscar> > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::oda_connect connected to database <oscar> > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::database_server_version sql_command=<SELECT > version();> > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::database_server_version fetchall_arrayref returned: ( > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::database_server_version (5.0.77) > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::database_server_version returning saved <5.0.77> > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::do_sql_command sql_command=<DELETE FROM Images WHERE > > Images.name='oscarimage'> caller=<UDATE Table Images> > failure=<Failed > > to update Images table> > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::oda_disconnect called from package=OSCAR::oda > > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/oda.pm:730 > > DB_DEBUG>/usr/bin/mksiimage: > > ====> in oda::oda_disconnect disconnnecting > > > > > ============================================================================= > > == oscar_wizard: Exit > > > ============================================================================= > > > > > > > > On Mon, 2009-09-21 at 18:34 +0200, geoffroy.val...@free.fr wrote: > > > > Stephen, > > > > Can you run the command with the verbose option and send the logs? > > > > Regards, > > > > > > ----- "Stephen Shaw" <s.j.s...@swansea.ac.uk> a écrit : > > > > > I can successfully install and bootstrap Oscar and install the > > server > > > packages, but when I run stage four of the wizard, I get the > > following > > > errors and the window "Error! User cancelled building image" > > > I can see that it seems to fail "Looking for deps of module > > amd74xx" > > > which is a device that is not even present. The head node and the > > > compute nodes are all identical raid arrays, but the controller is > > a > > > Dell Perc 5. > > > /etc/modprobe.conf on the head node has alias scsi_hostadapter > > aic7xxx > > > and alias scsi_hostadapter1 aacraid > > > > > > Any ideas as to how I can get an image to build successfully? > > > > > > > > > > > > ============================================================================= > > > == [sync_file] > > > > > > ============================================================================= > > > > > > [INFO] File /opt/sync_files/tmp/etc/modprobe.conf_rhel already > > exists, > > > exiting successfully.[INFO] File > > > /opt/sync_files/tmp/etc/shadow_img_oscarimage already exists, > > exiting > > > successfully.--> Adding alias scsi_hostadapter1 amd74xx ata_piix > > to > > > /var/lib/systemimager/images/oscarimage/etc/modprobe.conf > > > [INFO] Running echo "/dev/sda2 / ext3 defaults 1 1" >> > > > /var/lib/systemimager/images/oscarimage/etc/fstab.fake... > > > [INFO] Running chroot /var/lib/systemimager/images/oscarimage > > > /sbin/mkinitrd -v -f --fstab=fstab.fake > > > /boot/initrd-2.6.18-128.el5.img 2.6.18-128.el5... > > > Creating initramfs > > > Looking for deps of module ehci-hcd > > > Looking for deps of module ohci-hcd > > > Looking for deps of module uhci-hcd > > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > > (No > > > such file or directory) > > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > > (No > > > such file or directory) > > > module assumed to be built in > > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > > (No > > > such file or directory) > > > awk: cmd. line:1: fatal: cannot open file `fstab.fake' for reading > > (No > > > such file or directory) > > > Looking for deps of module aic7xxx: scsi_mod scsi_transport_spi > > > Looking for deps of module scsi_mod > > > Looking for deps of module sd_mod: scsi_mod > > > Looking for deps of module scsi_transport_spi: scsi_mod > > > Looking for deps of module aacraid: scsi_mod > > > Looking for deps of module amd74xx > > > No module amd74xx found for kernel 2.6.18-128.el5, aborting. > > > ERROR: Impossible to execute chroot > > > /var/lib/systemimager/images/oscarimage /sbin/mkinitrd -v -f > > > --fstab=fstab.fake /boot/initrd-2.6.18-128.el5.img 2.6.18-128.el5 > > at > > > /var/lib/oscar/packages/sis/api-post-image line 214 > > > ERROR: Impossible to generate the initrd for > > > /var/lib/systemimager/images/oscarimage at > > > /var/lib/oscar/packages/sis/api-post-image line 215. > > > ERROR: /var/lib/oscar/packages/sis/api-post-image exitted badly > (1) > > at > > > /usr/bin/post_rpm_install line 119 > > > ERROR: Couldn't run post_rpm_nochroot for sis at > > > /usr/bin/post_rpm_install line 120 > > > Looking for /var/lib/oscar/packages/switcher/api-post-image... > > > Looking for /var/lib/oscar/packages/switcher/post_rpm_nochroot... > > > Looking for /var/lib/oscar/packages/sync-files/api-post-image... > > > Looking for > > /var/lib/oscar/packages/sync-files/post_rpm_nochroot... > > > --> About to run > > /var/lib/oscar/packages/sync-files/post_rpm_nochroot > > > for sync-files > > > Created templates for image oscarimage in > > > /opt/sync_files/templates/image/oscarimage > > > Make sure these files do not contain any user accounts. > > > Only system account IDs should be included! > > > ERROR: There were errors running post_rpm_install scripts. Please > > > check your logs. at /usr/bin/post_rpm_install line 126. > > > Looking for /var/lib/oscar/packages/yume/api-post-image... > > > Looking for /var/lib/oscar/packages/yume/post_rpm_nochroot... > > > ERROR: Impossible to execute /usr/bin/post_rpm_install oscarimage > > eth0 > > > --verbose at /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm > > line > > > 791 > > > ERROR: Impossible to do post binary package install at > > > /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791 > > > ERROR: Impossible to run postimagebuild at > > > /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791 > > > ERROR: Impossible to create the image at > > > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk.pm > > line > > > 247 > > > > > > ______________________________________ > > > > > > Stephen Shaw > > > Systems Support Technician > > > Department of Geography > > > School of the Environment and Society > > > University of Wales Swansea > > > Singleton Park > > > SWANSEA SA2 8PP > > > > > > Tel: 01792 513032 > > > Email: mailto:s.j.s...@swan.ac.uk :) > > > ______________________________________ > > > > > > ------------------------------------------------------------------------------ > > > 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 > > > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, > > CA > > is the only developer event you need to attend this year. Jumpstart > > your > > developing skills, take BlackBerry mobile applications to market and > > stay > > ahead of the curve. Join us from November 9-12, 2009. Register > > now! > > http://p.sf.net/sfu/devconf > > _______________________________________________ > > Oscar-users mailing list > > Oscar-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/oscar-users > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, > CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Oscar-users mailing list > Oscar-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oscar-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users