Description:
When you try to start a dxserver, you may get "cannot register address" error. This means that another process is using the dxserver's port number.
Solution:
There are two ways to solve this problem.
#!/bin/sh if [ $# != 1 ]; then echo "$0 [portnum]" exit 1 fi PORTNUM=$1 PIDS=`ps -ef $LIMIT_UID| awk '{ print $2 }' | sed 1d` for p in $PIDS ;do pfiles $p 2> /dev/null | grep "port: $PORTNUM" > /dev/null 2>&1 if test 0 -eq $? ;then if test -z "$PRINT_ARGS" ;then ps -p $p | sed 1d else pargs -l $p fi fi doneEg. DXserver port was 19289