[ec2-user@ip-172-31-28-15 ~]$ sudo su -
Last login: Mon May 1 02:39:12 EDT 2017 on pts/0
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]# sestatus
SELinux status: disabled
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]# sudo bash /tmp/repos/bootstrap_4.17.01.sh apigeeprotocol="file://" apigeerepobasepath=/tmp/repos
Apigee bootstrap 1.0-287 (origin/OPDK_1701, 2016.11.25,02:32)
=== Begin work ...
=== Checking for presence of misc commands:
=== Checking distro:
=== Checking architecture:
=== Checking OS:
=== Checking SELinux status
=== Configuring package manager:
+ rpm -qa apigee*
+ rpm -e apigee-repo
warning: file /etc/yum/vars/apigeestage: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeerepohost: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeerepobasepath: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeereleasever: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeeprotocol: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeepriority: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeeexclude: remove failed: No such file or directory
warning: file /etc/yum/vars/apigeecredentialswithat: remove failed: No such file or directory
+ rpm -e apigeeprio-repo
error: package apigeeprio-repo is not installed
(error can be ignored)
+ yum install -y /tmp/repos/apigee-repo-1.0-6.x86_64.rpm
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Examining /tmp/repos/apigee-repo-1.0-6.x86_64.rpm: apigee-repo-1.0-6.x86_64
Marking /tmp/repos/apigee-repo-1.0-6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package apigee-repo.x86_64 0:1.0-6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
apigee-repo x86_64 1.0-6 /apigee-repo-1.0-6.x86_64 2.6 k
Transaction Summary
================================================================================
Install 1 Package
Total size: 2.6 k
Installed size: 2.6 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : apigee-repo-1.0-6.x86_64 1/1
Verifying : apigee-repo-1.0-6.x86_64 1/1
Installed:
apigee-repo.x86_64 0:1.0-6
Complete!
+ _set_yum_vars
bootstrap_4.17.01.sh: setting apigeecredentialswithat for yum
bootstrap_4.17.01.sh: setting apigeepassword for yum
bootstrap_4.17.01.sh: setting apigeepriostage for yum
bootstrap_4.17.01.sh: setting apigeeprotocol for yum
bootstrap_4.17.01.sh: setting apigeereleasever for yum
bootstrap_4.17.01.sh: setting apigeerepobasepath for yum
bootstrap_4.17.01.sh: setting apigeerepohost for yum
bootstrap_4.17.01.sh: setting apigeestage for yum
bootstrap_4.17.01.sh: setting apigeeuser for yum
+ yum clean all
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Cleaning repos: apigee-release apigee-thirdparty
: rhui-REGION-client-config-server-7
: rhui-REGION-rhel-server-releases
: rhui-REGION-rhel-server-rh-common
Cleaning up everything
=== Checking that java is on PATH:
=== Checking java brand:
=== Checking java version:
=== Installing apigee-service:
+ yum install -y apigee-service
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-service.noarch 0:4.17.01-0.0.547 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
apigee-service noarch 4.17.01-0.0.547 apigee-release 30 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 30 k
Installed size: 64 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apigee-service-4.17.01-0.0.547.noarch 1/1
Verifying : apigee-service-4.17.01-0.0.547.noarch 1/1
Installed:
apigee-service.noarch 0:4.17.01-0.0.547
Complete!
+ rpm -q apigee-service
apigee-service-4.17.01-0.0.547.noarch
=== Storing JAVA_HOME=/usr/lib/jvm/java in /opt/apigee/etc/defaults.sh
bootstrap_4.17.01.sh: id=apigee:apigee
=== End work - success!
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]# /opt/apigee/apigee-service/bin/apigee-service apigee-setup install
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-setup.noarch 0:4.17.01-0.0.963 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
apigee-setup noarch 4.17.01-0.0.963 apigee-release 14 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 14 k
Installed size: 32 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apigee-setup-4.17.01-0.0.963.noarch 1/1
Verifying : apigee-setup-4.17.01-0.0.963.noarch 1/1
Installed:
apigee-setup.noarch 0:4.17.01-0.0.963
Complete!
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]# /opt/apigee/apigee-setup/bin/setup.sh -p aio -f /tmp/apigee/edge-response.txt
INFO: running setup as root
INFO: changing log location to /tmp/setup-root.log
Using defaults from /tmp/apigee/edge-response.txt
Service setup apigee-zookeeper
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-zookeeper.noarch 0:3.4.5-0.0.927 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
apigee-zookeeper noarch 3.4.5-0.0.927 apigee-release 16 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 16 M
Installed size: 35 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apigee-zookeeper-3.4.5-0.0.927.noarch 1/1
Verifying : apigee-zookeeper-3.4.5-0.0.927.noarch 1/1
Installed:
apigee-zookeeper.noarch 0:3.4.5-0.0.927
Complete!
Validating setup variables
Checking for required variables
Checking required variable ZK_HOSTS...OK
Checking required variable HOSTIP...OK
Checking required variable RUN_USER...OK
Checking required variable RUN_GROUP...OK
Creating /opt/apigee/data/apigee-zookeeper/data and /opt/apigee/data/apigee-zookeeper/logs directories
apigee-configutil: apigee-zookeeper: # OK
updated property conf_zoo_quorum in file /opt/apigee/token/application/zookeeper.properties
updated property conf_zoo_peertype in file /opt/apigee/token/application/zookeeper.properties
updated property conf_zoo_data_myid.id in file /opt/apigee/token/application/zookeeper.properties
apigee-service: apigee-zookeeper: apigee-zookeeper is not running
apigee-configutil: apigee-zookeeper: # OK
apigee-service: apigee-zookeeper: Not running (NO_LOCKFILE)
apigee-service: apigee-zookeeper: status=2, continuing
apigee-service: apigee-zookeeper: OK
apigee-service: apigee-zookeeper: apigee-zookeeper is running
Finished apigee-zookeeper setup
Service setup apigee-cassandra
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-cassandra.noarch 0:2.1.16-0.0.1006 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
apigee-cassandra noarch 2.1.16-0.0.1006 apigee-release 27 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 27 M
Installed size: 93 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apigee-cassandra-2.1.16-0.0.1006.noarch 1/1
Verifying : apigee-cassandra-2.1.16-0.0.1006.noarch 1/1
Installed:
apigee-cassandra.noarch 0:2.1.16-0.0.1006
Complete!
Validating setup variables
updated property conf_cassandra_authenticator in file /opt/apigee/token/application/cassandra.properties
Cassandra setup overview
datacenter dc-1
- rack ra-1: 172.31.28.15
ok
apigee-service: apigee-cassandra: apigee-cassandra is not running
The file conf/cassandra-env.sh was changed
[InsertDelta, position: 86, lines: [ if [ "$system_memory_in_mb" -gt "15000" ], then, MAX_HEAP_SIZE="8192M", HEAP_NEWSIZE="1200M", fi]]
[ChangeDelta, position: 101, lines: [if [ "$JVM_VERSION" \< "1.8" ] && [ "$JVM_PATCH_VERSION" -lt 25 ] ; then] to [if [ "$JVM_VERSION" \< "1.8" ] && [ "$JVM_PATCH_VERSION" -lt "25" ] ; then]]
[InsertDelta, position: 144, lines: [#MAX_HEAP_SIZE="{T}conf_cassandra-env_max_heap_size{/T}", #HEAP_NEWSIZE="{T}conf_cassandra-env_new_heap_size{/T}"]]
[InsertDelta, position: 281, lines: [LOCAL_JMX=no]]
[ChangeDelta, position: 288, lines: [ JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=true", JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password"] to [ JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false", JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.password.file=/opt/apigee/data/apigee-cassandra/jmxremote.password"]]
[InsertDelta, position: 311, lines: [JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jolokia-jvm-1.3.5-agent.jar=host=0.0.0.0"]]
The file conf/cassandra-topology.properties was changed
[ChangeDelta, position: 17, lines: [192.168.1.100=DC1:RAC1, 192.168.2.200=DC2:RAC2] to [172.31.28.15=dc-1:ra-1, default=dc-1:ra-1]]
[DeleteDelta, position: 20, lines: [10.0.0.10=DC1:RAC1, 10.0.0.11=DC1:RAC1, 10.0.0.12=DC1:RAC2]]
[ChangeDelta, position: 24, lines: [10.20.114.10=DC2:RAC1, 10.20.114.11=DC2:RAC1, , 10.21.119.13=DC3:RAC1, 10.21.119.10=DC3:RAC1, , 10.0.0.13=DC1:RAC2, 10.21.119.14=DC3:RAC2, 10.20.114.15=DC2:RAC2, , # default for unknown nodes, default=DC1:r1, , # Native IPv6 is supported, however you must escape the colon in the IPv6 Address, # Also be sure to comment out JVM_OPTS="$JVM_OPTS -Djava.net.preferIPv4Stack=true", # in cassandra-env.sh, fe80\:0\:0\:0\:202\:b3ff\:fe1e\:8329=DC1:RAC3] to [# For IPV6 if used]]
The file conf/cassandra.yaml was changed
[ChangeDelta, position: 0, lines: [# Cassandra storage config YAML ] to [# Cassandra storage config YAML]]
[ChangeDelta, position: 9, lines: [cluster_name: 'Test Cluster'] to [cluster_name: "Apigee"]]
[ChangeDelta, position: 22, lines: [# If you already have a cluster with 1 token per node, and wish to migrate to ] to [# If you already have a cluster with 1 token per node, and wish to migrate to]]
[DeleteDelta, position: 24, lines: [num_tokens: 256]]
[InsertDelta, position: 26, lines: []]
[ChangeDelta, position: 27, lines: [# vnodes (num_tokens > 1, above) -- in which case you should provide a , # comma-separated list -- it's primarily used when adding nodes # to legacy clusters ] to [# vnodes (num_tokens > 1, above) -- in which case you should provide a, # comma-separated list -- it's primarily used when adding nodes # to legacy clusters]]
[DeleteDelta, position: 30, lines: [# initial_token:]]
[InsertDelta, position: 32, lines: [initial_token: 0, , ]]
[ChangeDelta, position: 35, lines: [# hinted_handoff_enabled: DC1,DC2] to [# hinted_handoff_enabled: true]]
[ChangeDelta, position: 50, lines: [max_hints_delivery_threads: 2] to [max_hints_delivery_threads: 4]]
[ChangeDelta, position: 99, lines: [partitioner: org.apache.cassandra.dht.Murmur3Partitioner] to [partitioner: org.apache.cassandra.dht.RandomPartitioner]]
[ChangeDelta, position: 105, lines: [# data_file_directories:, # - /var/lib/cassandra/data] to [data_file_directories:, - /opt/apigee/data/apigee-cassandra/data]]
[ChangeDelta, position: 111, lines: [# commitlog_directory: /var/lib/cassandra/commitlog] to [commitlog_directory: /opt/apigee/data/apigee-cassandra/commitlog]]
[ChangeDelta, position: 114, lines: [# die: shut down gossip and client transports and kill the JVM for any fs errors or] to [# die: shut down gossip and Thrift and kill the JVM, so the node can be replaced.]]
[ChangeDelta, position: 118, lines: [# stop: shut down gossip and client transports, leaving the node effectively dead, but] to [# stop: shut down gossip and Thrift, leaving the node effectively dead, but]]
[ChangeDelta, position: 123, lines: [# ignore: ignore fatal errors and let requests fail, as in pre-1.2 Cassandra] to [# ignore: ignore fatal errors and let the batches fail]]
[ChangeDelta, position: 144, lines: [# NOTE: if you reduce the size, you may not get you hottest keys loaded on startup.] to [# NOTE: No custom encryption options are enabled at the moment]]
[ChangeDelta, position: 165, lines: [# NOTE: if you reduce the size, you may not get you hottest keys loaded on startup.] to [# NOTE: No custom encryption options are enabled at the moment]]
[ChangeDelta, position: 194, lines: [# NOTE: if you reduce the size, you may not get you hottest keys loaded on startup.] to [# NOTE: No custom encryption options are enabled at the moment]]
[ChangeDelta, position: 197, lines: [# NOTE: if you perform counter deletes and rely on low gcgs, you should disable the counter cache.] to [# NOTE: No custom encryption options are enabled at the moment]]
[ChangeDelta, position: 215, lines: [# ] to [#]]
[ChangeDelta, position: 226, lines: [# saved_caches_directory: /var/lib/cassandra/saved_caches] to [saved_caches_directory: /opt/apigee/data/apigee-cassandra/saved_caches]]
[ChangeDelta, position: 228, lines: [# commitlog_sync may be either "periodic" or "batch." , # ] to [# commitlog_sync may be either "periodic" or "batch.", #]]
[ChangeDelta, position: 237, lines: [# commitlog_sync: batch] to [# commitlog_sync: periodic]]
[ChangeDelta, position: 242, lines: [# milliseconds. ] to [# milliseconds.]]
[ChangeDelta, position: 249, lines: [# flushed to sstables. ] to [# flushed to sstables.]]
[ChangeDelta, position: 264, lines: [ # Addresses of hosts that are deemed contact points. ] to [ # Addresses of hosts that are deemed contact points.]]
[ChangeDelta, position: 272, lines: [ - seeds: "127.0.0.1"] to [ - seeds: "172.31.28.15"]]
[ChangeDelta, position: 293, lines: [# Total permitted memory to use for memtables. Cassandra will stop ] to [# Total permitted memory to use for memtables. Cassandra will stop]]
[ChangeDelta, position: 314, lines: [memtable_allocation_type: heap_buffers] to [memtable_allocation_type: offheap_objects]]
[ChangeDelta, position: 328, lines: [# while blocked. ] to [# while blocked.]]
[ChangeDelta, position: 332, lines: [# ] to [#]]
[ChangeDelta, position: 385, lines: [listen_address: localhost, # listen_interface: eth0] to [, listen_address: 172.31.28.15, , ]]
[ChangeDelta, position: 443, lines: [rpc_address: localhost, # rpc_interface: eth1] to [, rpc_address: 172.31.28.15, , ]]
[ChangeDelta, position: 524, lines: [# or dropping of column families. The STRONGLY advised default of true ] to [# or dropping of column families. The STRONGLY advised default of true]]
[ChangeDelta, position: 538, lines: [tombstone_warn_threshold: 1000, tombstone_failure_threshold: 100000] to [tombstone_warn_threshold: 10000, tombstone_failure_threshold: 1000000]]
[ChangeDelta, position: 555, lines: [batch_size_warn_threshold_in_kb: 5] to [batch_size_warn_threshold_in_kb: 50]]
[DeleteDelta, position: 557, lines: [, # Log WARN on any batches not of type LOGGED than span across more partitions than this limit, unlogged_batch_across_partitions_warn_threshold: 10, ]]
[ChangeDelta, position: 572, lines: [# ] to [#]]
[ChangeDelta, position: 583, lines: [compaction_throughput_mb_per_sec: 16] to [compaction_throughput_mb_per_sec: 64]]
[ChangeDelta, position: 590, lines: [# any range that has been written. This helps to smoothly transfer reads ] to [# any range that has been written. This helps to smoothly transfer reads]]
[ChangeDelta, position: 609, lines: [read_request_timeout_in_ms: 5000] to [read_request_timeout_in_ms: 10000]]
[ChangeDelta, position: 613, lines: [write_request_timeout_in_ms: 2000] to [write_request_timeout_in_ms: 10000]]
[ChangeDelta, position: 629, lines: [# under overload conditions we will waste that much extra time processing ] to [# under overload conditions we will waste that much extra time processing]]
[ChangeDelta, position: 636, lines: [# Set socket timeout for streaming operation., # The stream session is failed if no data/ack is received by any of the participants, # within that period, which means this should also be sufficient to stream a large, # sstable or rebuild table indexes., # Default value is 86400000ms, which means stale streams timeout after 24 hours., # A value of zero means stream sockets should never time out., # streaming_socket_timeout_in_ms: 86400000] to [# Enable socket timeout for streaming operation., # When a timeout occurs during streaming, streaming is retried from the start, # of the current file. This _can_ involve re-streaming an important amount of, # data, so you should avoid setting the value too low., # Default value is 3600000, which means streams timeout after an hour., # streaming_socket_timeout_in_ms: 3600000]]
[ChangeDelta, position: 646, lines: [# phi_convict_threshold: 8] to [phi_convict_threshold: 16]]
[ChangeDelta, position: 658, lines: [# CASSANDRA WILL NOT ALLOW YOU TO SWITCH TO AN INCOMPATIBLE SNITCH, # ONCE DATA IS INSERTED INTO THE CLUSTER. This would cause data loss., # This means that if you start with the default SimpleSnitch, which, # locates every node on "rack1" in "datacenter1", your only options, # if you need to add another datacenter are GossipingPropertyFileSnitch, # (and the older PFS). From there, if you want to migrate to an, # incompatible snitch like Ec2Snitch you can do it by adding new nodes, # under Ec2Snitch (which will locate them in a new "datacenter") and, # decommissioning the old ones.] to [# IF YOU CHANGE THE SNITCH AFTER DATA IS INSERTED INTO THE CLUSTER,, # YOU MUST RUN A FULL REPAIR, SINCE THE SNITCH AFFECTS WHERE REPLICAS, # ARE PLACED.]]
[InsertDelta, position: 668, lines: [# IF THE RACK A REPLICA IS PLACED IN CHANGES AFTER THE REPLICA HAS BEEN, # ADDED TO A RING, THE NODE MUST BE DECOMMISSIONED AND REBOOTSTRAPPED., #]]
[ChangeDelta, position: 704, lines: [endpoint_snitch: SimpleSnitch] to [endpoint_snitch: org.apache.cassandra.locator.PropertyFileSnitch]]
[ChangeDelta, position: 708, lines: [dynamic_snitch_update_interval_in_ms: 100 ] to [dynamic_snitch_update_interval_in_ms: 100]]
[ChangeDelta, position: 725, lines: [# NOTE: This is specifically for requests from the client and does] to [# NOTE: No custom encryption options are enabled at the moment]]
[ChangeDelta, position: 738, lines: [# requests per client. Requests beyond ] to [# requests per client. Requests beyond]]
The file conf/logback.xml was changed
[ChangeDelta, position: 20, lines: [ , , ${cassandra.logdir}/system.log, , ${cassandra.logdir}/system.log.%i.zip, 1, 20, ] to [ , , /opt/apigee/var/log/apigee-cassandra/system.log, , /opt/apigee/var/log/apigee-cassandra/system.log.%i.zip, 1, 20, ]]
[ChangeDelta, position: 29, lines: [ , 20MB, , , %-5level [%thread] %date{ISO8601} %F:%L - %msg%n, , , , , , , %-5level %date{HH:mm:ss,SSS} %msg%n, , , , , , , , , ] to [ , 20MB, , , %-5level [%thread] %date{ISO8601} %F:%L - %msg%n, , , , , , , %-5level %date{HH:mm:ss,SSS} %msg%n, , , , , , , , , ]]
apigee-configutil: apigee-cassandra: # OK
apigee-service: apigee-cassandra: Not running (NO_LOCKFILE)
apigee-service: apigee-cassandra: status=2, continuing
apigee-service: apigee-cassandra: OK
apigee-service: apigee-cassandra: apigee-cassandra is running
Finished apigee-cassandra setup
Cassandra started
Cassandra node info:
ID : 1df04439-f29c-4c8d-8b0a-763d0b8afbb6
Gossip active : true
Thrift active : false
Native Transport active: false
Load : 194.83 KB
Generation No : 1493624070
Uptime (seconds) : 4
Heap Memory (MB) : 393.29 / 3576.00
Off Heap Memory (MB) : 0.09
Data Center : dc-1
Rack : ra-1
Exceptions : 0
Key Cache : entries 43, size 3.73 KB, capacity 100 MB, 192 hits, 237 requests, 0.810 recent hit rate, 14400 save period in seconds
Row Cache : entries 0, size 0 bytes, capacity 0 bytes, 0 hits, 0 requests, NaN recent hit rate, 0 save period in seconds
Counter Cache : entries 0, size 0 bytes, capacity 50 MB, 0 hits, 0 requests, NaN recent hit rate, 7200 save period in seconds
Token : 0
Cassandra ring status:
Waiting for cassandra to finish start
Datacenter: dc-1
================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Owns Host ID Token Rack
UN 172.31.28.15 194.83 KB ? 1df04439-f29c-4c8d-8b0a-763d0b8afbb6 0 ra-1
Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless
Cassandra successfully started
Service setup apigee-openldap
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-openldap.noarch 0:2.4-0.0.941 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
apigee-openldap noarch 2.4-0.0.941 apigee-release 44 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 44 k
Installed size: 225 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apigee-openldap-2.4-0.0.941.noarch 1/1
Verifying : apigee-openldap-2.4-0.0.941.noarch 1/1
Installed:
apigee-openldap.noarch 0:2.4-0.0.941
Complete!
Validating setup variables
Checking for required variables
Checking required variable RUN_USER...OK
Checking required variable RUN_GROUP...OK
Checking required variable APIGEE_LDAPPW...OK
Checking for optional variables
Found optional variable LDAP_TYPE...OK
Create indices
Could not parse LDAP URI(s)=ldap://:/ (5)
The file lib/settings was changed
[ChangeDelta, position: 0, lines: [#Automatically generated placeholder] to [# tcp port for slapd to listen on, LDAP_PORT=${LDAP_PORT:-10389}, , # bind dn for ldap system configuration, olcDatabase={0}config,cn=config, CONFIG_BIND_DN=cn=admin,cn=config, , # bind dn for Apigee DIT, dc=apigee,dc=com, APIGEE_BIND_DN=${APIGEE_BIND_DN:-cn=manager,dc=apigee,dc=com}, , LDAP_SID=${LDAP_SID:-}, , LDAP_PEER=${LDAP_PEER:-}, , LDAP_TYPE=${LDAP_TYPE:-1}, , APPLICATION_EXE=/usr/sbin/slapd, EXTRA_ARGS="-h ldap://:$LDAP_PORT/ -F $APIGEE_APP_DATADIR/slapd.d/ -u $RUN_USER -d 64"]]
apigee-configutil: apigee-openldap: # OK
updated property lib_settings_ldap_port in file /opt/apigee/token/application/openldap.properties
updated property RUN_USER in file /opt/apigee/etc/apigee-openldap.d/apigee-openldap.sh
updated property lib_settings_apigee_bind_dn in file /opt/apigee/token/application/openldap.properties
apigee-configutil: apigee-openldap: # OK
apigee-configutil: apigee-openldap: # OK
apigee-service: apigee-openldap: Not running (NO_LOCKFILE)
apigee-service: apigee-openldap: status=2, 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
Configure Apigee DIT
ldap_add: Already exists (68)
adding new entry "dc=apigee,dc=com"
ldap_add: Already exists (68)
adding new entry "ou=global,dc=apigee,dc=com"
ldap_add: Already exists (68)
adding new entry "ou=organizations,dc=apigee,dc=com"
ldap_add: Already exists (68)
adding new entry "ou=permissions,dc=apigee,dc=com"
adding new entry "ou=pwpolicies,dc=apigee,dc=com"
adding new entry "cn=default,ou=pwpolicies,dc=apigee,dc=com"
adding new entry "cn=sysadmin,ou=pwpolicies,dc=apigee,dc=com"
ldap_modify: Type or value exists (20)
additional info: modify/add: pwdPolicySubentry: value #0 already exists
modifying entry "uid=admin,ou=users,ou=global,dc=apigee,dc=com"
Create indices
ldap_modify: Type or value exists (20)
additional info: modify/add: olcDbIndex: value #0 already exists
modifying entry "olcDatabase={2}bdb,cn=config"
apigee-service: apigee-openldap: pid=4968
apigee-service: apigee-openldap: OK
apigee-service: apigee-openldap: Not running (DEAD)
apigee-service: apigee-openldap: OK
apigee-configutil: apigee-openldap: # OK
apigee-service: apigee-openldap: Not running (NO_LOCKFILE)
apigee-service: apigee-openldap: status=2, continuing
apigee-service: apigee-openldap: OK
apigee-service: apigee-openldap: apigee-openldap is running
Finished apigee-openldap setup
Service setup apigee-qpidd
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package apigee-qpidd.noarch 0:4.17.01-0.0.796 will be installed
--> Processing Dependency: qpid-tools >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: qpid-qmf >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: qpid-cpp-server-linearstore >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: qpid-cpp-server >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Processing Dependency: python-qpid >= 1.35.0 for package: apigee-qpidd-4.17.01-0.0.796.noarch
--> Running transaction check
---> Package python-qpid.noarch 0:1.35.0-1.el7 will be installed
--> Processing Dependency: python-qpid-common = 1.35.0-1.el7 for package: python-qpid-1.35.0-1.el7.noarch
--> Processing Dependency: python-saslwrapper for package: python-qpid-1.35.0-1.el7.noarch
---> Package qpid-cpp-server.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: qpid(cpp-client)(x86-64) = 1.35.0-1.el7 for package: qpid-cpp-server-1.35.0-1.el7.x86_64
--> Processing Dependency: qpid-proton-c(x86-64) >= 0.14.0 for package: qpid-cpp-server-1.35.0-1.el7.x86_64
--> Processing Dependency: cyrus-sasl for package: qpid-cpp-server-1.35.0-1.el7.x86_64
--> Processing Dependency: libqpidtypes.so.1()(64bit) for package: qpid-cpp-server-1.35.0-1.el7.x86_64
--> Processing Dependency: libqpidcommon.so.2()(64bit) for package: qpid-cpp-server-1.35.0-1.el7.x86_64
--> Processing Dependency: libqpid-proton.so.8()(64bit) for package: qpid-cpp-server-1.35.0-1.el7.x86_64
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libaio for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: db4 for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libdb_cxx-4.8.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libaio.so.1()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
---> Package qpid-qmf.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: python-qpid-qmf(x86-64) = 1.35.0-1.el7 for package: qpid-qmf-1.35.0-1.el7.x86_64
---> Package qpid-tools.noarch 0:1.35.0-1.el7 will be installed
--> Running transaction check
---> Package cyrus-sasl.x86_64 0:2.1.26-20.el7_2 will be installed
---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed
---> Package python-qpid-common.noarch 0:1.35.0-1.el7 will be installed
---> Package python-qpid-qmf.x86_64 0:1.35.0-1.el7 will be installed
---> Package python-saslwrapper.x86_64 0:0.22-5.el7sat will be installed
--> Processing Dependency: saslwrapper = 0.22-5.el7sat for package: python-saslwrapper-0.22-5.el7sat.x86_64
--> Processing Dependency: libsaslwrapper.so.1()(64bit) for package: python-saslwrapper-0.22-5.el7sat.x86_64
---> Package qpid-cpp-client.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: boost for package: qpid-cpp-client-1.35.0-1.el7.x86_64
--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: qpid-cpp-client-1.35.0-1.el7.x86_64
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: db4 for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libdb_cxx-4.8.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
---> Package qpid-proton-c.x86_64 0:0.14.0-1.el7 will be installed
--> Running transaction check
---> Package boost.x86_64 0:1.53.0-26.el7 will be installed
--> Processing Dependency: boost-atomic(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-chrono(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-context(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-date-time(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-filesystem(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-graph(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-iostreams(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-locale(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-math(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-python(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-random(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-regex(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-serialization(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-signals(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-system(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-test(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-thread(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-timer(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
--> Processing Dependency: boost-wave(x86-64) = 1.53.0-26.el7 for package: boost-1.53.0-26.el7.x86_64
---> Package boost-program-options.x86_64 0:1.53.0-26.el7 will be installed
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: db4 for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libdb_cxx-4.8.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
---> Package saslwrapper.x86_64 0:0.22-5.el7sat will be installed
--> Running transaction check
---> Package boost-atomic.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-chrono.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-context.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-date-time.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-filesystem.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-graph.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-iostreams.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-locale.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-math.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-python.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-random.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-regex.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-serialization.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-signals.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-system.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-test.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-thread.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-timer.x86_64 0:1.53.0-26.el7 will be installed
---> Package boost-wave.x86_64 0:1.53.0-26.el7 will be installed
---> Package qpid-cpp-server-linearstore.x86_64 0:1.35.0-1.el7 will be installed
--> Processing Dependency: db4 for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Processing Dependency: libdb_cxx-4.8.so()(64bit) for package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64 (apigee-thirdparty)
Requires: libdb_cxx-4.8.so()(64bit)
Error: Package: qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64 (apigee-thirdparty)
Requires: db4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#
[root@ip-172-31-28-15 ~]#