{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
0
Question by chadalawada venkata harish babu · Oct 28, 2017 at 07:22 AM · 793 Views edgeconfigurationzookeeperhostalias

Apigee-edge onpremises installation host issue

I was trying to install apigee aio on a centos vm. My 1st question is it possible to ibstall aio in a vm?

and when I am trying to install the setup file through my configuration file I am facing hostip issues...

when I am writing a configuration file I have given my centos IP address for IP1 and the same reflects to ZooKeeper too.

Note: I have also rechecked by changing the /etc/hosts file with my IP address.

INFO: running setup as root
INFO: changing log location to /tmp/setup-root.log
Using defaults from /tmp/config.txt


Service setup apigee-zookeeper


/opt/apigee/apigee-setup/bin/setup.sh: line 354: 127.0.0.1: command not found
apigee-service: apigee-zookeeper: apigee-zookeeper is not running
apigee-configutil: apigee-zookeeper: # OK
apigee-service: apigee-zookeeper: Not running (NO_PIDFILE)
apigee-service: apigee-zookeeper: status=1, continuing
apigee-service: apigee-zookeeper: Not running (DEAD)
apigee-service: apigee-zookeeper: status=3, continuing
apigee-service: apigee-zookeeper: Not running (DEAD)
apigee-service: apigee-zookeeper: apigee-zookeeper is dead
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 3




help me to drive through it.

Comment
Add comment Show 5
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Faraaz Shaik · Jan 29, 2020 at 08:11 PM 0
Link

Hi @chadalawada venkata harish babu did you resolve this issue ? I have the same error when I'm doing my AIO installation. Can you please your finding.

ERROR:-

zk-error.png (36.9 kB)
avatar image Denis Kalitviansky Faraaz Shaik · Mar 27, 2020 at 12:50 AM 0
Link

You have clearly IPV6 and IPV4 addresses returned with hostname -i

See reference: https://docs.apigee.com/private-cloud/v4.19.06/edge-configuration-file-reference

# When "hostname -i" returns multiple IP addresses,# set to "y", to have the installer prompt you to select the IP address to use.
ENABLE_DYNAMIC_HOSTIP=n
avatar image Kashmira Patel · Mar 26, 2020 at 08:11 PM 0
Link

I am seeing this same issue as well. Am not doing an AIO installation, but installing ds on a node.
My hostname is resolving to the private ip, not public ip - does that matter?
Also, if I uninstall zk and try again, it works. This is baffling

avatar image Denis Kalitviansky Kashmira Patel · Mar 27, 2020 at 12:49 AM 0
Link

It can be that you have multiple IP adresses, and zookeeper quorum will not like that;

See reference: https://docs.apigee.com/private-cloud/v4.19.06/edge-configuration-file-reference

# When "hostname -i" returns multiple IP addresses,# set to "y", to have the installer prompt you to select the IP address to use.
ENABLE_DYNAMIC_HOSTIP=n
avatar image Kashmira Patel Denis Kalitviansky · Mar 27, 2020 at 01:05 AM 0
Link

Thanks Denis!

I did check that, it only has one IP.


The issue was with selinux - I am installing on centos7 and I needed to reboot after disabling selinux. After reboot, installation worked.

Close

1 Answer

  • Sort: 
avatar image
0

Answer by Christin Brown · Oct 29, 2017 at 09:22 PM

@chadalawada venkata harish babu was does hostname -i return ? Yes AIO can be installed in VM, do you prefer K8s or Docker ? check these as well : https://community.apigee.com/articles/42562/apigee-edge-private-cloud-aio-docker-image.html

Comment
Add comment Show 3 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image chadalawada venkata harish babu · Oct 30, 2017 at 09:03 AM 0
Link

Thanks for the reply @Christin Brown. hostmae -i returns ::1 127.0.0.1 . I do have a look at docker but by primary goal is to install it in a VM or in a physical machine, but to be honest I don't have an idea about K8s but I come to know that it should have 8cores to do the installation. please guide me for this.

avatar image Christin Brown ♦ chadalawada venkata harish babu · Oct 30, 2017 at 12:48 PM 0
Link

ok so you will run into issue if your hostname resolves to localhost. it needs to resolve to your public ip. I would make sure you have done all the prereqs with selinux and the etc/hosts

avatar image chadalawada venkata harish babu Christin Brown ♦ · Oct 30, 2017 at 02:15 PM 0
Link

@Christin Brown i have disabled and also changed my etc/hosts file to do the installation. I think I just stepped into the installation part and now its getting error like

pigee-configutil: apigee-openldap: # OK
apigee-configutil: apigee-openldap: # OK
apigee-service: apigee-openldap: Not running (NO_PIDFILE)
apigee-service: apigee-openldap: status=1, continuing
apigee-service: apigee-openldap: OK
apigee-service: apigee-openldap: apigee-openldap is running


Set LDAP ROOTDN password


Error: OpenLDAP password could not be changed
Importing ppolicy olcOverlay
ldap_add: Other (e.g., implementation specific) error (80)
	additional info: User Schema load failed for attribute "pwdMaxRecordedFailure". Error code 17: attribute type undefined
adding new entry "olcOverlay=ppolicy,olcDatabase={2}bdb,cn=config"


Error: sudo-apigee-service: ldapadd exited with unexpected status 80
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 80



now its started a little but yet a lot to do

Follow this Question

Answers Answers and Comments

56 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Apigee Private Cloud Blue & Green Deployment 0 Answers

Is it necessary to manually remove old Zookeeper Snapshot files in 4.16.01 per the ops guide? 2 Answers

How to unify different error/fault format? 2 Answers

How to Test and validate Zookeeper/Cassandra of my Apigee Edge on-premises Installation ? 2 Answers

How to identify which proxy is generating errors? 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges