WebGUI fails after setup

Hi
I installed CipherMail on a clean Ubuntu 20.04. The setup works fine.
Now I try to login into the WebGUI an get this error:

Error message:

Render queue error in BeginRender[Login]: Error invoking service builder method mitm.djigzo.web.services.SoapModule.buildGlobalPreferencesManagerWS(GlobalPreferencesManagerWSProxyFactory, ApplicationStateManager) (at SoapModule.java:813) (for service ‘GlobalPreferencesManagerWS’): org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.

  • Click here to continue
  • Contact your administrator if this condition persists

Any idea?
Thanks
Robin

Do you have a Tomcat stacktrace?

Hi Martin, I don’t know. Do I have a stacktrace? :slight_smile:
I used this manual: Ubuntu/Debian — CipherMail Documentation
Thats all I did so far.

Hi,
the same problem here.

Existing and good working installation on Ubuntu 20.04 for a long time, using the latest version of ciphermail. Then suddenly two days ago i recognized that i don’t receive mails anymore. Login in in the backend is not possible, it gives me the same error like above.

After rebooting my server it was possible to use the backend for a few minutes, then it gave me the known error. At this time my tomcat9-logs was deleted from the server. After rebooting server it creates new log-files.

Check /var/log/ciphermail-gateway-backend.log for any errors.

You can also upload the log file so I can have a look

it’s very strange. I did a server reboot and was able to use the ciphermail-backend a few minutes. in the /var/log/ all my log-files are available, nothing unusual in the ciphermail-backend-log. then ciphermail crashes and the /var/log directory is empty so i can’t check any log-file. after server-reboot it creates new and empty log-files.

Is this a standard Ubuntu install?

CipherMail back-end cannot delete /var/log because the log files are not written directly by the back-end. The log files are created by syslog.

Hi, in my case the log files are present.
Which log do you need?
In the syslog I found:

Sep 11 00:00:30 ciphermail ciphermail-gateway-backend[960]: Sep 11, 2024 12:00:30 AM com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask run
Sep 11 00:00:30 ciphermail ciphermail-gateway-backend[960]: INFO: An exception occurred while acquiring a poolable resource. Will retry.
Sep 11 00:00:30 ciphermail ciphermail-gateway-backend[960]: org.postgresql.util.PSQLException: FATAL: password authentication failed for user “djigzo”

Is this a standard Ubuntu install?
→ I run Ubuntu on Proxmox VE

I restored a server-backup from last week and every thing is fine, even with now updated Ubuntu. I think there was something wrong with the updates in the last days and the problem is server-side and not CM-related.

I still get this error in the frontend.
I managed to change postgres password for user “djigzo”. I can proof this with “psql -U postgres”

In the log I still get this error:
org.postgresql.util.PSQLException: FATAL: password authentication failed for user “djigzo”

Any idea?
Thanks Robin

The error is reported in the front-end but the error occurs in the back-end.

If you execute the following command, does it ask for a password? And if so, can you login with that password?

psql -h 127.0.0.1 djigzo djigzo

Hi,
no I get this error: "FATAL: password authentication failed for user “djigzo”
How can I set this password?

That’s the error I still get in the frontend:
Render queue error in BeginRender[Login]: Error invoking service builder method mitm.djigzo.web.services.SoapModule.buildGlobalPreferencesManagerWS(GlobalPreferencesManagerWSProxyFactory, ApplicationStateManager) (at SoapModule.java:813) (for service ‘GlobalPreferencesManagerWS’): org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.

  • Click here to continue
  • Contact your administrator if this condition persists