In some situations, AppSvr is unable to start, and the following errors are observed in the server logs:
tail -f /opt/glassfish/domains/domain1/logs/server.log

The following steps need to be followed for resolution of this issue.
- Check the password value in Redis configuration:
grep requirepass /opt/phoenix/redis/conf/6666.conf
- Check the redis password in phoenix_config.txt:
grep redis_auth /opt/phoenix/config/phoenix_config.txt
- Make sure that both the passwords are the same and that the password value matches with the value configured in /opt/:
phoenix/redis/conf/6666.conf
- Once verified, try restarting AppSvr:
kill -9 $(cat /opt/glassfish/domains/domain1/config/pid)
- Check if the AppSvr gets started automatically.
ps -ef | grep glassfish
- If the AppSvr does not start automatically, try starting it using the following command.
/opt/glassfish/bin/asadmin start-domain domain1
- Wait for 5-10 minutes and check again in server logs to see if the error has resolved and AppSvr can start normally.
tail -f /opt/glassfish/domains/domain1/logs/server.log
- Check using the following commands to see if AppSvr is up and running and shows a password:
phLicenseTool --showDatabasePassword
- Check if the Redis password gets populated by AppSvr:
phLicenseTool --showRedisPassword
|