Menu

info.png is not an executable

Help
AJR
2007-08-22
2013-04-26
  • AJR

    AJR - 2007-08-22

    I have installed DocPerl on a Windows XP system running Apache on localhost.

    I'm having the following problems:

    -  The files docperl.png and info.png are being interpreted as executables, which is producing an error.

    The error log on the webserver contains the following messages:

    [error] [client 127.0.0.1] C:/DOCPERL/docperl/docperl.png is not executable; ensure interpreted scripts have "#!" first line
    [Wed Aug 22 11:29:53 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/DOCPERL/docperl/docperl.png
    [Wed Aug 22 11:29:57 2007] [error] [client 127.0.0.1] C:/DOCPERL/docperl/docperl.png is not executable; ensure interpreted scripts have "#!" first line
    [Wed Aug 22 11:29:57 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/DOCPERL/docperl/docperl.png
    [Wed Aug 22 11:29:58 2007] [error] [client 127.0.0.1] Use of uninitialized value in split at DocPerl.pm line 415., referer: http://localhost/cgi-bin/docperl.cgi
    [Wed Aug 22 11:29:58 2007] [error] [client 127.0.0.1] Use of uninitialized value in split at DocPerl.pm line 415., referer: http://localhost/cgi-bin/docperl.cgi
    [Wed Aug 22 11:29:58 2007] [error] [client 127.0.0.1] The cache file './data/cache/list' does not have a suffix at DocPerl.pm line 287, referer: http://localhost/cgi-bin/docperl.cgi
    [Wed Aug 22 11:29:58 2007] [error] [client 127.0.0.1] The cache file './data/cache/perlfunc' does not have a suffix at DocPerl.pm line 287, referer: http://localhost/cgi-bin/docperl.cgi
    [Wed Aug 22 11:29:59 2007] [error] [client 127.0.0.1] C:/DOCPERL/docperl/info.png is not executable; ensure interpreted scripts have "#!" first line, referer: http://localhost/cgi-bin/docperl.cgi?page=list
    [Wed Aug 22 11:29:59 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/DOCPERL/docperl/info.png, referer: http://localhost/cgi-bin/docperl.cgi?page=list
    [Wed Aug 22 11:29:59 2007] [error] [client 127.0.0.1] C:/DOCPERL/docperl/docperl.png is not executable; ensure interpreted scripts have "#!" first line
    [Wed Aug 22 11:29:59 2007] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/DOCPERL/docperl/docperl.png

    I am not sure whether this problem stems from something within docperl, or the way I have the Apache webserver set up.  I followed the installation documentation that came with docperl and placed the following lines in the web server config file:

    <Directory "C:/DOCPERL/docperl/">
        Options +ExecCGI
        AllowOverride Limit
        DirectoryIndex docperl.cgi
        AddHandler cgi-script .cgi
    </Directory>

    in addition, i also changed the script alias to:

    ScriptAlias /cgi-bin/ "C:/DOCPERL/docperl/"

    This is the directory where i installed docperl.

    Any advice would be helpful

    regards

     
    • Ivan Wills

      Ivan Wills - 2007-08-23

      Hi

      Could you send your whole apache config. From what you have shown of your apache cofig, there is nothing I can see that would cause that problem.

      Ivan

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.