[All]
Got "connection rejected " starting ibserver
By: Borland Staff
Abstract: Make sure localhost is a trusted connection
Problem:
I get the following error when trying to start ibserver
with the command:
ibmgr -start
[Error]
SERVER/process_packet: connection rejected for root
Solution:
Superserver for Unix platforms does not have a true
local access method. Instead it uses localhost to
simulate "local" connections.
Thus, This error occurs because the server tries to initiate
a local connection via localhost and isn't a trusted host.
To remedy this you just need to make sure localhost is a
trusted host. One way you can do this is by adding localhost to the
/etc/hosts.equiv file. For additional information on the hosts.equiv
file see man page for it on your computer. An example of this man page
can be found at
http://www.fifi.org/cgi-bin/man2html/usr/share/man/man5/hosts.equiv.5.gz
Note: The ib server is actually started despite the error message. You
can verify that with ps grep for 'ibserver' & 'ibguard'. If this is
the case, shut down the server and restart it again with the
hosts.equiv file in place.
To shut down the server, do:
/usr/interbase/bin/ibmgr -shut -password masterkey