Hylafax Developers Mailing List Archives

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

[hylafax-devel] Re: problem to submit a fax request



> Hi,
> I am running latest CVS (March 2,  5:00 pm PST) and have problem to submit the
> 2nd fax request.
> I am on linux mandrake 5.3 gcc version 2.7.2.3


I'm on RedHat linux (6.1).


> [root@guinux mainline.000302.17EcmV34]# sendfax -n -d 95554404 test1
> request id is 1 (group id 1) for host localhost (1 file)
> [root@guinux mainline.000302.17EcmV34]# sendfax -n -d 95554404 test2
> 553 Unable to open sequence number file docq/seqf; File exists.
> 
> Mar  3 09:31:11 guinux HylaFAX[5287]: Filesystem has SysV-style file creation
> semantics.
> Mar  3 09:31:11 guinux FaxQueuer[4843]: SUBMIT JOB 1
> Mar  3 09:31:34 guinux HylaFAX[5292]: docq/seqf: open: File exists

Thanks to last night's check-in from Robert with the fix to mkstemp wrapper 
function, I've managed to build a sendfax which does not segfault. However, I 
now see the problem you report above:

[darren@ducent darren]$ /usr/bin/sendfax -d123 < /etc/hosts
553 Unable to open sequence number file docq/seqf; File exists.


In private mail to me you suggested:

> I found the problem: in hfaxd/HylaFAXServer.c++ getSequenceNumber, I
> changed
>      open(filename, O_CREAT|O_RDWD|O_EXCL,0600)
> to
>      open(filename, O_CREAT|O_RDWD,0600)
> but now when I add a modem, there is no job submitted to this modem. 

I'll try that and see where I get. How could something so fundamental have gotten broken!!??

-Darren





Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services