Announcement

Collapse
No announcement yet.

cgi-bin problem, v3.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    cgi-bin problem, v3.0

    We have v3.0 installed, it's been working fine. We have had no change to pc, os or router.

    But now we get error message, says we don't have permission on nq00001.pl file.

    Have chacked the permissions on the cgi-bin and it's files, they are all 755.

    acatalog is at 777.

    We use Worldpay, sometimes the 'download orders' works, sometimes not. The problem is the occ files and duplicate or plain wrong files in Actinic.

    Uploading fails, it always stops when u get to upload pictures.

    Network settings seems correct, it's got tick in 'ignore passive errors' and it passes the 'test settings' test.

    I have an error file extracted from the site, here are the contents, if this helps; additionally it refers to A000.cat, the file is there, in 'acatalog' and is recursed to 777 settings.

    Anybody get any suggestions, please?



    Program = SHOPCART, Program version = 129 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 24/10/2005 13:15:17, Internal Errors = Error opening configuration file A000.cat. No such file or directory
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 24/10/2005 13:15:43, Internal Errors = Error opening configuration file A000.cat. No such file or directory
    Program = SHOPCART, Program version = 129 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 25/10/2005 11:56:12, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 25/10/2005 11:56:48, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 26/10/2005 06:25:52, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 26/10/2005 20:00:44, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 27/10/2005 07:16:37, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 28/10/2005 04:48:27, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 29/10/2005 02:50:14, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 30/10/2005 16:32:19, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 02/11/2005 11:42:30, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 05/11/2005 15:52:20, Internal Errors = The input is NULL
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 12/11/2005 05:30:02, Internal Errors = The input is NULL
    Program = SHOPCART, Program version = 129 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 16/11/2005 14:31:43, Internal Errors = Error opening configuration file A000.cat. No such file or directory
    Program = ORDERSCR, Program version = 122 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 16/11/2005 14:31:54, Internal Errors = Error opening configuration file A000.cat. No such file or directory
    Program = SHOPCART, Program version = 129 , HTTP Server = Apache/1.3.33 (Unix) mod_auth_, Return code = 999 , Date and Time = 30/11/2005 10:12:47, Internal Errors = The input is NULL

    #2
    Hi,

    We have v3.0 installed, it's been working fine. We have had no change to pc, os or router.
    As you have not changed anything on your pc, os or router the only thing that is left is the connection to the internet or the server itself. Have you checked if anything has changed with your hosting company?

    But now we get error message, says we don't have permission on nq00001.pl file.
    When do you get this error (you say that the network test passes)?
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      cgi-bin problem, v3.0

      Thanks for replying.

      Nothing has changed on ISP, we have no evidence from other apps, server webmaster also says no change.

      The error message on download is:
      The web server returned an unknown response.

      Possible Cause:
      You are attempting to download orders
      before uploading to the web site
      Incorrect CGI-BIN URL in the Network Preferences
      Incorrect permissions on the CGI script on
      the server (UNIX servers only)
      Script corruption - Could be caused by:
      Binary ftp transfer during manual installation
      Incomplete transfer
      Garbled transfer
      etc.
      Old or bad version of Perl running on server
      Http server error
      Wrong Path to Perl specified in the
      Network Preferences
      Unknown
      Recommendation:
      Abort
      Resolution:
      Check cgi-bin script permissions
      Compare cgi-bin script against local script to
      check for corruption
      Upgrade Perl on server (needs at least 5.002)
      Correct the Path to Perl listed in the
      Network Preferences
      Re-install the web site
      Review server response for hints

      The response was:
      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <HTML><HEAD>
      <TITLE>403 Forbidden</TITLE>
      </HEAD><BODY>
      <H1>Forbidden</H1>
      You don't have permission to access /cgi-bin/nq000001.pl
      on this server.<P>
      <P>Additionally, a 404 Not Found
      error was encountered while trying to use an ErrorDocument to handle the request.
      <HR>
      <ADDRESS>Apache/1.3.33 Server at www.teamuki.com Port 80</ADDRESS>
      </BODY></HTML>

      acatalog folder and contents are set at 777, cgi-bin and folder at 755.

      On upload, it works OK until u get to images, then this same message comes back.

      When we uploaded the site, it was difficult, same problems. But we disabled all firewalls and it worked. Eventually. Now even that action makes no difference. So plse don't suggest to reload the site.

      I have checked nq000001.pl, it allows for the image types that we are uploading.

      Our site is www.teamuki.com/acatalog.index.html if that helps.

      I can send u screen prints of the server folders if that helps.

      Comment


        #4
        cgi-bin problem, v3.0

        I forgot to say.

        The pc is WinXP Pro SP2, with XP firewall set, but Actinic allowed through via the exceptions tab.

        Router is Linksys.

        Comment


          #5
          Hi,

          The only time I have seen the nq00001.pl file be the only perl file affected by anything is because their is a module on the server called dos_evasive or mod_dosevasive. Can you check with your host if they have this module switched on, if so can they turn it off?
          ********************
          Tracey
          SellerDeck

          Comment


            #6
            OK, will check and advise. Out of interest, wot does this..'module'...actually do?

            Comment


              #7
              Hi,

              See http://www.nuclearelephant.com/projects/mod_evasive/
              ********************
              Tracey
              SellerDeck

              Comment


                #8
                Thanks, now I understand (well, understand what it's meant to do, not how it does it or how to find it on our cpanel and disable it). btw, the version of Perl on our server is 5.8.3. not 5.002. Don't know if that makes a difference.

                Comment


                  #9
                  Just as a suggestion, but if you chane the permissions of the acatalog folder to 0755, what happens when you upload then...

                  Some hosts, including us, do not allow 0777 permissions on folders, as it is not the best permission to give as this provides user, group and world - write capabilities, and the most that should ever be needed is 0755, so would check that as maybe your host is enforcing something similar maybe.

                  Comment


                    #10
                    Well, I checked with our ISP and 'yes' it is enabled. So they switched it off last night and, hey presto, upload and download seem to work just fine.

                    So, Tracey G, you are a genius and our new best friend!

                    Also, interestingly, we noticed something else.

                    When u start Actinic on the host pc (broadband 'always on' connection), it freezes at the Actinic splash screen. It never used to do that, we just assumed it was some sort of XP SP2 thing. After the mod_evasive was disabled, it didn't freeze/hardly froze at all.

                    Comment

                    Working...
                    X