Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1172145
  • 博文数量: 245
  • 博客积分: 10185
  • 博客等级: 上将
  • 技术积分: 2744
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-30 17:07
文章分类

全部博文(245)

文章存档

2015年(1)

2014年(1)

2013年(1)

2012年(1)

2011年(37)

2010年(20)

2009年(14)

2008年(38)

2007年(88)

2006年(44)

分类: LINUX

2007-08-24 00:36:37

 

1)      安装GSX后无法安装虚拟机系统

前段时间装vmware时就发现安装好GSX后,在vmwae里安装linux as时光盘会自动退出,多次检查原因未果,搞得头都大了,经请教vmware骨灰级大牛yaoyj,他建议我检查vmware安装日志并去vmware网站查找原因,经检查发现是vmwareAMD athon支持不够,存在bug原因。那时真是郁闷阿,想想买电脑时为了表示支持AMD抗争INTEL,义无反顾的买了AMD athon 3600+双核,总不能刚买就又给换掉吧,幸亏在网上遇到exitgogo,他建议我安装vmware server 1.0.1,装好vmware server后安装系统终于在我一遍遍求神拜佛中安装完毕,那时的心情真是高兴啊,慢慢也就把AMD的烦恼逐渐忘记了。

2)很多软件安装不上

终于找到veritas storage foundation 4.1 basicRHEL4上安装不上的原因

这几天在学习vxfs,安装veritas storage foundation 4.1 basic时,总是不断报错。报错信息附在后面,仔细看日志,是否是包安装不上,咨询yaoyj ,他询问我装的是哪个内核,我说是centos4.4(内核2.6.9-42),他怀疑是只能安装在as4,他在as4.2(内核2.6.9-22)上安装成功了,他建议我在as4.2上安装。我先安装as4,安装好后再安装sf4.1依旧报同样的错误。在网上咨询风之幻想,他也认为是软件和系统平台不对。再次咨询yaoyj,他让我尝试安装所有的软件后再安装sf4.1,今天到家安装好所有的软件后继续安装sf4.1,让我崩溃的事情还是发生了---------还是抱同样的故障。仔细察看日志,就是因为VRTSvxvmcommon VRTSvxvmplatformVRTSlvmconv3RPM软件包无法安装导致,其中后两个不能安装都是他们都依赖于第一个软件包,因为第一个软件包VRTSvxvmcommon安装不成功,导致2个也安装不成功。

    刚开始认为会不会veritas安装程序太傻,所以决定自己重新开一个窗口把后2RPM包手动先安装,先找一下RPM

[root@as4a storage_foundation_basic]# ls -rlt

total 56

-rw-r--r--  1 root root  476 Jan  5  2006 copyright

drwxrwxr-x  2 root root 4096 Apr  7  2006 docs

-rwxr-xr-x  1 root root 1867 Apr 19  2006 uninstallsf

-rwxr-xr-x  1 root root 1867 Apr 19  2006 installsf

drwxrwxr-x  2 root root 4096 Apr 21  2006 release_notes

drwxrwxr-x  3 root root 4096 Apr 21  2006 scripts

drwxrwxr-x  2 root root 4096 Apr 21  2006 rpms

[root@as4a storage_foundation_basic]#cd rpms

[root@as4a rpms]# ls -rlt

total 120156

-rwxr-xr-x  1 root root  8688880 Jan 12  2005 VRTSperl-4.1.0.0-RHEL4_GA.i386.rpm

-rwxr-xr-x  1 root root  9343864 May 18  2005 VRTSob-3.2.540-0.i686.rpm

-rwxr-xr-x  1 root root 38350289 May 18  2005 VRTSobgui-3.2.540-0.i686.rpm

-rwxr-xr-x  1 root root    63157 Jul 12  2005 VRTSlvmconv-4.1.00.10-GA_RHEL4.i686.rpm

-rwxr-xr-x  1 root root   361748 Jul 12  2005 VRTSvmman-4.1.00.10-GA_GENERIC.noarch.rpm

-rwxr-xr-x  1 root root  9013621 Jul 12  2005 VRTSvmdoc-4.1.00.10-GA_GENERIC.noarch.rpm

-rwxr-xr-x  1 root root  5137905 Dec  2  2005 VRTSalloc-4.1.10.00-MP1_RHEL4.i686.rpm

-rwxr-xr-x  1 root root   408014 Mar 20  2006 VRTSvlic-3.02.12.1-0.i686.rpm

-rwxr-xr-x  1 root root  3058972 Mar 21  2006 VRTSfspro-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root   114326 Mar 21  2006 VRTSfsman-4.1.20.00-MP2_GENERIC.noarch.rpm

-rwxr-xr-x  1 root root   455935 Mar 21  2006 VRTSfsmnd-4.1.20.00-MP2_GENERIC.noarch.rpm

-rwxr-xr-x  1 root root  1068026 Mar 21  2006 VRTSfsdoc-4.1.20.00-MP2_GENERIC.noarch.rpm

-rwxr-xr-x  1 root root  8609172 Apr 11  2006 VRTSap-4.0.3.12-3.12.i386.rpm

-rwxr-xr-x  1 root root   610943 Apr 11  2006 VRTStep-4.0.3.12-3.12.i386.rpm

-rwxr-xr-x  1 root root  6755277 Apr 14  2006 VRTSvmpro-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root 11966043 Apr 14  2006 VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root 10007780 Apr 14  2006 VRTSvxvm-platform-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root   890727 Apr 15  2006 VRTSddlpr-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root  3904896 Apr 18  2006 VRTSvxfs-common-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root  3485415 Apr 18  2006 VRTSvxfs-platform-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root   201312 Apr 18  2006 VRTSfssdk-4.1.20.00-MP2_RHEL4.i686.rpm

-rwxr-xr-x  1 root root   184779 Apr 19  2006 VRTScpi-4.1.20.0-GENERIC.i686.rpm

找到这3rpm包了,先安装VRTSlvmconv-4.1.00.10-GA_RHEL4.i686.rpm VRTSvxvm-platform-4.1.20.00-MP2_RHEL4.i686.rpm的活会报他们依赖于VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686.rpm,这和vmware安装日志完全一致。

那就先安装VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686.rpm包吧。

[root@as4a rpms]# rpm -ivh VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686.rpm

Preparing...                ########################################### [100%]

This package is not built for athlon processors. Exiting.

error: %pre(VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686) scriptlet failed, exit status 1

error:   install: %pre scriptlet failed (2), skipping VRTSvxvm-common-4.1.20.00-MP2_RHEL4

注意This package is not built for athlon processors. Exiting这句话,说得太明显了,这个patch不适用athlon处理器。没啥说的,该包若没有针对athlon处理器的话安装肯定就不可能成功了。

安装软件体会

1)  在一台机器上安装不成功,尝试换台另一台重新安装,判断是机器的问题(ospatch)还是自己安装步骤的问题。自己曾经安装一个ftp时就遇到此问题。

2)  程序自带的安装步骤报错信息不够明显时,不妨根据安装步骤自己通过OS命令来安装,也许能得到更多的提示信息,更多的惊喜。

3) vmware的话主机千万别用AMD的芯片

------------------------------------------------------------------------------------------------------------

[root@as4a storage_foundation_basic]# ./installsf

      VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

Copyright (c) 2005 VERITAS Software Corporation. All rights reserved.

VERITAS, the VERITAS Logo and all other VERITAS product names and slogans are trademarks or registered trademarks of VERITAS Software Corporation. VERITAS and the VERITAS Logo Reg. U.S. Pat. & Tm. Off. Other product names and/or slogans mentioned herein may be trademarks or registered trademarks of their respective companies.

Enter the system names separated by spaces on which to install SF: as4a

    Checking OS version on as4a ............................................. Linux 2.6.9-5.EL

    Checking Machine Type on as4a ....................................................... i686

    Checking Linux Distribution on as4a ........................................... Redhat 4AS

Initial system check completed successfully.

Press [Enter] to continue:

              VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

VERITAS Infrastructure rpm installation:

Installing VERITAS Infrastructure rpms on as4a:

    Checking VRTSvlic rpm ...................................................... not installed

    Checking VRTScpi rpm ....................................................... not installed

    Checking file system space ................................... required space is available

    Installing VRTSvlic 3.02.12.1 on as4a ............................................... Done

    Installing VRTScpi 4.1.20.0 on as4a ................................................. Done

VERITAS Infrastructure rpms installed successfully.

Press [Enter] to continue:

             VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

SF Licensing Verification:

Registering IEZ9-9PJS-DCBS-FJ6P-MPUR-PRJX-6PP on as4a

    Checking SF license key on as4a ....................... Storage Foundation Basic Permanent

SF Basic licensing completed successfully.

Press [Enter] to continue:

          VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

installsf can install the following optional SF Basic rpms:

VRTSobgui    VERITAS Enterprise Administrator

VRTSvmdoc    VERITAS Volume Manager Documentation

VRTSvmman    VERITAS Volume Manager Manual Pages

VRTSlvmconv  VERITAS Linux LVM to VxVM Converter

VRTSap       VERITAS Action Provider

VRTStep      VERITAS Task Provider

VRTSfsdoc    VERITAS File System Documentation

VRTSfsmnd    VERITAS File System Software Developer Kit Manual Pages

     1)  Install all of the optional rpms

     2)  Install none of the optional rpms

     3)  View rpm descriptions and select optional rpms

Select the optional rpms to be installed on all systems? [1-3,q,?] (1)

           VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

installsf will install the following SF Basic rpms:

VRTSperl     VERITAS Perl 5.8.0 Redistribution

VRTSob       VERITAS Enterprise Administrator Service

VRTSobgui    VERITAS Enterprise Administrator

VRTSvxvmcommon VERITAS Volume Manager Common Package.

VRTSvxvmplatform VERITAS Volume Manager Platform Specific Package.

VRTSvmdoc    VERITAS Volume Manager Documentation

VRTSvmman    VERITAS Volume Manager Manual Pages

VRTSvmpro    VERITAS Volume Manager Management Services Provider

VRTSfspro    VERITAS File System Management Services Provider

VRTSalloc    VERITAS Volume Manager Intelligent Storage Provisioning

VRTSddlpr    VERITAS Device Discovery Layer Services Provider

VRTSlvmconv  VERITAS Linux LVM to VxVM Converter

VRTSvxfscommon VERITAS File System Common Package.

VRTSvxfsplatform VERITAS File System Platform Specific Package.

VRTSap       VERITAS Action Provider

VRTStep      VERITAS Task Provider

VRTSfsman    VERITAS File System Manual Pages

VRTSfsdoc    VERITAS File System Documentation

VRTSfssdk    VERITAS File System Software Developer Kit

Press [Enter] to continue:

...continued:

VRTSfsmnd    VERITAS File System Software Developer Kit Manual Pages

Press [Enter] to continue:

          VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

Checking system installation requirements:

Checking SF Basic installation requirements on as4a:

    Checking VRTSperl rpm ...................................................... not installed

    Checking VRTSob rpm ........................................................ not installed

    Checking VRTSobgui rpm ..................................................... not installed

    Checking VRTSvxvmcommon rpm ................................................ not installed

    Checking VRTSvxvmplatform rpm .............................................. not installed

    Checking VRTSvmdoc rpm ..................................................... not installed

    Checking VRTSvmman rpm ..................................................... not installed

    Checking VRTSvmpro rpm ..................................................... not installed

    Checking VRTSfspro rpm ..................................................... not installed

    Checking VRTSalloc rpm ..................................................... not installed

    Checking VRTSddlpr rpm ..................................................... not installed

    Checking VRTSlvmconv rpm ................................................... not installed

    Checking VRTSvxfscommon rpm ................................................ not installed

    Checking VRTSvxfsplatform rpm .............................................. not installed

    Checking VRTSap rpm ........................................................ not installed

    Checking VRTStep rpm ....................................................... not installed

    Checking VRTSfsman rpm ..................................................... not installed

    Checking VRTSfsdoc rpm ..................................................... not installed

    Checking VRTSfssdk rpm ..................................................... not installed

    Checking VRTSfsmnd rpm ..................................................... not installed

    Checking file system space ................................... required space is available

    Checking for patch(1) rpm ........................................ version 2.5.4 installed

    Checking vxsvc process ....................................................... not running

Installation requirement checks completed successfully.

Press [Enter] to continue:

          VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                        

          VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

It is possible to install SF Basic rpms without performing configuration.

 

It is optional to configure SF Basic now. If you choose to configure SF Basic later, you can

either do so manually or run the installsf -configure command.

Are you ready to configure SF Basic? [y,n,q] (y) y

         VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

Installing Storage Foundation Basic 4.1 on as4a:

    Installing VRTSperl 4.1.0.0 on as4a ................................... Done 1 of 20 steps

    Installing VRTSob 3.2.540 on as4a ..................................... Done 2 of 20 steps

    Installing VRTSobgui 3.2.540 on as4a .................................. Done 3 of 20 steps

    Installing VRTSvxvmcommon 4.1.20.00 on as4a .......................... ERROR 4 of 20 steps

error: %pre(VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686) scriptlet failed, exit status 1

error:   install: %pre scriptlet failed (2), skipping VRTSvxvm-common-4.1.20.00-MP2_RHEL4

error: %pre(VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686) scriptlet failed, exit status 1

error:   install: %pre scriptlet failed (2), skipping VRTSvxvm-common-4.1.20.00-MP2_RHEL4

error: %pre(VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686) scriptlet failed, exit status 1

error:   install: %pre scriptlet failed (2), skipping VRTSvxvm-common-4.1.20.00-MP2_RHEL4

 

CPI WARNING V-9-10-1420 Could not add VRTSvxvm-common-4.1.20.00-MP2_RHEL4.i686.rpm rpm to as4a

 

    Cannot install VRTSvxvmplatform ...................................... ERROR 5 of 20 steps

error: Failed dependencies:

        VRTSvxvm-common is needed by VRTSvxvm-platform-4.1.20.00-MP2_RHEL4.i686

    Installing VRTSvmdoc 4.1.00.10 on as4a ................................ Done 6 of 20 steps

    Installing VRTSvmman 4.1.00.10 on as4a ................................ Done 7 of 20 steps

    Installing VRTSvmpro 4.1.20.00 on as4a ................................ Done 8 of 20 steps

    Installing VRTSfspro 4.1.20.00 on as4a ................................ Done 9 of 20 steps

    Installing VRTSalloc 4.1.10.00 on as4a ............................... Done 10 of 20 steps

    Installing VRTSddlpr 4.1.20.00 on as4a ............................... Done 11 of 20 steps

    Cannot install VRTSlvmconv .......................................... ERROR 12 of 20 steps

error: Failed dependencies:

        VRTSvxvm-common is needed by VRTSlvmconv-4.1.00.10-GA_RHEL4.i686

    Installing VRTSvxfscommon 4.1.20.00 on as4a .......................... Done 13 of 20 steps

    Installing VRTSvxfsplatform 4.1.20.00 on as4a ........................ Done 14 of 20 steps

    Installing VRTSap 4.0.3.12 on as4a ................................... Done 15 of 20 steps

    Installing VRTStep 4.0.3.12 on as4a .................................. Done 16 of 20 steps

    Installing VRTSfsman 4.1.20.00 on as4a ............................... Done 17 of 20 steps

    Installing VRTSfsdoc 4.1.20.00 on as4a ............................... Done 18 of 20 steps

    Installing VRTSfssdk 4.1.20.00 on as4a ............................... Done 19 of 20 steps

    Installing VRTSfsmnd 4.1.20.00 on as4a ............................... Done 20 of 20 steps

 Storage Foundation Basic installation did not complete successfully.

Press [Enter] to continue:

The Volume Manager appears to have already been installed on the system as4a.

You will be prevented from performing post-installation activities, such as setting up the

enclosure-based naming scheme and default disk group on this host.

Press [Enter] to continue:

The enclosure-based naming scheme is a feature of Volume Manager. It allows one to reference

disks using a symbolic name that is more meaningful than the operating system's normal device

access name.  This symbolic name is typically derived from the array name.

None of the target systems can be reconfigured to use the enclosure-based naming scheme now.

After the installation is complete, you may use the vxdiskadm(1M) command to reconfigure this

naming scheme.

Press [Enter] to continue:

           VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

           VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

Configuring Storage Foundation Basic:

    Configuring Storage Foundation Basic on as4a ........................................ Done

Storage Foundation Basic configured successfully.

 

Press [Enter] to continue:

            VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

Note: The vxconfigd daemon will be started, which can take a while depending upon the hardware

configuration.

VxVM was previously started on system as4a

    vxconfigd is already running on as4a ............................................. Started

Volume Manager default disk group configuration:

Many Volume Manager commands affect the contents or configuration of a disk group. Such

commands require that the user specify a disk group.  This is accomplished by using the -g

option of a command or setting the VXVM_DEFAULTDG environment variable.  An alternative to these two methods is to configure the default disk group of a system.

None of the target systems can be configured because the vxconfigd daemon is not running

properly or VxVM is already installed.

Use the vxdctl(1M) command to configure the default disk group after the installation is

completed.

Press [Enter] to continue:

Volume Manager default disk group setup and daemon startup

    VxVM is already configured on as4a; installsf cannot reset the default disk group.

VxVM was already configured on as4a; VxVM daemons will not be started.

Storage Foundation Basic was started successfully.

 

Press [Enter] to continue:

           VERITAS STORAGE FOUNDATION 4.1 INSTALLATION PROGRAM                       

Installation of Storage Foundation Basic 4.1 has FAILED.

The installation summary is saved at:

        /opt/VRTS/install/logs/installsf822232753.summary

The installsf log is saved at:

        /opt/VRTS/install/logs/installsf822232753.log

The installation response file is saved at:

        /opt/VRTS/install/logs/installsf822232753.response

 CPI WARNING V-9-112-1035 While installing VxVM, the rpm(8) command generated either an error or warning message. The message for each relevant system is logged in the summary file specified  above.

See the VERITAS File System Administrators Guide for information on using VxFS.
阅读(5728) | 评论(5) | 转发(0) |
给主人留下些什么吧!~~