View Full Version : Error CGI scripts not executing
Sparky
15-Jul-2005, 08:59 AM
Hi all,
Having major problems here, I have my site ready to go, however, when i test all the network settings i get the following message:
Actinic received a server error from the web server. The CGI scripts are not executing properly on the server. Run Web | Configure Web Site Details... to review your web site configuration.
Hit OK, then its followed by:
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-BIN URL, and the proxy WWW port.. 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.
Now i have checked all the settings, contacted my isp who has checked and can't seem to see any problems. Is there a problem at my end or the ISP end. Or more importantly can the settings be ammended.
If you need more infor please yell!!
Thanks In advance!!!!
Mark
Mike Hughes
15-Jul-2005, 10:22 AM
Things to check:
- Permissions on the cgi directory
- path to the cgi-bin, etc
the permissions on the cgi-bin should be 755.
It would also help if you let us know who your host is and what your network settings are (export them, then copy and paste here, remembering to overwrite your username and password).
Mike
Sparky
15-Jul-2005, 10:31 AM
HI thanks for the prompt reply. I believe the permissions are already set, but i will check.
My network settings are listed below.
HTTPPROXYMODE 1
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 25
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 365
SCRIPTEXT .pl
SMTPHOST localhost
WEBSITEURL http://www.kave.co.uk/
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS false
PATHTOPERL /usr/bin/perl
SMTPAUTHREQUIRED false
SMTPUSERNAME
SMTPPASSWORD
CATALOGURL http://www.kave.co.uk/acatalog/
CGIBINURL http://www.kave.co.uk/cgi/
PATHFROMCGITOCATALOG ../acatalog/
CODEBASE ./
FTPHOST www.kave.co.uk
FTPUSERNAME ****
FTPPASSWORD **********
PATHTOCGIBIN /web/cgi/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG /web/acatalog/
Mike Hughes
15-Jul-2005, 10:39 AM
This is a strange one to me because everything seems to be working OK on your site which means the paths must be OK and the cgi scripts are running.
I'm not sure about these bits though:
PATHTOCGIBIN /web/cgi/
FTPPATHFROMCGITOCATALOG /web/acatalog/
I can't see how the path from cgi bin can go via /web/ when it's already there. Did you enter these settings yourself or use the network wizard?
Mike
yarstor
15-Jul-2005, 10:44 AM
Hi Mike,
I'm having a similar problem to Mark, I'm not getting the same error message, but it is to do with cgi-bin. How do I go about checking the permissions on the cgi-bin? (sorry to butt in on someone else thread!)
Becki
Mike Hughes
15-Jul-2005, 10:49 AM
The exact details depend on your ftp software, but in essence:
1. FTP into your site.
2. Right click on your cgi-bin, select properties (or permissions)
That should show you the current permissions and let you change them if necessary.
Mike
Sparky
15-Jul-2005, 10:53 AM
feel free to join this thread!!!
I know that my isp looked at some of the cgi files so that may be why they worked.
I used the network settings wizard to make these settings appear. I ran it before posting the settings. buts till get error messages.
yarstor
15-Jul-2005, 10:54 AM
Thanks Mike
Mike Hughes
15-Jul-2005, 11:37 AM
I'd suggest you log a support call with actinic. Either on the phone if you have cover or else here: http://www.actinic.co.uk/support/register.htm
If it's working but giving error messages then it sounds like something for actinic to look at.
Mike
SteveE
26-Jul-2005, 01:56 PM
Did this problem get resolved?
I am having the same problem when using the "wizard" to configure to my web host site. (Active24 - Formerly Virtual Internet).
I have used chmod to correctly set my permissions.
Could this problem be due to Actinic requiring Ascii upload?
Regards Steve
pinbrook
26-Jul-2005, 06:29 PM
FTPPATHFROMCGITOCATALOG /web/acatalog/ this should be left blank for this scenario
Sparky
01-Aug-2005, 12:08 PM
Hi there,
To answer steve, yes this is still ongoing.
To answer pinbrook:
this should be left blank for this scenario
I have taken it out of that section of the network settings and i still get problems. My isp is at a loss and i am unable to execute any cgi scripts :mad:
Mark
dscontroller
01-Aug-2005, 02:39 PM
Hi Mark,
I've just had some similar problems with 3 sites. On contacting Actinic Support, it was found to be a combination of wrong permissions on the directories and files and they also threw Norton Firewall into the equation. Once these were taken care of Actinic uploaded correctly.
Hope this helps,
David
Sparky
01-Aug-2005, 02:47 PM
Hi there,
thanks for the reply. I don't think that its a firewall probelm, as i cannot seem to get it to work at work or at home, they both have hardware (linux based) firewalls but of different versions.
As to the permissions, i have got the cgi directory with the correct settings, are there other directories that need to have permisions changed?
Mark
wjcampbe
01-Aug-2005, 03:26 PM
The /acatalog/ folder needs open permissions so the script can write the session, order and payment reference files. (I believe 777 is the correct setting - without looking up the book).
Sparky
03-Aug-2005, 05:47 PM
Thanks to you all for all your help.
It seems to have been a mixture of settings of a few things including:
settings had been changed on my server,
my computer having to go through a proxy on the network here.
File permissions set incorrect.
I still seem to not be able to test the ftp settings in the network settings box without coming up with an error, but it still works fine.
Thanks again
Mark
Nadeem
05-Aug-2005, 11:25 AM
Hi Mark
What server are you running? If it is a linux server, see if you have the ability to CHMOD to change permission. Actinic when uploading, should put a collection of files on the server then change the permission of these files. The order file will have a permission of 200 this is normal.
Kind Regards
Sparky
05-Aug-2005, 11:31 AM
Yes I am running a linux server.
The problem I have at the moment appears that all the cgi scripts are pointing to a location of cgi-bin but i only have a cgi directory called CGI.
All my settings in advance> network setup do say CGI, so i'm lost!
Nadeem
05-Aug-2005, 11:32 AM
Hi Mark
You really need someone to take a look into this and they would need your ftp details. I would suggest in logging a support request on http://www.actinic.co.uk/support/register.htm
Kind Regards
djferros
07-Oct-2005, 06:58 PM
i am having the same problem,
i contacted actinic who told me to email my settings and then told me to contact active24 (vi.net) , who replied, now i'm waiting for actinic to reply.
total cost : 4 days
don't mean to have a dig, but why do Actinic recommend a hosting company which is difficult to host Actinic on. There are 1000's of hosting companies, i only used this one cause i thought it would be easier....
________
Michigan Medical Marijuana Dispensaries (http://michigan.dispensaries.org/)
Nadeem
10-Oct-2005, 11:59 AM
Hi there
Sorry that you having this trouble, I not heard of Virtual Internet being diffecult to host on, otherwise we would not have put them on the hosting company page. Anyway please could you tell me what are you waiting for Actinic to reply on? Please could you provide us with some information.
Kind Regards
Sparky
11-Oct-2005, 03:29 PM
I eventually got all of my settings working, it was a combination of getting the server settings and permsissions correct and the actinic settings correct.
It all seems to work well now.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.