Announcement

Collapse
No announcement yet.

Error CGI scripts not executing

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

    Error CGI scripts not executing

    Hi all,

    Having major problems here, I have my site ready to go, however, when i test all the network settings i get the following message:

    Actinic received a server error from the web server. The CGI scripts are not executing properly on the server. Run Web | Configure Web Site Details... to review your web site configuration.

    Hit OK, then its followed by:

    The test script failed to execute on the web server. The error could be caused by several things. Check the path to the Perl shell, the CGI-BIN URL, and the proxy WWW port.. This error could also occur if your web site is out of disk space or your web server is not configured to accept POSTs to CGI scripts.

    Now i have checked all the settings, contacted my isp who has checked and can't seem to see any problems. Is there a problem at my end or the ISP end. Or more importantly can the settings be ammended.
    If you need more infor please yell!!
    Thanks In advance!!!!

    Mark

    #2
    Things to check:

    - Permissions on the cgi directory
    - path to the cgi-bin, etc

    the permissions on the cgi-bin should be 755.

    It would also help if you let us know who your host is and what your network settings are (export them, then copy and paste here, remembering to overwrite your username and password).

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      HI thanks for the prompt reply. I believe the permissions are already set, but i will check.
      My network settings are listed below.


      HTTPPROXYMODE 1
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 25
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 365
      SCRIPTEXT .pl
      SMTPHOST localhost
      WEBSITEURL http://www.kave.co.uk/
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS false
      PATHTOPERL /usr/bin/perl
      SMTPAUTHREQUIRED false
      SMTPUSERNAME
      SMTPPASSWORD
      CATALOGURL http://www.kave.co.uk/acatalog/
      CGIBINURL http://www.kave.co.uk/cgi/
      PATHFROMCGITOCATALOG ../acatalog/
      CODEBASE ./
      FTPHOST www.kave.co.uk
      FTPUSERNAME ****
      FTPPASSWORD **********
      PATHTOCGIBIN /web/cgi/
      USEPASSIVEFTP false
      FTPPATHFROMCGITOCATALOG /web/acatalog/

      Comment


        #4
        This is a strange one to me because everything seems to be working OK on your site which means the paths must be OK and the cgi scripts are running.

        I'm not sure about these bits though:

        PATHTOCGIBIN /web/cgi/

        FTPPATHFROMCGITOCATALOG /web/acatalog/

        I can't see how the path from cgi bin can go via /web/ when it's already there. Did you enter these settings yourself or use the network wizard?

        Mike
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


          #5
          Hi Mike,

          I'm having a similar problem to Mark, I'm not getting the same error message, but it is to do with cgi-bin. How do I go about checking the permissions on the cgi-bin? (sorry to butt in on someone else thread!)

          Becki

          Comment


            #6
            The exact details depend on your ftp software, but in essence:

            1. FTP into your site.
            2. Right click on your cgi-bin, select properties (or permissions)

            That should show you the current permissions and let you change them if necessary.

            Mike
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

            -----------------------------------------

            Comment


              #7
              feel free to join this thread!!!

              I know that my isp looked at some of the cgi files so that may be why they worked.
              I used the network settings wizard to make these settings appear. I ran it before posting the settings. buts till get error messages.

              Comment


                #8
                Thanks Mike

                Comment


                  #9
                  I'd suggest you log a support call with actinic. Either on the phone if you have cover or else here: http://www.actinic.co.uk/support/register.htm

                  If it's working but giving error messages then it sounds like something for actinic to look at.

                  Mike
                  -----------------------------------------

                  First Tackle - Fly Fishing and Game Angling

                  -----------------------------------------

                  Comment


                    #10
                    Did this problem get resolved?

                    I am having the same problem when using the "wizard" to configure to my web host site. (Active24 - Formerly Virtual Internet).

                    I have used chmod to correctly set my permissions.

                    Could this problem be due to Actinic requiring Ascii upload?

                    Regards Steve

                    Comment


                      #11
                      FTPPATHFROMCGITOCATALOG /web/acatalog/
                      this should be left blank for this scenario

                      Comment


                        #12
                        Hi there,

                        To answer steve, yes this is still ongoing.

                        To answer pinbrook:

                        Originally posted by pinbrook
                        this should be left blank for this scenario
                        I have taken it out of that section of the network settings and i still get problems. My isp is at a loss and i am unable to execute any cgi scripts

                        Mark

                        Comment


                          #13
                          Hi Mark,

                          I've just had some similar problems with 3 sites. On contacting Actinic Support, it was found to be a combination of wrong permissions on the directories and files and they also threw Norton Firewall into the equation. Once these were taken care of Actinic uploaded correctly.

                          Hope this helps,

                          David
                          -----------------------------
                          www.synchronisedwebdesign.com
                          Location: North Yorkshire UK

                          Comment


                            #14
                            Hi there,

                            thanks for the reply. I don't think that its a firewall probelm, as i cannot seem to get it to work at work or at home, they both have hardware (linux based) firewalls but of different versions.
                            As to the permissions, i have got the cgi directory with the correct settings, are there other directories that need to have permisions changed?

                            Mark

                            Comment


                              #15
                              The /acatalog/ folder needs open permissions so the script can write the session, order and payment reference files. (I believe 777 is the correct setting - without looking up the book).
                              Bill
                              www.egyptianwonders.co.uk
                              Text directoryWorldwide Actinic(TM) shops
                              BC Ness Solutions Support services, custom software
                              Registered Microsoft™ Partner (ISV)
                              VoIP UK: 0131 208 0605
                              Located: Alexandria, EGYPT

                              Comment

                              Working...
                              X