Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: jatan on May 29, 2015, 04:24:25 PM
-
Hi
I have a SME 9.0 (32), (server only) install that does not respond to internal pop3 client any longer???
From a network PC: telnet server.ip 110 simply does not respond
from the server console I get "connection refused"
All other smtp, imap, fetchmail seems to work fine
After several hours of strugling I am stumped.
Any suggestions would be appreciated.
-
I'd suggest you try pop3s (pop over SSL) - port 995.
-
Sorry, POP3s on port 995 is also not responding...
POP3 is dead or not responding at all.
Any suggestion on re-installing it?
If it comes down to it I will need to rebuild this server completely, which will be a total P.I.T.A!
-
ok..
you should tell us if you modiy anything..
please post here the result of
netstat -napt | grep tcpsvd
then, take a look into /var/log/pop3/current to check for errors
finally.. linux is not windows.. if anything is broken, you fix it, you don't need to reinstall everything
-
Hi
Thanks for the replies.
The pop3 service was completely gone...
I "yum install e-smith-pop3.noarch 0:2.4.0-1.el6.sme.rpm" and after some strugling with dependencys I managed to get pop3 and pop3s service back up and running...
There seems to be a newer vesion e-smith-pop3.noarch 0:2.4.0-3.el6.sme.rpm, but it requires a dependency "Requires: stunnel" which I am not able to fix now.
"Cannot install package stunnel-tls-3.22-4.el6.sme.i386. It is obsoleted by installed package smeserver-dovecot-1.4.0-17.el6.sme.noarch"
I am pretty fed-up of this now...
-
The pop3 service was completely gone...
well, you forgot to tell us what you did.. I have dozens of SME running, I use it since 2004 (before it becomes SME).. and I never experienced "the XXX service was completely gone.."
I "yum install e-smith-pop3.noarch 0:2.4.0-1.el6.sme.rpm" and after some strugling with dependencys I managed to get pop3 and pop3s service back up and running...
this should be
yum install e-smith-pop3
nothing more, nothing less.. and yum should take care of all the dependencies..
again, what did you do to your server?
There seems to be a newer vesion e-smith-pop3.noarch 0:2.4.0-3.el6.sme.rpm, but it requires a dependency "Requires: stunnel" which I am not able to fix now.
"Cannot install package stunnel-tls-3.22-4.el6.sme.i386. It is obsoleted by installed package smeserver-dovecot-1.4.0-17.el6.sme.noarch"
I am pretty fed-up of this now...
you are just telling us "I have a problem, it doesn't work", without giving us any kind of element to help you
-
Hi
Thanks again for the reply.
I work with "Linux" very seldom, partly due to the very good reliability of Sme Server and the firewall variants I use.
Therefore, please excuse me if the terminology are not up to scratch.
The problem occured due to frequent power outages that last for longer than the UPS's can sustain. This is unfortunately a local problem that will get worse before it gets better...
So, I assume the files got damaged seeing that at the "next power-up" of the server pop3 (s) mail was gone...
I did not know about "yum install e-smith-pop3" until you mentioned it unfortunately.
Even if I now "seach" for the term "e-smith-pop3" from the SME Server main page I do not get any hits...
I attach some info after running the command:
======================================================
yum install e-smith-pop3
Loaded plugins: fastestmirror, smeserver
Loading mirror speeds from cached hostfile
* smeaddons: aubrac-medical.fr
* smeextras: aubrac-medical.fr
* smeos: aubrac-medical.fr
* smeupdates: aubrac-medical.fr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package e-smith-pop3.noarch 0:2.4.0-1.el6.sme will be updated
---> Package e-smith-pop3.noarch 0:2.4.0-3.el6.sme will be an update
--> Processing Dependency: stunnel for package: e-smith-pop3-2.4.0-3.el6.sme.noarch
--> Finished Dependency Resolution
Error: Package: e-smith-pop3-2.4.0-3.el6.sme.noarch (smeupdates)
Requires: stunnel
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
e-smith-flexbackup-2.4.0-3.el6.sme.noarch has missing requires of e-smith-backup >= ('0', '1.11.0', '46')
==============================================
Flexbackup was removed long before the upgrade to 9.0....
a seperate but related problem:
[root@fileserver b]# yum install e-smith-backup
Loaded plugins: fastestmirror, smeserver
Loading mirror speeds from cached hostfile
* smeaddons: ftp.nluug.nl
* smeextras: ftp.nluug.nl
* smeos: ftp.nluug.nl
* smeupdates: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package e-smith-backup.noarch 0:2.4.0-42.el6.sme will be installed
--> Processing Dependency: perl(Passwd::Unix) for package: e-smith-backup-2.4.0-42.el6.sme.noarch
--> Processing Dependency: nfs-utils for package: e-smith-backup-2.4.0-42.el6.sme.noarch
--> Running transaction check
---> Package e-smith-backup.noarch 0:2.4.0-42.el6.sme will be installed
--> Processing Dependency: nfs-utils for package: e-smith-backup-2.4.0-42.el6.sme.noarch
---> Package perl-Passwd-Unix.noarch 0:0.71-2 will be installed
--> Finished Dependency Resolution
Error: Package: e-smith-backup-2.4.0-42.el6.sme.noarch (smeupdates)
Requires: nfs-utils
You could try using --skip-broken to work around the problem
Currently the nfs-utils package is also still well hidden somewhere on the net...
Regards
-
Currently the nfs-utils package is also still well hidden somewhere on the net...
Both nfs-utils and stunnel should be available in the centos repositories, which are not well-hidden, so I suspect your yum-repositories configuration is not correct - you should have base and updates enabled.
-
Both nfs-utils and stunnel should be available in the centos repositories, which are not well-hidden, so I suspect your yum-repositories configuration is not correct - you should have base and updates enabled.
...and the output of 'db yum_repositories show' would answer that question. Jatan, can you provide that?
Edit: Your UPS should be configured to shut down your server in an orderly fashion when the battery gets low. If this is done correctly, you wouldn't see any filesystem corruption resulting from your power outages.
-
Thanks for the reply Charlie and DanB35
Yes, indeed the base and updates repos were disabled...
I have no idea why, so don't even ask... lol
After it is enabled there are now 194 new updates...
UPS: --- only serial interface out and the server only has USB...
I am still to find a serial to usb converter that actually works... otherwhise your suggestion would have been implemented already...
If you know of any that work, please feel free to share the info please ...
I have 8 different ones already...
===================================================
[root@fileserver b]# db yum_repositories show
base=repository
BaseURL=http://vault.centos.org/4.9/os/$basearch
EnableGroups=no
Exclude=initscripts,libgsf
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
Name=CentOS - os
Visible=yes
status=enabled
centosplus=repository
BaseURL=http://vault.centos.org/4.9/centosplus/$basearch
EnableGroups=no
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
Name=CentOS - centosplus
Visible=no
status=disabled
contrib=repository
BaseURL=http://vault.centos.org/4.9/contrib/$basearch
EnableGroups=no
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
Name=CentOS - contrib
Visible=no
status=disabled
extras=repository
BaseURL=http://vault.centos.org/4.9/extras/$basearch
EnableGroups=no
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
Name=CentOS - extras
Visible=no
status=disabled
fasttrack=repository
EnableGroups=no
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack
Name=CentOS - fasttrack
Visible=no
status=disabled
sme8contribs=repository
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smecontribs-8
Name=SME 8 - contribs
Visible=no
status=disabled
smeaddons=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeaddons-9
Name=SME Server - addons
Visible=yes
status=enabled
smecontribs=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smecontribs-9
Name=SME Server - contribs
Visible=no
status=disabled
smedev=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smedev-9
Name=SME Server - dev
Visible=no
status=disabled
smeextras=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeextras-9
Name=SME Server - extras
Visible=yes
status=enabled
smeos=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-9
Name=SME Server - os
Visible=yes
status=enabled
smetest=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smetest-9
Name=SME Server - test
Visible=no
status=disabled
smeupdates=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-9
Name=SME Server - updates
Visible=yes
status=enabled
smeupdates-testing=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-testing-9
Name=SME Server - updates testing
Visible=yes
status=disabled
stephdl=repository
BaseURL=http://mirror.de-labrusse.fr/smeserver/$releasever
EnableGroups=no
GPGCheck=yes
GPGKey=http://mirror.de-labrusse.fr/RPM-GPG-KEY
Name=Mirror de Labrusse
Visible=yes
status=disabled
testing=repository
BaseURL=http://mirror.centos.org/centos/4/testing/$basearch
EnableGroups=no
GPGCheck=yes
Name=CentOS - testing
Visible=no
status=disabled
updates=repository
BaseURL=http://vault.centos.org/4.9/updates/$basearch
EnableGroups=no
Exclude=initscripts,libgsf
GPGCheck=yes
MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
Name=CentOS - updates
Visible=yes
status=enabled
==================================================================================
I am busy doing a backup, which will take several hours (if the power actually stays on long enough), whereafter I will attemp a fresh restore on different hardware (9.0 64bit this time)...
I will also do the yum update and see if that resolves the current problems fully. I will at least learn something in the process then.
I will give feedback tomorrow.
Thanks for all help.
-
UPS: --- only serial interface out and the server only has USB...
Probably time to replace it... :-)
-
jatan: I see your repo list is a mix between old and new ones
see here: http://wiki.contribs.org/SME_Server:Adding_Software#Restoring_Default_Yum_Repositories
how to restore the right ones..
-
Really, your server needs a stable source of power. Without one, you run a significant risk of filesystem corruption every time the power fails. This may or may not have anything to do with the problems you're seeing right now, but it's definitely going to cause problems. I see a few ways to deal with this:
* Find a working USB/serial converter with a known-working configuration. I have no experience to help you here.
* Get a UPS with a USB port
* Get a server with a serial port
* Find another box with a serial port, install your favorite Linux (or even BSD) distro on it, run nut on that, and network your SME server to it.
-
Good day
Thanks again for all the suggestions.
I was very helpful, sometimes a push in the right direction is all that is needed to allow some progress...
All is well now with the email and server, which is very good news.
I have managed to get the UPS (NUT via serial connection) working on a Nas4Free box I am using as a NAS for backup services..
I am still busy with NUT to work properly on SME Server 9.0 and talk to the Nas4Free
I still need to spend some time on it, but will ask if I do not manage...
Kind regards