Menu

CVS Monitor help needed on Solaris

Help
Anonymous
2003-09-29
2003-09-30
  • Anonymous

    Anonymous - 2003-09-29

    Hello, I am running into issue with installing CVS monitor on solaris 7. I have installed the following components:

    Apache 1.3.27 (configured to run cgi perl scritps)
    perl 5.8.0
    gd-1.8.4
    GD-1.41 perl module
    Bundle::CVSMonitor for perl

    The problem I am running into is that I can't execute the setup.pl script from the webbrowser. I am trying to access the script as follows:

    http://localhost/cgi-bin/cvsmonitor/setup.pl

    However, I am getting "Internal Server Error" on my webpage and the following error in the apache error log:

    [Mon Sep 29 12:12:05 2003] [error] (2)No such file or directory: exec of /usr/local/apache/cgi-bin/cvsmonitor/setup.pl failed
    [Mon Sep 29 12:12:05 2003] [error] [client 10.56.26.25] Premature end of script headers: /usr/local/apache/cgi-bin/cvsmonitor/setup.pl

    Please help!! I've been working on this for the past week.

    Thanks in advance!!

     
    • Reinier Post

      Reinier Post - 2003-09-30

      I just installed CVS Monitor on two Solaris hosts.

      The most likely causes of your problem:

      1)  the script itself isn't executable
      2)  the path to Perl in its header is wrong

      My money (0 Eurocents) is on 2.
      An easy way to correct the headers of all Perl
      scripts in a given directory is

        cd <that directory> && rightperl *

      where "rightperl" can be found at

        http://www.win.tue.nl/~rp/util/rightperl

      An alternative is to use

        http://www.win.tue.nl/~rp/util/envperl

      If you don't want to run them directly, at least you can look at the code (they're trivial) to see what needs to be done.

       
    • Anonymous

      Anonymous - 2003-09-30

      Thank you for your help!! You were right, the path to perl within the script was wrong!!

      I appreciate your help!!

       

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.