Monetization services installation error on aio node

Hello,


I tried installing monetization services of Edge for Private Clound v4.17.01.01 on an all-in-one(aio) installation node for testing by:

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

But I got the following error and the management server, which was running normally, is not running as the result.

-------

Checking for management-server on 127.0.0.1 port 8080 .................... OK
Checking for management-server uuid {
"contexts" : [ ]
}
Checking if management-server is up .............................................................
management-server is not up.
[2017-06-29 01:20:00 PM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

-------

The config file contents I used for the installation are as follows.

-------

#IP address or DNS name of nodes
IP1=<IP address of aio node>

#Must resolve to IP address or DNS name not to 127.0.0.1 or localhost
HOSTIP=$(hostname -i)

#Set Edge sys admin credentials
ADMIN_EMAIL=<adminemail>
APIGEE_ADMINPW=<admin passwd>

#Management Server information
MSIP=$IP1

# Specify the Management Server port.
APIGEE_PORT_HTTP_MS=8080 # Default is 8080.

#
# Monetization configuration properties.
#
# Postgres credentials from Edge installation.
PG_USER=apigee # Default from Edge installation
PG_PWD=postgres # Default from Edge installation

# Specify Postgres server.
MO_PG_HOST="$IP1" # Only specify one Postgres node.

# Create a Postgres user for Monetization.
# Default username is "postgre".
# If you specify a different user, that user must already exist.
MO_PG_USER=postgre
MO_PG_PASSWD=moUserPWord

# ZooKeeper information.
ZK_HOSTS="$IP1" # IP/DNS names of all ZooKeeper nodes.

# IP addresses (not DNS names) of the Cassandra hosts separated by spaces.
CASS_HOSTS="$IP1"

# Default is "Apigee", unless it was changed during Edge install.
# CASS_CLUSTERNAME=Apigee

# Set to enable Cassandra authentication.
# CASS_USERNAME=
# CASS_PASSWORD=

# Specify the region.
# Default is dc-1 unless you are in a multi-datacenter environment.
REGION=dc-1

# SMTP information.
SMTPHOST=<IP address of SMTP server>
SMTPPORT=25
SMTPUSER=0 # 0 for no username
SMTPPASSWORD=0 # 0 for no password
SMTPSSL=n

-------

After the installation, when restarting Edge, I found some error in the system.log of Management Server as attached, but I do not know if it is related.

Any help would be appreciated.

Thanks,

0 5 275
5 REPLIES 5

the log file contains those lines:

2017-06-29 05:02:03,574  Timer-1 INFO  SERVICE.LICENSE - ScheduledLicenseValidator.run() : License found and is valid !!!
2017-06-29 05:02:03,590  Timer-1 ERROR SERVICE.LICENSE - ScheduledLicenseValidator.run() : It seems license for Monetization is missing!!! Please contact Apigee support

The problem is missing MINT license.

Not applicable

I think the error is because of aio installation with monetization

Monetization is not available with the All-In-One (AIO) configuration.

Yes, I feel that would be the reason.

It is not. That is why a topic starter installs it on top of the AIO.