Technical article 125863

SCOoffice Server doesn't startup when you previously have relocated ports

OpenServer 5.0.7

Written · Last revised

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|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) '

From the Xinuos technical article database, record 125863. Reproduced with permission. The original is at www.sco.com/ta/125863, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.