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] FaxQCleaner: Bad exit status 01000



Dear Lee,

Good point thanks - should have thought of that!  Well I ran
'bin/archive "24"' (actually it was 'bin/archive "31"' as this was a
sent fax still waiting to be faxqcleaned).  Sure enough I did get an
error:

	bin/archive: syntax error near unexpected token `fi'
	bin/archive: bin/archive: line 25: `if [ -r info/$NUMBER ]; cp
info/$NUMBER $ARCHIVETO; fi'

Well that pointed me in the right direction so I edited line 25 of
bin/archive to read:

	if [ -r info/$NUMBER ]; then
		cp info/$NUMBER $ARCHIVETO
	fi

Tested again and all is now working with no errors.

Many thanks for all suggestions...

Best regards, 

John Miller 
Glideslope Software 
Tel: +44 (0)161 653 0985 
Fax: +44 (0)161 653 1110 
Email: contact@glideslopesoftware.co.uk 
URL: http://www.glideslopesoftware.co.uk/ 



-----Original Message-----
From: hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org] On Behalf Of Lee Howard
Sent: Tuesday, November 05, 2002 6:05 PM
To: contact@glideslopesoftware.co.uk
Cc: hylafax-users@hylafax.org
Subject: Re: [hylafax-users] FaxQCleaner: Bad exit status 01000


On 2002.11.04 23:06 Glideslope Software wrote:
> Running HylaFAX 4.1.5 installed as a Red Hat 6 binary distribution on
> an
> i686 running RH 6.1 (kernel 2.2.12-20).  All works fine and I can send
> and receive faxes with no problems.  Just decided to start archiving
> all
> SENT faxes so edited /etc/cron.hourly/hylafax to read:
> 
> 	#!/bin/sh
> 
> 	/usr/sbin/faxqclean -A
> 
> 	exit 0
> 
> This seems to work as sent faxes (with supporting files) do appear in
> directories under /var/spool/hylafax/archive/.  However my kernel log
> is
> now showing messages such as the following whenever a sent fax is
> archived:
> 
> 	Nov  4 22:01:00 outside FaxQCleaner[10346]: Bad exit status
> 01000 for 'bin/archive "24"'
> 
> Anybody got any ideas about what I'm doing wrong please?

 From the /var/spool/hylafax/ directory run 'bin/archive "24"' and see 
what the error is.

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions