suppress kernel error log

Author Message

lukas p.

Wednesday 20 October 2010 9:23:52 am

Hi Guys,

could somebody tell me who i can surpress kernel error logs?

Ive got some issues with mysql that i even cant explain. (please dont ask bout debug mysql I`ve done my best recompiling with debug mode straced the whole binary etc...)

but if there something sucks i only see the error message from ez. ( home/error/kernel (1)) with the error message.

who can i show the mysql_error() output?

thanks.

Christian Rößler

Wednesday 20 October 2010 12:55:29 pm

Hy,

all errors eZPublish encounters go into

 <ezpublish_dir>/var/log/error.log

or the other logfiles there ie. warning.log.

Take a look there what is going on.

If there are no files in the directory var/... you may have wrong directory permissions and you whole installation screwed up ;-) In that case fix directory permission so that it is writeable by the webserver-user and you will have logs.

Cheers,

Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Christian Rößler

Wednesday 20 October 2010 12:57:32 pm

On the other hand you may enable mysql's errorlogging in /etc/mysql/my.cnf and/or /etc/mysql/conf.d/my.cnf. All sql-errors will then be logged in /var/log/mysql.err or so.

If you are using windows as server i cannot help you...

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

lukas p.

Thursday 21 October 2010 5:26:14 am

hi Chris,

thanks a lot.

now i`ve enabled logging via 

[DebugSettings]

DebugOutput=enabled

so that gave me the info i needed. there is something wrong with my mysql but there is of course nothing in the error.log of mysql also no debug... damn..

... investigating.

Christian Rößler

Thursday 21 October 2010 6:36:15 am

Hmm, perhaps it's a braindead easy mysql-connection error which involves a wrong username and/or password for mysql. Have you tried checking that?

Or.. if i remember correctly, error (1) is an error which has nothing to do with mysql or something of eZPublish's backend-systems. It says, that you do not have the permissions to access this site/module/object whatsoever.

Can you please post the correct message you encounter?

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

lukas p.

Thursday 21 October 2010 7:04:54 am

well no, ez said that it really cant connect to the server on socket ... bla bla.

im testing with ApacheBenchmark (ab) with 500 concurrency connections and after it starts a few seconds later

the site occours that error and in the debug output i see that there was no way to connect to the mysqlserver.

in the error log of mysql is nothing neither too many connections or something else.

there is also no debug output from the mysqlside.

well i have to say that the page is in an virtual container from openvz... - and yes of course i`ve checked /proc/userbeancounters ;) -

well still investigating... :( damn it.

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 18 2025 05:13:16
Script start
Timing: Jan 18 2025 05:13:16
Module start 'layout'
Timing: Jan 18 2025 05:13:16
Module start 'content'
Timing: Jan 18 2025 05:13:17
Module end 'content'
Timing: Jan 18 2025 05:13:17
Script end

Main resources:

Total runtime0.9400 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.9141152.6250
Module start 'layout' 0.00620.0031 740.539139.4531
Module start 'content' 0.00930.9291 779.9922528.6406
Module end 'content' 0.93850.0015 1,308.632816.1641
Script end 0.9399  1,324.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3921160.0002
Check MTime0.00130.1346160.0001
Mysql Total
Database connection0.00090.100010.0009
Mysqli_queries0.877693.3663660.0133
Looping result0.00060.0670640.0000
Template Total0.908996.720.4545
Template load0.00170.182220.0009
Template processing0.907296.508320.4536
Template load and register function0.00020.024910.0002
states
state_id_array0.00070.077510.0007
state_identifier_array0.00130.141520.0007
Override
Cache load0.00150.1616410.0000
Sytem overhead
Fetch class attribute can translate value0.00130.142620.0007
Fetch class attribute name0.00140.144460.0002
XML
Image XML parsing0.00020.023620.0001
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00150.1590100.0001
String conversion0.00000.001340.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
6content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs