PDA

View Full Version : Error accessing the cgi-bin.


pccrazy
18-Sep-2003, 04:13 PM
I'm uploading my site for the first time, it's v3 by the way. New version is on it's way but I need this problem sorted first and it's driving me mad!

When pressing UPLOAD I get this error message. I have spoken to my hosting company and they gaurantee I have the permissions set up ok. Has anyone got any clues?

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 the
Installation section of the Networks tab in
the Preferences
Recommendation:
Abort
Resolution:
Correct the Path to the CGI-BIN in the
Network Preferences
Create the cgi-bin directory on the remote server
Correct the permissions on the cgi-bin directory on
the remote server

My settings are:

CGI-BIN URL: http://www.mysite.com/cgi-bin
Path from CGI-BIN: ../catalog/
Path to Perl: /usr/bin/perl
Server Host: ftp.mysite.com
Path to CGI-BIN: /cgi-bin/
Path from FTP server to catalog: This is blank

I will owe you forever if someone helps me out!

Thanks
Stu

garyhay
19-Sep-2003, 10:00 AM
Who is the hosting company?

pccrazy
19-Sep-2003, 04:41 PM
Hi

It is xsession.com.

Ben
22-Sep-2003, 11:40 AM
Hi Stuart Path to CGI-BIN: /cgi-bin/ This is the setting to look at. If you use an FTP client to login on to the server, is the cgi-bin directly in the ftp root folder (ie. the folder you find yourself in once logging in)? Or is the cgi-bin located in other subdirectories? If so, these will need to be included in the path.

The permissions for the cgi-bin should be 755. Is it a Windows server or Unix?

Also, ... Path from CGI-BIN: ../catalog/ ... if the path is correct, this should be ../acatalog/

Ben

pccrazy
22-Sep-2003, 08:54 PM
Hi Ben

The tree from my FTP is as follows:

ftp.mysite.com/mysite/mysite.com/public/acatalog
ftp.mysite.com/mysite/mysite.com/public/cgi-bin

The folder when I log in is:
ftp.mysite.com/mysite

So to answer your question the cgi-bin is not in this folder.
I have tried the following for the field 'Path to CGI-BIN':
/cgi-bin/
/public/cgi-bin/ *
/mysite.com/public/cgi-bin/ *
/mysite/mysite.com/public/cgi-bin/ *

The ones with * by the side I get the following error messge:

The path from the cgi-bin to the catalog directory is not correct.
It appears as if the catalog directory does not exist on the remote host.

Possible Cause:
The path from the cgi-bin to the
catalog directory specified in the network
preferences is not correct.
Recommendation:
Abort
Resolution:
Correct the path from the cgi-bin to the catalog
directory specified in the network preferences.
Make sure the catalog directory exists.

I'm not sure the permission 'number', my hosting company just say it has the correct permissions. It is running on Windows 2000 server, Just a thought but is v3 compatible with Win2000?

The 'Path from CGI-BIN' field is: ../acatalog/

Hope this helps, it's driving me made.

Thanks for your help!

Stuart

Ben
23-Sep-2003, 11:15 AM
Well it looks as though the path to cgi-bin is correct. I know the host says the permissions are set up correctly, but I think the next step is to follow up and make certain they are.

For a Windows server, the permissions required can be seen in this kb article (http://knowledge.actinic.com/users/kadmin/cgi-bin/ss000007.pl?PRODREF=CD271&NOLOGIN=1&ACTINIC_REFERRER=http://knowledge.actinic.com/users/kadmin/acatalog/).

Another prerequisite is to set up a virtual cgi-bin. I have sent you an email with documentation attached for setting up a Win2k server correctly to run Actinic.

dirkackerman
23-Sep-2003, 02:10 PM
Hi

I appear to be having same problems as above.

I have recently transfered to another windows server and are having problems updateing.

Please forward the same email to me as described above. I hope it solves my problem



Dirk

cdicken
24-Sep-2003, 04:12 PM
The customer has been sent the file.

dirkackerman
25-Sep-2003, 05:20 AM
Thanks for the links, They are very general.

I was hoping for the exact email re

Another prerequisite is to set up a virtual cgi-bin. I have sent you an email with documentation attached for setting up a Win2k server correctly to run Actinic.

Hope this is possible


Dirk

cdicken
25-Sep-2003, 06:45 AM
Sorry Dirk - what I meant by my posting is that I had been informed that Ben had already sent you the email you requested. If this is not the case then I will ask Ben to re-send.

Ben
25-Sep-2003, 08:37 AM
Dirk - I've sent the email again. It has a 600kB attachment. Let me know if you don't receive it.