Re: [EXIM] Failed to create spool file

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dr Andrew C Aitchison
Date:  
À: Philip Hazel
CC: Dave Holland, exim-users
Sujet: Re: [EXIM] Failed to create spool file

On Thu, 7 May 1998, Philip Hazel wrote:
> I see I have been remiss in not including the actual error code in the
> log message. Stilly me. If you look around line 1741 of accept.c (the
> 1.92 release, but it hasn't changed for a long time), you will see

    ...            ...            ...

> A first step would be to change the last few lines of that to read
>
>   if (data_fd < 0)
>     log_write(0, LOG_MAIN | LOG_PANIC_DIE, "Failed to create spool file: %s",
>       spool_name, strerror(errno));

>
> and then wait for it to happen again. The message should then tell us
> why it failed, with any luck.


Should that have %s twice ?
  log_write(0, LOG_MAIN | LOG_PANIC_DIE, "Failed to create spool file: %s %s",
       spool_name, strerror(errno));



Dr. Andrew C. Aitchison        Computer Officer, DPMMS, Cambridge
A.C.Aitchison@???    http://www.dpmms.cam.ac.uk/~werdna



--
*** Exim information can be found at http://www.exim.org/ ***