Announcement

Collapse
No announcement yet.

CGI-BIN errors with new host ?

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

    #16
    the directory is 755, some files are 755 and some are 644.
    all actinic pl files in the cgi-bin must be 755, do your upload, correctthe permissions - job done

    once the permissions are changed they should retain the correct perms

    Comment


      #17
      Thanks Jo

      I am having connection problems at the moment - not avoiding my responsibilities - hope to resume normal service soon.
      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


        #18
        CGI-BIN errors

        Hi,

        I can FTP and see the CGI-BIN directory, but still get the following error when trying to setup the site settings on my new host. Any ideas what it might be ?

        I can also see a test .pl file being loaded when running the wizard. surely if there were page not found errors it would not be able to write to the cgi-bin directory ?

        I have also attached my exported file settings incase somebody can see anything...
        Attached Files
        Last edited by anthony_kudzin; 28-Aug-2007, 10:27 PM. Reason: update
        Thanks

        Anthony Kudzin

        Comment


          #19
          What are the permission settings on the folder? and the individual files?

          All should be 755 or rwxr-xr-x
          Last edited by wjcampbe; 09-Dec-2007, 08:39 PM. Reason: correct letter settings (I wrongly had rwxrw-rw) - thanks to Duncan and Paul for pointig out my error
          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


            #20
            Related Problems...?

            I just upgraded our server to Centos5 and took us up to PHP5 whilst at it, we are having similar problems...

            The site uploads, if we try to use the cgi-bin (normal location) the site has HTTP errors, if we create a folder in the public files under httpdocs/ called cgi for example the site will pass the "test" in advanced network settings but will hang at upload with a merge error.

            The scripts are not executing for Actinic however a test script with the extension .pl runs fine.

            Ideas anyone?

            Comment


              #21
              Hi bill,

              files are 755 for cgi-bin. Its more fundamental. It must be the way the host has their systems setup and/or use of IIS etc. I see on the Actinic FAQ site that there are many different configuration settings for different hosts. Support told me to mail them the mail2hst.txt file to review. I expect I'll have to change to another host !
              Thanks

              Anthony Kudzin

              Comment


                #22
                i am still getting below errors ...


                The directory specified as the path from the CGI-BIN to the acatalog directory does not exist on the web server. Check the path. Also see the on-line help for "Path from FTP server to Catalog".

                The script does not have permission to write to the web site directory

                CGI-BIN Working Directory: "D:/Swsoft/vhost/mydomainname.co.uk/cgi-bin"


                my network config export settings
                ===========================================
                HTTPPROXYMODE 0
                HTTPPROXYADDRESS
                HTTPPROXYPORT 80
                HTTPPROXYUSER
                HTTPPROXYPASSWORD
                FTPPROXYMODE 0
                FTPPROXYADDRESS
                FTPPROXYPORT 21
                FTPPROXYUSER
                FTPPROXYPASSWORD
                SCRIPTID 1
                SCRIPTEXT .pl
                SMTPHOST smtp.mydomainname.com
                WEBSITEURL http://www.mydomainname.co.uk
                IGNOREPASSIVEERRORS true
                USERELATIVECGIURLS true
                PATHTOPERL cerl\n
                CATALOGURL http://www.mydomainname.co.uk/acatalog/
                CGIBINURL http://www.mydomainname.co.uk/cgi-bin/
                PATHFROMCGITOCATALOG ../acatalog/
                CODEBASE ./
                FTPHOST zzzzz.co.uk
                FTPUSERNAME user
                FTPPASSWORD passwd
                PATHTOCGIBIN /httpdocs/cgi-bin/
                USEPASSIVEFTP true
                FTPPATHFROMCGITOCATALOG

                ===========================================


                My server is windows plesk .. any help will be appreciated ..thanks

                Comment


                  #23
                  Hi Steve,

                  Here are some settings for our Plesk server. It might be worth adapting them with your settings. Though I'm not sure if every Plesk server has the same directory structure…

                  HTTPPROXYMODE 0
                  HTTPPROXYADDRESS
                  HTTPPROXYPORT 80
                  HTTPPROXYUSER
                  HTTPPROXYPASSWORD
                  FTPPROXYMODE 0
                  FTPPROXYADDRESS
                  FTPPROXYPORT 21
                  FTPPROXYUSER
                  FTPPROXYPASSWORD
                  SCRIPTID 1
                  SCRIPTEXT .pl
                  SMTPHOST localhost
                  WEBSITEURL http://www.domain.com/
                  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.domain.com/acatalog/
                  CGIBINURL http://www.domain.com/cgi-bin/
                  PATHFROMCGITOCATALOG ../httpdocs/acatalog/
                  CODEBASE ./
                  FTPHOST
                  FTPUSERNAME
                  FTPPASSWORD
                  PATHTOCGIBIN /cgi-bin/
                  USEPASSIVEFTP true
                  FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/

                  You can copy and paste this in a text file and import it.

                  If this fails support will need your FTP details so we can examine the server.

                  http://www.actinic.co.uk/support/register.htm
                  Regards,

                  Toby Blanchard

                  Comment


                    #24
                    can i just add i recently got some new hosting
                    already have one account with them workign fine

                    if i change permissions in my ftp programme it sometimes misbehaves
                    if i go in to file amanger on the siteadmin/cpanel and change them it seems to sort itself out

                    hope it gives you some help

                    G
                    Remembering the road to Actinic enlightenment is a long and sometimes painful one.
                    Current project:
                    cheapadulttoys4u.co.uk
                    cheaplingerie4u.co.uk
                    Something for the Missus,Something for the Weekend

                    Comment


                      #25
                      Originally posted by wjcampbe
                      What are the permission settings on the folder? and the individual files?

                      All should be 755 or rwxrw-rw-
                      Quick question before I have to bother you with my current problems:

                      I don't understand the 755/777 business but mine are all set to rwxr-xr-x - which is correct?

                      Thanks, Paul
                      Paul
                      Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                      Using V10.2 with Norman's brilliantly simple TABBER.

                      Comment


                        #26
                        These attatchments should help.

                        I would expect it to be rwx-rx-rx which is 755 for cgi-bin and acatalog
                        Sometimes acatalog is set to 777 which is: rwx-rwx-rwx

                        What I think you have for rwxr-xr-x is 761 (or even 4751)


                        User: has the first three binary bits (400 - Read, 200 - Write, 100 - Execute)
                        Group: has the second three binary bits (40 - Read, 20 - Write, 10 - Execute)
                        Others: has the third three binary bits (4 - Read, 2 - Write, 1 - Execute)

                        You just ad them up.

                        There are also another three bits (which form 4000, 2000 & 1000).
                        User: Set UID - 4000
                        Group: Set GID - 2000
                        Others: Sticky - 1000

                        again just add them on.
                        Attached Files

                        Comment


                          #27
                          Thanks Duncan, I had the gist of it - but the point is, Bill's post further up says:

                          rwx rw- rw-

                          whereas my unaltered files, and your second attachment, both say:

                          rwx r-x r-x

                          So which is correct, (you and I) or (Bill)?

                          I am not in a position to say that Bill's post is erroneous, I need you to say that as you have known him longer!
                          Paul
                          Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                          Using V10.2 with Norman's brilliantly simple TABBER.

                          Comment


                            #28
                            I think Bill maybe wrong in this case (very rare). What Bill says would be 766. I don't think there would be any reason for the Group or Others to be able to write - but they would need to Execute.

                            Gets confusing doesn't it with all these rs and ws, bits and numbers.

                            Comment


                              #29
                              Originally posted by drounding
                              I would expect it to be rwx-rx-rx which is 755 for cgi-bin and acatalog.
                              755 is the recommendation I was trying to achieve (except rwx-rx-rx adds up to 7 3 3!)

                              Edit: Oh, I see now, you meant rwx - r(-)x - r(-)x, sorry!



                              Thanks a lot, get there in the end!
                              Paul
                              Flower-Stands.co.uk - the UK's largest online supplier of Fresh Flower Merchandising Stands

                              Using V10.2 with Norman's brilliantly simple TABBER.

                              Comment

                              Working...
                              X