歡迎您光臨本站 註冊首頁

使用OSCAR 4.2 在REDHAT AS 3 中不能正常獲取鏡像

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

使用OSCAR 4.2 在REDHAT AS 3 中不能正常獲取鏡像

我使用 OSCAR 到 第四步,點擊 built image 可以彈出進度條,之後沒有任何反映,一個CPU 到 90%,有兩個 CPU ,請問高人如何解決,謝謝!

用 netstat 查看 rsync 正常。
《解決方案》

報錯信息

=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================

--> Step 4: Identified distro of clients: unknownlinux 0.0
--> Step 4: Using RPM list: /opt/oscar/oscarsamples/unknownlinux-0.0-x86_64.rpmlist
--> Returning oscar_clients packages for oda: oda perl-DBI perl-DBD-MySQL mysql
--> Returning oscar_clients packages for sync_files:
--> Returning oscar_clients packages for switcher: modules-default-manpath-oscar modules-oscar env-switcher
--> Returning oscar_clients packages for sis: systemimager-common systemimager-client systemconfigurator
--> Returning oscar_clients packages for pvm: pvm-modules-oscar pvm
--> Returning oscar_clients packages for perl-Qt:
--> Returning oscar_clients packages for opium: ssh-oscar
--> Returning oscar_clients packages for mta-config:
--> Returning oscar_clients packages for mpich: mpich-ch_p4-gcc-oscar-module mpich-ch_p4-gcc-oscar
--> Returning oscar_clients packages for loghost:
--> Returning oscar_clients packages for kernel_picker:
--> Returning oscar_clients packages for ganglia: ganglia-gmond
--> Returning oscar_clients packages for disable-services:
--> Returning oscar_clients packages for c3: c3-c3cmd-filter c3-ckillnode
--> Returning oscar_clients packages for base:
--> Returning oscar_clients packages for apitest:
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
1: 2006-6-22 12:23:11 Expected lines of output: 483
2: 2006-6-22 12:23:11 Finding package install files.
3: 2006-6-22 12:23:11 Finding files with module SystemInstaller::Package::UpdateRpms
4: Forced packages for i686: glibc
5: Forced packages for i386: tcl compat-gcc libstdc++ freetype compat-gcc-c++ fontconfig glibc-devel XFree86-libs expat ncurses compat-libstdc++ XFree86-Mesa-libGL compat-libstdc++-devel zlib gpm libgcc
ERROR: The following RPMs cannot be installed:
compat-gcc-7.3-2.96.128.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
compat-gcc-c++-7.3-2.96.128.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
compat-libstdc++-7.3-2.96.128.i386.rpm: requires libm.so.6(GLIBC_2.0) (UNKNOWN)

at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 181
Failed to find files for all packages. at /usr/bin/mksiimage line 184
6: 2006-6-22 12:23:15 Unmounting /proc.
7: 2006-6-22 12:23:15 si_rmimage oscarimage234
FATAL: Can't remove /var/lib/systemimager/scripts/oscarimage234.master!
Package install failed
at /usr/bin/mksiimage line 191
Built image from rpms
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
Image oscarimage234 does not exist
Couldn't run command mksidisk -A --name oscarimage234 --file /opt/oscar/oscarsamples/scsitest.disk at /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi/Tk.pm line 247
Use of uninitialized value in hash element at /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi/Tk/Trace.pm line 181.
Use of uninitialized value in hash element at /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi/Tk/Trace.pm line 181.
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
Requested images not found.


如果刪除/tftpboo/rpm 中的
compat-gcc-7.3-2.96.128.i386.rpm:
compat-gcc-c++-7.3-2.96.128.i386.rpm
compat-libstdc++-7.3-2.96.128.i386.rpm


可以啟動,但是不能獲取 image ,mksiimage 占 90% CPU 使用率


=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================

--> Step 4: Identified distro of clients: unknownlinux 0.0
--> Step 4: Using RPM list: /opt/oscar/oscarsamples/unknownlinux-0.0-x86_64.rpmlist
--> Returning oscar_clients packages for oda: oda perl-DBD-MySQL perl-DBI mysql
--> Returning oscar_clients packages for sync_files:
--> Returning oscar_clients packages for switcher: modules-default-manpath-oscar modules-oscar env-switcher
--> Returning oscar_clients packages for sis: systemimager-common systemimager-client systemconfigurator
--> Returning oscar_clients packages for pvm: pvm-modules-oscar pvm
--> Returning oscar_clients packages for perl-Qt:
--> Returning oscar_clients packages for opium: ssh-oscar
--> Returning oscar_clients packages for mta-config:
--> Returning oscar_clients packages for mpich: mpich-ch_p4-gcc-oscar-module mpich-ch_p4-gcc-oscar
--> Returning oscar_clients packages for loghost:
--> Returning oscar_clients packages for kernel_picker:
--> Returning oscar_clients packages for ganglia: ganglia-gmond
--> Returning oscar_clients packages for disable-services:
--> Returning oscar_clients packages for c3: c3-c3cmd-filter c3-ckillnode
--> Returning oscar_clients packages for base:
--> Returning oscar_clients packages for apitest:
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
Requested images not found.
autoinstall_tarball_dir: no such variable at /etc/systemimager/systemimager.conf line 67
autoinstall_torrent_dir: no such variable at /etc/systemimager/systemimager.conf line 73
1: 2006-6-22 12:42:12 Expected lines of output: 483
2: 2006-6-22 12:42:12 Finding package install files.
3: 2006-6-22 12:42:12 Finding files with module SystemInstaller::Package::UpdateRpms
4: Forced packages for i686: glibc
5: Forced packages for i386: tcl compat-gcc libstdc++ freetype compat-gcc-c++ fontconfig glibc-devel XFree86-libs expat ncurses compat-libstdc++ XFree86-Mesa-libGL compat-libstdc++-devel zlib gpm libgcc
《解決方案》

在 AS 3.6 中 oscar 獲取鏡像報錯信息

=============================================================================
== Running step 4 of the OSCAR wizard: Build OSCAR client image
=============================================================================

--> Step 4: Identified distro of clients: unknownlinux 0.0
--> Step 4: Using RPM list: /opt/oscar/oscarsamples/unknownlinux-0.0-i386.rpmlist
--> Returning oscar_clients packages for oda: oda perl-DBI perl-DBD-MySQL mysql
--> Returning oscar_clients packages for sync_files:
--> Returning oscar_clients packages for switcher: modules-default-manpath-oscar modules-oscar env-switcher
--> Returning oscar_clients packages for sis: systemimager-common systemimager-client systemconfigurator
--> Returning oscar_clients packages for pvm: pvm-modules-oscar pvm
--> Returning oscar_clients packages for perl-Qt:
--> Returning oscar_clients packages for opium: ssh-oscar
--> Returning oscar_clients packages for mta-config:
--> Returning oscar_clients packages for mpich: mpich-ch_p4-gcc-oscar-module mpich-ch_p4-gcc-oscar
--> Returning oscar_clients packages for maui:
--> Returning oscar_clients packages for loghost:
--> Returning oscar_clients packages for lam: lam-switcher-modulefile lam-oscar-modulefile lam-oscar libaio-devel libaio
--> Returning oscar_clients packages for kernel_picker:
--> Returning oscar_clients packages for ganglia: ganglia-gmond
--> Returning oscar_clients packages for disable-services:
--> Returning oscar_clients packages for c3: c3-c3cmd-filter c3-ckillnode
--> Returning oscar_clients packages for base:
--> Returning oscar_clients packages for apitest:
1: 2006-6-22 18:48:31 Expected lines of output: 495
2: 2006-6-22 18:48:31 Finding package install files.
3: 2006-6-22 18:48:31 Finding files with module SystemInstaller::Package::UpdateRpms
4: Forced packages for i686: glibc
5: Forced packages for i386: tcl compat-gcc libstdc++ freetype compat-gcc-c++ fontconfig glibc-devel XFree86-libs expat ncurses compat-libstdc++ XFree86-Mesa-libGL compat-libstdc++-devel zlib gpm libgcc
ERROR: The following RPMs cannot be installed:
glibc-2.3.2-95.37.i686.rpm: requires basesystem (UNKNOWN)
SysVinit-2.85-4.4.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
XFree86-Mesa-libGL-4.3.0-97.EL.i386.rpm: requires libdl.so.2 (UNKNOWN)
XFree86-libs-4.3.0-97.EL.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
bash-2.05b-41.4.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
binutils-2.14.90.0.4-39.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
chkconfig-1.3.13.2-0.3.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
compat-gcc-7.3-2.96.128.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
compat-gcc-c++-7.3-2.96.128.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
compat-libstdc++-7.3-2.96.128.i386.rpm: requires libm.so.6(GLIBC_2.0) (UNKNOWN)
coreutils-4.5.3-28.i386.rpm: requires libm.so.6(GLIBC_2.0) (UNKNOWN)
cracklib-2.7-22.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
cracklib-dicts-2.7-22.i386.rpm: requires words >= 2-13 (UNKNOWN)
db4-4.1.25-8.1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
e2fsprogs-1.32-15.1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
ethtool-1.8-3.3.i386.rpm: requires libc.so.6 (UNKNOWN)
expat-1.95.5-6.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
findutils-4.1.7-9.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
fontconfig-2.2.1-13.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
freetype-2.1.4-4.0.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
gawk-3.1.1-9.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
glib-1.2.10-11.1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
gpm-1.19.3-27.2.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
grep-2.5.1-24.5.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
info-4.5-3.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
initscripts-7.31.27.EL-1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
iproute-2.4.7-11.30E.1.i386.rpm: requires libresolv.so.2 (UNKNOWN)
iputils-20020927-11.30.2.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
laus-libs-0.1-70RHEL3.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
libacl-2.2.3-1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
libattr-2.2.0-1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
libstdc++-3.2.3-53.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
libtermcap-2.0.8-35.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
mingetty-1.06-1.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
mktemp-1.5-18.2.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
modutils-2.4.25-14.EL.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
mount-2.11y-31.10.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
ncurses-5.3-9.4.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
net-tools-1.60-20E.9.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
pam-0.75-66.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
pcre-3.9-10.2.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
popt-1.8.2-24_nonptl.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
procps-2.0.17-13.7.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
psmisc-21.3-2.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
sed-4.0.7-3.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
shadow-utils-4.0.3-25.RHEL3.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
sysklogd-1.4.1-26_EL3.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)
tcl-8.3.5-92.4.i386.rpm: requires libm.so.6(GLIBC_2.0) (UNKNOWN)
util-linux-2.11y-31.10.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
which-2.14-7.i386.rpm: requires libc.so.6(GLIBC_2.3) (UNKNOWN)
zlib-1.1.4-8.1.i386.rpm: requires libc.so.6(GLIBC_2.1.3) (UNKNOWN)

at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 181
Failed to find files for all packages. at /usr/bin/mksiimage line 184
FATAL: Can't remove /var/lib/systemimager/scripts/oscarimage8.master!
Package install failed
at /usr/bin/mksiimage line 191
6: 2006-6-22 18:50:30 Unmounting /proc.
7: 2006-6-22 18:50:30 si_rmimage oscarimage8
Built image from rpms
Image oscarimage8 does not exist
Couldn't run command mksidisk -A --name oscarimage8 --file /opt/oscar/oscarsamples/scsi.disk at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Tk.pm line 247
Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Tk/Trace.pm line 181.
Requested images not found.
--> Successfully ran oscar_wizard
--> Successfully ran OSCAR install_cluster script



請高人指點
《解決方案》

我也遇到過類似的問題

你去查看安裝手冊,最好用它fully supported 的操作系統,  as 版本的perl跟oscar安裝文件里的一些perl腳本是不兼容的衝突的

[火星人 ] 使用OSCAR 4.2 在REDHAT AS 3 中不能正常獲取鏡像已經有771次圍觀

http://coctec.com/docs/service/show-post-7153.html