View Full Version : Unable to load new site to Active 24 host.
skinnybloke
22-Aug-2005, 08:13 AM
Hi - I am having a problem uploading a new site to a linux server hosted by Active 24 (Used to be vi.net who are an Actinic partner). Their technical bod is providing lots of help but has been unable to come up with a solution yet.
The first time I try to test the network I get the error message:
1. "Unable to move to the acatalog directory "/html/" on the FTP server possibly due to a mistake in the Path from CGI-BIN to acatalog Directory field. (null)"
The 2nd time I try to test the network I got the error message:
1. " The HTTP redirect request must be confirmed by the user" followed by:
2. "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 script extension, the path to CGI-BIN, and the CGI-BIN URL. 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."
When I try to refresh the website the files load up but it fails when attempting to merge the files.
I have attached a copy of my network config file (with the sensitive bits renamed)
Mike Hughes
22-Aug-2005, 09:02 AM
Looking at your network settings my first thoughts were "what's the /html/ bit's doing there?" which seems to be what actinic is complaining about as well.
Try taking those out of the path from cgi-bin to catalog unless there's a good reason to have them there.
Mike
skinnybloke
22-Aug-2005, 09:17 AM
Hi Mike - I tried removing these one at at a time and then both together but I still get the same result.
When I FTP to the server I see 2 directories "html" and "cgi-bin". Actalog resides within the html directory - it is also the root directory that web browsers access.
David
Mike Hughes
22-Aug-2005, 09:42 AM
This sounds very similar to the Norton problem that surfaced a few weeks back and that was supposedly fixed.
See: http://community.actinic.com/showthread.php?t=14623
Mike
Edit: Corrected link.
skinnybloke
22-Aug-2005, 09:49 AM
Hi Mike - I think your link is wrong - it links to a worldpay problem.
I have just deleted my acatalog directory and the contents of my cgi bin and tried to run the network setup wizard.
When it is trying CGI-BIN guesses it comes up with the error An error occurred whilst trying to change permissions of the file Actincbasiccgitest.pl. No further diagnostics data is available. The wizard will not continue.
I've looked at the permissions on the files, they are: CGI-BIN is 777 - Actincbasiccgitest.pl is 644.
Mike Hughes
22-Aug-2005, 09:58 AM
I corrected the link. Try it again as the symptoms sound very similar.
Mike
skinnybloke
26-Aug-2005, 07:32 AM
Hi - I have not got Nortons on my machine.
I am able to upload the site to my test server which is hosted by 1and1 after changing the network settings.
I have 3 other live sites hosted with different ISP's and I have no problem uploading these.
Nadeem
31-Aug-2005, 09:11 AM
Hi David
What server is this running on? If its a windows server, then you cannot change permission only the hosting company can do this for you. Also if it is a windows server then change "PATHFROMCGITOCATALOG" to "./acatalog/" and "FTPPATHFROMCGITOCATALOG" to "../acatalog/". You would need to do this for a window server.
Kind Regards
skinnybloke
31-Aug-2005, 09:30 AM
Hi Nadeem - the site is hosted on a linux server. This is the latest reply I've received from Activ24
All script files in the cgi-bin need the executable flag on the file system, otherwise the script will be threated as a normal text file.
You can do this over FTP with the command chmod ( I 've done this for you).
Every script on unix type machines has the interperter set on the first line of the script.
This is done by "#!" followed by the complete path to the interperter "/usr/bin/perl".
This should be "#!/usr/bin/perl" ( I've corrected these).
the config file:
SMTPHOST : the script shouild use sendmail for sending e-mail, if the script only allows you to use SMTP then you need to "relay01.active24.nl" as SMTP server.
CGIBINURL : http://www.gentsstuff.co.uk/cgi-bin/ is correct but will be redirected to http://cgi.gentsstuff.co.uk/cgi-bin/ since all cgi scripts are executed on special webserver nodes.
http://cgi.gentsstuff.co.uk/cgi-bin/ is better to put here.
PATHTOPERL: /usr/bin/perl
FTPHOST: if this is used by the perl scripts on the server you can't use ftp.gentsstuff.co.uk ( this resolves to the outside IP which is not reachable), then you should use linuxnl-www.ladot.com.
linuxnl-www.ladot.com will work from the outside as well, so you are safe to use linuxnl-www.ladot.com.
I have modified the network settings to reflect these changes (which I have attached) and refreshed the website.
The network "test" now works fine but when I upload the site I still get the error message "An error occurred whilst sending the merge request".
I beleive that this is now to do with file permissions.
Nadeem
31-Aug-2005, 10:07 AM
Hi David
Please try going into "Help | Troubleshooting | Website Purge and Refresh". Make sure "Delete .cat and.fil" is ticked, and then click on "Delete and Refresh". This should delete all .cat and .fil from local site and website, then regenerate the files with the permission the server gives you.
Kind Regards
skinnybloke
31-Aug-2005, 10:32 AM
Hi Nadeem - tried that but I get the following error message (in not very good english !) when it is purging files:
Actinic received an request forbidden 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.
If I click on view response I get
Forbidden
You don't have permission to access /cgi-bin/nq000001.pl on this server.
David
Nadeem
31-Aug-2005, 10:44 AM
Hi David
Thats strange, make sure the folder permission of cgi-bin is /755/ and the /acatalog/ folder is 777.
Kind Regards
skinnybloke
31-Aug-2005, 10:54 AM
Hi Naddeem - both were set to 777. I have changed the cgi to 755 but obviously this has not changed the error message I get when I retried.
David
Nadeem
31-Aug-2005, 02:32 PM
Hi there
For some reasons it seems Actinic is not setting the right permissions, i don't know if this is because there is a server issue. Can't be the software, as you mentioned it works fine on your other test server. Please can i suggest you register an email ticket on: http://www.actinic.co.uk/support/register.htm.
Let see if support can ftp into your site and see what happening.
Kind Regards
skinnybloke
01-Sep-2005, 08:18 AM
Hi Nadeem - I have logged a call as suggested.
David
skinnybloke
05-Sep-2005, 12:13 PM
Hi Nadeem - this is now sorted. Final problem was due to a bug in Actinic v7.04. This is the reply I had from your teccies:
Yes, you can complete the update(web | Refresh Website) (by clicking on Retry and continue in the windows pop up), then once it is over then using the FTP software, you need to check the permissions of the files in cgi-bin. If they are set to 644. then you need to manually change them to 755. This change is one time, during the next update actinic will set the permissions correctly. (this is a known bug in the software and is expected to be fixed in version 7.0.5 which is to release very soon)
Regards
David
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.