Linux Bundled Install-No Database Connection

Author Message

Michael Gross

Thursday 19 October 2006 9:44:55 pm

Installed eZ under Ubuntu 6.06, ran setup wizard, & shutdown for the night.

Restarted system and no apache or mysql running. Got apache going.

Pointed browser to localhost:8085/site_admin (URL designated in setup).

A page was returned, but it had the following error:

kernel::50
• No database connection could be made, the system might not behave properly.

The question is, how do I start mysql so that my eZ installation has access to its database? The installer put the whole bundle in:

/opt/ezpublish

and mysqld is in the …/mysql-4.1.14/libexec folder

Also, how can I set up both apache & mysql to run at boot time?

Many thanks for your kind attention.

Regards,

Michael
Ubuntu 6.06 Desktop
Mac OS X v10.3.9

Michael

Ɓukasz Serwatka

Tuesday 24 October 2006 12:29:48 am

Hi Michael,

I suggest to enabled debug output or check logs in var/log/error.log in eZ publish dir. This will give you more detailed error message. Perhaps there is conflict with mysql servers. Are you sure that there is not other mysql server running?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 15:05:24
Script start
Timing: Jan 18 2025 15:05:24
Module start 'layout'
Timing: Jan 18 2025 15:05:24
Module start 'content'
Timing: Jan 18 2025 15:05:25
Module end 'content'
Timing: Jan 18 2025 15:05:25
Script end

Main resources:

Total runtime0.9397 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.1641152.6563
Module start 'layout' 0.00770.0028 740.820339.5078
Module start 'content' 0.01060.9275 780.3281527.2969
Module end 'content' 0.93810.0016 1,307.62508.1094
Script end 0.9397  1,315.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3559160.0002
Check MTime0.00140.1496160.0001
Mysql Total
Database connection0.00170.183010.0017
Mysqli_queries0.888694.5643540.0165
Looping result0.00050.0509520.0000
Template Total0.906096.420.4530
Template load0.00200.217820.0010
Template processing0.903996.190120.4520
Template load and register function0.00030.028410.0003
states
state_id_array0.00130.134610.0013
state_identifier_array0.00120.127320.0006
Override
Cache load0.00170.1824220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.077620.0004
Fetch class attribute name0.00150.154330.0005
XML
Image XML parsing0.00070.069220.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00080.0838180.0000
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs