Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] "Simple" (I hope) send problem
Further update.
I've now run "truss" on faxgetty, hfaxd and faxq - output shown below..
Output created after running command "sendfax -d 01483747270 /etc/group"
# FAXQ ###############
poll(0xFFBEF9C0, 1, -1) = 1
read(4, " S c l i e n t / 2 0 7 9".., 2047) = 17
fstat(5, 0xFFBEED50) = 0
time() = 979144886
getpid() = 19836 [1]
putmsg(5, 0xFFBEE408, 0xFFBEE3FC, 0) = 0
open("/var/run/syslog_door", O_RDONLY) = 6
door_info(6, 0xFFBEE340) = 0
getpid() = 19836 [1]
door_call(6, 0xFFBEE328) = 0
close(6) = 0
stat("sendq/q40", 0xFFBEECE0) = 0
open("sendq/q40", O_RDWR) = 6
fcntl(6, F_SETLKW, 0xFFBEED40) = 0
lseek(6, 0, SEEK_SET) = 0
fstat(6, 0xFFBEECE0) = 0
read(6, " t t s : 0\n k i l l t i".., 679) = 679
time() = 979144886
open("docq/doc40.cover", O_RDONLY) = 7
close(7) = 0
open("docq/doc79.ps.40", O_RDONLY) = 7
close(7) = 0
time() = 979144886
time() = 979144886
lseek(6, 0, SEEK_SET) = 0
write(6, " t t s : 9 7 9 1 4 4 8 8".., 685) = 685
fcntl(6, F_FREESP, 0xFFBEE724) = 0
close(6) = 0
close(6) Err#9 EBADF
open("client/20794", O_WRONLY|O_NDELAY) = 6
write(6, " S *\0", 3) = 3
read(4, 0xFFBEF178, 2047) = 0
close(4) = 0
mknod("FIFO", 010600, 0x00000000) Err#17 EEXIST
open("FIFO", O_RDWR|O_NDELAY) = 4
fstat(4, 0xFFBEEFA0) = 0
fcntl(4, F_GETFL, 0x00000000) = 6
fstat64(4, 0xFFBEEF30) = 0
fstat64(4, 0xFFBEEF30) = 0
fcntl(4, F_SETFL, 0x00000006) = 0
stat("etc/config", 0xFFBEF778) = 0
time() = 979144886
open("sendq/q40", O_RDWR) = 7
fcntl(7, F_SETLKW, 0xFFBEF760) = 0
lseek(7, 0, SEEK_SET) = 0
fstat(7, 0xFFBEF700) = 0
read(7, " t t s : 9 7 9 1 4 4 8 8".., 685) = 685
open("docq/doc40.cover", O_RDONLY) = 8
close(8) = 0
open("docq/doc79.ps.40", O_RDONLY) = 8
close(8) = 0
stat("", 0xFFBEF778) Err#2 ENOENT
time() = 979144886
getuid() = 0 [5]
seteuid(0) = 0
getpid() = 19836 [1]
lstat64("/opt/HylaFax/locks//TM.faxRGaGVM", 0xFFBEF4A0) Err#2 ENOENT
open("/opt/HylaFax/locks//TM.faxRGaGVM", O_RDWR|O_CREAT|O_EXCL, 0600) = 8
write(8, " 1 9 8 3 6\n", 11) = 11
fchmod(8, 0444) = 0
fchown(8, 5, 5) = 0
close(8) = 0
link("/opt/HylaFax/locks//TM.faxRGaGVM",
"/opt/HylaFax/locks/LK.136.020.131073") = 0
unlink("/opt/HylaFax/locks//TM.faxRGaGVM") = 0
seteuid(5) = 0
stat("info/4420801483747270", 0xFFBEF5A8) Err#2 ENOENT
lseek(7, 0, SEEK_SET) = 0
write(7, " t t s : 9 7 9 1 4 4 8 8".., 685) = 685
fcntl(7, F_FREESP, 0xFFBEF29C) = 0
fork() = 20798
close(7) = 0
stat("client/20794", 0xFFBEF768) Err#2 ENOENT
close(6) = 0
waitid(P_ALL, 0, 0xFFBEF908, WEXITED|WTRAPPED|WNOHANG) = 0
sigaction(SIGCLD, 0xFFBEF9E0, 0x000664E4) = 0
poll(0xFFBEF9C0, 1, 10739889) (sleeping...)
Received signal #18, SIGCLD, in poll() [caught]
siginfo: SIGCLD CLD_EXITED pid=20798 status=0x0001
poll(0xFFBEF9C0, 1, 10739889) Err#4 EINTR
waitid(P_ALL, 0, 0xFFBEF4F0, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xFFBEF4F0, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
setcontext(0xFFBEF6A8)
sigaction(SIGCLD, 0xFFBEF9E0, 0x00000000) = 0
open("sendq/q40", O_RDWR) = 6
fcntl(6, F_SETLKW, 0xFFBEF7F8) = 0
lseek(6, 0, SEEK_SET) = 0
fstat(6, 0xFFBEF798) = 0
read(6, " t t s : 9 7 9 1 4 4 8 8".., 754) = 754
stat("", 0xFFBEF810) Err#2 ENOENT
time() = 979144887
fork() = 20805
close(6) = 0
waitid(P_ALL, 0, 0xFFBEF908, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xFFBEF908, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
time() = 979144887
getuid() = 0 [5]
seteuid(0) = 0
unlink("/opt/HylaFax/locks/LK.136.020.131073") = 0
seteuid(5) = 0
open("sendq/q40", O_RDWR) = 6
fcntl(6, F_SETLKW, 0xFFBEF780) = 0
lseek(6, 0, SEEK_SET) = 0
fstat(6, 0xFFBEF720) = 0
read(6, " t t s : 9 7 9 1 4 4 8 8".., 754) = 754
fstat(5, 0xFFBEF558) = 0
time() = 979144887
getpid() = 19836 [1]
putmsg(5, 0xFFBEEC10, 0xFFBEEC04, 0) = 0
open("/var/run/syslog_door", O_RDONLY) = 7
door_info(7, 0xFFBEEB48) = 0
getpid() = 19836 [1]
door_call(7, 0xFFBEEB30) = 0
close(7) = 0
rename("sendq/q40", "doneq/q40") = 0
rename("docq/doc40.cover", "docq/doc40.cover") = 0
stat("docq/doc40.cover", 0xFFBEF5C0) = 0
unlink("docq/doc40.cover;30") = 0
rename("docq/doc79.ps.40", "docq/doc79.ps") = 0
stat("docq/doc79.ps", 0xFFBEF5C0) = 0
unlink("docq/doc79.ps;30") = 0
time() = 979144887
lseek(6, 0, SEEK_SET) = 0
write(6, " t t s : 9 7 9 1 4 4 8 8".., 755) = 755
fcntl(6, F_FREESP, 0xFFBEF244) = 0
fstat(5, 0xFFBEF310) = 0
time() = 979144887
getpid() = 19836 [1]
putmsg(5, 0xFFBEE9C8, 0xFFBEE9BC, 0) = 0
open("/var/run/syslog_door", O_RDONLY) = 7
door_info(7, 0xFFBEE900) = 0
getpid() = 19836 [1]
door_call(7, 0xFFBEE8E8) = 0
close(7) = 0
fork() = 20806
waitid(P_PID, 20806, 0xFFBEF4F0, WEXITED|WTRAPPED) (sleeping...)
################## HFAXD #######################
poll(0xFFBEF9A8, 1, -1) = 1
accept(4, 0x00000000, 0x00000000, 1) = 6
fork() = 20794
close(6) = 0
waitid(P_ALL, 0, 0xFFBEF8F0, WEXITED|WTRAPPED|WNOHANG) = 0
sigaction(SIGCLD, 0xFFBEF9C8, 0x00083148) = 0
Received signal #18, SIGCLD, in poll() [caught]
siginfo: SIGCLD CLD_EXITED pid=20794 status=0x0001
poll(0xFFBEF9A8, 1, -1) Err#4 EINTR
waitid(P_ALL, 0, 0xFFBEF4D8, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xFFBEF4D8, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
setcontext(0xFFBEF690)
sigaction(SIGCLD, 0xFFBEF9C8, 0x00000000) = 0
poll(0xFFBEF9A8, 1, -1) (sleeping...)
####### FAXGETTY ##########
No activity - ie: there was no output.
# /var/adm/messages still contained message:
Jan 10 16:41:27 solar FaxQueuer[19836]: [ID 180031 local0.error] JOB 40:
Send program terminated abnormally with exit status 0x9
+ I was also emailed with this error message.
###################
Im still ploughing through this myself.
Im hoping this may mean more to some of you programmer-types out there ???
Im checking out file/directory permits at the moment.
F.Y.I - the phone line is now connected and has tested Ok.
Any more suggestions as to cause of error much appreciated.
regards,
RichJ.
-----Original Message-----
From: Lee Howard [mailto:faxguy@deanox.com]
Sent: 10 January 2001 03:43
To: Richard.Jamieson@scsuk.net; hylafax-users@hylafax.org
Subject: Re: [hylafax-users] "Simple" (I hope) send problem
At 01:16 AM 1/10/01 -0000, Richard Jamieson wrote:
>1. When I run faxstat (no params) I see.
> "HylaFAX scheduler on hostname: Running"
>
> The other docs I've read make it look like I should also see an entry here
>for my fax devices (ie: showing its number).
I believe that this is normal for the first time when you're not running
faxgetty. (Let me take this opportunity to urge you to use faxgetty even
though it is send-only - simply for the status information here.)
>2. I run "sendfax -d "rich@555999555" -N /etc/group
> This produces an email error messages and an entry in syslog.
> The key message seems to be:
> "Jan 10 00:47:38 hostname FaxQueuer[16658]: [ID 951086 local0.error] JOB
>27: Send program terminated abnormally with exit status 0x9"
What version of HylaFAX are you using, and what OS? This message doesn't
mean "you don't have your phone line connected". You should get a message
saying "no local dialtone" back by e-mail if there is no line connected.
> I've searched the docs/website but I cant find any mention of this error -
>can anyone confirm that this error message means "You dont have
> your phone line connected" ?
I've seen similar reports, though, perhaps 'exit status 0x8', but I believe
that they were resolved by using a newer version of HylaFAX (perhaps CVS).
>3. Can anyone advise me how I can get more detailed log file information -
>I've tried adding entries to the config files (trace levels etc) - but it
> doesnt seem to make any difference - no extra output.
> Nothing ever appears in the "fax/log" directory or in the etc/xferfaxlog
>file.
You won't get any SessionTracing logs until a session starts - i.e. when a
fax is attempted. So no log means no fax attempt. If you turn up
ServerTracing then the standard messages sent to syslog will increase in
verbosity - but really, I've never gotten much out of these latter messages
when it comes to troubleshooting.
Anyway, turn faxgetty on with RingsBeforeAnswer set to zero. And perhaps
try out a newer version of HylaFAX.
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null