From: | Carlos |
---|---|
Date: | 7/25/16 1:32 PM |
Topic: | Xeams fails after updating from Ubuntu 14.04 to 16.04 |
Type: | General Discussions |
Post a follow up |
Hello all.,
I had Ubuntu 14.04 LTS server upgraded to 16.04 LTS. Everything as far as java_home settings etc are correct. I can run all services, also deprecated php7 to php5.6 yet Xeams does not work nor start. I think it might be something related to how the service script was updated. If I do a sudo service xeams start I get the following now: status=203/EXEC
service xeams start Jul 25 11:32:48 ns17 systemd[1]: Starting LSB: Xeams SMTP Server and Spam Filter...
-- Unit xeams.service has begun starting up.
Trying to find any clues about it. Looks like the service script is not executing properly now.
Any suggestions?
Thanks, C. |
|
Top |
From: | Richard Haakma |
---|---|
Date: | 7/31/16 2:23 PM |
Topic: | Xeams fails after updating from Ubuntu 14.04 to 16.04 |
Type: | General Discussions |
Post a follow up |
First try to discover whether the system startup script is bad or the application. Manually run /opt/Xeams/run.sh. If Xeams runs then look at the startup configuration. If not, then eliminate the startup scripts as a cause. Check /opt/Xeams/logs/Xeams.log. Xeams is a Java application and requires a working Java Runtime. And that is it, it doesn't require anything else. The Xeams website encourages downloading bundles of Xeams and a Java runtime. I think it is preferable to not supply a bundle if a Java runtime is a package in the base OS and is reasonably easy to get. Then when the OS is upgraded then the Java runtime is updated. There are two possibilities, first the Java runtime might be too old and incompatible. You could install openjdk from Ubuntu and alter run.sh and environment variables to use it, or maybe rename /opt/Xeams to something else, install a new complete copy of Xeams and use the KB article to copy relevant configuration etc. from the old installation. The second could be ACLs and permissions. I am used to selinux on CentOS where OS upgrades can expose more strict security policies. Ubuntu uses a different security policy system from CentOS where I don't know the details, but you could investigate log files for it. |
|
Top |
From: | Laurens Gregoir |
---|---|
Date: | 10/12/16 4:55 AM |
Topic: | Xeams fails after updating from Ubuntu 14.04 to 16.04 |
Type: | General Discussions |
Post a follow up |
Hi, Might be digging in the past, but this is the exact same issue that I'm having now. How could I fix this without breaking my current Xeams settings? Can't read the logs as well. I receive a permission denied. Thanks in advance! |
|
Top |
From: | Pasha |
---|---|
Date: | 10/12/16 6:57 AM |
Topic: | Xeams fails after updating from Ubuntu 14.04 to 16.04 |
Type: | General Discussions |
Post a follow up |
Laurens, Are you running Xeams as "root", if not try that. |
|
Top |
From: | Anonymous |
---|---|
Date: | 10/12/16 8:02 AM |
Topic: | Xeams fails after updating from Ubuntu 14.04 to 16.04 |
Type: | General Discussions |
Post a follow up |
Hi Pascha, Tried that as well. It simply doesn't start when I try with Ubuntu server 16.0.4 |
|
Top |
From: | Laurens Gregoir |
---|---|
Date: | 10/12/16 11:01 AM |
Topic: | Xeams fails after updating from Ubuntu 14.04 to 16.04 |
Type: | General Discussions |
Post a follow up |
Ok, created a new Xeams server from scratch. Thanks the the clustering feature this has become much more easier! Only thing I need to set up now is my Clamav for scanning the incoming e-mails. |
|
Top |