I missed your post You didn't CHMOD 755 "chat.cgi" (a new file in cgi-bin dir), or you didn't change the first line (#!/usr/bin/perl) to reflect your server's one. If you don't know what it is, check ultimatebb.cgi's first line.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.