Jump to content


Photo

Apache Crashes on Windows 7 + WAMP

wamp win7

  • Please log in to reply
4 replies to this topic

#1 jitendra

jitendra

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 22 November 2011 - 12:16 PM

The installation was done on Windows 7 using Wampserver 2.0 along with all the required dependencies.

Following are the installation and configuration details :
• Installed Wampserver 2.2, the server comes with PHP 5.3.8, Apache 2.2.21 and MySQL 5.5.16.
• Installed memcache 2.2.6
• Enabled all the extension in PHP.
• Modified php.ini and my.ini files as per the instructions given (http://zurmo.org/wik...r-development-2).

When we access the site for installation http://hostname/zurm...x.php?r=install, it tries to install the demo data and there’s some issue there with installation of demo data. The process of installing demo data keeps going in an endless loop and when the index.php page is accessed again, apache server crashes.

The apache error log has an entry : “Parent: child process exited with status 255 -- Restarting.”

#2 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 22 November 2011 - 07:19 PM

Can you run the phpunit tests and attach the output here as a text file? Lets see how the tests do, to help us identify where the issue is.

Jason Green
Zurmo Team
Need support? Upgrade now


#3 jitendra

jitendra

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 November 2011 - 11:51 AM

Hi,

I installed phpunit and then ran the TestSuite.php (phpunit --verbose TestSuite.php All > unit_result.log).

The output has Access Denied error, but i have checked acess for zurmo user using mysql.exe -u zurmo -p.

For the first time apache will crash on login page, but if we restart the Apache and cleick login button with super user's credentials, it logged-in to system but the CSS doesn't get applied and then if we click any of the link on home page Apache will crash again.

The output of the test case is as below.


Fatal error: Uncaught exception 'CDbException' with message 'CDbConnection failed to open the DB connection: SQLSTATE[28000] [1045] Access denied for user 'zurmo'@'localhost' (using password: YES)' in C:\wamp\www\zurmo-stable\yii\framework\db\CDbConnection.php on line 364

CDbException: CDbConnection failed to open the DB connection: SQLSTATE[28000] [1045] Access denied for user 'zurmo'@'localhost' (using password: YES) in C:\wamp\www\zurmo-stable\yii\framework\db\CDbConnection.php on line 364

Call Stack:
0.0003 631504 1. {main}() C:\wamp\bin\php\php5.3.8\phpunit:0
0.0060 1139432 2. PHPUnit_TextUI_Command::main() C:\wamp\bin\php\php5.3.8\phpunit:44
0.0061 1140016 3. PHPUnit_TextUI_Command->run() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\TextUI\Command.php:125
0.0949 1762040 4. PHPUnit_Runner_BaseTestRunner->getTest() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\TextUI\Command.php:145
0.2475 4907648 5. ReflectionMethod->invoke() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Runner\BaseTestRunner.php:124
0.2475 4907680 6. TestSuite::suite() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Runner\BaseTestRunner.php:124
0.2476 4910520 7. CModule->__get() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Runner\BaseTestRunner.php:96
0.2476 4910520 8. CModule->getComponent() C:\wamp\www\zurmo-stable\yii\framework\base\CModule.php:86
0.2488 5106640 9. CDbConnection->init() C:\wamp\www\zurmo-stable\yii\framework\base\CModule.php:372
0.2488 5106736 10. CDbConnection->setActive() C:\wamp\www\zurmo-stable\yii\framework\db\CDbConnection.php:291
0.2488 5106736 11. CDbConnection->open() C:\wamp\www\zurmo-stable\yii\framework\db\CDbConnection.php:313



#4 Jason

Jason

    Administrator

  • Administrators
  • 716 posts
  • LocationChicago

Posted 23 November 2011 - 05:08 PM

Hi,

I installed phpunit and then ran the TestSuite.php (phpunit --verbose TestSuite.php All > unit_result.log).

The output has Access Denied error, but i have checked acess for zurmo user using mysql.exe -u zurmo -p.

For the first time apache will crash on login page, but if we restart the Apache and cleick login button with super user's credentials, it logged-in to system but the CSS doesn't get applied and then if we click any of the link on home page Apache will crash again.

The output of the test case is as below.

The first step is to make sure the tests are running correctly. Does your zurmo@localhost db user have full privledges to the zurmo database? Also if you can send the output of the beginning of when you run the tests, it shows a connection string that confirms the user/db info you are using.

Jason Green
Zurmo Team
Need support? Upgrade now


#5 Sacha Telgenhof

Sacha Telgenhof

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationTokyo, Japan

Posted 03 March 2012 - 10:15 AM

I ran into the same issue. Make sure the DB name and password are also correct in the perInstanceTest.php file :)





Also tagged with one or more of these keywords: wamp, win7

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users