Announcement

Collapse
No announcement yet.

Problem with Network set up

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

    Problem with Network set up

    Hi,

    I am trying to set up my actinic with a new server and dont seem to be having much luck.

    I emailed my host the following questions (taken from this site) which he has replied to but still I dont seem to get any where.

    Any one out there that can help me?

    I would be very grateful.

    Hello Andy,

    Please allow me to answer your questions individually.

    >> a) Do I have CGI script capabilities? (Yes/No)

    Yes, you do have CGI script capabilities

    >> b) Do I have access to Perl 5.002 or higher at my site? (Yes/No)

    Yes, we have perl 5 installed in server

    >> c) Do I have the ability to update my site using FTP? (Yes/No)l

    Yes, you will have ability to update your site using FTP

    >> d) Do I have the ability to POST data to my CGI scripts? (Yes/No)

    Yes, you can post data to CGI scripts.

    >> e) Do the http server host and ftp server host each see a different map
    of the directory structure?

    I am not sure about this query. Please elaborate you request in greater details.

    >> f) Is the CGI script directory for my site shared with anyone else?

    No. The location of your cgi directory is "/usr/home/www/websites/username/sitename/cgi-bin ". This locaion is not shared.

    >> a) What is the full hostname or IP address of the SMTP mail server?

    smtp server: smtp.jadean.com.au

    >> b) Does the SMTP server require authentication (YES/NO)

    Yes, SMTP server require authentication


    >> What is the complete URL of the place where I must place CGI scripts for
    my site?

    full path to cgi-bin: /usr/home/www/websites/username/sitename/cgi-bin

    >> What extension should I use for my Perl scripts?

    ".cgi" extension is used for perl scripts

    >> What is the full hostname or IP address of the FTP server that has
    access to the CGI script directory and my web pages?

    FTP server name: ftp.jadean.com.au

    >> What is the absolute path of the perl interpreter?

    /usr/bin/perl

    >> Will my standard login username and password work with this FTP
    server?

    Yes your FTP login details are same as your control panel login details.

    >> Once I am logged into the FTP session, what is the path to the CGI
    script directory?

    Path to cgi-bin: /websites/username/sitename/cgi-bin

    I beleive this helps. Please let me know if you have any further questions


    Mod: Thread moved to Upload and Server Problems Forum

    #2
    Additional imformation is required to help.

    Please see this post ( http://community.actinic.com/showthread.php?t=45650 ) and then post information about your host, hosting package, network settings etc.

    Comment


      #3
      Hi Here is the additional information that may help?

      if you need anything else just give me a shout I am getting desperate.

      Who is your host? Hosting Operations
      Is it unix or windows hosting? unix
      Is the permission on the cgi-bin set to 755? yes
      Is the permission on the acatalog folder set to 777? yes
      Is this your first upload? Has it worked in the past? no
      Have you compacted the database in the housekeeping menu? no
      Have you changed the cgi number in network setup and tried to reupload? yes
      Have you run the network wizard? what was the result?

      Your Catalog URL appears to be invalid. The files uploaded to the given
      'Path from cgi-bin to acatalog directory', can not be downloaded via the browser on the given Catalog URL.
      These two access routes don't point to the same destination on the server.


      This is my network setup details:

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 1
      SCRIPTEXT .pl
      SMTPHOST smtp.jadean.com.au
      WEBSITEURL http://www.jadean.com.au
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS false
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP false
      FTPCLIENTTIMEOUT 5000
      FTPRETRYDELAY 3000
      FTPSILENT false
      FTPMAXRETRIES 3
      FTPCONNECTTIMEOUT 15000
      SMTPAUTHREQUIRED false
      SMTPUSERNAME
      SMTPPASSWORD
      CATALOGURL http://www.jadean.com.au/websites/ja...m.au/acatalog/
      CGIBINURL http://www.jadean.com.au/websites/ja...om.au/cgi-bin/
      PATHFROMCGITOCATALOG //acatalog/
      CODEBASE ./
      FTPHOST ftp.jadean.com.au
      FTPUSERNAME xxxxxxx
      FTPPASSWORD xxxxx
      PATHTOCGIBIN /websites/jadean.com.au/cgi-bin/
      USEPASSIVEFTP true
      FTPPATHFROMCGITOCATALOG

      I emailed the host with the following questions and got the attached answers

      Hello Andy,

      Please allow me to answer your questions individually.

      >> a) Do I have CGI script capabilities? (Yes/No)

      Yes, you do have CGI script capabilities

      >> b) Do I have access to Perl 5.002 or higher at my site? (Yes/No)

      Yes, we have perl 5 installed in server

      >> c) Do I have the ability to update my site using FTP? (Yes/No)l

      Yes, you will have ability to update your site using FTP

      >> d) Do I have the ability to POST data to my CGI scripts? (Yes/No)

      Yes, you can post data to CGI scripts.

      >> e) Do the http server host and ftp server host each see a different map
      of the directory structure?

      I am not sure about this query. Please elaborate you request in greater details.

      >> f) Is the CGI script directory for my site shared with anyone else?

      No. The location of your cgi directory is "/usr/home/www/websites/username/sitename/cgi-bin ". This locaion is not shared.

      >> a) What is the full hostname or IP address of the SMTP mail server?

      smtp server: smtp.jadean.com.au

      >> b) Does the SMTP server require authentication (YES/NO)

      Yes, SMTP server require authentication


      >> What is the complete URL of the place where I must place CGI scripts for
      my site?

      full path to cgi-bin: /usr/home/www/websites/username/sitename/cgi-bin

      >> What extension should I use for my Perl scripts?

      ".cgi" extension is used for perl scripts

      >> What is the full hostname or IP address of the FTP server that has
      access to the CGI script directory and my web pages?

      FTP server name: ftp.jadean.com.au

      >> What is the absolute path of the perl interpreter?

      /usr/bin/perl

      >> Will my standard login username and password work with this FTP
      server?

      Yes your FTP login details are same as your control panel login details.

      >> Once I am logged into the FTP session, what is the path to the CGI
      script directory?

      Path to cgi-bin: /websites/username/sitename/cgi-bin

      I beleive this helps. Please let me know if you have any further questions.

      Comment


        #4
        Three things immediately look wrong:

        1. CATALOGURL

        Should probably be

        http://www.jadean.com.au/acatalog/

        Not

        http://www.jadean.com.au/websites/ja...m.au/acatalog/

        2. CGIBINURL

        Should probably be

        http://www.jadean.com.au/cgi-bin/

        not

        http://www.jadean.com.au/websites/ja...om.au/cgi-bin/

        3. PATHFROMCGITOCATALOG

        Would normally be

        ../acatalog/

        not

        //acatalog/

        I'm not sure about the path to cgi-bin.

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

        First Tackle - Fly Fishing and Game Angling

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

        Comment


          #5
          Thanks for the quick reply.

          I have changed the fields to the sugested and noew get this error message..

          Your Catalog URL appears to be invalid. The files uploaded to the given 'Path from cgi-bin to acatalog directory', can not be downloaded via the browser on the given Catalog URL. These two access routes don't point to the same destination on the server.

          Comment


            #6
            I had same error message when testing on local server - these are the settings that seem to be working for me at the moment !

            CATALOGURL http://192.168.1.169/actinic/acatalog/
            ONLINESTOREFOLDERNAME acatalog
            CGIBINURL http://192.168.1.169/actinic/cgi-bin/
            PATHFROMCGITOCATALOG ./acatalog/

            One less . in PATHFROMCGITOCATALOG

            Comment


              #7
              Originally posted by miketait View Post
              PATHFROMCGITOCATALOG ./acatalog/
              This is normally only relevant on a Windows server when the cgi directory has not been made a virtual directory in IIS.
              This means that IIS runs the scripts in the highest available virtual directory which is normally the root of the site, hence the ./ as it only has to seek in the existing directory.

              Running a UNIX or Linux server and using ./ will result in the 'acatalog' directory being created in the cgi-bin which is incorrect.

              Comment


                #8
                How far did you get with your network test?

                The other thing to do is check with your host if you can use .pl files as they say:

                >> What extension should I use for my Perl scripts?

                ".cgi" extension is used for perl scripts
                if you can't use .pl files then you need need to change

                SCRIPTEXT .pl to .cgi instead.

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

                First Tackle - Fly Fishing and Game Angling

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

                Comment


                  #9
                  Hi,

                  my folder tree on the server when I ftp in from my web host is as follows:
                  .mc
                  emails
                  websites
                  jadean.com.au
                  acatalog
                  cgi-bin
                  docs
                  (symlink) htdocs->usr/home/www/user name/websites/jadean.com.au/docs
                  (symlink) public->usr/home/www/user name/websites/jadean.com.au/docs
                  (symlink) public html->usr/home/www/user name/websites/jadean.com.au/docs

                  I hope this makes sense?


                  when i run advanced network setup test i get the following results:

                  Actinic Mail Test completed successfully
                  server: passed
                  connection: passed
                  sockets: passed
                  communications: passed
                  authorisation: passed
                  message: -


                  and then

                  Your Catalog URL appears to be invalid. The files uploaded to the given 'Path from cgi-bin to acatalog directory', can not be downloaded via the browser on the given Catalog URL. These two access routes don't point to the same destination on the server.

                  Comment


                    #10
                    OK.

                    Have you got two 'jadean.com.au' folders? one in the root and another under 'websites'?

                    It's important to know whether there's one or two of these folders and which one is active as we need to tell actinic where to put the files.

                    If there are two. Can you ftp a different html file into each one. At their simplest, one just needs to have 'Hello 1' in it and the other 'hello 2' and give each one a different file name.

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

                    First Tackle - Fly Fishing and Game Angling

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

                    Comment


                      #11
                      Hi,

                      I messed around posting hello 1 etc as sugested.

                      I think I am getting close now?

                      with this set up:

                      HTTPPROXYMODE 0
                      HTTPPROXYADDRESS
                      HTTPPROXYPORT 80
                      HTTPPROXYUSER
                      HTTPPROXYPASSWORD
                      FTPPROXYMODE 0
                      FTPPROXYADDRESS
                      FTPPROXYPORT 21
                      FTPPROXYUSER
                      FTPPROXYPASSWORD
                      SCRIPTID 2
                      SCRIPTEXT .pl
                      SMTPHOST smtp.jadean.com.au
                      WEBSITEURL http://www.jadean.com.au
                      IGNOREPASSIVEERRORS true
                      USERELATIVECGIURLS true
                      PATHTOPERL /usr/bin/perl
                      USEENHANCEFTP false
                      FTPCLIENTTIMEOUT 5000
                      FTPRETRYDELAY 3000
                      FTPSILENT false
                      FTPMAXRETRIES 3
                      FTPCONNECTTIMEOUT 15000
                      SMTPAUTHREQUIRED false
                      SMTPUSERNAME
                      SMTPPASSWORD
                      CATALOGURL http://www.jadean.com.au/docs/acatalog/
                      CGIBINURL http://www.jadean.com.au/docs/cgi-bin/
                      PATHFROMCGITOCATALOG ../acatalog/
                      CODEBASE ./
                      FTPHOST ftp.jadean.com.au
                      FTPUSERNAME lxxxx
                      FTPPASSWORD xxxx
                      PATHTOCGIBIN /websites/jadean.com.au/docs/cgi-bin/
                      USEPASSIVEFTP true
                      FTPPATHFROMCGITOCATALOG


                      I am now getting the following error message:

                      Actinic received a bad method error from the web server. The server is not properly configured to allow Actinic to run CGI scripts from the cgi-bin. Run Web | Configure Web Site Details... to review your web site configuration.



                      and

                      The web server returned error code 405 - Server does not support the requested method. Your web server is not configured to accept POSTs to CGI scripts. Contact your ISP or system administrator and have them reconfigure the server.

                      Comment


                        #12
                        i dont think I've ever seen NS with the above being correct

                        they are pretty well set in stone to be

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

                        put those back in network settings and use the wizard to help you find the other paths

                        Comment


                          #13
                          Hi,

                          I finally managed to get it all working ok.

                          I think it was a mixture of several errors.

                          I followed everyones advice and got closer each time, only to notice that my host was not setting the corect permisions for folders after the first time I asked them.

                          All is now good and upload works great.

                          Thanks everyone for your help I appreciated it.

                          Comment

                          Working...
                          X