I have just try it according the 2th method. It went far than before, but it
still failed. I'll check it. Thks1
On 10/4/07, Michael Edwards <[EMAIL PROTECTED]> wrote:
>
> Two things. One, make sure you are doing "su - root" or just "su -" and
> not simply using "su". If you just do "su" the uid is changed but not the
> path. "su -" gives you a real root terminal. That would give you the kind
> of error you are seeing.
>
> If that doesn't help, try doing "export OSCAR_VERBOSE=5" and running the
> wizard again. See if it gives you more helpful output.
>
> On 10/4/07, Qian Feng <[EMAIL PROTECTED]> wrote:
>
> > hi, everyone:
> >
> > I'm a freshman in the oscar cluster suite and I have a problem now.
> > When I installed the oscar package in my old i386 machine it failed. I have
> > successfully reached and completed the step3 according the oscar 5
> > installation manual. My linux distribution for the oscar is CentOS-4.5.
> > By the way, I just install only a realtek netwok card in the
> > computer. This morining I have just successfully built oscar client image
> > in a x86-64(amd 3800+) computer equipped with an attantic l1 network card
> > (asus m2v motherborad). The only difference between the two installation is
> > the configuration of DNS server. Of course, I installed different oscar
> > package for the above different architecture.
> >
> > The prompt is as belows:
> >
> > =============================================================================
> > == Running step 4 of the OSCAR wizard: Build OSCAR client image
> > =============================================================================
> >
> >
> > --> Step 4: Identified distro of clients: rhel 4
> > --> Step 4: distro repo: /tftpboot/distro/centos-4-i386
> > --> Step 4: oscar repo:
> > /tftpboot/oscar/common-rpms,/tftpboot/oscar/rhel-4-i386
> > --> Step 4: Using RPM list: /opt/oscar/oscarsamples/rhel- 4-i386.rpmlist
> > Executing command: mksiimage -A --name oscarimage --location
> > /tftpboot/oscar/com
> > mon-rpms,/tftpboot/oscar/rhel-4-i386,/tftpboot/distro/centos-4-i386
> > --filename / opt/oscar/oscarsamples/rhel-4-i386.rpmlist --arch i686
> > --path /var/lib/systemima ger/images/oscarimage --filename=/tmp/oscar-
> > install-rpmlist.5330
> > chroot: cannot run command `/sbin/ldconfig': No such file or directory
> > Image build finished.
> > Added Disk Table for oscarimage based on
> > /opt/oscar/oscarsamples/ide.disk
> > Use of uninitialized value in pattern match (m//) at
> > /usr/lib/systemimager/perl/ SystemImager/Server.pm line 679, <$TEMPLATE>
> > line 165.
> > Use of uninitialized value in pattern match (m//) at
> > /usr/lib/systemimager/perl/ SystemImager/Server.pm line 679, <$TEMPLATE>
> > line 165.
> > Use of uninitialized value in pattern match (m//) at
> > /usr/lib/systemimager/perl/ SystemImager/Server.pm line 679, <$TEMPLATE>
> > line 165.
> > Ran si_mkautoinstallscript
> > --> Step 4: Running: ./post_rpm_install oscarimage eth0
> > --> post_rpm_install: Making sure /dev/null is r/w for all
> > --> post_rpm_install: Syncing system files
> > --> post_rpm_install: Syncing user files
> > --> post_rpm_install: Running ssh setup
> >
> > checking for host key file /etc/ssh/ssh_host_key ...
> > checking for host key file /etc/ssh/ssh_host_dsa_key ...
> >
> > checking configuration file ssh_config ...
> >
> > checking configuration file sshd_config ...
> >
> > setting up user root on this machine
> > the home directory for user root is /root
> > cd /root
> > chmod 600 /root/.ssh/authorized_keys /root/.ssh/authorized_keys2
> >
> > checking/updating image /var/lib/systemimager/images/oscarimage ...
> > cp -fpr /etc/ssh /var/lib/systemimager/images/oscarimage/etc
> >
> > copying ssh files for root to image
> > /var/lib/systemimager/images/oscarimage
> > cp -fpr /root/.ssh /var/lib/systemimager/images/oscarimage/root
> >
> > --> post_rpm_install: Running OSCAR package post_rpm_install scripts
> > --> About to run /opt/oscar/packages/ntpconfig/scripts/post_rpm_install
> > for ntpc onfig
> > chroot: cannot run command `/tmp/post_rpm_install': No such file or
> > directory
> > Couldn't run /tmp//opt/oscar/packages/ntpconfig/scripts/post_rpm_install
> > at ./po st_rpm_install line 78
> > Couldn't run post_rpm_install for ntpconfig at ./post_rpm_install line
> > 79
> > --> About to run
> > /opt/oscar/packages/sync_files/scripts/post_rpm_nochroot for sy nc_files
> > Created templates for image oscarimage in
> > /opt/sync_files/templates/image/oscari mage
> > Make sure these files do not contain any user accounts.
> > Only system account IDs should be included!
> > --> About to run
> > /opt/oscar/packages/torque/scripts/post_client_rpm_install for torque
> > chroot: cannot run command `/tmp/post_client_rpm_install': No such file
> > or direc tory
> > Couldn't run
> > /tmp//opt/oscar/packages/torque/scripts/post_client_rpm_install at
> > ./post_rpm_install line 78
> > Couldn't run post_rpm_install for torque at ./post_rpm_install line 79
> > --> About to run
> > /opt/oscar/packages/disable-services/scripts/post_client_rpm_in stall for
> > disable-services
> > chroot: cannot run command `/tmp/post_client_rpm_install': No such file
> > or direc tory
> > Couldn't run
> > /tmp//opt/oscar/packages/disable-services/scripts/post_client_rpm_i nstall
> > at ./post_rpm_install line 78
> > Couldn't run post_rpm_install for disable-services at ./post_rpm_install
> > line 79
> > --> About to run /opt/oscar/packages/sis/scripts/post_rpm_nochroot for
> > sis
> > --> About to run /opt/oscar/packages/ganglia/scripts/post_rpm_nochroot
> > for gangl ia
> > --> About to run /opt/oscar/packages/base/scripts/post_rpm_nochroot for
> > base
> > cp: `/var/lib/systemimager/images/oscarimage/etc/profile.d': specified
> > destinati on directory does not exist
> > Try `cp --help' for more information.
> > Script /opt/oscar/packages/base/scripts/post_rpm_nochroot exitted badly
> > with exi t code '1' at ./post_rpm_install line 85
> > Couldn't run post_rpm_nochroot for base at ./post_rpm_install line 86
> > There were errors running post_rpm_install scripts. Please check your
> > logs. at ./post_rpm_install line 91
> > at /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 485
> > Couldn't run postinstall at
> > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-m ulti/Tk.pm line 247
> > Stopping rsync daemon for systemimager: rsync.
> > Starting rsync daemon for systemimager: rsync.
> > --> Successfully ran oscar_wizard
> > --> Successfully ran OSCAR install_cluster script
> > [EMAIL PROTECTED] oscar]#
> > --------------------------------------------------------------------
> >
> > It prompts that "chroot: cannot run command `/sbin/ldconfig': No such
> > file or directory". However ldconfig has been installed.
> > pls give me some advices ! Tks!
> >
> > hawkzone from china
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Oscar-users mailing list
> > Oscar-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oscar-users
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Oscar-users mailing list
> Oscar-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users