Koozali.org: home of the SME Server

Qmail Problem

Graeme Fleming

Qmail Problem
« on: November 22, 2003, 07:22:50 AM »
Hi All

Anyone seen this prob in the qmail/current log before:

2003-11-22 12:19:40.383826500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:19:50.394000500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:20:00.404184500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:20:10.414453500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:20:20.424545500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:20:30.434706500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:20:40.444886500 alert: unable to opendir info/0, sleeping...
2003-11-22 12:20:50.455086500 alert: unable to opendir info/0, sleeping...

I have pages & pages of this!!!

Charlie Brady

Re: Qmail Problem
« Reply #1 on: November 22, 2003, 07:50:55 AM »
Graeme Fleming wrote:

> 2003-11-22 12:20:50.455086500 alert: unable to opendir
> info/0, sleeping...
>
> I have pages & pages of this!!!

You either have a permission problem or something has used up all file descriptors.  What says:

ls -ld /var/qmail/queue/info/0

and

rpm -V qmail

Charlie

Graeme Fleming

Re: Qmail Problem
« Reply #2 on: November 22, 2003, 03:14:22 PM »
Hi Charlie

Thanks for the heads up.

There are no subfolders below the folders in /var/qmail.  I have the folder queue for example but nothing below it.  The output from the rpm -V qmail gave me the info needed to recreate the desired folders (by qmail) but I am not sure of the required permissions; I have set the owner to match the parent folder: chown qmails:qmail * or chown qmailq:qmail *.

I have guessed that the perms should be 750 or thereabouts.

Charlie Brady

qmail problem (was Re: Qmail Problem)
« Reply #3 on: November 22, 2003, 10:25:56 PM »
Graeme Fleming wrote:

> There are no subfolders below the folders in /var/qmail.  I
> have the folder queue for example but nothing below it.  The
> output from the rpm -V qmail gave me the info needed to
> recreate the desired folders ...

Have you stopped to think how the directories were missing in the first place?

Either you deleted the directories and their contents, you've got a badly corrupted file system or you have a security breach. Only in the first case would I think about fixing the system (which I'd do by reinstalling the qmail RPM).

Charlie