Java application log
Note: This page applies to SFTP Gateway version 2.x. Visit Here for documentation on version 3.x.
The Java application log is located here:
This log is for the Java backend service, which serves the web admin UI for managing SFTP users.
If the web admin UI is not working, the problem is usually with Java or LDAP.
Run the following command:
sudo su netstat -nltp
This displays ports that the server is listening to, as well as the corresponding service.
636 are missing, LDAP is down. If
8080 is missing, the Java service is down.
To troubleshoot the Java service, tail the log with the command:
tail -f /var/log/sftpgw/sftpgw-admin-api.log
In a second SSH session, restart the Java service.
service sftpgw-admin-api restart
Check the log tail for any errors. If there is an error, it will show a very long stack trace. The first few lines of this stack trace has the most relevant information.