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] faxsend not being called by faxq



> 
>>Is faxsend executable and has the correct user rights?
> 
> what would be  the correct rights for it ?
> -rwxr-xr-x    1 root     root        20392 2003-06-27 08:31 /usr/sbin/faxsend

That should be OK, although it is usually located in "/usr/lib/fax". 
According to the standard in "/usr/sbin" should be only tools for 
administrative purposes and only root is allowed to use them.

> 
> 
>>Try again with "su uucp" and see what happens.
> 
> it does not work and the logs contain the following parts
> what does seteuid root mean
> Jul  4 10:42:27 faxserverneu FaxSend[2519]: /dev/ttyS0: seteuid root failed (Operation not permitted)
> Jul  4 10:42:57 faxserverneu FaxSend[2519]: /dev/ttyS0: seteuid root failed (Operation not permitted)
> Jul  4 10:43:27 faxserverneu FaxSend[2519]: /dev/ttyS0: seteuid root failed (Operation not permitted)

Well, i'm not sure but i assume that root tries to use the device but 
isn't allowed to.

> Jul  4 10:43:27 faxserverneu FaxSend[2519]: Unable to setup modem on /dev/ttyS0; giving up after 2 attempts
> Jul  4 10:43:27 faxserverneu FaxQueuer[2351]: MODEM /dev/ttyS0 appears to be wedged
> Jul  4 10:43:27 faxserverneu FaxQueuer[2351]: MODEM WEDGED: bin/wedged "ttyS0" "/dev/ttyS0"
> 
> ls -l for /dev/ttyS0 looks like this
> faxserverneu:/var/spool/hylafax/etc # ls -l /dev/ttyS0
> crw-------    1 uucp     uucp       4,  64 2003-07-04 10:46 /dev/ttyS0
> 

Try setting access for everyone with "chmod 666 /dev/ttyS0". If it works 
then, figure out in which user environment the fax-programs are run.
This should be uucp/fax.

Did you use a rpm-version of hylafax coming with SuSE-distribution prior 
to the self-compiled one? Did you erase it? May be any conflicts between 
the two versions (library etc.)?
Any special thing about the kernel? Is it working with the SuSE standard 
kernel?

--
Holger


____________________ 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