After login the Agile Controller-Campus by web page, there are errors show SM and other servers(PortalServer, RadiusServer, AuthServer, NetworkServer, CAServer) communicate failed. Users can't authenticate normally.
1: System > Server Configuration > SC Server Configuration, Checking SC server status, found they are "Non-connected", it means, these services didn't startup normally.
2: Logining Euler OS using MobaXterm("controller" user) , checking the services startup status. Enter the installation directory(by default, it's "/opt/AgileController") of Agile Controller-Campus, then execute command "sh ServerStartupConfig.sh", we found the services are in "running" status, but "Used Memory" is not normal value, it means there are some errors during the services starting
3: Execute command "sh ServerConfig.sh", Checking the database communication and server IP configuration. We found the database connection success and server IP configurate correctly.
4: Downloading the tomcat.log file(opt/AgileController/RadiusServer/Logs/tomcat.log) using MobaXterm and checking the log file, found there are many errors: permission denied for cfgFactor.txt and cfgKey.txt, then we execute command "chmod 777 /opt/AgileController/RadiusServer/Secospace/cfgFactor.txt" and "chmod 777 /opt/AgileController/RadiusServer/Secospace/cfgKey.txt" to grant the permission(the same with other service: portalserver, networkserver, authserver, caserver).
5: Also there are some errors about database.properties, then we found the database.properties files in these five services' directory are empty.
6: ReConfigure the database IP address and password using ServerConfig tool(keep the same password), then click "Save" and restart the Agile Controller Service by executing command "sh StopServer.sh" and "sh StartServer.sh". Then waiting the services startup.
7: Login Agile Controller-Campus by web page, checking the servers connection status, all show "Connected".
Insufficient permission for cfgFactor.txt/cfgKey.txt and database.properties files are empty in these services' directory
grant permission for cfgFactor.txt and cfgKey.txt files;
reconfigure and save database connection parameters by ServerConfig tool, then restart agile controller service;