Apigee app not up after successful AIO v4.16.01 installation on google cloud machine

Not applicable

After successful AIO v4.16.01 installation on a google cloud machine. I can see all the Apigee services are running with status OK. I checked this by going to:

/opt/apigee/apigee-service/bin/

and then running

apigee-all status

And everything returned with status OK

but when I try to hit the Apigee URL: http://[machine ip]:9000/login

it does not come up.

What is going wrong here. Please suggest.

0 11 518
11 REPLIES 11

@rohit ... You can check under var/logs/apigee/management-server/system.log and see if you can identify the error. If the issue is not obvious, you can post the error here.

Not applicable

@rakeshapi I don't have apigee/management-server in my deployed installation. Apigee is installed at /opt/apigee path.

A quick search showed:

find / -name system.log

/opt/apigee/var/log/apigee-cassandra/system.log

/opt/apigee/var/log/edge-qpid-server/logs/system.log

/opt/apigee/var/log/edge-postgres-server/logs/system.log

/opt/apigee/var/log/edge-management-server/logs/system.log

/opt/apigee/var/log/edge-router/logs/system.log

/opt/apigee/var/log/edge-message-processor/logs/system.log

Where exactly should I search for the problem now?

You can look here /opt/apigee/var/log/edge-management-server/logs/system.log

Not applicable

@rakeshapi I could only find following references of ERROR in /opt/apigee/var/log/edge-management-server/logs/system.log

2016-04-14 04:46:20,208  main ERROR KERNEL - MicroKernel.scanDeployments() : MicroKernel.scanDeployments() : Some modules and services were present in the profile but not in the class path
2016-04-14 04:46:20,209  main ERROR KERNEL - MicroKernel.scanDeployments() : Missing modules: []
2016-04-14 04:46:20,209  main ERROR KERNEL - MicroKernel.scanDeployments() : Missing services: [CumulativeMetricsService]
2016-04-14 04:46:20,210  main ERROR KERNEL - MicroKernel.scanDeployments() : Not exiting this time but continuing anyway.
2016-04-14 04:46:20,569  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Initializing service : MachineKeyService that implements InitializeAwareService
2016-04-14 04:46:21,318  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Successfully initialized the service : CommunicationService
2016-04-14 04:46:21,326  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Initializing service : EventService that implements InitializeAwareService
2016-04-14 04:46:21,382  main INFO  FILE_LOGGER - BufferedWriter.start() : Starting logging thread
2016-04-14 04:46:21,405  main INFO  FILE_LOGGER - SizeBasedFileRotator.<init>() : Creating sizeBased rotator with maxSize 104857600
2016-04-14 04:46:21,419  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Successfully initialized the service : EventService
2016-04-14 04:46:21,430  Thread-1 INFO  FILE_LOGGER - BufferedWriter.run() : Signalling threadInit completion
2016-04-14 04:46:21,451  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Initializing service : ZooKeeperService that implements InitializeAwareService
2016-04-14 04:46:23,785  main INFO  o.a.c.f.i.CuratorFrameworkImpl - CuratorFrameworkImpl.start() : Starting
2016-04-14 04:46:24,219  main INFO  ZOOKEEPER - ZooKeeperServiceImpl.start() : Use binocular pathwatcher service: false
2016-04-14 04:46:24,220  main INFO  ZOOKEEPER - ZooKeeperServiceImpl.start() : Use curator based pathwatcher service: false
2016-04-14 04:46:24,223  main INFO  c.a.e.ValidationService - ValidationService.register() : Registered validator for component [zookeeper]
2016-04-14 04:46:24,223  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Successfully initialized the service : ZooKeeperService
2016-04-14 04:46:24,228  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Initializing service : RepositoryService that implements InitializeAwareService
2016-04-14 04:46:24,320  main-EventThread ERROR o.a.c.ConnectionState - ConnectionState.checkState() : Authentication failed
2016-04-14 04:46:24,385  main-EventThread INFO  o.a.c.f.s.ConnectionStateManager - ConnectionStateManager.postState() : State change: CONNECTED
2016-04-14 04:46:24,495  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Successfully initialized the service : RepositoryService
2016-04-14 04:46:24,496  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.init() : ServiceDeployer.init() : Initializing service : ServerRegistrationService that implements InitializeAwareService

@Rohit , Just fyi, Answers are strictly for answers. Use comments to have conversation. Thank you 🙂

Not applicable

And in the same logs one more ERROR is here:

2016-04-14 04:46:31,310  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.startService() : ServiceDeployer.deploy() : Successfully started the service : LicensingService
2016-04-14 04:46:31,344  main INFO  KERNEL.DEPLOYMENT - ServiceDeployer.startService() : ServiceDeployer.deploy() : Successfully started the service : RepositoryService
2016-04-14 04:46:32,323  Timer-0 INFO  SERVICE.LICENSE - ScheduledLicenseValidator.run() : License found and is valid !!!
2016-04-14 04:46:32,331  Timer-0 ERROR SERVICE.LICENSE - ScheduledLicenseValidator.run() : You are running more number of messages-processors then allowed !!!
2016-04-14 04:46:32,448  main WARN  REGISTRATION - CommunicationInfoBuilder.loadIPAddresses() : CommunicationInfoBuilder.loadIPAddresses : File /opt/apigee/ec2.properties is missing. Will use localhost as default for all the hosts

It seems like a license issue. "You are running more number of messages-processors then allowed !!!"

@rakeshapi

I have another server with same error you pointed above in your comments and the server is up & running without any issues.

So what do you suggest now please?

How many MP's you have in your installation?

@rakeshapi , Just Fyi, Use comments for conversations instead of answers. Answers are strictly for answers. Just converted answer to comment. Using comments improve readability too. Thank you 🙂

@rakeshapi

How do I check MPs count? I am assuming the default no. that is done in AIO silent installation.