I didn’t find the way of installing Communigate Pro in the official documentation and even Google search didn’t help, so I used to do a small fix and write this small note which might help some newbie-debian-admins like me.
The problem was that I had this result when do installation like in the official documentation:
Installing the start-up launcher...
install.sh: line 115: /etc/rc.d/init.d/CommuniGate: No such file or directory
chmod: cannot access `/etc/rc.d/init.d/CommuniGate': No such file or directory
creating a link for the new /bin/mail program
creating startup script links
install.sh: line 204: cd: /etc/rc.d/rc0.d: No such file or directory
install.sh: line 205: cd: /etc/rc.d/rc1.d: No such file or directory
ln: creating symbolic link `K10CommuniGate' to `/etc/rc.d/init.d/CommuniGate': File exists
install.sh: line 206: cd: /etc/rc.d/rc2.d: No such file or directory
ln: creating symbolic link `K10CommuniGate' to `/etc/rc.d/init.d/CommuniGate': File exists
install.sh: line 207: cd: /etc/rc.d/rc3.d: No such file or directory
install.sh: line 208: cd: /etc/rc.d/rc5.d: No such file or directory
ln: creating symbolic link `S80CommuniGate' to `/etc/rc.d/init.d/CommuniGate': File exists
install.sh: line 209: cd: /etc/rc.d/rc6.d: No such file or directory
ln: creating symbolic link `K10CommuniGate' to `/etc/rc.d/init.d/CommuniGate': File exists
As a result it said that “The CommuniGate Pro server has been installed.”, but in fact it was not so, and in order to make things work I did the modification in install.sh and have changed two variables to point them to the right location:
RCDIR="/etc"
STARTSCRIPTS="/etc/init.d"
and then run sh install.sh and it works.