On Sat, Nov 11, 2000 at 12:36:47AM -0600, Jeff Lacy wrote:
> Hello everyone,
> 
> I am new to qmail, so please forgive my ignorance.  I tried to install qmail using 
>life with qmail under RH7.  When I run /etc/rd.d/init.d/qmail, it seems to start 
>okay.  Every 10 seconds something accesses the disk.  I think it is multilog.  I 
>probably have a little typo in one of the /var/qmail/supervise run files.  I looked, 
>but I can't see it.  Could someone please help me?  Pleae reply to my email address, 
>[EMAIL PROTECTED]  Thanks.
> 
> /var/log/qmail/current looks like: (I removed a zillion lines like these, though)
> @400000003a0cdf972be071dc alert: cannot start: unable to read controls
> @400000003a0cdf9736ead48c alert: cannot start: unable to read controls
> @400000003a0cdf98063ce6a4 alert: cannot start: unable to read controls
> @400000003a0cdf981131061c alert: cannot start: unable to read controls
> @400000003a0cdf981c2ebab4 alert: cannot start: unable to read controls
> @400000003a0cdf98271d7744 alert: cannot start: unable to read controls
> @400000003a0cdf983237f30c alert: cannot start: unable to read controls
> @400000003a0cdf990406f7bc alert: cannot start: unable to read controls
> @400000003a0cdf990efc8664 alert: cannot start: unable to read controls
> @400000003a0cdf9917857df4 alert: cannot start: unable to read controls
> @400000003a0cdf992287b6cc alert: cannot start: unable to read controls
> @400000003a0cdf992d8fa494 alert: cannot start: unable to read controls
> @400000003a0cdf9a128b3eec alert: cannot start: unable to read controls

[snip qmail-showctl output...]

This usually means that qmail can't read the control/ directory.
Because, for security reasons, qmail doesn't run as root, the qmail user
needs access to control/.

On my installation, the control/ directory permissions/ownership look
like this:

drwxr-xr-x   2 root    qmail  -  512 Aug 15 23:37 control/

and the contents of that directory is:

-rw-r--r--   1 root   qmail  -   12 Jan 27  2000 defaultdomain
-rw-r--r--   1 root   qmail  -   12 Jan 27  2000 defaulthost
-rw-r--r--   1 root   qmail  -   70 Jul 12 12:22 locals
-rw-r--r--   1 root   qmail  -   17 Jan 29  2000 me
-rw-r--r--   1 root   qmail  -   12 Jan 27  2000 plusdomain
-rw-r--r--   1 root   qmail  -   24 Aug 15 23:36 rcpthosts
-rw-r--r--   1 root   qmail  -   26 Aug 15 23:35 virtualdomains

Note how everything is group-readable and owned by the qmail group.
Check your permissions, make necessary changes and let us know if that
works.

-thl

Reply via email to