perl site not working after upgrade

  • ok thanks, I added it exactly as you said it works!


    turns out there must be a problem with my sql-ledger since the upgrade because it's that that gives a 500 error. So now at least I know the perl part with apache is working!


    thanks for you help, I'll post back when or if I can work out why my perl code is refusing to work after the upgrade. I get 500 error on my login.pl, has not been changed and worked before. I wonder if the imscp upgrade removed some packages or dependencies? Not sure it ever worked on the command line but just tried it since running it in a browser just results in 500 error and nothing in logs of any use.


    perl login.pl
    Can't locate bin/xterm/login.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at login.pl line 120

  • I still have no joy ... Permissions as follows:


    # LANG=C ls -la
    total 12
    drwxr-x--- 2 vu2003 vu2003 4096 Dec 20 12:41 .
    drwxr-x--- 12 vu2003 vu2003 4096 Oct 29 12:27 ..
    -rwxr-x--- 1 vu2003 vu2003 101 Dec 20 12:42 test.pl


    Using:
    #!/usr/bin/perl
    print "Content-Type: text/html\n\n";
    print "<big>Perl script is working</big>";
    1;

    “Life is all an Elaborate Hoax”

  • @tjfayaz120


    Teamviewer is posible?


    @texxasrulez


    There is me and the others.... :D


    Teamviewer possible in one hour?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I do not have Teamviewer ... It is not a big issue to me. I personally do not use perl scripts anymore ... Just curious as to why not working.

    “Life is all an Elaborate Hoax”

  • Ok so after trying all sorts I gave up. Proxied this perl site to another machine using nginx to host it which actually works.


    So it's not a problem right now, shame it didn't work but it's the only perl site I have on the system so not such a big deal.


    I appreciate all the help that's been offered though thanks