I am trying to install the 2 node topology.
Command:-
/opt/apigee/apigee-setup/bin/setup.sh -p sa -f /tmp/config2Node.txt
But getting the below error:-
Checking required variable ZK_HOSTS...Invalid Hostname
Checking required variable HOSTIP...Unknown
Checking required variable RUN_USER...OK
Checking required variable RUN_GROUP...OK
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
config2Node.txt is present and has the required permission level.
hostname -i yields the IP address.
config2Node.txt contains:-
IP1=<IP address>
HOSTIP=$(hostname -i)
ZK_HOSTS="$IP1"
ZK_CLIENT_HOSTS="$IP1"
Solved! Go to Solution.
Found the issue. It was because i created the file in windows machine and copied it to linux server.
Solution:-
install dos2unix in your server
run: dos2unix <configFile>
Found the issue. It was because i created the file in windows machine and copied it to linux server.
Solution:-
install dos2unix in your server
run: dos2unix <configFile>
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |