Skip to main content

This article explains how to resolve a cobrun error when accessing a CGI program.

Problem:

When executing the CGI example program 'pizza' we followed all the steps, and got to the "Hi. Welcome to the Server Side Persistence Demo" screen, as expected. However, when we press the Press here to start button, we get this message:

cobrun: Permission denied

Resolution:

There are few possible causes for this error message, and they are:


  1. No usercgi.cfg exists in the same directory as the installed cobrun triggers.
  2. The user attempting to access the CGI program is not allowed access; that is, the user option in usercgi.cfg is set to "access=denied".
  3. The user attempting to access the CGI has root permissions, which is not allowed.

Possible solutions include:


  1. Create a usercgi.cfg file.
  2. Set the correct user access option.
  3. User must log in under a different ID.
Old KB# 13981