HylaFAX The world's most advanced open source fax server

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

[hylafax-users] hfaxd OSX, dev/null



People,

I hope this is not a duplicate, seems the email program was generating 
RTF file. This should be text only...

We have been quite successful getting HylaFAX running on OS/X, the
receive fax works great. We made the following changes in the
config.site:


GETTY=3D"BSD"			# type of getty support (auto|BSD|SysV)

CXXFILE=3D"-x c++"			# options for proper C++ =
processing


CONFIG_SOCKARGLENTYPE=3D"int"		# call-by-ref arg type for =
socket funcs


We can get everything running except, hfaxd.


I am not certain we need HFAXD, as we only ever need to forward faxes
which are received. I am uncertain of how to send them directly to
faxq.


We found a couple of FAQ's similar for Solaris and AIX, however none
of these seem to resolve the problems.


It appears that hfaxd, is creating a file in the dev/null, not a
device special file. mknod seems to be giving us some grief, but this
could just be some next/openstep anachranisms I am forgetting. When we
link /dev/null to dev/null, we get our error we had before we changes
the CONFIG_SOCKARGLENTYPE above. We are contemplating reverting this
config change.

We have played around trying to get this to work, I am confused why a 
device special file is trying to be created in the spool directory, 
however this should not be too much of an issue.

Thoughts and suggestions are most welcome.


This is the latest beta.


Kind Regards,


Guy


Jun 18 22:22:43 localhost HylaFAX[1170]: Could not create dev/null:
File exists


[localhost:/var/spool/fax] root# ls -al dev

total 0

drwxr-xr-x   3 uucp  uucp   264 Jun  4 22:17 .

drwxrwxrwx  25 uucp  uucp   806 Jun 13 18:45 ..

-rwxrwxrwx   1 root  wheel    0 Jun  4 22:17 null

[localhost:/var/spool/fax] root# rm /dev/null

[localhost:/var/spool/fax] root# /usr/local/sbin/hfaxd

[localhost:/var/spool/fax] root# ls -al dev

total 0

drwxr-xr-x   3 uucp  uucp    58 Jun  4 22:17 .

drwxrwxrwx  25 uucp  uucp   806 Jun 13 18:45 ..

-rwxrwxrwx   1 root  wheel    0 Jun  4 22:17 null

[localhost:/var/spool/fax] root# /usr/local/sbin/hfaxd

[localhost:/var/spool/fax] root#=20


[localhost:~] root# cd /var/spool/fax

[localhost:/var/spool/fax] root# ls -al dev

total 0

drwxr-xr-x   2 uucp  uucp  264 Jun 18 22:25 .

drwxrwxrwx  25 uucp  uucp  806 Jun 13 18:45 ..

[localhost:/var/spool/fax] root# ln -s /dev/null dev/null

[localhost:/var/spool/fax] root# ls -al dev/null

lrwxr-xr-x  1 uucp  uucp  9 Jun 18 22:29 dev/null -> /dev/null

[localhost:/var/spool/fax] root# stat dev/null


OK? pstat dev/null? no

stat: Command not found.

[localhost:/var/spool/fax] root# file dev/null

dev/null: symbolic link to /dev/null

[localhost:/var/spool/fax] root# file /dev/null

/dev/null: character special (3/2)

[localhost:/var/spool/fax] root# /usr/local/sbin/hfaxd

[localhost:/var/spool/fax] root#=20

[localhost:/var/spool/fax] root#=20



---
Guy R. Loucks			|   "Everyone is a genius at least once a year.
"These opinions and 	|    The real geniuses simply have their bright
  ideas are my own,   		|    ideas closer together."       G.C. 
Lichtenberg
  what few there are."		|
---------------------------------------------------------------------------

CAUTION: This message and any attachments contain information that is
CONFIDENTIAL and may be LEGALLY PRIVILEGED. If you are not the intended 
recipient any use, disclosure or copying of this email message or 
attachments is strictly prohibited. If you have received this message in
error, please notify immediately and erase all copies of this message
and attachments.


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




Project hosted by iFAX Solutions