By: Yang Xu user 08 Jan 2015 at 9:24 a.m. CST

5 Responses
Yang Xu gravatar
Dear gluu support, I met some problems when trying to configure gluu smtp server. After I all the required attributes for SMTP server configuration and click test configuration button, the server takes a while to response and give me page with Internal Server Error message. From rapper.log, I can see INFO | jvm 1 | 2015/01/08 14:52:28 | 2015-01-08 14:52:28,256 INFO [org.gluu.oxtrust.action.UpdateOrganizationAction] HostName: smtp.gmail.com Port: 465 RequireSSL: true RequireSSL: true INFO | jvm 1 | 2015/01/08 14:52:28 | 2015-01-08 14:52:28,256 INFO [org.gluu.oxtrust.action.UpdateOrganizationAction] UserName: ******** Password: *********** INFO | jvm 1 | 2015/01/08 14:52:28 | 2015-01-08 14:52:28,256 DEBUG [org.gluu.oxtrust.util.MailUtils] HostName: smtp.gmail.com Port: 465 ConnectionTimeOut: 5000 Please let me know if you have any thoughts regarding this issue. Thanks. best, Yang

By Mohib Zico staff 08 Jan 2015 at 9:30 a.m. CST

Mohib Zico gravatar
Hi Yang, Is there any firewall issue between your Gluu Server instance and Gmail.com mail server?

By Yang Xu user 08 Jan 2015 at 9:35 a.m. CST

Yang Xu gravatar
Thanks for the replay. I don't think it is a firewall issue. I have turned off iptables on the vm. And I can ping smtp.gmail.com or telnet smtp.gmail.com port 465. So it doesn't look like a network issue. Is there anything else I need to check?

By Mohib Zico staff 08 Jan 2015 at 9:40 a.m. CST

Mohib Zico gravatar
Sure. /opt/tomcat/logs/oxtrust.log should tell us something about the failure. These logs are inside chroot container. So you need to log into chroot first to grab these log with command: service gluu-sever login

By Yang Xu user 08 Jan 2015 at 9:55 a.m. CST

Yang Xu gravatar
I got this from oxtrust.log 2015-01-08 15:51:53,050 INFO [org.gluu.oxtrust.action.UpdateOrganizationAction] HostName: smtp.gmail.com Port: 465 RequireSSL: true RequireSSL: true 2015-01-08 15:51:53,050 INFO [org.gluu.oxtrust.action.UpdateOrganizationAction] UserName: ***** Password: **** 2015-01-08 15:51:53,051 DEBUG [org.gluu.oxtrust.util.MailUtils] HostName: smtp.gmail.com Port: 465 ConnectionTimeOut: 5000 2015-01-08 15:51:53,051 DEBUG [org.gluu.oxtrust.util.MailUtils] UserName: ***** Password: ******* 2015-01-08 15:52:45,161 DEBUG [org.gluu.oxtrust.ldap.service.StatusCheckerTimer] Starting update of appliance status Is there a way to change log level to get more details? Thanks

By Mohib Zico staff 08 Jan 2015 at 10:34 a.m. CST

Mohib Zico gravatar
There is log4.xml fil in WEB-INF/classes. You can edit it to change log severity.