Analytics not working on APIGEE Edge

Hi

Analytics not working on APIGEE Edge installed on premise. It shows no analytics on Dashboard page

Getting the required values while running below curl command

http://apigee-gateway2.test.com:8080/v1/analytics/groups/ax

* About to connect() to apigee-gateway2.test.com port 8080 (#0)

* Trying 10.137.5.13... * Connected to apigee-gateway2.test.com (10.137.5.13) port 8080 (#0)

* Server auth using Basic with user 'sanjay.negi@test.com'

> GET /v1/analytics/groups/ax HTTP/1.1

> Authorization: Basic c2FuamF5Lm5lZ2lAa3Jvbm9zLmNvbToyT21uaVdheSE= > User-Agent: curl/7.29.0 > Host: apigee-gateway2.test.com:8080

> Accept: */* > < HTTP/1.1 200 OK

< Content-Type: application/json < Date: Thu, 11 Feb 2016 07:16:03 GMT

< Content-Length: 608

< [ { "name" : "axgroup001", "properties" : { "consumer-type" : "ax" }, "scopes" : [ "test~prod", "test~dev", "test~test", "gaurav~dev" ], "uuids" : { "aries-datastore" : [ ], "postgres-server" : [ "abb332a9-7f31-4937-be07-e651abf6d816" ], "dw-server" : [ ], "qpid-server" : [ "2e901e87-821a-4028-8540-e0b31154c35b" ] }, "consumer-groups" : [ { "name" : "consumer-group-001", "consumers" : [ "2e901e87-821a-4028-8540-e0b31154c35b" ], "datastores" : [ "abb332a9-7f31-4937-be07-e651abf6d816" ], "properties" : { } } ], "data-processors" : { }

* Connection #0 to host apigee-gateway2.test.com left intact

0 8 730
8 REPLIES 8

so @GAURAV looks like you have 2 org test [with 3 env dev,test,prod] and gaurav [with 1 env dev], correct?

is analytics not showing up for all of these combinations? which org, env you are sending traffic to? can you change the time interval and see if anything changes?

its not very common - what is the version of apigee edge?

Hi @Mukundha Madhavan

You are correct.

I am sending traffic to test org on dev env and is not showing any analyitcs

Even I have changed the time interval but still no changes.

We are using 4.15.07 version of APIGEE

Hi @GAURAV,

There is an additional patch needed for 15.07 which might resolve your issue. Please check here.

Thanks,

Abhishek

Hi @Abhishek Subramanya

I can't find any sh file (apigee-postgres-register.sh) at the location mentioned in other thread.

${APIGEE_ROOT}/apigee4/share/installer/apigee-postgres-register.sh

Hi

When I checked the staus of all the processes running. I found that

qpidd is stopped.

Then I stopped all the process using all-stop.sh and started all the process again using all-start.sh. Noticed one error

Starting qpidd Checking if qpidd has started ....................................... Last chance. Waiting 2 minutes longer. [FAILED] chown: cannot access ‘/opt/apigee4/var/lock/subsys/qpidd’: No such file or directory

Also attaching the system.log from path

apigee4/var/log/apigee/qpid-server/logs/system.log

Is it related to Analytics not working ?

Thanks

system.txt

Hi there!

This might be the real cause for your analytics issue. Can you try running 'service qpidd start' to see if you can start the process? If this does't work, please open a support ticket to get it fixed.

Thanks,

Archendra

Hi @archendra

Both the below commands are not working

service qpidd start

apigee-service qpidd start

I am running from location /opt/apigee4/bin

Hi @archendra @Abhishek Subramanya

I am getting below error while running below command from

/opt/apigee4/etc/init.d

[root@ip-10-137-5-13 init.d]# /opt/apigee4/bin/apigee-service qpidd start

Starting qpidd

apigee-service: Error: apigee-qpidd returned status 1; quitting

<<< contents of /opt/apigee4/var/log/qpid/start.out:

nohup: ignoring input Starting Qpid AMQP daemon: /opt/apigee4/share/apache-qpid/sbin/qpidd: error while loading shared libraries: libboost_program_options.so.5: cannot open shared object file: No such file or directory Failed >>>