Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 03:19:18 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: [Solved] 2.8.1 RC3 - installation crashes apache  (Read 1590 times)
quartz

Offline Offline

Posts: 18


« on: January 31, 2010, 12:15:17 AM »

This happens with 2.8.0, and 2.8.1 RC1, RC2 and RC3.

After clicking 'Install websitebaker' on the installation page, apache restarts by itself and of course the installation fails. No database tables are created, I can go to the install page again but it will simply crash again when i click the button. If i go to wb's homepage I get the message "Table 'wb.settings' doesn't exist"

My apache log:
Code:
[Sat Jan 30 16:02:18 2010] [error] [client 127.0.0.1] File does not exist: C:/server/www/wb.test/public_html/favicon.ico
[Sat Jan 30 16:02:58 2010] [notice] Parent: child process exited with status 255 -- Restarting.
[Sat Jan 30 16:03:06 2010] [notice] Apache/2.2.13 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Sat Jan 30 16:03:06 2010] [notice] Server built: Aug  6 2009 15:50:50
[Sat Jan 30 16:03:06 2010] [notice] Parent: Created child process 1312
[Sat Jan 30 16:03:07 2010] [notice] Child 1312: Child process is running
[Sat Jan 30 16:03:07 2010] [notice] Child 1312: Acquired the start mutex.
[Sat Jan 30 16:03:07 2010] [notice] Child 1312: Starting 64 worker threads.
[Sat Jan 30 16:03:07 2010] [notice] Child 1312: Starting thread to listen on port 80.

No PHP errors/warnings.

My installation:
Apache 2.2.14
PHP 5.3.1
MySQL 5.1.42
Windows Vista Ultimate x64

Edit: Tried on my other machine, page still does not load after clicking install, but windows does not tell me that apache has crashed.
Apache 2.2.14
PHP 5.3.1
MySQL 5.1.41
Windows 7 Ultimate x64

Edit: Here is a snapshot to show exactly what happens after I click Install.
http://i.imgur.com/EJI6g.jpg


Edit: Updated Apache, PHP, MySQL on my Vista machine to the latest versions, problem still persists.

Edit: Used XAMPP 1.7.3 and it works. If I find out the reason it was failing on my server, I will post here.

Solution: Use 127.0.0.1 instead of localhost. Windows 7 and Vista (at least certain versions of this one) no longer use 'localhost' for some reason. So either set your database host to 127.0.0.1, or simply modify the hosts file and define localhost as 127.0.0.1
« Last Edit: February 01, 2010, 08:02:10 AM by quartz » Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1252


« Reply #1 on: January 31, 2010, 01:18:57 AM »

Don't panic about this 'Error'  wink
Your apache does not 'crash'...
Only one of the child processes, witch tries to deliver a not existing favicon.ico terminates and restarts again, This is the absolutely normal behavoir of apache.
Google for: 'favicon.ico' please....

There must be another reason why you can't install WB. Check your configuration please!
can apache write in document-root?
can php creates tables in the database?
am 99% sure there is a fault witch prevents you to run WB-install successfuly.
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
quartz

Offline Offline

Posts: 18


« Reply #2 on: January 31, 2010, 02:03:37 AM »

Don't panic about this 'Error'  wink
Your apache does not 'crash'...
Only one of the child processes, witch tries to deliver a not existing favicon.ico terminates and restarts again, This is the absolutely normal behavoir of apache.
Google for: 'favicon.ico' please....

No darkviper, favicon.ico does not cause the child process to terminate. That just causes the first line in the log. You may ignore that, as the favicon is definitely not the problem here (I am fully aware of what favicon is...)

Quote
can apache write in document-root?
can php creates tables in the database?
All the requirements on the page are in green and everything is writable. I use this server for many other installations, for example joomla runs on it.
« Last Edit: January 31, 2010, 02:08:09 AM by quartz » Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #3 on: January 31, 2010, 02:15:01 AM »

Hello,

doesn't seem to be a xampp installation.
Where did you download the packages (apache, php) and what versions?


thorn.
Logged

quartz

Offline Offline

Posts: 18


« Reply #4 on: January 31, 2010, 02:28:33 AM »

Hello,

doesn't seem to be a xampp installation.
Where did you download the packages (apache, php) and what versions?


thorn.

The packages were all downloaded from their official project websites, and the versions are mentioned in the first post.
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #5 on: January 31, 2010, 02:39:21 AM »

Hello,

i noticed that you use apache with worker MPM (instead of pre-fork).
Do you use php as module or CGI?
Did you download the VC6-binary, or the VC9 from windows.php.net? Non Thread Safe or Thread Safe?


thorn.
Logged

quartz

Offline Offline

Posts: 18


« Reply #6 on: January 31, 2010, 02:49:33 AM »

Hello,

i noticed that you use apache with worker MPM (instead of pre-fork).
Do you use php as module or CGI?
Did you download the VC6-binary, or the VC9 from windows.php.net? Non Thread Safe or Thread Safe?


thorn.
As far as worker MPM vs pre-fork, I just used the default as I am not experienced with these.
PHP is being used as a module. I have installed the VC6 thread safe binary.
 
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #7 on: January 31, 2010, 03:01:06 AM »

Hello,

can you easily change from worker to prefork? Could be interesting to see if that will work.
But I'm not sure if that will help.

Maybe it's just a stupid mySQL Safe-Mode issue ...


thorn.
Logged

quartz

Offline Offline

Posts: 18


« Reply #8 on: January 31, 2010, 03:17:40 AM »

can you easily change from worker to prefork? Could be interesting to see if that will work.
But I'm not sure if that will help.

Maybe it's just a stupid mySQL Safe-Mode issue ...

I don't know how to switch, and unless I have strong reason to believe it is the problem, I won't try that...
As for MySQL safe-mode, it is currently off.
Logged
Luisehahne
Board Member
Development Team
*****
Offline Offline

Posts: 3147



WWW
« Reply #9 on: January 31, 2010, 03:33:09 AM »

Hi,

you are not alone with your issues, may be it's better to google a litlle bit, or look at apachefriend. Perhaps there seems issues with the ports that are needed.

Dietmar
Logged

We are human beings - and nobody is perfect at all.
thorn

Offline Offline

Posts: 980


WWW
« Reply #10 on: January 31, 2010, 03:44:41 PM »

Hello,

tried to install MPM worker on my debian-box (with actually MPM prefork installed) to do some tests -- but Debian APT won't let me install the worker MPM while mod_php5 is installed.

They will have good reason for doing so, i bet.


EDIT: this seems to be linux-specific. See next post instead.

thorn.
« Last Edit: January 31, 2010, 03:55:26 PM by thorn » Logged

thorn

Offline Offline

Posts: 980


WWW
« Reply #11 on: January 31, 2010, 03:54:34 PM »

Hello again,

maybe just a Vista issue?
http://www.google.com/search?q=Parent%3A+child+process+exited+with+status+255+--+Restarting.


thorn.
Logged

pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« Reply #12 on: January 31, 2010, 06:40:40 PM »

Try bottom post :

http://www.phpfreaks.com/forums/index.php?topic=273738.0
Quote
I have managed to get Apache running OK again.

All I did was comment out the line
'error_log = php_errors.log'
in php.ini

It seems Apache didn't want to create this log file in this way. Maybe I should have explicitly set the path for the file?
seems like the file can't be created thus erroring out apache

Good luck,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
quartz

Offline Offline

Posts: 18


« Reply #13 on: January 31, 2010, 08:15:53 PM »

Quote
I have managed to get Apache running OK again.

All I did was comment out the line
'error_log = php_errors.log'
in php.ini
Unfortunately I already tried that. I'm thinking it might be a Vista/7 issue perhaps like thorn suggested. Just to confirm, it does work for you guys with php 5.3.0+ in a different setup?
Logged
pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« Reply #14 on: January 31, 2010, 09:02:49 PM »

Some things to test:

after changing settings in php.ini restart apache (I think you'll know that)
check your firewall

Try xampp from apachefriends.de wich suits most of us
Just down, install, stop your services apache and mysql try xampp
If it works, problem solved, if it doesnt, uninstall xampp and restart your services, there will be no harm doing so to your current install

Personally I don't have php 5.3.0 +, can't test it there.

Good luck,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
doc
Guest
« Reply #15 on: January 31, 2010, 09:48:21 PM »

Hi,

XAMPP with PHP 5.3.1 on Windows 7 64Bit works. So trying to install XAMPP to check if it works as John suggested might be a good idea.

Doc
Logged
quartz

Offline Offline

Posts: 18


« Reply #16 on: January 31, 2010, 10:56:49 PM »

XAMPP with PHP 5.3.1 on Windows 7 64Bit works. So trying to install XAMPP to check if it works as John suggested might be a good idea.
Thanks doc, I'll try that.
Logged
quartz

Offline Offline

Posts: 18


« Reply #17 on: February 01, 2010, 01:28:46 AM »

Ok I tried it on XAMPP 1.7.3, which has PHP 5.3.1, Apache 2.2.14, MySQL 5.1.4. Works fine. Will continue to test configurations on my server because I can't use XAMPP. I will update you with the result if I find anything.Thanks all.
Logged
quartz

Offline Offline

Posts: 18


« Reply #18 on: February 01, 2010, 08:02:52 AM »

Updated first post with solution.  grin
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!