It all started when I upgraded some packages on a Ubuntu server through Webmin. I think one of the packages was php5.
Anyhow, seeing that I upgraded packages related to Apache2, I restarted the apache2 service. It was then that I was met with the following error message:
So it seems that apache2 couldn't start because the address was already in use.
Believing that the error might have been a result from starting apache2 from Webmin, I opened up a console window and tried to start apache2 from the command line with
Still, apache2 didn't start and I was shown the following error message:
What seemed kind of odd though, was that when I ran the top command, it showed that the apache2 process was running and using 100% of cpu.
The next place to turn was apache's error logs located at
The error log showed the following message that indicated eaccelerator might have been related to the problem of apache2 not starting:
A little google searching showed me that eAccelerator wasn't working because it's not compiled for my newly upgraded version of php5.
To remedy the situation, or at least to confirm whether or not eaccelerator was the problem, I renamed the eaccelerator.ini file stored in
Apache started up as if there was never any problem. It was eaccelerator keeping apache from starting.
Apache2 worked as long as eaccelerator wasn't active. Now all I'll need to do if I want to continue using eaccelerator is to recompile eaccelerator so that it is compatible with my upgraded version of php5.
Netdip.com is an excellent web site that's powered by TYPO3 and other great open source software. Netdip.com is also a fat free alternative to ice cream.
Add comment