Ubuntu 18.04 FastCGI

Hello All

I had a test install of RT4.4.4 run on ubuntu before I up graded to 18.04. After the upgrade I am getting the following error for FastCGI.

systemd[1]: Starting The Apache HTTP Server…
apachectl[19558]: AH00526: Syntax error on line 5 of /etc/apache2/sites-enabled/001-requesttracker.conf:
apachectl[19558]: Invalid command ‘FastCgiServer’, perhaps misspelled or defined by a module not included in the server configuration
apachectl[19558]: Action ‘start’ failed.
apachectl[19558]: The Apache error log may have more information.
systemd[1]: apache2.service: Control process exited, code=exited status=1
apache2.service: Failed with result ‘exit-code’.
Failed to start The Apache HTTP Server.

I have ran the testdeps and fixdeps according to those scripts all dependencies are in place.

Reinstalled
libgnupg-interface-perl libcrypt-ssleay-perl libgd-perl libgraph-writer-graphviz-perl libapache2-mod-perl2 libssl-dev libz-dev libapache2-mod-fcgid

Where did FastCGI GO?

nothing seems to help. Looking for more ideas.

Thanks

The RT installer will not configure Apache for you (or any other web server, for that matter).
I would start by checking that you have enabled the FastCGI module:

sudo a2enmod fcgid

I would also update a few settings in /etc/apache2/mods-available/fcgid.conf to better handle timeout and large attachments:

<IfModule mod_fcgid.c>
  FcgidConnectTimeout 20
  FcgidIOTimeout 600
  FcgidMaxRequestLen 1073741824

  <IfModule mod_mime.c>
    AddHandler fcgid-script .fcgi
  </IfModule>
</IfModule>

Then I would make sure your site definition includes the specifics for RT - example below for Apache 2.4.

<Location "/rt">
  Require all granted
  Options +ExecCGI
  AddHandler fcgid-script fcgi
</Location>

Official documentation here.