2.2.1 Installation problem

sig11

Joined: 2004-02-21
Posts: 6
Posted: Thu, 2007-03-29 22:08


Gallery version (not just "2"):2.2.1
PHP version (e.g. 4.3.11): 4.4.5
PHPInfo Link (see FAQ): http://www.reprehensible.net/keke.php
Webserver (e.g. Apache 1.3.33): Apache 2.0.59
Database (e.g. MySql 4.0.11): MySQL 5.0.33
Operating system (e.g. Linux): FreeBSD 6.2-RELEASE SMP amd64
Browser (e.g. Firefox 1.0): Mozilla 1.8, FF 1.1, IE7

Installation is successful up until step 8. The progress bar stops midway through installing the core module. The Apache error log has the following:

ALERT - canary mismatch on efree() - heap overflow or double efree detected (attacker 'x.x.x.x', file '.../gallery2/lib/adodb/drivers/adodb-mysql.inc.php', line 498), referer: http://www.reprehensible.net/gallery2/install/index.php?step=7

I am using the ports version of PHP currently. Am I going to have to break down and go back to building my own copy of PHP?

Any help would be appreciated. Thanks

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-03-29 23:00

google yields: http://forum.hardened-php.net/viewtopic.php?pid=520

anyhow, i guess that's a notice / warning, not an error.

or did the execution halt at this point?
anything in your installation log of g2?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
sig11

Joined: 2004-02-21
Posts: 6
Posted: Thu, 2007-03-29 23:12

Right. Thats what I thought too.

The install log looks normal. I thought I attached that, sorry. I couldn't find any errors, or anything that looked to be out of the ordinary. I've tried screwing around with php memory limits and loaded extensions... nothing seems to work.

http://reprehensible.net/g2log.zip

 
11101101010100

Joined: 2007-04-06
Posts: 2
Posted: Fri, 2007-04-06 16:15

Hello sig11,

Did you find a solution for that problem?
I have the same problems, Installation stop at step 8 and I have a the entry in my error logfile

Quote:
[error]ALERT - canary mismatch on efree() - heap overflow or double efree detected (attacker '80.129.113.7', file '/home/1010100/www/gallery2/lib/adodb/drivers/adodb-mysql.inc.php', line 498), referer: http://www.1010100.org/gallery2/install/index.php?step=7

Is it a problem with the Suhosin Patch?

Thanks, and sorry for my bad english ;-)

PHP Version 4.4.6
Suhosin Patch 0.9.6
PHPInfo Link
Gallery2 2.2.1

 
sig11

Joined: 2004-02-21
Posts: 6
Posted: Fri, 2007-04-06 16:25

I haven't come up with anything thus far. I'm going to try building php outside of ports today and see what happens.

 
11101101010100

Joined: 2007-04-06
Posts: 2
Posted: Sun, 2007-04-08 12:44

Unfortunatelly I haven't the posibility to change anything on the php installation. Thus i'll ask the admin for a solution.

 
mr_colson

Joined: 2006-10-09
Posts: 3
Posted: Tue, 2007-04-10 14:12

Hello,

I have got the same problem.
The installation just halst on step 8.
Is there a solution?

thanks,

didier van riet

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-04-10 14:39

mr_colson

please post the exact error that you get. if you don't see any error in g2, check your webserver's error log.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
sig11

Joined: 2004-02-21
Posts: 6
Posted: Mon, 2007-04-16 02:55

I cannot be 100% sure but it appears to be a Suoshin patch problem. I built php without it and was able to complete the gallery install.

Now I just have to find a way to recover my database!

 
Rhiannan

Joined: 2007-04-12
Posts: 4
Posted: Wed, 2007-04-18 20:09

I get this message at going from stage 7 to 8

Warning: processrequest(e:\domains\r\rmcd-photography.streamlinenettrial.co.uk\user\htdocs\gallery2\install\steps/../../bootstrap.inc) [function.processrequest]: failed to open stream: No such file or directory in e:\domains\r\rmcd-photography.streamlinenettrial.co.uk\user\htdocs\gallery2\install\steps\InstallCoreModuleStep.class on line 33

Fatal error: processrequest() [function.require]: Failed opening required 'e:\domains\r\rmcd-photography.streamlinenettrial.co.uk\user\htdocs\gallery2\install\steps/../../bootstrap.inc' (include_path='.;c:\php4\pear') in e:\domains\r\rmcd-photography.streamlinenettrial.co.uk\user\htdocs\gallery2\install\steps\InstallCoreModuleStep.class on line 33

please help, i am at a loss

thanks

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-04-18 23:05

Rhiannan

that's a different issue.
please reupload gallery2/bootstrap.inc.

if the problem persists, please create a new forum topic to discuss your case.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jrt

Joined: 2007-09-11
Posts: 1
Posted: Tue, 2007-09-11 16:28

Has anyone found a workaround for the "ALERT - canary mismatch on efree()" failure during installation step 8 (other than rebuilding without the suhosin patch)?

I have exactly this problem, and currently can't change the php running on my server.

Thanks in advance for any help.