【发布时间】:2019-06-30 22:20:29
【问题描述】:
我在 ubuntu 虚拟机 (vmware) 上安装了 sap server 7.51。安装成功,但是当我运行 start 时出现以下错误:
ubuntu:npladm 1> startsap all
No instance profiles found
please send the tracefile /home/npladm/startsap.trc to support
我输入了 ifconfig 并得到以下信息:
ens33: 标志=4163 mtu 1500 inet 192.168.234.130 网络掩码 255.255.255.0 广播 192.168.234.255 inet6 fe80::e152:4277:1c5f:3311 prefixlen 64 scopeid 0x20 以太 00:0c:29:9f:48:53 txqueuelen 1000(以太网) RX 数据包 1739 字节 1139138 (1.1 MB) RX 错误 0 丢弃 0 溢出 0 帧 0 TX 数据包 1406 字节 145716 (145.7 KB) TX 错误 0 丢弃 0 超限 0 载波 0 冲突 0
lo: 标志=73 mtu 65536 inet 127.0.0.1 网络掩码 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000(本地环回) RX 数据包 5009 字节 1102113 (1.1 MB) RX 错误 0 丢弃 0 溢出 0 帧 0 TX 数据包 5009 字节 1102113 (1.1 MB) TX 错误 0 丢弃 0 超限 0 载波 0 冲突 0
我检查了主机文件中的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
关于错误以及如何解决它的任何其他想法?谢谢。
【问题讨论】:
标签: sap vmware ubuntu-18.04