After modifying base_dir in dovecot.conf, the dovecot status is no longer properly reported

Solution Verified - Updated -

Issue

We started dovecot after changing base_dir in dovecot.conf. As a result of "service dovecot status", the following message was displayed.

dovecot dead but subsys locked

The cause is that the location of the pid file is changed by changing base_dir, but the pidfile variable in the rc script is a fixed value.

About changing the pidfile variable in the rc script, we have the following questions.

  • When base_dir is changed, is it dovecot specification that we also need to change the pidfile variable in the rc script? In the case of httpd, the location of the pid file is specified in /etc/sysconfig/httpd. So we don't need to change the pidfile variable.
  • Changing the pidfile variable is equivalent to editing dovecot's rc script. As far as changing pidfile variable, even if we edit the rc script, can we get support by Red Hat?

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • dovecot

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content