Moved to a new (old) server

I've now moved lots of things to a new (old) server which should be noticeably faster than the old (old) 500MHz PIII-based server. Of course since Etch was released I'm now running on Etch. This also meant an upgrade to PHP 5.2, so I spent some time getting bitten by this bug with Drupal 4.7.4 and PHP 5.2 and had to upgrade to 4.7.6. Consequently there has been a wee bit of bouncing up and down today...

In the process I have also upgraded my packages for eAccelerator so that they would work with Etch. Since Andrew Hutchings had taken them off me and played a bit further I have now taken his packages and built some newer ones, including a patch for 0.9.5 to work with PHP 5.2, and an additional build dependency. My new (old) server is still 32-bit, so these packages are only built for 32-bit as yet. I'm currently trying to find a 64-bit Etch box I can build them on as well, but everyone at work seems to have gone home.

You should be able to fetch them from my package repository by adding it to your sources.list with:

deb http://debian.mcmillan.net.nz/debian etch awm

Naturally that repository is signed with my public key (8f068012), which is in turn signed by lots of people in the Debian community and should be readily identifiable - not that that implies trust, of course :-).

Also, since my new (old) server is in a different location (and to ease the transfer) everything is on a new IP address (and a new IPv6 address). Hopefully the system's accessibility over IPv6 on http://ipv6.geek.nz/ will be slowly improving as we incrementally improve our IPv6 connectivity with the rest of the world.

The rscds .deb packages are gone?

apt-get install rscds
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package rscds

Not missing packages from here...

Hi,

I can see the packages just fine. Can you e-mail me so we can work out why I can and you can't?

Thanks,
Andrew.

Packages for Ubuntu?

Well, I was trying to build your package for debian on my Ubuntu system, but I get an error when using your repository with "deb-src" instead of just "deb".

Failed to fetch http://debian.mcmillan.net.nz/debian/dists/etch/Release Unable to find expected entry awm/source/Sources in Meta-index file (malformed Release file?)

Anyway, it would be spiffy if you knew what was causing this and/or built some ubuntu packages :)

Sources repository

Sorry about that. I have two different ways of building that repository and syncing it out to my server, and one way wasn't building the sources properly. It seems to work for me now.

Cheers,
Andrew.

lighttp & libapache dependences

Hi,

I have installed your packages in a small server where I'm using lighttpd instead of Apache. Your package depends on libapache2-mod-php5, so apt-get tried to install apache2 as well as many other packages. I feel the dependence is wrong, since you don't need apache2 to benefit from eAccelerator. It'd be far better if you use an or dependence, like the one in Wordpress, for instance. I suppose the package could depend on libapache2-mod-php5 or php5-cgi or php5. Anyway, thanks for the great work.

hi, Now I'm tring to setup

hi,
Now I'm tring to setup DAViCal(rscds) + Lighttpd + PostgreSQL.
and I could setup DAViCal + Apache + PostgreSQL but I couldn't
do it with Lighttpd instead of Apache.

Would you tell me how to setup with lighttpd, please?
here is my httpd.conf.
-------------------------------------
...
...

DocumentRoot /var/www/html/davical
DirectoryIndex index.php index.html
ServerName example.xxxx.co.jp
Alias /images/ /var/www/html/davical/htdocs/images/

DAV on

php_value include_path /usr/share/awl/inc
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value error_reporting "E_ALL & ~E_NOTICE"
php_value default_charset "utf-8"

---------------------------------------

lighttpd setup

Sorry, but I've never used lighttpd so I can't really help.

One thing that looks suspicious is that you have a great big 'DAV on' in the middle of the config above.

I know that on Apache the most regular conflict for DAViCal is when someone accidentally enables mod_dav on the vague belief that "DAViCal must use mod_dav, right?" (it doesn't: DAViCal does all of the DAV stuff internally).

So quite possibly that is your problem right there.

Please post something about your success (or perhaps your failure) to the DAViCal Wiki and / or to the mailing list.

Regards,
Andrew McMillan.

Re:lighttpd Setup

Hi,
Thanks a lots for your reply.
and I'm sorry previous httpd.conf file was typo.

Here is correct one and it works well.
but I sitll want to use lighttpd...
------------------------------------------------
<VirtualHost xxx.xxx.xxx.xxx>
DocumentRoot /var/www/html/davical
DirectoryIndex index.php index.html
ServerName example.sharp.co.jp
Alias /images/ /var/www/html/davical/htdocs/images/
<Location /var/www/html/davical>
DAV on
</Location>
php_value include_path /usr/share/awl/inc
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value error_reporting "E_ALL & ~E_NOTICE"
php_value default_charset "utf-8"
</VirtualHost>
--------------------------------------------------

anyway, I'll check wiki and mailing list.

thanks, Hiroshi HARA.

lighttp and other ways to use PHP5

That is an excellent point!

I have now changed the dependency to php5-common, which surely must be present at that version regardless of how you are running PHP5.

Cheers,
Andrew McMillan.

fast!

wow, that was fast! I've got the new packages installed, no dependences problem.

Thanks,
Félix

eAccelerator

I'm probably doing something wrong, but Synaptic Package manager tells me:

php5-eaccelerator:
Depends: php5-common (=5.2.0-8+etch4) but 5.2.1-0ubuntu1.2 is to be installed

which is says is an unresolvable dependency. Maybe it is because the current
php5 Ubuntu package is 5.2.1?

Building Your Own Packages

Yes, these eaccelerator packages are built for Debian Etch. If you want to use them on Ubuntu you will need to use the source packages and build your own. That's not particularly hard, and I've written some instructions here:

http://andrew.mcmillan.net.nz/node/70#comment-266

Good luck!

[D] [Digg] [FB] [R] [SU] [Tweet]