![]() |
Morten Skjelland wrote: > > Hi > > I compiled the program, and installed it, so far so good. > > When I later run faxstat -v, here's what happens: > > mortens@oslo:~$ /local/fax/bin/faxstat -v > Trying localhost (127.0.0.1) at port 4559... > Connected to localhost. > 220 oslo server (HylaFAX (tm) Version 4.0pl1) ready. > -> USER mortens > 230 User mortens logged in. > -> PORT 127,0,0,1,181,71 > 200 PORT command successful. > -> LIST status > 425 Cannot create data socket (127.0.0.1,4558): Bad file number. > > Here is the relevant part from truss hfaxd > > 2097: read(0, " L I S T s t a t u s\r".., 1024) = 13 > 2097: ioctl(0, I_FIND, "sockmod") = 1 > 2097: fcntl(0, F_SETFL, 0x00000002) = 0 > 2097: stat("/etc/shutdown", 0xEFFFF350) Err#2 ENOENT > 2097: stat("status", 0xEFFFF1A0) = 0 > 2097: open("status", O_RDONLY|O_NDELAY) = 4 > 2097: fcntl(4, F_SETFD, 0x00000001) = 0 > 2097: fstat(4, 0xEFFFF1B0) = 0 > 2097: open("/dev/tcp", O_RDWR) Err#6 ENXIO > 2097: close(-1) Err#9 EBADF > 2097: write(1, " 4 2 5 C a n n o t c".., 66) = 66 > > dev/tcp in the spool area looks like this: > > crw-rw-rw- 1 root uucp 11, 42 Jul 15 17:06 tcp > > which is the same as /dev/tcp. > > What's wrong? > I had exactly the same problem when I attempted to upgrade from version 3. I tracked it down to it being something to do with the fact that hfaxd is running in a chroot'd environment. I created every possible device entry I could think of in the spool/fax/dev directory but couldn't get it to work. I eventually gave up and went back to version 3. If you find or hear anything I'd appreciate it if you could pass it on. Steve. Attachment Converted: "c:\program files\eudora\attach\smime.p7s"