ERROR_LOCK_REQUIRED on installation

clichx

Joined: 2009-09-14
Posts: 3
Posted: Mon, 2009-09-14 12:55


Gallery version (not just "2"): 2.3-typical.tar.gz
PHP version (e.g. 5.1.6): 5.2.0-8
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): 2.2.3
Database (e.g. MySql 5.0.32): 5.0.32
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): Debian etch
Browser (e.g. Firefox 2.0): Firefox 3.5.3

Hello,
At 8 step i've this error :

Quote:
Error (ERROR_LOCK_REQUIRED)

* in modules/core/classes/GalleryEntity.class at line 266 (GalleryCoreApi::error)
* in modules/core/CoreModuleExtras.inc at line 3318 (GalleryEntity::save)
* in ??? at line 0 (CoreModuleExtras::_createAccessListCompacterLock)
* in modules/core/CoreModuleExtras.inc at line 353
* in modules/core/module.inc at line 486 (CoreModuleExtras::upgrade)
* in modules/core/classes/GalleryModule.class at line 175 (CoreModule::upgrade)
* in install/steps/InstallCoreModuleStep.class at line 138 (GalleryModule::installOrUpgrade)
* in install/index.php at line 164 (InstallCoreModuleStep::processRequest)

The end of my log file :

2009-09-14 13:54:10 [TMP_SESSION_ID_DI_NOISSES_PMT] Committed transaction successfully
2009-09-14 13:54:10 [TMP_SESSION_ID_DI_NOISSES_PMT] Finish install core module step
2009-09-14 13:54:10 [TMP_SESSION_ID_DI_NOISSES_PMT] Error: Failure during install core module step

But all system verification it's ok, the g2data have a chmod 777 with apache user and config.php have a chmod 666 with apache user.

Thanks for advance.

P.S. : sorry for my bad english, i'm french :)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-09-14 15:02

Please attach the entire install log. You may need to zip it first.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
clichx

Joined: 2009-09-14
Posts: 3
Posted: Tue, 2009-09-15 08:35

opusss :)

AttachmentSize
install_613ed3d4d7.log_.zip25.42 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-09-15 15:38
Quote:
PHP memory limit: 16M

That's not going to cut it. You should have at least 32M of memory for PHP to run G2.3

This explains how to increase that:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?

Quote:
2009-09-14 13:53:35 [TMP_SESSION_ID_DI_NOISSES_PMT] mysqli error: [1146: La table 'clichx.g2_PluginParameterMap' n'existe pas] in EXECUTE("
SELECT

I don't know what that translates to. But it's another error.

Quote:
2009-09-14 13:54:09 [TMP_SESSION_ID_DI_NOISSES_PMT] mysqli error: [1226: User 'clichx' has exceeded the 'max_user_connections' resource (current value: 1)] in CONNECT(localhost, ?, ?, clichx)

Another error, that I can read :) Your host has restrictions on your database access. You'll need to contact them.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
clichx

Joined: 2009-09-14
Posts: 3
Posted: Wed, 2009-09-16 06:55

Hello, I delete all files in my install directory, all tables in database, i up to 32M the php memory, i up 2 connections for gallery2 user in mysql and now it's ok.

Quote:
I don't know what that translates to. But it's another error.

n'existe pas == doesn't exist

Thanks for help.