新Sap实例不工作。找不到实例配置文件
我已经在ubuntu虚拟机(vmware)上安装了sap server 7.51。安装成功,但运行start时出现以下错误:新Sap实例不工作。找不到实例配置文件,sap,vmware,ubuntu-18.04,Sap,Vmware,Ubuntu 18.04,我已经在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.
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预桥64作用域ID 0x20
乙醚00:0c:29:9f:48:53 txqueuelen 1000(以太网)
接收数据包1739字节1139138(1.1 MB)
接收错误0丢弃0超出0帧0
发送数据包1406字节145716(145.7KB)
发送错误0丢弃0溢出0载波0冲突0
低:标志=73 mtu 65536
inet 127.0.0.1网络掩码255.0.0.0
inet6::1前缀轴128作用域ID 0x10
循环txqueuelen 1000(本地环回)
接收数据包5009字节1102113(1.1MB)
接收错误0丢弃0超出0帧0
发送数据包5009字节1102113(1.1MB)
发送错误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
关于这个错误以及如何解决它还有其他想法吗?谢谢。在/etc/hosts中更新我的虚拟机的ip地址有助于:
> sudo nano /etc/hosts
..
192.168.1.218 vhcalnplci vhcalnplci.dummy.nodomain
。。然后我启动了服务器
> startsap ALL
。。并检查实例是否正在运行
> sapcontrol -nr 00 -function GetProcessList