Apigee Edge Onpremise 4.16.01 installation problem

Not applicable

While I am trying to install Apigee in Standalone installation (2-host, SA-SAX) way. I am getting below error where its unable to find zookeeper.properties as part of setup files.

Could you please help on this?

Execution trace is here:

-----------------------------------------------------------------------------------------------------------------------------------------------------------

[root@bangvmplAPGEDGE bin]# sh setup.sh -p sa -f configFile

Using defaults from configFile

Service setup apigee-zookeeper

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

touch: cannot touch ‘/opt/apigee/token/application/zookeeper.properties’: Permission denied

Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

[root@bangvmplAPGEDGE bin]# cd /opt/apigee/token/application/

[root@bangvmplAPGEDGE application]# ls -la

total 0

drwxr-xr-x 2 root root 6 Jun 8 16:02 .

drwxr-xr-x 3 root root 24 Jun 8 16:02 ..

[root@bangvmplAPGEDGE application]#

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Solved Solved
0 2 692
1 ACCEPTED SOLUTION

Not applicable

Hi there!

Looks like you don't have the write permission to /opt/apigee/token/application dir. Please make sure that /opt/apigee is owned by 'apigee:apigee' and has read/write/execute permission on '/opt/apigee'.

chown -R apigee:apigee /opt/apigee

chmod -R 755 /opt/apigee

This should resolve your issue. Hope this helps.

Thanks,

Archendra

View solution in original post

2 REPLIES 2

Not applicable

Hi there!

Looks like you don't have the write permission to /opt/apigee/token/application dir. Please make sure that /opt/apigee is owned by 'apigee:apigee' and has read/write/execute permission on '/opt/apigee'.

chown -R apigee:apigee /opt/apigee

chmod -R 755 /opt/apigee

This should resolve your issue. Hope this helps.

Thanks,

Archendra

hi @archendra,

Appreciate you help!!!!

I agree with you that there was permission issues on the folder. I got it solved by resetting permissions using below commands.

rpm --setperms apigee-configutil

rpm --setugids apigee-configutil

Now I have started installing Apigee Analytics service on node 2 for profile 'sax'. I am getting below error messages and setup process in stopped.

----------------------------------------------------------------------------------------------------

--> Finished Dependency Resolution

Error: Package: qpid-cpp-server-0.28-6.el7.centos.x86_64 (apigee-thirdparty)

Requires: libdb_cxx-5.3.so()(64bit)

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

----------------------------------------------------------------------------------------------------

Any idea on this?

Regards,

Basavaraj