Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    2

    Default perl/cgi not working on single account

    We have an account on one of our systems which has cgi access but when any script is run it seems to hang in the browser. anybody know how to fix this?

  2. #2
    Member
    Join Date
    May 2002
    Posts
    249

    Default

    What error do you get? Check your log files to find out what the error is. Make sure the CGI is uploaded as ASCII, that the path to Perl is correct in the first line of it. Try testing the script for errors from shell (perl -c -w script.cgi), etc..

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    2

    Default

    Everything seemed to be fine with the script I can run it from other accuonts and there is no problem at all. Nothing shows up in the log file about the script from what I can see when it is loaded from the account. I had a look at the processes and it showed the script running and using hardly any resources. but continued to do so while I had the browser window open.

    Thanks for you help

  4. #4
    Member
    Join Date
    Jan 2002
    Location
    UK
    Posts
    248

    Default

    I had an issue the other day where every cgi in an account give a 500, regardless of how well it worked in other accounts.

    I erased the account and re-created it - works fine now!

    Andy

Similar Threads & Tags
Similar threads

  1. Lost cgi-bin Perl access on main account
    By balour in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-23-2007, 03:43 PM
  2. Perl Not working (cgi-bin)
    By flashweb in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-25-2007, 04:48 PM
  3. cgi-bin not working in a new account
    By SupermanInNY in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-11-2005, 03:34 AM
  4. Replies: 6
    Last Post: 08-21-2004, 06:31 AM
  5. CGI/Perl Quit working after auto-update
    By Curt in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-14-2003, 11:53 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube