This is an archive related to a previous version of Esri Maps for IBM Cognos.
If you need the current version go to http://doc.arcgis.com/en/maps-for-cognos/.
CGI errors
If a CGI Error appears while you are installing or using Esri Maps for IBM Cognos, try the following troubleshooting steps.
- In a web browser, enter the URL path to em4c.cgi using your organization's host name and path. For example:
http://localhost/ibmcognos/em4c/cgi-bin/em4c.cgi
If this results in a CGI Error, verify that the following are true:
- All EM4C Servers in your environment are running.
- Users have write permission to the temp directory on EM4C Gateway. For more information, see the section on file access permissions in Configure Apache.
- If the CGI Error persists, enter the following path into a web browser using your organization's host name and ArcGIS Online or Portal for ArcGIS URL:
http://localhost/ibmcognos/em4c/cgi-bin/em4c.cgi?https://<arcgisUrl>/sharing/rest/accounts/self?f=json
If the error persists, try any of the following:
- Ensure that each EM4C Gateway in your environment has permission to access the specified ArcGIS Online or Portal for ArcGIS URL. For example, the port might be blocked by a firewall.
- Ensure that ArcGIS for Server is running.
- If the link in fails with an HTTP
Error 403 message, there might be a missing property in the
proxy.conf file on EM4C Gateway. If this file contains matchUrls=true but does not contain serverUrl=<arcgisUrl>, do one of the following:
- Change the value for
matchUrls to false (for example, matchUrls=false)
- Add a new line with the following property
specifying your organization's ArcGIS Online or Portal for ArcGIS
URL:
serverUrl=<arcgisUrl>
- If the above suggestions do not resolve the error, try testing other URLs to ensure that the em4c.cgi proxy is working. For example:
http://localhost/ibmcognos/em4c/cgi-bin/em4c.cgi?http://www.esri.com
If this URL generates an error, it could mean that em4c.cgi does not have internet access or is blocked by a firewall.
- If the previous steps do not resolve the CGI Error, look for details in the log file. The log file (cgiError.log) is normally found in <EM4C_Gateway_location>/temp. If you need help reading and understanding the log file, contact Esri Support .