Announcement

Collapse
No announcement yet.

Error With Cgi-bin

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

    Error With Cgi-bin

    Hi everyone
    I keep getting the following message when I try to upload to my site.

    Error accessing the cgi-bin.
    Possible Cause:
    The directory does not exist on the remote server
    The permissions on the directory on the
    remote server are locked
    The wrong Path to the CGI-BIN is specified in your
    web site details in
    the Business Settings

    The directory DOES exist
    The permissions are unlocked
    The path, as far as I can tell, is correct

    I can manually FTP the files (not too sure where to put them all though!) and get the site working in the main, although the scripts down work properly.
    Any suggestions appreciated
    Regards
    Steddyeddy

    #2
    The best thing to do is export your network settings to a text file and then copy and paste them into the forum (overwriting the username and password info).

    If you could also let us know who the host is then someone here might have experience of any particular settings they may need.

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

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      Many thanks Mike - here they are:

      Hosted with Supanames.co.uk

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 10
      SCRIPTEXT .pl
      SMTPHOST mailhost.spamjab.com
      WEBSITEURL http://www.xxxxxxxxx.co.uk
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS true
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP true
      FTPCLIENTTIMEOUT 15000
      FTPRETRYDELAY 3000
      FTPSILENT false
      FTPMAXRETRIES 3
      FTPCONNECTTIMEOUT 25000
      SMTPAUTHREQUIRED false
      SMTPUSERNAME
      SMTPPASSWORD
      CATALOGURL http://www.xxxxxxxxx.co.uk/acatalog/
      CGIBINURL http://www.xxxxxxxxx.co.uk/cgi-bin/
      PATHFROMCGITOCATALOG ./acatalog/
      CODEBASE ./
      FTPHOST ftp.xxxxxxxxx.co.uk
      FTPUSERNAME
      FTPPASSWORD
      PATHTOCGIBIN http://www.xxxxxxxxx.co.uk/cgi-bin/
      USEPASSIVEFTP true
      FTPPATHFROMCGITOCATALOG

      Many thanks
      Ed

      Comment


        #4
        i had a similar problem

        I had the same type of problem mine was due to norton conflicting with windows firewall, make sure the windows firewall is disabled.

        Hope this helps

        Comment


          #5
          this line is wrong

          PATHTOCGIBIN http://www.xxxxxxxxx.co.uk/cgi-bin/

          shouldbe /cgi-bin/

          this will also deal with the duplicate Q, http://community.actinic.com/showthread.php?t=23822

          as it relates to the same error

          Try running the network setup wizard

          Comment


            #6
            Thank You Jo

            Thanks to Jo and other members for the help. When Version 9 comes along, I'll either pass or break the rule of a lifetime to downlod and read the manual.
            Kind regards
            Ed

            www.maykitmarketing.com

            Comment


              #7
              I seem to be having the same trouble and error messages, i tried changing the path to the cgi-bin to /cgi-bin/ but it dosent seem tohave made any difference.
              My hosting is with technoweb which i think is 4sure hosting
              Here is a paste of my network settings ...

              HTTPPROXYMODE 0
              HTTPPROXYADDRESS
              HTTPPROXYPORT 80
              HTTPPROXYUSER
              HTTPPROXYPASSWORD
              FTPPROXYMODE 0
              FTPPROXYADDRESS
              FTPPROXYPORT 21
              FTPPROXYUSER
              FTPPROXYPASSWORD
              SCRIPTID 1
              SCRIPTEXT .pl
              SMTPHOST mail.mountmyplasma.co.uk
              WEBSITEURL http://www.mountmyplasma.co.uk
              IGNOREPASSIVEERRORS true
              USERELATIVECGIURLS false
              PATHTOPERL /usr/bin/perl
              USEENHANCEFTP true
              FTPCLIENTTIMEOUT 15000
              FTPRETRYDELAY 3000
              FTPSILENT false
              FTPMAXRETRIES 3
              FTPCONNECTTIMEOUT 25000
              SMTPAUTHREQUIRED false
              SMTPUSERNAME
              SMTPPASSWORD
              CATALOGURL http://www.mountmyplasma.co.uk/acatalog/
              CGIBINURL http://mountmyplasma.co.uk/cgi-bin/
              PATHFROMCGITOCATALOG ./acatalog/
              CODEBASE ./
              FTPHOST ftp.mountmyplasma.co.uk
              FTPUSERNAME xxxxxx
              FTPPASSWORD xxxxxx
              PATHTOCGIBIN /cgi-bin/
              USEPASSIVEFTP true
              FTPPATHFROMCGITOCATALOG


              If anyone could point me in the right direction as to where i have gone wrong it would be much appriciated. I have been mucking around with it a bits so could just be a simple spelling mistake or something.
              Thanks
              Ehson

              Comment


                #8
                PATHFROMCGITOCATALOG ./acatalog/

                should be

                PATHFROMCGITOCATALOG ../acatalog/
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  i made the suggested changes to the path from the cgi-bin to acatalog making it ../acatalog/ it didnt seem to make any diffenece and i still get the same error message
                  "Unable to move to the cgi-bin directory "/cgi-bin/" on the FTP server.
                  The specified directory does not exist or you do not have access to the directory"
                  is it a possible error in the file perrmissions? if so what should they be set to

                  Comment


                    #10
                    The ftp ptah to cgi-bin looks right to me.

                    One thing I would change is the cgi-bin url. Mixing www. and non-www. urls is a bad idea and confuses the search engines.

                    If you're hosting with technoweb then drop their support people an email. You've chosen a host with excellent actinic knowledge and support and they'll be able to sort you out very quickly.

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

                    First Tackle - Fly Fishing and Game Angling

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

                    Comment


                      #11
                      HTTPPROXYMODE 0
                      HTTPPROXYADDRESS
                      HTTPPROXYPORT 80
                      HTTPPROXYUSER
                      HTTPPROXYPASSWORD
                      FTPPROXYMODE 0
                      FTPPROXYADDRESS
                      FTPPROXYPORT 21
                      FTPPROXYUSER
                      FTPPROXYPASSWORD
                      SCRIPTID 1
                      SCRIPTEXT .pl
                      SMTPHOST localhost
                      WEBSITEURL http://www.mountmyplasma.co.uk/
                      IGNOREPASSIVEERRORS true
                      USERELATIVECGIURLS false
                      PATHTOPERL /usr/bin/perl
                      USEENHANCEFTP true
                      FTPCLIENTTIMEOUT 15000
                      FTPRETRYDELAY 3000
                      FTPSILENT false
                      FTPMAXRETRIES 3
                      FTPCONNECTTIMEOUT 25000
                      SMTPAUTHREQUIRED false
                      SMTPUSERNAME
                      SMTPPASSWORD
                      CATALOGURL http://www.mountmyplasma.co.uk/acatalog/
                      CGIBINURL http://www.mountmyplasma.co.uk/cgi-bin/
                      PATHFROMCGITOCATALOG ../acatalog/
                      CODEBASE ./
                      FTPHOST ftp.mountmyplasma.co.uk
                      FTPUSERNAME xxxxxx
                      FTPPASSWORD xxxxxx
                      PATHTOCGIBIN /documents/cgi-bin/
                      USEPASSIVEFTP true
                      FTPPATHFROMCGITOCATALOG

                      Changes made are:

                      mailserver address to localhost
                      cgibin url to www
                      pathtocgibin /documents/cgi-bin/
                      pathfromcgitocatalog ../acatalog/

                      Amend that, run a web configure and bobs your uncle - sorted and you can do a web | refresh to upload first time.

                      Comment


                        #12
                        thanks for your help, it seems to have done the trick as it passes the test and will do an upload but when i go to do configure website details it gets to a point then gives me an error about file permissions, i have smart ftp but im not sure what the file perrmision for the cgi-bin folder should be. Also cgi script number should that just be set to 1?

                        Comment


                          #13
                          the error message i get is.

                          An error ocured while attempting to change permissions of the file or directory. There was a fialure in conecting to the ftp server in an attempt to execute a FTP CHMOD command. The connection wizard will not continue. Please configure your network settings through advanced netwrok settings dialogue.

                          Comment


                            #14
                            Your earlier attempts with the incorrect paths caused Actinic to change permissions to 0777 on the acatalog folder.

                            Now been reset to 0755 (much safer that way).

                            Run through the configure again and then try another web refresh.

                            Dont do a test before you have managed a full refresh though.

                            Should be fine then.

                            Comment


                              #15
                              I am having problems uploading my clients site onto an Xcalibre server. I receive this error message:

                              "Error accessing the cgi-bin.
                              Possible Cause:
                              The directory does not exist on the remote server
                              The permissions on the directory on the
                              remote server are locked
                              The wrong Path to the CGI-BIN is specified in your
                              web site details in
                              the Business Settings"

                              WHen I FTP to the server there is a top level with publi_html and cgi-bin directories. The cgi-bin has permissions 755.

                              HTTPPROXYMODE 0
                              HTTPPROXYADDRESS
                              HTTPPROXYPORT 80
                              HTTPPROXYUSER
                              HTTPPROXYPASSWORD
                              FTPPROXYMODE 0
                              FTPPROXYADDRESS
                              FTPPROXYPORT 21
                              FTPPROXYUSER
                              FTPPROXYPASSWORD
                              SCRIPTID 1
                              SCRIPTEXT .pl
                              SMTPHOST smtp.xxxxxxx.co.uk
                              WEBSITEURL http://www.xxxxxxx.co.uk/
                              IGNOREPASSIVEERRORS true
                              USERELATIVECGIURLS false
                              PATHTOPERL #!/usr/bin/perl
                              USEENHANCEFTP false
                              FTPCLIENTTIMEOUT 15000
                              FTPRETRYDELAY 3000
                              FTPSILENT false
                              FTPMAXRETRIES 3
                              FTPCONNECTTIMEOUT 25000
                              SMTPAUTHREQUIRED false
                              SMTPUSERNAME
                              SMTPPASSWORD
                              CATALOGURL http://www.xxxxxxx.co.uk/acatalog/
                              CGIBINURL http://www.xxxxxxx.co.uk/cgi-bin/
                              PATHFROMCGITOCATALOG ../public_html/acatalog/
                              CODEBASE ./
                              FTPHOST ftp.xxxxxxx.co.uk
                              FTPUSERNAME XXXXXXX
                              FTPPASSWORD XXXXXXX
                              PATHTOCGIBIN cgi-bin/
                              USEPASSIVEFTP false
                              FTPPATHFROMCGITOCATALOG

                              I would appreciate any guidance...

                              Comment

                              Working...
                              X