|UNIX is a registered trademark of The Open Group in the United States and other countries|
IKP stands for Iconic Processing System out of Columbia University. The salient points to be aware of are the following:
please run the XIKP script out of $FreeUSP/dist/bin. Don't try to run the binary directly. If you insist on this, then at least glance at the XIKP script, so you'll know which environmental variables to set. The IKP daemon is designed to run by the inetd process (i.e. don't't start it up by hand). It also must be owned and run as root.
In /etc/services (or your NIS map of services) the follwing entry must exist:
ikp 5070/tcp # iconic processor
and in /etc/inetd.conf the following entry must be made:
ikp stream tcp nowait root /<path_to_ikp_daemon_script>/in.ikpd in.ikpd
Don't forget to kill -HUP the pid of inetd once you've made the entry
If you're using xinetd (supplied in Redhat 7.0 and above) use the following file, name it ikp, and place it in /etc/xinetd.d:
disable = no socket_type = stream wait = no user = root protocol = tcp server = /<path_to_ikp_daemon_script>/in.ikpd
Don't forget to kill -HUP on the xinetd pid (or restart it).
Some tricks to help (if you're having trouble) are adding the following arguments to the daemon:
-v 5 and -l /tmp/logfile.ikp
This will at least give you some pointers as to what's happening. For xinetd you would add a line to the ikp file that looked like:
server_args = -v5 -l /tmp/logfile.ikp
for inetd, simply tack the args onto the end of the line in /etc/inetd.conf
Once you have all the changes made, you can have a user start ikp (NOT ikpd - that's a daemon, meant only only to be started by the operating system) and do a:
# tail -f /tmp/logfile.ikp
and you can watch what happens as the daemon is running.
Remember to be sure that you can rsh to remote hosts. A .rhosts files is required at this iteration of the code, although ikp doesn't use the same ports as rsh, it does use the file. The .ikp_hosts file is optional.
Also, you should make sure that the port (5070) is accessible on all hosts that are participating in the IKP net, i.e.in /etc/hosts.allow something like:
on each host.
See the ikp man page for more information on the daemon and see the tcpd man page for more info on securing your system.