problems with Perl

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 6
Joined: 10 Jul 2012, 09:14

problems with Perl

23 Jan 2014, 10:51

trying to get perl working and having some issues.
got strawberry perl installed, and Zoo.
windows 2008 r2

my web.config looks like below.
the #64 handler does not work at all, just throws an error about the precondition
the #86 handler gives this error.


Helicon Zoo module has caught up an error. Please see the details below.








Windows error

The system cannot find the path specified. (ERROR CODE: 3)


Internal module error


message: Can't CreateDirectory '' file type: ZooException file: WinApi.cpp line: 257 version: 3.1.98.496


web.config
========


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<clear />
<application name="perl.project" >
<environmentVariables>

<!-- Use this APP_WORKER with PSGI engine -->
<add name="APP_WORKER" value="app.pl" />

<!-- Use this APP_WORKER with Mojolicious over HTTP. Thin need to be installed. -->
<!--
<add name="APP_WORKER" value="mojolicious_app.pl daemon -l http://%HOST%:%PORT%" />
-->

<add name="PROXYPASS" value="%APPL_VIRTUAL_PATH%" />

<!--
Deploy file includes the most common commands required to prepare application before launch (bundle install, migrations etc.)
-->
<add name="DEPLOY_FILE" value="deploy.pl" />

<!-- security rules for console are placed in /console/web.config -->
<add name="CONSOLE_URL" value="console" />

</environmentVariables>
</application>
</heliconZoo>
<handlers>

<remove name="Perl via ISAPI (*.pl)" />
<remove name="Perl via ISAPI (*.cgi)" />
<add name="perl.project#x86.cgi" scriptProcessor="perl.5.12.pipe" path="*.cgi" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="perl.project#x64.pl" scriptProcessor="perl.5.12.pipe" path="*.pl" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="Default.html" />
<add value="Default.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="Default.aspx" />
<add value="index.shtml" />
<add value="index.php" />
<add value="index.cfm" />
</files>
</defaultDocument>

</system.webServer>
</configuration>

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: problems with Perl

24 Jan 2014, 07:16

Hello,

please try to install the latest build of Zoo from our beta feed,
make sure Perl installed correctly
and check if there are sufficient permissions to read Perl folder.

User avatar
Posts: 6
Joined: 10 Jul 2012, 09:14

Re: problems with Perl

24 Jan 2014, 09:42

everything was installed from Web Platform installer via your ZOO feed
I have removed and re-installed.
the strawberry perl folders has READ access for all USERS, I have not given WRITE access as this would allow users to modify the perl files.
Is it safe to use BETA version in production ?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: problems with Perl

27 Jan 2014, 07:41

Hello,

Yes, it is safe to use the beta feed, it has been tested successfully.
Please report if the issues persist after update.

User avatar
Posts: 6
Joined: 10 Jul 2012, 09:14

Re: problems with Perl

13 Jun 2014, 14:53

ok I have upgraded Zoo to the beta version, but still cannot get perl files to run

Worker Status
The process was created
Windows error
The pipe has been ended. (ERROR CODE: 109)
Internal module error
message: Application backend read Error. type: ZooException file: App\Jobs\JobBase.cpp line: 531 version: 3.1.98.530
STDERR
Empty stderr

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 1 guest