Pascal Volk wrote:
On 06/18/2009 09:41 AM A. Gideonse wrote:
The old dovecot was installed using apt-get, so I tried installing the new version by downloading, compiling and installing (configure, make, make install), because I couldn't upgrade the package using apt-get. After reboot it now shows 1.1.16 for 'dovecot --version'. I can attempt to remove dovecot with apt-get and reinstall the compiled version again?
What was the prefix? /usr/local? Show:
which dovecot
I believe the 'old' one is still running, started via the init script.
Regards, Pascal
I just did some research on the server and you are completely right. When I look at the /etc/init.d/dovecot script I see that the daemon is loaded at /usr/sbin/dovecot. If I request the version in that directory I indeed get the old version number. Now my problem is that I seem to have to installations of dovecot now, with the older one running and the newer one being idle. Is there an easy way to solve this issue? I tried stopping the service, then changing the DAEMON variable in the /etc/init.d/dovecot file and starting it again, but that didn't work. Any suggestions?
Please note: the older version was installed using 'apt-get', the newer version was installed by compiling from source. As additional information: the server is currently using the JEOS distribution (thus Ubuntu).
NB. Thank to Charles, this message will hopefully be posted inline now ;).