dovecot problems

9 posts / 0 new
Last post
#1 Thu, 12/29/2005 - 14:08
jamesrichardson

dovecot problems

I finally installed the RHEL 64 version of Virtualmin Professional, and although webmin and virtualmin installed fine, I still have one serious problem.

Against the recommendation of the installer, I upgraded a GPL virtualmin install that was working and running cyrus-imapd. After the install, imapd was still there and dovecot was not installed. I used yum to uninstall imapd, and when I try yum install dovecot, I get:

Gathering header information file(s) from server(s) Server: Red Hat Enterprise 3WS - x86_64 - Virtualmin Server: Virtualmin Distribution Neutral Finding updated packages Downloading needed headers Cannot find a package matching dovecot No actions to take

I just did yum update to the latest version with no help. When I do a locate dovecot, all I get is:

/etc/webmin/dovecot /etc/webmin/dovecot/config /usr/libexec/webmin/virtualmin-nuvola/dovecot /usr/libexec/webmin/virtualmin-nuvola/dovecot/images /usr/libexec/webmin/virtualmin-nuvola/dovecot/images/icon.gif /usr/libexec/webmin/virtualmin-nuvola/dovecot/images/login.gif /usr/libexec/webmin/virtualmin-nuvola/dovecot/images/mail.gif /usr/libexec/webmin/virtualmin-nuvola/dovecot/images/net.gif /usr/libexec/webmin/virtualmin-nuvola/dovecot/images/ssl.gif /usr/libexec/webmin/dovecot /usr/libexec/webmin/dovecot/config-debian-linux /usr/libexec/webmin/dovecot/CHANGELOG /usr/libexec/webmin/dovecot/apply.cgi /usr/libexec/webmin/dovecot/bootup.cgi /usr/libexec/webmin/dovecot/config /usr/libexec/webmin/dovecot/config-redhat-linux-11.0-* /usr/libexec/webmin/dovecot/config-mandrake-linux /usr/libexec/webmin/dovecot/images /usr/libexec/webmin/dovecot/images/smallicon.gif /usr/libexec/webmin/dovecot/images/icon.gif /usr/libexec/webmin/dovecot/images/imap.gif /usr/libexec/webmin/dovecot/images/login.gif /usr/libexec/webmin/dovecot/images/mail.gif /usr/libexec/webmin/dovecot/images/misc.gif /usr/libexec/webmin/dovecot/images/net.gif /usr/libexec/webmin/dovecot/images/pop3.gif /usr/libexec/webmin/dovecot/images/ssl.gif /usr/libexec/webmin/dovecot/index.cgi /usr/libexec/webmin/dovecot/config-suse-linux /usr/libexec/webmin/dovecot/config.info /usr/libexec/webmin/dovecot/config.info.es /usr/libexec/webmin/dovecot/dovecot-lib.pl /usr/libexec/webmin/dovecot/edit_login.cgi /usr/libexec/webmin/dovecot/edit_mail.cgi /usr/libexec/webmin/dovecot/edit_net.cgi /usr/libexec/webmin/dovecot/edit_ssl.cgi /usr/libexec/webmin/dovecot/lang /usr/libexec/webmin/dovecot/lang/en /usr/libexec/webmin/dovecot/lang/es /usr/libexec/webmin/dovecot/log_parser.pl /usr/libexec/webmin/dovecot/install_check.pl /usr/libexec/webmin/dovecot/save_login.cgi /usr/libexec/webmin/dovecot/module.info /usr/libexec/webmin/dovecot/save_mail.cgi /usr/libexec/webmin/dovecot/save_net.cgi /usr/libexec/webmin/dovecot/save_ssl.cgi /usr/libexec/webmin/dovecot/start.cgi /usr/libexec/webmin/dovecot/stop.cgi

Also, I tried to reinstall using install.sh, and that didn't work either:

Checking for fully qualified hostname... Hostname OK: fully qualified as linux.605network.com Checking for curl or wget...found /usr/bin/curl -O Checking for perl...found /usr/bin/perl % Total % Received % Xferd Average Speed Time Curr. Dload Upload Total Current Left Speed 100 4448 100 4448 0 0 63542 0 0:00:00 0:00:00 0:00:00 144k % Total % Received % Xferd Average Speed Time Curr. Dload Upload Total Current Left Speed 100 2830 100 2830 0 0 47166 0 0:00:00 0:00:00 0:00:00 138k

Operating system name: Redhat Enterprise Linux Operating system version: 3WS

Downloading virtualmin-release package for Redhat Enterprise Linux 3WS... Disabling SELinux during installation... ./install.sh: line 204: /usr/sbin/setenforce: No such file or directory % Total % Received % Xferd Average Speed Time Curr. Dload Upload Total Current Left Speed 100 10501 100 10501 0 0 102k 0 0:00:00 0:00:00 0:00:00 170k Preparing... ########################################### [[100%]] package virtualmin-release-1.0-1.rhel is already installed Installing dependencies using command: /usr/bin/up2date --nox postfix bind spamassassin procmail perl perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion ruby rdoc ri mysql mysql-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php mod_perl mod_python cyrus-sasl dovecot spamassassin

Fetching Obsoletes list for channel: rhel-x86_64-ws-3...

Fetching Obsoletes list for channel: rhel-x86_64-ws-3-extras...

Fetching Obsoletes list for channel: rhel-3-ws-x86_64-rhaps-beta...

Fetching rpm headers... Something went wrong during installation: 255

HELP!! Is dovecot a different package name? How do I install it?

Thu, 12/29/2005 - 14:16
Joe
Joe's picture

Hey James,

Don't panic! This one is easy:

up2date -i dovecot

Because you're using RHEL, most of the packages (the ones provided by Red Hat) aren't in the yum repository, they are in the Red Hat Network repository (which yum can't get at).

I'd like to use up2date for both our repos and the system repo, but that isn't yet possible...I've filed a bug about the problem with Red Hat a few months ago, and hopefully someday they'll answer it.

Anyway, once you install dovecot, things will probably look about right--but if they don't, let me know, and I'll help you work out any remaining problems.

Since this was an upgrade, you will want to be sure of a few things:

httpd - Must be a .vm release package (i.e. .vm is in the version), or you must have rebuilt it with suexec-docroot set to /home yourself

mail - If you weren't using Maildir before, you'll need to address migrating things to Maildir. I can help with that, but I suspect since you were using Cyrus, you probably had Maildir runnning already.

Permissions - There are lots of opinions on the right way to handle permissions, and our default may not match your old choices, which might cause problems with new or old domains. I think we actually still have some problems with permissions in a fresh install, as well, but I haven't quite narrowed down what they might be.

As always, feel free to holler about any additional problems you see.

--

Check out the forum guidelines!

Thu, 12/29/2005 - 14:25
jamesrichardson

Man oh man,

Something seems to be wrong with up2date now, when I run up2date -i dovecot, I get this:

Fetching Obsoletes list for channel: rhel-x86_64-ws-3...

Fetching Obsoletes list for channel: rhel-x86_64-ws-3-extras...

Fetching Obsoletes list for channel: rhel-3-ws-x86_64-rhaps-beta...

Fetching rpm headers...
Segmentation fault###########

I cannot run it from the GUI either... Any suggestions as far as what to look for?

Thu, 12/29/2005 - 14:39 (Reply to #3)
Joe
Joe's picture

Hey James,

That is a new one on me, and I'm not exactly sure software is at fault (might be memory, might be CPU overheating, or might be a drive bug, or it might be up2date/rpm).

But, there are a few things you can check:

First up, be sure RPM runs:

rpm -qa

If it does anything other than give you a list of packages (after a pause of about 10-30 seconds), something is wrong at the rpm layer. There are a few things you can do to clean up a problem rpm, but we'll worry about that after we know more.

Run up2date in verbose mode:

up2date -v

This might give you a clue about what point in the process it is crashing.

If you have any alternate repositories in your /etc/sysconfig/rhn/source file, you'll want to disable those and test again. The "beta" repo is probably not one you want to have on all the time--maybe occasionally to grab a specific package that you've gotta have, but that "beta" means "it aint RHEL quality". And it might be the source of your troubles here.

At some point, it will probably be time to file a bug with Red Hat (after checking to be sure there isn't already an errata about this problem, or the up2date and rpm package you're running is actually the official RHEL release rather than a beta or something from outside the RHEL repos).

For what it's worth, we don't do anything to up2date during the install other than run it a couple of times from the shell script. Our "stuff" is all based around yum. So, the install of Virtualmin shouldn't have had any impact on the runability of up2date--since our sources don't currently work with up2date we don't even add them during install yet. So, there's nothing that we've done to alter up2date configuration.

--

Check out the forum guidelines!

Thu, 12/29/2005 - 14:37
jamesrichardson

Just so you know, I fixed up2date using the following commands:

rm /var/spool/up2date/*
rm /var/lib/rpm/__*
rpm --rebuilddb

and now it works fine, but when I run up2date -i dovecot, since I have the ws version of RHEL I get:

Fetching Obsoletes list for channel: rhel-x86_64-ws-3...

Fetching Obsoletes list for channel: rhel-x86_64-ws-3-extras...

Fetching Obsoletes list for channel: rhel-3-ws-x86_64-rhaps-beta...

Fetching rpm headers...
Segmentation fault###########
[[root@linux root]]# rm /var/spool/up2date/*
[[root@linux root]]# rm /var/lib/rpm/__*
[[root@linux root]]# rpm --rebuilddb
[[root@linux root]]# up2date -i dovecot

Fetching Obsoletes list for channel: rhel-x86_64-ws-3...
########################################

Fetching Obsoletes list for channel: rhel-x86_64-ws-3-extras...
########################################

Fetching Obsoletes list for channel: rhel-3-ws-x86_64-rhaps-beta...
########################################

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------

The following packages you requested were not found:
dovecot

Any way around this?

Thu, 12/29/2005 - 15:55 (Reply to #5)
Joe
Joe's picture

Hmmm...I though WS would be the only one lacking dovecot, but looking into it, it actually looks like no version of RHEL 3 includes Dovecot! So we definitely need to provide a package of that. I'll wrap one up ASAP (probably by tonight).

--

Check out the forum guidelines!

Fri, 12/30/2005 - 07:42
jamesrichardson

Thanks Joe,

I could always try and download and compile from source, but then keeping things in sync would be a bear. Please let me know when that's ready and how I should install (I assume yum)....

Jim

Fri, 12/30/2005 - 17:16
jamesrichardson

Any progress on dovecot? My users are going to be, shall we say, annoyed if I don't have this working soon...

Sat, 12/31/2005 - 10:04
jamesrichardson

If this is a longer term pain, I guess I can try to reinstall imapd, but then you are using dovecot for pop as well, I need some help or advice, since I can get away with this over the holiday, but I will be flayed alive while my fingernails are being slowly pulled out if I don't have the mail server back up by Tuesday....

Could I, or should I go back to GPL virtualmin for the time being?

Topic locked