ADManager Plus may sometimes fail to start, either displaying an error message while initiating as a console or stopping unexpectedly during the startup process. This issue can disrupt administrative tasks and delay critical operations.
The application stops or crashes unexpectedly while launching.
Services fail to initialize properly.
Identifying the root cause and resolving the issue promptly is essential to ensure uninterrupted access to ADManager Plus.
This issue may occur due to one or more of the following reasons:
Port conflicts: ADManager Plus ports are in use by another application.
Database issues: External database is down, unreachable, or misconfigured.
Insufficient permissions: The PostgreSQL database may fail to start due to inadequate permissions, or Windows Authentication in Microsoft SQL may lack the necessary access. The service account used to run the ManageEngine ADManager service mush have Full Control permission for the ADManager Plus folder.
Background processes: Residual ADManager Plus processes (Java, PostgreSQL) are preventing a clean restart.
Insufficient system resources: Low memory, CPU, or disk space.
Corrupt or missing application files: Installation files may be damaged or deleted.
High availability: The file mirroring task failed.
SSL configuration: SSL misconfiguration or certificate expired.
Logon failure: Due to the service account password expiring.
Before troubleshooting, ensure:
You have full control access to the ADManager Plus installation folder.
The server meets the system requirements for ADManager Plus.
Database connectivity (if an external database is utilized).
Follow the steps below to identify and resolve exceptions.
Review wrapper.log.
Navigate to <ADManager Plus Installation Directory>/logs/wrapper.log.
Exception: Port 8080 already in use. Change WebServer port in <ProductHome>/conf/server.xml
Cause: The port is already in use.
Solution:
Open the Command Prompt as an administrator.
Run the following command to check if ADManager Plus ports (default: 8080, 8443) are occupied:
netstat -ano | findstr :8080
netstat -ano | findstr :8443
If another process is using the port, identify it using
tasklist | findstr <PID>
Either terminate the conflicting process or change ADManager Plus to use a different port.
To change the port manually, follow these steps:
Navigate to the ADManager Plus installation directory (C:\ManageEngine\ADManager Plus\conf).
Open the server.xml file in a text editor.
Locate the following line: <Connector port="8080" protocol="HTTP/1.1"
Change the port number to an available port (e.g., 8090).
Save the file and restart ADManager Plus.
If no exceptions are found, proceed to Step 2.
2. Search for exceptions, use keywords like Exception, Error, or specific phrases from the error message.
3. If exceptions are found, refer to the matching exception below and perform the resolutions mentioned.
4. If no exceptions are found, contact support with logs for further analysis.
1. SQL connection issues
Error message: Check that the hostname and port are correct and SQL Server is accepting connections.
Exception: NFO | jvm 1 | Check that the hostname and port are correct...
Logs to check: wrapper.log and serverout.log
Cause: Unstable SQL connection.
Solution:
Verify database configuration:
Open ADManager Plus Installation Directory/conf/database.conf.
Confirm the database type, hostname, port, username, and password.
Test connectivity:
From the ADManager Plus server, run:
Test-NetConnection <DB_IP> -Port <DB_PORT>
If it fails, check if the Microsoft SQL service is running and the port is open in the firewall.
2. Database access denied
Error message: Cannot open database 'ADMP' requested by the login. The login failed.
Exception: Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database...
Logs to check: serverout.log
Cause: Incorrect credentials or permissions.
Solution:
Verify the database credentials:
Check database.conf for the correct username and password.
Validate permissions:
Ensure the login has access to the ADMP database in SQL Server.
3. Disk space issues
Error message: There is not enough space on the disk.
Exception: java.io.IOException: There is not enough space on the disk
Logs to check: serverout.log and wrapper.log
Cause: Low disk space.
Solution:
Check system resources:
Free up space on the drive where ADManager Plus is installed.
Ensure at least 20% of the disk space is available.
4. PostgreSQL startup failures
Error message: Trying to start PostgreSQL server failed.
Exception: Caused by: java.lang.RuntimeException: Trying to start PostgreSQL server failed
Logs to check: serverout.log
Cause: Insufficient permissions.
Solution:
Verify permissions:
Grant Full Control to the ADManager Plus service account over the installation directory.
Restart the PostgreSQL service:
Open services.msc and restart the PostgreSQL service.
5. File mirroring failure
Error message: ERROR 5 (0x00000005) Getting File System Type of Source.
Exception: java.lang.RuntimeException: Error in replication directory
Logs to check: fileRepl.txt
Cause: Insufficient permissions.
Solution:
Verify directory permissions:
Ensure the ADManager Plus service account has Read and Write access to the source and target directories.
6. Out of memory errors
Error message: ERROR: out of memory Detail: Failed on request of size 280.
Exception: org.postgresql.util.PSQLException: ERROR: out of memory...
Logs to check: serverout.log and PostgreSQL logs
Cause: High memory usage or insufficient RAM.
Solution:
Check system resources.
Increase JVM heap size (via wrapper.conf ).
Upgrade server RAM if required.
If the issue persists after following these steps, contact support@admanagerplus.com with logs and error details.
Assign a dedicated port to prevent conflicts with other applications.
Set up alerts to monitor external database availability and performance.
Allow ADManager Plus in antivirus and firewall to avoid disruptions.
Perform regular backups of configurations and the database for quick recovery.
Always stop ADManager Plus to prevent data corruption.
Configure automatic service restart using the services.msc recovery option.
Use Windows Performance Monitor (perfmon) to track system resource usage.