WARNING: RT couldn't start up a web server on port 80

Hi im trying to deploy RT using mod_fcgi with following apache config

<VirtualHost *:80>
    ServerAdmin support@domain.com
    ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
    DocumentRoot "/opt/rt4/share/html"
    ServerName rt.domain.com
    ErrorLog "/var/log/rt/error_log"
    CustomLog "/var/log/rt/access_log" common
    <Location />
    Require all granted
    Options +ExecCGI
    AddHandler fcgid-script fcgi

However i’m getting the following error

WARNING: RT couldn't start up a web server on port 80.
This is often the case if the port is already in use or you're running /opt/rt4/sbin/rt-server.fcgi
as someone other than your system's "root" user.  You may also specify a
temporary port with: /opt/rt4/sbin/rt-server.fcgi --port <port>

I though with it using fastcgi that it would not need to start a http listener? can anyone advise.


I have this same problem.

Are you running Apache for the web server or trying to run the standalone RT server /opt/rt4/sbin/rt-server?

Apache on Ubuntu 18.04.1 LTS (64-bit).

Can you paste the error in your Apache log /var/log/rt/error_log, if it is an error with some other process running on port 80 do you know what is running on that port if not Apache?

I can’t do that yet, but I can show you what the lsof -i :80 command results in (apparently, that is a way to find out what programs are listening to port 80):


It looks like apache is running on port 80, I would expect you to be able to go to the IP address in your web browser of your server. If you have your apache config set-up correctly then you should hit the web UI.

You are right: RT is already running and I was able to log in to the web UI for that IP. Looks like it’s solved, thank you!!