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! Go to Solution.
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