New eaccelerator packages for Debian Etch
My packages of eaccelerator for Etch caused me a problem last night when I pulled in a new security fix for PHP5 and they all stopped working so I've built some new ones against the new PHP5.
I've also added a few enhancements:
- Create the /var/cache/eaccelerator directory with appropriate permissions
- Install a default basic configuration in /etc/php5/conf.d/php5-eaccelerator.
- Clean out old cache files from /var/cache/eaccelerator
The packages are available in my Debian repository built for i386 and for amd64, with a apt sources line like:
deb http://debian.mcmillan.net.nz/debian etch awm
The repository is signed with my private key, 0x8f068012, which is fairly well-connected and which you can get from subkeys.pgp.net and many other places.
Enjoy!
php5 + eaccelerator + grsec
Are you using grsec ?
Currently I am not able to get eaccelerator working with php5 and grsec whereas it works fine with php4.
'grsec: From x.x.x.x: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/php5-cgi [...]'
php5 + eaccelerator - grsec
No, I am not using grsec.
I also don't believe that eaccelerator works with PHP5 CGI (from the eaccelerator FAQ), but perhaps you are using fastcgi, which should be OK? Or perhaps that FAQ is out of date.
Cheers,
Andrew McMillan.
php5 + eaccelerator - grsec
I am using fastcgi and it works on another server with an older php5 version ( 5.1.6-3 backported from Testing/Etch on a server running Sarge ), and surprisingly it doesn't works on Stable/Etch's php5 version ( 5.2.0-8+etch3 ) on a server running Etch.
I just wondered if your problem was due to grsec and not just a version mismatch ;)
Cheers,
Sylvain Rochet
Hi, Why don't you upload
Hi,
Why don't you upload this to the debian archive ? I guess there's a lissue license but... No way to provide a eaccelerator-source package ?
Upload to Debian?
I believe that there is a license issue of some kind with something in the heritage of eaccelerator. I could be wrong, and when I looked on the website earlier today there was just a "GPL" with no other complicated stuff. GPL is incompatible with the PHP license though, so perhaps that is the problem? I guess I should ask on Debian Legal, but I haven't the energy :-)
I will be at Debconf in another five weeks so I'll try and discuss it with people there and see if it can't be uploaded at some point while I'm there. I need to uploard RSCDS into Debian as well :-)
Meanwhile, there are source packages in my archive too:
deb-src http://debian.mcmillan.net.nz/debian etch awm
should work, OK, I think.
Cheers,
Andrew.
A PHP5 security update on
A PHP5 security update on 5/21 has broken eAccelerator. It says that the current version was built for etch3 and I have etch 4. I just did an apt-get upgrade to get the latest version of php5.
Version: 5.2.0-8+etch4 to be
Version: 5.2.0-8+etch4 to be exact.
New eaccelerator 0.9.5.1-1+etch4 released
I have also added a dependency against libapache-mod-php5 (= 5.2.0-8+etch4) so that in future the versions that are installed are forced to stay in step.
Cheers,
Andrew McMillan.
I run Debian/Lenny and would
I run Debian/Lenny and would like to install the php5-eaccelerator. In my sources.list i added this line:
deb http://debian.mcmillan.net.nz/debian etch awm
I see from your repository that you supply different versions of the eaccelerator. What version would i install
[ ] php5-eaccelerator_0.9.5.1-2+etch4_i386.deb
[ ] php5-eaccelerator_0.9.5.1-1+etch4_i386.deb
[ ] php5-eaccelerator_0.9.5.1-0+etch4_i386.deb
[ ] php5-eaccelerator_0.9.5.1-0_i386.deb
[ ] php5-eaccelerator_0.9.5-4_i386.deb
[ ] php5-eaccelerator_0.9.5-3_i386.deb
Regards
Dieter
Building your own eaccelerator packages from my sources
If you're running something other than Etch, and you want to use my eAccelerator packages you should be able to fetch the source packages. First add a line to your /etc/apt/sources.list:
After doing an
apt-get updateyou should be able toapt-get --build source php5-eacclerator. If this is the first time you have done it, you may need to fetch the build dependencies as well. You can do this withapt-get build-dep php5-eacclerator.That should create a php5-eaccelerator .deb which you can install with
dpkg -i <filename.deb>Regards,
Andrew McMillan.
Reduild against the latest php5 security updates ?
Thks for your packaging work !
May i ask for a rebuild against the latest debian etch php5 security updates ? I've done it myself but for other people just willing to use your etch binary repo, might be a good idea to provide working binary php5 with latest updates.
Thks again.
Cheers.
Needing another rebuild ...
May i ask for another rebuild against the latest php5 security update ? ;-)
Cheers.
Will rebuild in a couple of days...
Hi,
I'm travelling at the moment I'll be back home in a couple of days and will rebuild then.
Cheers,
Andrew.
Thanks!
Thanks for providing these packages. Worked like a charm!
Problem with apt-get upgrade
There is some problems with apt-get upgrade:
Debian Etch:
#apt-get upgrade
Building Dependency Tree... Done
The following packages have been kept back:
libapache-mod-php5 libapache2-mod-php5 php5 php5-common php5-curl php5-gd php5-mysql
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
#apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
php5-eaccelerator
The following packages will be upgraded:
libapache-mod-php5 libapache2-mod-php5 php5 php5-common php5-curl php5-gd php5-mysql
Upgraded to 0.9.5.2 and rebuilt with -etch9
Thanks for pointing out that this needed a rebuild.
I've done it now (for i386) and the source packages should be there for anyone who wants to build it for amd64. Here's the source URL:
deb-src http://debian.mcmillan.net.nz/debian etch awm
Cheers,
Andrew McMillan.
Working fine, thanks.
Working fine, thanks. Good work.
Another upgrade?
# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
libapache2-mod-php5 libpq-dev libpq4 php-pear php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-mcrypt php5-mysql
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be REMOVED
php5-eaccelerator
The following packages will be upgraded:
libapache2-mod-php5 libpq-dev libpq4 php-pear php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-mcrypt php5-mysql
Now rebuilt with -etch10
And this time I managed to find an amd64 build machine, so there are amd64 packages of that too.
Just as well you caught me before I headed off to LCA :-)
Cheers,
Andrew McMillan.
thanks for this
came in very handy after a system upgrade that left me with broken apache due to the old packages, i added your repository and it worked smoothly. nice!
DAViCal still alive?
I loaded your repository up and tried to install DAViCal on a Debian 4.0 machine. No package called davical, only the old name -- rscds. And I got nothing but errors trying to follow the installation instructions.
Is this project still happening? I hope so, because running Darwin Calendar Server on Debian seems a little dicey at the moment.
Thanks.
DAViCal aliveness
Very much so, although I definitely fucked up the 0.9.4 release from an installability perspective. I'll get a new release out to resolve those issues in the next few days.
Regards,
Andrew McMillan.
hi andrew, I installed
hi andrew,
I installed davical on a fedora 7 and after some little trouble by using 2 different servers (1 for sql and 1 for apache), I had a working setup.
or maybe I just imagined it, because I was able to connect 1 time with thunderbird, but after this little success I was unable to use it anymore.
I tried to restart from scratch, deleting everything but I'm unable to have a working setup anymore.
In all cases and different clients I obtain only the error:
The resource at http://xxxx/caldav.php/damir/home/ is either not a DAV collection or not available
any idea ?
thanks
bye
Damir
Appropriate places for DAViCal discussions
Hi,
For general help on DAViCal see:
http://wiki.davical.org/w/Getting_Help
The place to have discussions about DAViCal are (in order of preference):
- The IRC channel - #davical on irc.oftc.net
- The Mailing List
- The sourceforge forums & bug trackers
The error message you are getting could occur for many reasons. Possibly you have mod_dav enabled (you shouldn't). You should look in the Apache error log (PHP error log) for more information.
Thanks,
Andrew McMillan.
Eaccelerator 0.9.5.3
Can we hav any chance to see a 0.9.5.3 version in your repository ?
Perhaps, can you make a lenny version plz ?
Because in september, lenny will be stable.
Thx for your work.
CloneVince
eAccelerator 0.9.5.3 for Debian Lenny
I make an eAccelerator 0.9.5.3 + PHP 5.2.6-4 package for Debian Lenny, based on Andrew's work.
Binaries and source here: http://henrik.synth.no/deb/.
Build instructions here: http://neu242.livejournal.com/25626.html
etch repository problem?
Just ran an apt-get update on etch...getting the following:
Reading package lists... Done
W: Conflicting distribution: http://debian.mcmillan.net.nz etch Release (expected etch but got awm)
W: You may want to run apt-get update to correct these problems
Worked fine last month, no changes to my sources - still configured as follows:
deb http://debian.mcmillan.net.nz/debian etch awm
Suggestions?
Thanks,
Bill
Damn
It's probably sulking because I don't run Etch anywhere any longer :-(
As a result I don't have a machine I can use to debug this, unless I specifically set up an Etch chroot or something...
If I get a chance I'll have a look. What I really need to look at is the whole workflow I have for building all of my repositories, which I think could be done a lot smarter...
Any recommendations for kick-ass approaches to repository building will be gratefully received. Especially if they involve fewer than 10 lines of code. Extra marks for supplying the code... :-)
Cheers,
Andrew.
eAccelerator
Hi,
does this mean that there will be no new eAccelerator packages for Etch?
The eAccelerator package is currently blocking a php5 security update (5.2.0-8+etch13).
Regards,
Johannes
Building the eAccelerator packages
Hi Johannes,
I've got source packages for it, which can be built on Etch as follows:
Add this source URL to your apt/sources.list:
Then run the following commands:
That should build you an updated package for Etch which you can then install with dpkg -i ...
Regards,
Andrew.
eAccelerator
Hi Andrew,
this worked. Thank you.
Regards,
Johannes
apt-get --build source
apt-get --build source php5-eaccleratorMinor typo - should be:
apt-get --build source php5-eacceleratorBut that worked for me as well - thanks.
corrected
Thanks. I've corrected the typo now.
Thanks
Thanks for your packages.
I would prefer using binary packages, but source is working fine, too.
Errors on Etch
Well...after building from source as instructed, things appeared to be working. But something got borked along the way.
Just received reports from my Drupal5 users - searches are now failing. A simple browser window pops up, stating "an error as occurred" - not much help.
I'm searching in the usual places, and the only indicator I found, was in the Apache error log - bunches of these, which coincide with searches:
[Sat Nov 01 15:30:28 2008] [notice] child pid 18513 exit signal Segmentation fault (11)Removing php5-eaccelerator resolves the issue, but that's obviously not ideal.
I'm a bit out of my league here - any troubleshooting tips?
Etch, fully updated.
Segfaults
Sometimes you need to empty the eacc cache. I had similar problems, lot of segfaults and deleting everything from /var/cache/eaccelerator helped.
binaries for php5*eth13
if it's that easy, can you pleeease create and publish the .deb file (for patched php5...eth13) for us, who does not have compilers and such things installed on servers we manage? :-)
thank you a lot for your time!
Tom
Sorry, no I can't
Sorry, but since I left Catalyst I no longer have access to a range of build servers on different releases, and am just left with the one server running Lenny, and my laptop, running Sid.
Cheers,
Andrew.
Building the eAccelerator packages
Hi Andrew,
thanks for your debian packages.
I've downloaded and installed the packages as mentioned above.
But it seems the source is not 9.5.3 , because I've now problems with the eaccelerator (Fatal error: Cannot access protected property).
I'm pretty sure this error is already fixed in version 9.5.1.
Cheers,
stelio