代码之家  ›  专栏  ›  技术社区  ›  mj1261829

新Sap实例不工作。找不到实例配置文件

  •  0
  • mj1261829  · 技术社区  · 5 年前

    我已经在ubuntu虚拟机(vmware)上安装了sapserver7.51。安装成功,但当我运行start时,出现以下错误:

    ubuntu:npladm 1> startsap all
    No instance profiles found
    
    please send the tracefile /home/npladm/startsap.trc to support
    

    我输入ifconfig,得到了以下信息:

    inet 192.168.234.130网络掩码255.255.255.0广播192.168.234.255 RX数据包1739字节1139138(1.1 MB) 发送数据包1406字节145716(145.7 KB) 发送错误0丢弃0溢出0载波0冲突0

    低:旗子=73 mtu 65536 循环txqueuelen 1000(本地环回) RX数据包5009字节1102113(1.1 MB) 发送数据包5009字节1102113(1.1 MB)

    我检查了主机文件中的ip地址是否正确,如中所示:

    cat /etc/hosts
    127.0.0.1   localhost
    127.0.1.1   ubuntu
    
    # mapping the Ubuntu loopback IP 127.0.1.1 to ubuntu
    192.168.234.130 ubuntu  ubuntu.dummy.nodomain
    
    # The following lines are desirable for IPv6 capable hosts ::1     ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
    127.0.0.1   localhost
    127.0.1.1   ubuntu
    
    # mapping the Ubuntu loopback IP 127.0.1.1 to vhcalnplci
    127.0.1.1   vhcalnplci  vhcalnplci.dummy.nodomain
    

    如您所见,ip地址应该是正确的(192.168.234.130),并且可以ping,但它仍然不工作。

    更新:

    Trace of system startup/check of SAP System NPL on Mon Jul  1 01:08:45 PDT 2019
    
    
    {01:08:45 ## Main() start: @=/usr/sap/NPL/SYS/exe/uc/linuxx86_64/startsap all
     @(#) $Id: //bas/749_STACK/src/krn/startscripts/startsap#1 $
     BASENAME=startsap
    
     {01:08:45 ## check_user() start: @=npladm
     }01:08:45 ## check_user() done
    
     #=1
     @=all
    
     {01:08:45 ## setPlatform() start
      PLATFORM=linuxx86_64
     }01:08:45 ## setPlatform() done
    
     {01:08:45 ## setPing() start
      PING=/bin/ping
     }01:08:45 ## setPing() done
    
     {01:08:45 ## setIfconfig() start
      IFCONFIG=/sbin/ifconfig
     }01:08:45 ## setIfconfig() done
    
     {01:08:45 ## setIp() start
      IP=/sbin/ip
     }01:08:45 ## setIp() done
    
     {01:08:45 ## setRootDir() start: @=
      USR_SAP=/usr/sap
      USR_SAP_SID=/usr/sap/NPL
      PROFILE_DIR=/usr/sap/NPL/SYS/profile
      DIR_LIBRARY=/usr/sap/NPL/SYS/exe/run
     }01:08:45 ## setRootDir() done
    
     {01:08:45 ## setDbUser() start: @=
     }01:08:45 ## setDbUser() done
    
     Argument=all
    
     {01:08:45 ## getarg() start
    
      {01:08:45 ## checkInstance() start: @=all
      }01:08:45 ## checkInstance() done: 1
    
      {01:08:45 ## checkTask() start: @=all
       _opt=all
      }01:08:45 ## checkTask() done: 0
    
      TASK=ALL
     }01:08:45 ## getarg() done: 1
    
     {01:08:45 ## setVHostArray() start
      _PROFILES=/usr/sap/NPL/SYS/profile/NPL_ASCS01_ubuntu /usr/sap/NPL/SYS/profile/NPL_D00_ubuntu
      _nrProfiles=2
    
      {01:08:45 ## pushVHostsFromProfile() start: @=/usr/sap/NPL/SYS/profile/NPL_ASCS01_ubuntu /usr/sap/NPL/SYS/profile/NPL_D00_ubuntu
       _DUMMY=NPL_ASCS01_ubuntu
       _VHOST=ubuntu
    
       {01:08:45 ## isVHostLocal() start: ubuntu
        VHOST=ubuntu
        _IS_LOCAL=0
       }01:08:46 ## isVHostLocal() done: 0
    
       _DUMMY=NPL_D00_ubuntu
       _VHOST=ubuntu
    
       {01:08:46 ## isVHostLocal() start: ubuntu
        VHOST=ubuntu
        _IS_LOCAL=0
       }01:08:46 ## isVHostLocal() done: 0
    
       VHOSTS=
      }01:08:46 ## pushVHostsFromProfile() done
    
      VHOSTS=
     }01:08:46 ## setVHostArray() done
    
     {01:08:46 ## set_instance() start
      NINST=
      INSTFOUND=0
      NINSTFOUND=0
      hasABAP=0
      hasJava=0
      hasSpecial=0
     }01:08:46 ## set_instance() done
    
    No instance profiles found
    
    Exit code 8
    

    关于这个错误以及如何解决它还有其他的想法吗?谢谢。

    0 回复  |  直到 5 年前