HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Problem with hfaxd



> > > 420 EuroServer server cannot initialize: Could not create client/694:
> > > Permission denied
> > > Connection closed by foreign host.

hfaxd/FIFO.c++
--------------------------------
/*
 * Create the client FIFO and open it for use.
 */
bool
HylaFAXServer::initClientFIFO(fxStr& emsg)
{
    clientFIFOName = fxStr::format(FAX_CLIENTDIR "/%u", getpid());
    if (Sys::mkfifo(clientFIFOName, 0622) < 0 && errno != EEXIST) {
        emsg = fxStr::format("Could not create %s: %s",
            (const char*) clientFIFOName, strerror(errno));
        return (false);
    }
--------------------------------

Sys::mkfifo fails with "/694" as a FIFO name because of "permission denied"

On my system FAX_CLIENTDIR is /var/spool/hylafax/client and the the
FIFO(s) are created there.

Bernd


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions