PDA

View Full Version : 502 Gateway ERROR (strict, Socket, Cwd, File::Copy)


tonerboy
01-Jul-2003, 03:11 AM
Using our own W2K (IIS5) Server with ActivePerl5.8 installed we get the following error when files are merged on the server as the last process of the upload:-

"502 Gateway ERROR"

If we upload via: Web|Configure Network|ConfirmEachSetting then we get the following detailed Error after manually correcting the Perl path from "/usr/bin/perl" to "../../Perl/bin" :-

Some of the Perl packages that Catalog requires have not been installed on the web server:
strict
Socket
Cwd
File::Copy

Please advise how to resolve this issue as ActivePerl only comes with a Command Shell Interface called pmm (Package Module Manager) and no further instructions other than the terse pmm help.

I have tried:

pmm>install Cwd.pm
&
pmm>install C:\Perl\Lib\Cwd.pm

Neither works, can you please give me an example on how to install these packages.

Can I also ask why you try to find Perl with the following "/usr/bin/perl" when Perl installed itself by default in "C:\Perl\bin" with it's appropriate environment variables set accordingly ?

FYI: The cgi-bin and the acatalog directories are found OK and loaded with their appropriate files.

Thanks in advance.

Andrew Hill
:(

Darren
01-Jul-2003, 12:27 PM
Hello Andrew

Have you taken a look at at our latest Advanced User Guide for version 6 available at:

http://www.actinic.co.uk/support/downloads.htm

Page 93 onwards includes a step by step guide in setting up IIS5 for use with Actinic.

I hope this is of use to you.

tonerboy
01-Jul-2003, 08:07 PM
Daren, Thank You for your reply.

I thought I made it very clear that IIS is working fine, that FTP uploading is working fine, that all required directories and permissions are working fine.

I though I made it very clear that ActivePerl by default has not loaded all the packages that Actinic demands according to Actinic.

What I did ask was how to load the Perl Packages that Actinic demands and this is not in the Advanced User Guide or any other guide for that matter.

As Actinic has interrogated the Perl installation and declared it needs these packages I would have thought that Actinic would advise how to add them.

Being new to Perl I am asking how to do this.

Andy

Darren
02-Jul-2003, 07:45 AM
Hello Andrew

What happens if you type perl -v at in the Windows command prompt?

Nadeem
02-Jul-2003, 08:24 AM
Hi there

Additionally to what Darren has said.

ActivePerl should be a windows self installing program.

Here is the link to Active Perl: MSI Package (http://download.com.com/redir?pid=10175376&merid=53124&mfgid=53124&edId=3&siteId=4&oId=3002-20-10175376&ontId=20&ltype=dl_dlnow&lop=link&destUrl=http%3A%2F%2Fdownloads.activestate.com%2FActivePerl%2FWindows%2F5.8%2FActivePerl-5.8.0.804-MSWin32-x86.msi)

Therefore it should install itself into c:\perl
All the libraries files should be in c:\perl\lib
The perl executable file should be in c:\perl\bin

Please could you check this on your PC.

You may need to remove and reinstall the ActivePerl package from Add/Remove Programs; if some of the libraries are missing

Hope this helps you
Kind Regards

tonerboy
08-Jul-2003, 04:41 AM
Nadeem, I un-installed Perl, Stop/Started WWW Services, re-installed Perl and all works fine.

I am at a loss as to why the first install of Perl failed to work with Actinic when it worked fine on the server, the second install worked fine with Actinic, can you shed any light on this ?

Regards
Andy

PS The perl scripts are very slow, is there a way to speed it up ?

Darren
08-Jul-2003, 04:29 PM
Hi Andy

Take a look at http://www.activestate.com/Products/PerlEx/

This may help.