微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Apigee:无法通过管理服务器进行身份验证

如何解决Apigee:无法通过管理服务器进行身份验证

我在单个节点上安装Apigee,但是在运行此命令时:

/opt/apigee/apigee-setup/bin/setup.sh -p aio -f configFile

最后我得到这个堆栈错误

Checking if management-server is up management-server is up.

Finished edge-management-server setup

Checking for required variables
Checking required variable MSIP...OK
Checking required variable ADMIN_EMAIL...OK

Checking for optional variables
Found optional variable APIGEE_ADMINPW...OK
Found optional variable APIGEE_PORT_HTTP_MS...OK
http://10.10.37.31:8080/v1/servers/self......
Unable to authenticate with Management Server
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

我已经尝试过卸载和重新安装,但是仍然遇到相同的错误

/opt/apigee/apigee-service/bin/apigee-service apigee-service uninstall

这是我的configFile:

# With SMTP
IP1=10.10.37.31
HOSTIP=$(hostname -i)
ENABLE_SYstem_CHECK=y
ADMIN_EMAIL=name.surname@org.ch
# Admin password must be at least 8 characters long and contain one uppercase
# letter,one lowercase letter,and one digit or special character
APIGEE_ADMINPW=Apigeepw2020
LICENSE_FILE=/tmp/license.txt
MSIP=$IP1
LDAP_TYPE=1
APIGEE_LDAPPW=Apigeepw2020
MP_POD=gateway
REGION=dc-1
ZK_HOSTS="$IP1"
ZK_CLIENT_HOSTS="$IP1"
# Must use IP addresses for CASS_HOSTS,not DNS names.
CASS_HOSTS="$IP1"
# Default is postgres
PG_PWD=postgres
SKIP_SMTP=y
SMTPHOST=smtp.example.com
SMTPUSER=smtp@example.com
# omit for no username
SMTPPASSWORD=SMTP_PASSWORD
# omit for no password
SMTPSSL=n
SMTPPORT=25
SMTPMAILFROM="My Company <myco@company.com>"

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。