Problem
With the SCOoffice Server you are able to modify the ports SCOoffice is using for http, ftp, etc. For example, you wish to re-enable the http server of OpenServer listening on port 80 or you re-enable the default ftp server of OpenServer listening on port 21. Doing so means that these services are reserving the ports normally used by SCOoffice Server. The SCOoffice Server startup script "/etc/init.d/insightserver" runs netstat and scans for these reserved ports. Because these ports are now in use by the original OpenServer services, SCOoffice Server will not start.
Cause
The SCOoffice Server script /etc/init.d/insightserver runs netstat and scans for reserved ports. This file must be modified to account for remapped port used for SCOoffice Server.
Solution
Edit the SCOoffice Server script /etc/init.d/insightserver so that you won't get a conflict with the current ports.
For example, if you have re-enabled ftp on port 21 and the SCOoffice ftp server was relocated to port 801, then edit the two lines which 'egrep' for port 25 and replace 25 with 801.
BEFORE
======
start)
OFFENDING="`${NETSTAT} -an | egrep '^tcp.*LISTEN'
| egrep '[:.](25|80|11
0|143|389|443|636|2000|2003|10024|10025) '`"
if [ ! -z "$OFFENDING" ]; then
echo "Error: Can't start until the
following ports are available
:"
echo
${NETSTAT} -an | egrep '^tcp.*LISTEN' |
egrep '[:.](25|80|110|14
3|389|443|636|2000|2003|10024|10025) 'AFTER
=====
start)
OFFENDING="`${NETSTAT} -an | egrep '^tcp.*LISTEN'
| egrep '[:.](801|80|11
0|143|389|443|636|2000|2003|10024|10025) '`"
if [ ! -z "$OFFENDING" ]; then
echo "Error: Can't start until the
following ports are available
:"
echo
${NETSTAT} -an | egrep '^tcp.*LISTEN' |
egrep '[:.](801|80|110|14
3|389|443|636|2000|2003|10024|10025) '