Archive for January of 2006

File under: so, the DHCP doesn't quite work?

January 12, 2006
With the ol' Linux box running over WiFi I ran into a problem I'd suspected was either down to the laptop or the access point. This meant it was the Netgear DG834g v2 - So I dropped Netgear a support question about it:
If I transfer any large file (larger than, say 20mb) from the wired PC to either of the other machines (or vice versa) the transfer will always fail over my LAN when using MS networking. If I use an FTP connection to the Fedora machine, the transfer will sometimes fail.

Their reply:
Regarding your concern, please assign static IP with DNS addresses to all your computers.

Soooo... I assume this means the router's DCHP, which is supposed to assign IPs (fixed, in my case by MAC), doesn't quite cut it...

Mildly annoying

January 04, 2006
We have several servers running various versions of Apache and PHP. When one or other of them needs to be upgraded, I can't seem to think of a way to do it without losing the server for a while. The problem is that PHP needs to be compiled against an installed Apache, and a newly upgraded Apache throws errors if the existing PHP module is not compiled against it.

This means that, when you make install the newly compiled upgrade of Apache, you get a bunch of these in the error_log whilst the server refuses to serve:
[Wed Jan  4 12:08:59 2006] [notice] child pid 25162 exit signal Segmentation fault (11)

But only now can you compile PHP and install it, and then restart Apache.

You can shut down the server during this of course, but that puts you with a broken site for a bit...

Update: reading helps razz I found out to compile mod_perl using apxs. Also played around with mod_ssl - $300 for a certificate! Oi vey...

Of modules and ordering...

January 03, 2006
Installing PHP SAPI module:       apache
[activating module `php4' in /usr/local/apache.live/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache.live/libexec/libphp4.so
chmod 755 /usr/local/apache.live/libexec/libphp4.so
cp /usr/local/apache.live/conf/httpd.conf /usr/local/apache.live/conf/httpd.conf.bak
cp /usr/local/apache.live/conf/httpd.conf.new /usr/local/apache.live/conf/httpd.conf
rm /usr/local/apache.live/conf/httpd.conf.new
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
requires package `XML_RPC' >= 1.4.0
[PEAR] PEAR: PEAR: Dependencies failed

[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] XML_RPC        - upgraded:  1.4.0