Problem
With the SCOoffice Server you are able to modify the ports SCOoffice is using for http, ftp,... So for example you want to re-enable OpenServers http server listening on port 80 or you want to re-enable OpenServers default ftp server listening on port 21. Doing that means that these services are reserving the ports normally used by SCOoffice.
The SCOoffice startup script /etc/init.d/insightserver runs netstat and scans for these reserved ports. Because these ports are now reserved by the original OpenServer services, SCOoffice won't startup.
Cause
The SCOoffice startup script /etc/init.d/insightserver runs netstat and scans for reserved ports.
Solution
Edit the SCOoffice Server startup 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 egreps for port
25 and replace 25 with 801.BEFORE
======
start)
OFFENDING="`${NETSTAT} -an | egrep '^tcp.*LISTEN'
| egrep '[:.](25|80|110|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|143|389|443|636|2000|2003|10024|10025) 'AFTER
=====
start)
OFFENDING="`${NETSTAT} -an | egrep '^tcp.*LISTEN'
| egrep '[:.](801|80|110|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|143|389|443|636|2000|2003|10024|10025) '