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] Login failed: 550 Cannot set privileges



To run as a daemon, I use:
/usr/local/sbin/hfaxd -i 4559 

Use -i to run as a daemon instead of in inetd.  You need to specify
the port to run on, 4559 is the default.

If anyone has a better way of starting the hfaxd server, please tell
me; I got this from reading the man page and not the How To, so it
might not be the Official Best Way.

Alan

On Wed, 2 May 2001, David Banning wrote:

> On Wed, May 02, 2001 at 01:51:57PM -0400, alan wrote:
> > I've had success running hfaxd as a daemon as user root on FreeBSD.
> > Others have experienced the 550 error when running hfaxd as user fax.
> OK - is took out both the entries from /etc/inetd.conf and /etc/ttys
> 
> I tried running 
> 
> hfaxd -I
>  
> which gives no response and ps shows nothing is running
> but system log shows;
> 
> May  2 15:06:18 d HylaFAX[263]: getpeername: Socket operation on non-socket
> 
> each time I run the hfaxd -I command.
> 
> Any idea what I can do from here?
> 
> > 
> > If there's any good reason Not to run hfaxd as root, I'd love to know
> > about it now instead of after I'm owned...
> > 
> > Alan
> > 
> > On Wed, 2 May 2001, David Banning wrote:
> > 
> > > Login failed: 550 Cannot set privileges
> > > 
> > > I just installed hylafax on FreeBSD 4.3 Stable
> > > and I get the above message.
> > > 
> > > I read the reccomendations about having entries in inetd.conf;
> > > 
> > > hylafax stream  tcp     nowait  fax     /usr/local/sbin/hfaxd   hfaxd -I
> > > 
> > > and in /etc/ttys;
> > > 
> > > cuaa1   "/usr/local/sbin/faxgetty"      dialup  on  secure
> > > 
> > > which seems to make no difference.
> > > 
> > > The /var/log/messages reads;
> > > 
> > > May  2 01:46:54 d HylaFAX[603]: getpeername: Socket operation on non-socket
> > > May  2 02:30:00 d HylaFAX[9455]: Could not create dev/null: Operation not permit
> > > ted
> > > 
> > > May  2 10:40:33 d /usr/local/sbin/faxquit[12159]: FIFO.cuaa1: open: Device not c
> > > onfigured
> > > May  2 10:45:32 d HylaFAX[12182]: getpeername: Socket operation on non-socket
> > > 
> > > My /dev/null is there;
> > > 
> > > crw-rw-rw-  1 root  wheel    2,   2 May  2 11:11 /dev/null
> > > 
> > > 
> > > and seems to work when I;
> > > 
> > > echo hithere > /dev/null
> > > 
> > > I'm uninstalled and reinstalled hylafax with no change.
> > > 
> > > There are no errors during the install, and I have both
> > > faxq and faxgetty running;
> > > 
> > > ps ax | grep fax
> > > 
> > > 12171  ??  I      0:00.35 /usr/local/sbin/faxgetty cuaa1
> > > 12173  ??  Is     0:00.03 /usr/local/sbin/faxq
> > > 
> > > Any idea where I go from here?
> 



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




Project hosted by iFAX Solutions