Problem view http://<host>/ingex/review

stefano
2013-01-16
2013-04-25
  • stefano
    stefano
    2013-01-16

    Hello to all,
    I have a strange problem I can not solve.
    I have updated the system and wanted to try to see the pages of review.
    I have followed and read the thread http://sourceforge.net/projects/ingex/forums/forum/531547/topic/5074425.
    If I launch

     main.pl
    

    in

     /srv/www/cgi-bin/ingex-review/perl
    

    /

    /usr/bin/perl -T . /main.pl
    

    see text in a web page.
    If I launch a console in other folder

    /usr/bin/perl -T /srv/www/cgi-bin/ingex-review/perl/main.pl
    

    I get the following error:

    Can not locate utils.pm in @ INC (@ INC contains: .. /.. / Ingex-config .. /.. / Ingex-review / perl / usr/lib/perl5/site_perl/5.12.3/x86_64- linux-thread-multi / usr/lib/perl5/site_perl/5.12.3 / usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi / usr/lib/perl5/vendor_perl/5.12.3 / usr/lib/perl5/5.12.3/x86_64-linux-thread-multi / usr/lib/perl5/5.12.3) at / srv / www / cgi-bin / ingex-review / perl / main.pl line 31.
    BEGIN failed - compilation aborted at / srv / www / cgi-bin / ingex-review / perl / main.pl line 31.

    In fact, if I go on the web

    http://<host>/ingex/review
    

    I am changing the page and I get the error 500 error Premature end of script headers: main.pl
    I have a configuration of 2 client 1 server machine center with open suse 11.4.

     
  • Rui Loureiro
    Rui Loureiro
    2013-02-07

    goto  / srv / www / cgi-bin / ingex-review / perl /  and run /usr/bin/perl -T main.pl

    Now the script must find the utils.pm and report another error.
    Maybe a permissions error in some log file.