Symptoms
Unable to log in to the AUI login page. The error message on loading screen is:
Http failure response for https://somesitename.com/api/v1/system/about-information: 503 Service Unavailable"
Cause
The root cause is the mcserver service for rest API is stopped or disabled.
Resolution
This error message is seen due to the service being offline. Run the following command as admin to verify the status:
~/>: mcserver.sh --rest statusREST API Service is stopped.
To resolve this issue, resume the service by running the command:
~/>: mcserver.sh --rest start --verbose --debug
If the service still shows the following error message:
Http failure response for https://somesitename.com/api/v1/system/about-information: 503 Service Unavailable
and "mcserver.sh --rest start --verbose --debug" shows Starting REST API Service... REST API Service startup failed.check for errors in /usr/local/avamar/var/mc/server_log/mc-rest-api.outif mc-rest-api.out shows this error Application startup failed: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 9000 is already in useidentify the process ID that is already using port 9000, by running this command as rootlsof -aPi :9000root@avamar:/data01/#: lsof -aPi :9000COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 26532 admin 41u IPv6 1379077 0t0 TCP *:9000 (LISTEN)Then kill the processkill 26532And start rest-apimcserver.sh --rest start --verbose --debugIf different errors are detected, collect valid logs for analysis and include /usr/local/avamar/var/mc/server_log/mc-rest-api.log, mcserver.log.0, and aui.log for error details.