Hylafax Mailing List Archives

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

Re: [hylafax-users] "Simple" (I hope) send problem



Hmm - Not so simple after all.

Installed CVS and loaded up latest version  - all went smoothly.

But... Im still getting the same errors :(

I run "sendfax -N -v -d 5555555 /etc/group" then I see that
/var/adm/messages shows:
"Jan 10 23:08:13 solar FaxQueuer[11167]: [ID 646984 daemon.error] JOB 5:
Send program terminated abnormally with exit status 0x9"

I think (hunch/guess really) the key message show by truss on faxq is this
extract..
lseek(6, 0, SEEK_SET)                           = 0
write(6, " t t s : 9 7 9 1 6 8 0 9".., 672)     = 672
fcntl(6, F_FREESP, 0xFFBEE694)                  = 0
close(6)                                        = 0
close(6)                                        Err#9 EBADF

Im guessing that the "Err#9 EBADF" relates to the "exit status 0x9" - hence
"fcntl" command ???
What do you recon ?

Anyways Solaris-8 docs (extract) say...
"The fcntl() function provides for control over open files. The fildes
argument is an open file descriptor.

The fcntl() function may take a third argument, arg, whose data type, value
and use depend upon the value of cmd. The cmd argument specifies the
operation to be performed by fcntl().

The fcntl() function will fail if:
EBADF: The cmd argument is F_FREESP and fildes is not a valid file
descriptor open for writing."


So - looks like something wrong with file descriptor ?
As I say, Im not a programmer , so this could be load of bull.
This is as far as I can go now.

ANY ideas on where I go from here ??

Will put up another post asking if anyone has managed to get HylaFAX working
on Solaris-8.

RichJ








-----Original Message-----
From: hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org]On Behalf Of Lee Howard
Sent: 10 January 2001 17:07
To: Richard.Jamieson@scsuk.net; hylafax-users@hylafax.org
Subject: Re: [hylafax-users] "Simple" (I hope) send problem


At 11:20 AM 1/10/01 -0000, Richard Jamieson wrote:
>Thanks Lee
>
>I started up faxgetty (/opt/HylaFax/lib/fax/faxgetty /dev/cua/b) and
faxstat
>now shows:
>	HylaFAX scheduler on solar: Running
>	Modem cua/b (1111111111111111): Running and idle
>
>Im using version 4.1 beta 2 - latest version.
>Im running on Solaris-8(sparc).

Last I heard, HylaFAX-CVS worked on Solaris.  Try out CVS (will eliminate
all known problems from the possibilities).  See:

http://www.hylafax.org/cvs.html

>Im still getting the same error - and no extra messages.
>
>Any ideas ?
>
>Is there no way I can trace whats going on, to help me find out at which
>point the failure occurs ?
>Are there any other commands I can try ? log files to check ?
>flags/parameters to change ?

Yes, use the -v option from sendfax.

       -v          Print information on the standard output about
                   each conversion  and  cover  sheet  generation
                   operation  it does.  If -v is specified twice,
                   the protocol between  sendfax  and  the  hfaxd
                   server  process  that does the submission work
                   on the remote machine is also displayed.

try:
# sendfax -N -v -d 5555555 /etc/group

(By the way, options only apply to a particular fax send if they *precede*
the -d option.  I don't know if it's important, though, in the case of -N
or -v.)

Lee.



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




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



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