problem with clustering

Author Message

justin kazadi

Tuesday 06 May 2008 1:53:11 am

Hello all,

I have used the technical manual 4.0 to configure the clustering in my ez web site.
At the end of configuration i have added some lines on httpd.conf (apache setting file). I have restart apache and restart my computer.after this apache didn't work, i have decided to delete these lines on httpd.conf. after this apache work but some images can't be displayed.so i have a error like the images on var can't be displayed.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Tuesday 06 May 2008 5:17:09 am

Please post the stuff you are referring to!
In this case the lines that make apache refuse to start..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

justin kazadi

Tuesday 06 May 2008 6:38:00 am

Hi,
The technical manual of ez 4.0 says that we have to add this :

Rewriterule ^/var/([^/]+/)?storage/images-versioned/.* /
index_cluster.php [L]
Rewriterule ^/var/([^/]+/)?storage/images/.* /
index_cluster.php [L]

on httpd.conf

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Tuesday 06 May 2008 9:23:15 am

yes but the doc also says "Add the following rewrite rules to your Apache configuration file before the other/existing rules", the last part means you need to put it togheter with you other rewrite rules for your virtual host setup.

More on virtual host setup:
http://ez.no/doc/ez_publish/technical_manual/4_0/installation/virtual_host_setup
http://ez.no/doc/ez_publish/technical_manual/4_0/installation/virtual_host_setup/virtual_host_example

It's also worth to mention that it needs to be after "RewriteEngine On"...

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 08:03:53
Script start
Timing: Jan 31 2025 08:03:53
Module start 'layout'
Timing: Jan 31 2025 08:03:53
Module start 'content'
Timing: Jan 31 2025 08:03:54
Module end 'content'
Timing: Jan 31 2025 08:03:54
Script end

Main resources:

Total runtime1.1488 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.1250151.2109
Module start 'layout' 0.00630.0033 739.335936.6484
Module start 'content' 0.00961.1382 775.9844954.8125
Module end 'content' 1.14780.0009 1,730.796911.8594
Script end 1.1487  1,742.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3188160.0002
Check MTime0.00140.1253160.0001
Mysql Total
Database connection0.00100.086110.0010
Mysqli_queries1.081394.1307600.0180
Looping result0.00050.0464580.0000
Template Total1.105896.320.5529
Template load0.00210.179220.0010
Template processing1.103796.080920.5519
Template load and register function0.00180.153510.0018
states
state_id_array0.00190.164510.0019
state_identifier_array0.00250.221720.0013
Override
Cache load0.00170.1509270.0001
Sytem overhead
Fetch class attribute can translate value0.00050.044120.0003
Fetch class attribute name0.00250.220560.0004
XML
Image XML parsing0.00720.623020.0036
class_abstraction
Instantiating content class attribute0.00000.001180.0000
General
dbfile0.00880.7648230.0004
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs