Announcement

Collapse
No announcement yet.

CGI-BIN errors with new host ?

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

    CGI-BIN errors with new host ?

    I am using V8.5.1 Business, and under my old Host, had no problems. They are no longer in business, so I have switched to "prontohosts", who seem very fast and efficient, and the account setup looks fine to me. I can ftp to it no problems and move files in/out, All the control panel settings look fine too.

    I've been trying to upload my site to the new host and get CGI-BIN path error messages all the time. Here is my setting file.

    The message says the path to cgi-bin or the url to the cgi-bin is not correct and to restart the setup wizard....which I've dome a few time now to no avail ?

    any help appreciated

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

    Anthony Kudzin

    #2
    With new hosts it is always worth checking there is an actual cgi-bin folder on the website and at the level you need - even though cgi-bin may be enabled this may not be at the location needed .. FTP to the server and check the folder is there.. if not simply create one and ensure permissions are set to 755


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Jont is correct, since you have no index file I can see the directory structure. you've got

      [DIR] _private/ 19-Aug-2007 11:30 -
      [DIR] acatalog/ 19-Aug-2007 21:16 -
      [DIR] acatalog_xxx/ 19-Aug-2007 21:02 -
      [DIR] bin/ 19-Aug-2007 21:18 -
      [DIR] cgi-bin_xxx/ 19-Aug-2007 20:55 -
      [DIR] images/ 19-Aug-2007 11:30 -

      Comment


        #4
        no cgi-bin

        i am having the same problems. i have a new linux server using sw plesk 8.1 and i cannot upload cgi. i keep getting this fault as in attached file. have spoken to both actinic help and my server supplier and i still have a problem. i am not a proffesional website builder.
        Attached Files

        Comment


          #5
          Peter - may be worth posting your network setting (less the username & password) as the OP ... that error is typically down to either the cgi-bin not being found or an incorrect path. If you post your host hopefully someone else will be using and point you in the right direction.


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            please remove your password from the community, no-one needs to see it.

            when you go to network settings, notice there is an export button, use it...

            export to txt and copy/paste the settings into a new thread, telling us who the host is, also remove password from the txt file before pasting.

            Pls start a new thread, as you are preventing the OP from getting a reply to their question

            Comment


              #7
              sorry

              sorry have started a new thread.

              Comment


                #8
                cgi-bin setup

                Pinbrook / Jont , thanks for the reply.

                I initially re-uploaded all my data from my PC site to my new Host. I was hoping this would re-establish the directories, permissions and everything else. I then tested the network settings and started getting cgi-bin not found messages. I disable all firewalls as well.

                I then renamed out (adding 'xxx') the directories and tried to set up / test the settings using the Network wizard only. This too kept giving me cgi-bin errors. The network would identify the path to the cgi-bin and then in the next test would fail it ?

                After getting nowhere with this I thought there may be a problem with the permissions or name, so I created a new folder, just called 'bin' (755) to keep it simple. This too keept failing on the scripts part of the Network wizard.

                By this time (1am...and 2 hours after I started) I copied the scripts over manually, thinking the wizard would find them and pass the test and move on, but it wouldn't budge.

                I think there was also a problem on the 'path to perl'. According to the Host cpanel, this is /usr/bin/perl, which is your default as well. so i may be facing that problem next, after resolving this.

                I then contacted the host, who responded immediately (2am now !) that everything looked good on the account from his side and to contact Actinic.

                Are there any pre-determined steps to relaunching your site on a new host ? Maybe I'm not doing things in the right sequence.

                I've attached a listing of my directory structure, and will try to re-establish all the settings when I get home this evening and upload the site again.

                Does the host need to do anything on their side e.g. allow scripts to be run / enable perl etc. ? I recall it was pretty easy to set up the site last time, so I didn't anticipate these problems.


                Thanks
                Attached Files
                Thanks

                Anthony Kudzin

                Comment


                  #9
                  Use the wizard and tell it


                  CATALOGURL http://www.liassis.com/acatalog/
                  CGIBINURL http://www.liassis.com/cgi-bin/

                  let it work out the rest, but make sure permissions are correct first

                  755 cgi
                  777 acatalog

                  Comment


                    #10
                    Hi, I've tried as you suggested. This seems very strange to me. I can open the acatalog directory via the url, but when I change the url to the cgi-bin I get the following

                    Forbidden
                    You don't have permission to access /cgi-bin/ on this server.

                    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

                    It's as though something is blocking all directories with "cgi-bin" in ?

                    There must be a set-up error on my host account. I'll go back to them again.
                    Thanks

                    Anthony Kudzin

                    Comment


                      #11
                      Forbidden
                      You don't have permission to access /cgi-bin/ on this server.
                      thats correct, a cgi-bin is normally forbidden to access.

                      Comment


                        #12
                        additional commect

                        Hello,

                        My host site support assures me everything is set up fine on the account. I still cannot set up my network via the wizard, it still keeps failing around the CGI scripts part of the process, but seems to find the CGI-BIN and Root directories. I have the catalog set to 777 and the cgi-bin to 755.

                        Is there another way around this, I've spent hours on it !

                        Can i generate and upload scripts manually and somehow move on from there. If there anything I can send from Actinic e.g. log files that my help the host trace the problem.

                        I have also seen reference to certain scripts being banned, could that be related ?

                        this is very frustrating !


                        I forgot to mention that I see that there are some scripts in the cgi-bin folder, put there automatically as part of some system setup process. which would indicate the path and directory permissions are OK.

                        Why would you then get CGI script error messages.

                        There was also a reference to a POST string to scripts being on - could somebody explain what that means please.
                        Attached Files
                        Last edited by anthony_kudzin; 22-Aug-2007, 09:39 AM. Reason: additional comment
                        Thanks

                        Anthony Kudzin

                        Comment


                          #13
                          Using the same ftp programme you checked the folders with, can you check the individual file permissions within the cgi-bin folder. These should also be 755).

                          [hopefully with your ftp programme you can select multiple files and check them all at one time]
                          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


                            #14
                            file settings in cgi-bin directory

                            Hello Bill, the directory is 755, some files are 755 and some are 644.

                            Is there something in these script files that relate to my old host id perhaps ?

                            Can I delete them all , upload and Actinic recreates them ?

                            Are there any settings on the Host side around running scripts ?
                            Attached Files
                            Thanks

                            Anthony Kudzin

                            Comment


                              #15
                              Is there another way around this, I've spent hours on it
                              Move to a host that is knon to support actinic - setting up actinic with a host should take no more than 10 minutes IMO. Do a search on the forum and you will find enough info to pick one

                              Comment

                              Working...
                              X