in reply to invocation of a ghost file

The answer to your question will depend on what cgi_app.pl does, which we dont' know.

It looks like it's a wrapper of some kind that's calling other scripts, and in some situations it doesn't know what to call. There's a variable that's supposed to hold the name of the script to execute, and whoever wrote cgi_app.pl gave it the value of the string 'undefined' for situations in which it is undefined (aka undef). This would stop it blowing weird errors and possibly dying, but at the expense that you see this odd, somewhat cryptic, behavior...

The fact that it's calling scripts based on user input fills me with fear that it's not very secure. Make sure that users across the internet cannot execute arbitrary commands.

--Pileofrogs

Replies are listed 'Best First'.
Re^2: invocation of a ghost file
by arkturuz (Curate) on Feb 15, 2006 at 16:58 UTC
    I agree with you (I refer to last paragraph) and I have no such program invocation (meaning program invocation based on user input).

    The program SELECTs some data from a database, allows user to edit data (via HTML form input elements), and stores them back to a database.

    This error in log file happens whether I do edit data or not.

    No outer program calls involved.

      Ah! Then it's redirecting them to a URL which attempts to execute /some/path/unknown. Look in your access logs for a request for something like test-server/cgi-bin/unknown.

        My CGI app calls it. Nothing else can call it. It's a bug, and I cannot find it.