Package: hylafax-client
Version: 1:4.2.1
Severity: important

hi,

faxalter(1) seems unable to re-schedule a job.
This might actually be a bug in the server
E.g.:
job 5776 has timed out, exceeding max -k time of sendfax(1), hance it's in
queue with state W. Now I want to send it:

$ faxalter -v -a now  5776
Trying comix (192.168.0.2) at port 4559...
Connected to comix.
220 comix server (HylaFAX (tm) Version 4.2.1) ready.
-> USER paolo
230 User paolo logged in.
-> TZONE LOCAL
200 Using time values in CET.
-> JOB 5776
200 Current job: jobid: 5776 groupid: 5776.
-> JSUSP
460 Failed to suspend job 5776: Unspecified reason (scheduler NAK'd request).


Same trace with 'faxalter -v -a 07:05 5776' (it's 7:01 now) or just -p opt.
The server just logs: 

comix FaxQueuer[3909]: SUSPEND JOB 5776

so it seems it does ACK JSUSP but fails to properly notify the client.

I've tried to make faxalter(1) go on anyway, but got (some printError() 
added):

...
jobSuspend(5776) failed: 
-> JPARM SENDTIME NOW
503 Suspend the job with JSUSP first.
script(5776) failed: <stdin>: line 1: 503 Suspend the job with JSUSP first.
-> JSUBM
504 Job 5776 not submitted; use JSUSP first.
Job 5776: done.

So, server logs the SUSPEND but won't change job state, it seems.

then tried:

$ faxalter -v -a "now + 1" 5776
Syntax error, "+1" without unit

$ faxalter -v -a now -k "now + 1" 5776
now + 1
^^^^^^^
shouldn't this rise an error just like the wrong -a above?

Finally, faxalter.c++ cycles through all jobid given but breaks the loop on 
any error: I think it should instead skip and try all jid given anyway. 

thanks

-- paolo


-- System Information
Debian Release: 3.0
Kernel Version: Linux npp 2.4.26-ss-fb-lm287 #1 Fri Jul 16 21:26:09 CEST 2004 
i686 unknown



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to