Koozali.org: home of the SME Server

No email since this morning's update

Offline Paperguides

  • ***
  • 118
  • +0/-0
No email since this morning's update
« on: May 02, 2017, 08:00:09 PM »
Since I ran the most recent security update on my office server it has stopped receiving email.  MXToolbox tells me that there is no response to an smtp test. Another SME server on the same network is still working fine both sending and receiving email.

I cannot see anything in the logs but I'm not sure what to look for.

Any help welcome.
 
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: No email since this morning's update
« Reply #1 on: May 02, 2017, 08:52:12 PM »
Paperguides


This could be the smeserver-wbl contrib issue. You may need to upgrade the cotrib
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Paperguides

  • ***
  • 118
  • +0/-0
Re: No email since this morning's update
« Reply #2 on: May 02, 2017, 10:24:30 PM »
Hi Janet,

Having read the various bug reports and re-examined the logs I'm sure your right.

I tried the update and got :

[root@main ~]# yum --enablerepo=smecontribs update
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: mirror.freethought-internet.co.uk
 * smeaddons: mirror.pialasse.com
 * smecontribs: mirror.pialasse.com
 * smeextras: mirror.pialasse.com
 * smeos: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: mirrors.coreix.net
http://mirror.freethought-internet.co.uk/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.freethought-internet.co.uk'"
Trying other mirror.
http://mirrors.ukfast.co.uk/sites/ftp.centos.org/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.ukfast.co.uk'"
Trying other mirror.
http://mirror.ox.ac.uk/sites/mirror.centos.org/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.ox.ac.uk'"
Trying other mirror.
http://anorien.csc.warwick.ac.uk/mirrors/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'anorien.csc.warwick.ac.uk'"
Trying other mirror.
http://repo.uk.bigstepcloud.com/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'repo.uk.bigstepcloud.com'"
Trying other mirror.
http://mirror.as29550.net/mirror.centos.org/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.as29550.net'"
Trying other mirror.
http://www.mirrorservice.org/sites/mirror.centos.org/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'www.mirrorservice.org'"
Trying other mirror.
http://mirrors.melbourne.co.uk/sites/ftp.centos.org/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.melbourne.co.uk'"
Trying other mirror.


Am I doing something wrong?

The Contribs docs do not show how to remove this contrib which I'm happy to do if it will quickly fix the problem.  Probably a silly question but how?

Thanks for your help,

Tony
...

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: No email since this morning's update
« Reply #3 on: May 02, 2017, 10:34:34 PM »
# yum remove smeserver-wbl

Should do the trick, I would also note the issue you are experiencing with the centos mirrors, may resolve itself over a short period of time (hours)

Added: http://mirror.freethought-internet.co.uk/centos/6.9/os/x86_64/ Looks OK from here, OZ

« Last Edit: May 02, 2017, 10:38:09 PM by TerryF »
--
qui scribit bis legit

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: No email since this morning's update
« Reply #4 on: May 02, 2017, 11:10:05 PM »
Not sure what the exact issue is, but looks like you have a connectivity issue (or at least a DNS problem)
C'est la fin du monde !!! :lol:

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: No email since this morning's update
« Reply #5 on: May 03, 2017, 08:13:28 AM »
Paperguides

Edit: Deleted to avoid misinformation.
« Last Edit: May 03, 2017, 03:13:22 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: No email since this morning's update
« Reply #6 on: May 03, 2017, 02:03:14 PM »
Paperguides

For sme 9.1
yum update smeserver-wbl --enablerepo=smetest

Wbl has been pushed to smecontribs on the sane day as the release of dme 9.2. So this is

yum update smeserver-wbl --enablerepo=smecontribs

As pointed Daniel, the problem encontered here is s dns resolution issue.

Maybe doing this could workaround if this is only related to one site

yum update smeserver-wbl --disablerepo=* --enablerepo=smecontribs


Some notes have been added to the wiki: see Known issues when upgrading from previous SME9.x


https://wiki.contribs.org/SME_Server:9.2

Offline jatan

  • *
  • 27
  • +0/-0
Re: No email since this morning's update
« Reply #7 on: May 03, 2017, 03:59:09 PM »
Just to add to this.

I had a similar issue and discovered that my default gateway (server only) does not register although it is shown in "Server manager - Review Config"

Even after logging in as admin via console and "Configure this Server", specifying the gateway again, did it still not add the default gateway to the routing.

In the end I had to manually run: route add default gateway "IPaddress" to get connectivity going again...

Any suggestions on making this "fix" permanent

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: No email since this morning's update
« Reply #8 on: May 03, 2017, 04:04:31 PM »
Open a bug with all the details you can
C'est la fin du monde !!! :lol:

Offline Paperguides

  • ***
  • 118
  • +0/-0
Re: No email since this morning's update
« Reply #9 on: May 03, 2017, 09:28:40 PM »

In the end I had to manually run: route add default gateway "IPaddress" to get connectivity going again...


Thanks Jatan, that fixed the problem.  Did you raise a bug report?

Tony
...

Offline michelandre

  • *
  • 261
  • +0/-0
Re: No email since this morning's update
« Reply #10 on: May 03, 2017, 10:27:51 PM »
Hi all,

I had the same problem 2 days ago when I updated a virtual 9.1 to 9.2.

I was able to ping the IP of my main server but not google.com. The local and external NIC had their IP, /etc/resolv.conf and /etc/hosts were ok.

Everything was fine after a reboot.

Michel-André

Offline jatan

  • *
  • 27
  • +0/-0
Re: No email since this morning's update
« Reply #11 on: May 04, 2017, 09:48:06 AM »
Hi

Glad to be able to help...

I have actually now opened a bug report...
« Last Edit: May 04, 2017, 10:16:48 AM by jatan »

Offline toothandnail

  • ***
  • 133
  • +0/-0
Re: No email since this morning's update
« Reply #12 on: May 05, 2017, 08:53:04 AM »
Hi

Glad to be able to help...

Helped me as well - had the same problem on one server (server only, not a gateway) - manually adding the route worked, even though editing /etc/resolv.conf to point to the gateway didn't help even in the short term.

Quote
I have actually now opened a bug report...

Can you specify the bug number? I'd like to add to it...

Paul.

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: No email since this morning's update
« Reply #13 on: May 05, 2017, 09:56:16 AM »
https://bugs.contribs.org/show_bug.cgi?id=10270
The fix has been pushed on the mirrors, you should be able to get it with yum update
C'est la fin du monde !!! :lol:

Offline jatan

  • *
  • 27
  • +0/-0
Re: No email since this morning's update
« Reply #14 on: May 05, 2017, 11:19:57 AM »
Good day.

Thanks to the "bug" team.
My problem has been resolve with the update supplied.
Much appreciated.