Re: [EXIM] Failed to create spool file

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Dr Andrew C Aitchison
CC: Dave Holland, exim-users
Subject: Re: [EXIM] Failed to create spool file
On Thu 07 May, Dr Andrew C Aitchison wrote:

> > 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));


Oops. Nice to know somebody is actually reading what I post. Yes, it should
really be

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


Thanks for your vigilance!

-- 
Philip Hazel                University Computing Service,
ph10@???          New Museums Site, Cambridge CB2, 3QG,
P.Hazel@???       England. Phone: +44 1223 334714



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