Helicon Zoo crash

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 22
Joined: 24 Jun 2012, 04:16

Helicon Zoo crash

18 May 2016, 08:52

Hello,

I'm trying to solve issue where Helicon Zoo RoR app can't be started. In Windows (2012 R2) event log I see:

Code: Select all
Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x52157ba0
Faulting module name: HeliconZoo_x86.dll, version: 3.1.98.538, time stamp: 0x542c0490
Exception code: 0xc0000005
Fault offset: 0x00039b91
Faulting process id: 0x37f68
Faulting application start time: 0x01d1b0fb68ac6769
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Zoo\NativeModule\HeliconZoo_x86.dll
Report Id: a739104a-1cee-11e6-80c1-005056b3ebf4
Faulting package full name:
Faulting package-relative application ID:


and ZooError file in app directory contains:

Code: Select all
[18.05.2016 13:50:02.220775] [v 3.1.98.538] [tid 0x0001f7e0] [sev 2] # 35494776 Application has been started
[18.05.2016 13:50:02.252029] [v 3.1.98.538] [tid 0x00032db8] [sev 2] WorkersManager - CreateFirst Worker.


there is also "rails.project [2016_05_18 13_50_02] worker-1.log" file in logs directory but it is empty. No additional process to w3wp is not being started for this website. Any ideas?

Thanks

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Helicon Zoo crash

19 May 2016, 07:52

Hello, friend.

Can you please show web.config file for this site and maybe some more explanations on specific of the running application? Would it be possible for user to change from FastCGI protocol to HTTP protocol? This may require some configuration of the application itself.

User avatar
Posts: 22
Joined: 24 Jun 2012, 04:16

Re: Helicon Zoo crash

19 May 2016, 08:43

web.config content:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>

    <heliconZoo>
      <application name="rails.project">
        <environmentVariables>

     <add name="RAILS_RELATIVE_URL_ROOT" value="%APPL_VIRTUAL_PATH%" />
     <add name="RAILS_ENV" value="development" />
          <add name="RACK_ENV" value="%RAILS_ENV%" />
     <add name="REDMINE_LANG" value="en" />
     <add name="DEPLOY_FILE" value="deploy.rb" />
     <!--
     <add name="DEPLOY_LOG" value="zoo-deploy.log" />
      -->
    
   
     <!-- By default we run Rails in production mode -->
     <add name="ERROR_LOG_DIR" value="log" />

     <!--
     <add name="CONSOLE_URL" value="console" />
          -->

     <!-- If deployment is too long this doesn't let worker to die -->
     <add name="WORKER_REQUEST_TIMEOUT" value="1000" />
                    <add name="CONSOLE_URL" value="console_OZ2X9pjqdlI=" />


         

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


    <handlers>
      <add name="rails.project#x86" scriptProcessor="ruby.1.9.rack" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
      <add name="rails.project#x64" scriptProcessor="ruby.1.9.rack" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />

    </handlers>


    <!-- Send static files through IIS -->
    <rewrite>
        <rules>
                <rule name="Avoid Static Files" stopProcessing="true">
                    <match url="^(?!public)(.*)$" ignoreCase="false" />
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="true">
                            <add input="{APPL_PHYSICAL_PATH}" pattern="(.*)" ignoreCase="false" />
                            <add input="{C:1}public\{R:1}" matchType="IsFile" />
                        </conditions>
                <action type="Rewrite" url="public/{R:1}" />
                    </rule>
            </rules>
    </rewrite>
        <directoryBrowse enabled="false" />
        <defaultDocument>
            <files>
                <clear />
                <add value="default.aspx" />
                <add value="index.php" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
            </files>
        </defaultDocument>
        <httpErrors errorMode="Detailed" existingResponse="PassThrough" />

  </system.webServer>
</configuration>


I'm not sure if this is related but this started to happen after upgrade from Win 2008 R2 to Win 2012 R2.

I'm also facing issue with accessing cmd.exe file when console is enabled:

Code: Select all
Windows error
Access is denied. (ERROR CODE: 5)
Internal module error
message: Can't create child application process '"C:\Windows\system32\cmd.exe" ' type: ZooException file: App\ChildProcess.cpp line: 114 version: 3.1.98.538

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Helicon Zoo crash

13 Jun 2016, 07:12

Hello.

I'm really sorry but I cannot think of any solution here and can't really investigate this situation as development already moved to Zoo 4 now.
BTW, I understand that you require the solution that integrates with WebsitePanel to use, but would it be possible for you to try the pre-release version of Zoo 4 in some test environment?
You can download Zoo 4 preview here: https://github.com/helicontech/zoo/releases It is open source now. I am still working on documentation, and applications outside 'Templates' section are not tested yet, sorry. But to get Ruby app running you just need to install the package from the link, run it and choose Applications -> Templates -> Ruby Project. Then open resulting Ruby application and follow instructions on its home page to put your own application over it.
And the repository for this Zoo 4 is also open source and available here: https://github.com/helicontech/zoo_repository So later you could edit it and add your own applications or engines if you'd like.

Thank you for your patience.

User avatar
Posts: 22
Joined: 24 Jun 2012, 04:16

Re: Helicon Zoo crash

13 Jun 2016, 16:36

Hello,

great news regarding Zoo v4. Are you still available on Skype? It looks like file:

https://www.helicontech.com/zoo4_feed/P ... 80_x64.msi

is not accessible during installation of example Ghost app.

Thanks

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Helicon Zoo crash

13 Jun 2016, 18:27

Sorry for that, should be working now. Besides, I suggest you to start with Templates as other applications are not tested yet.

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 3 guests