08-May-2008

PHP ECO2 problem solved
One of the suggestions on the ITRC was to use the undocumented SET WATCH FILE facility to find out what exactly was loaded. As it turned out, there was definitively something wrong in loading the PHP extensions. Whatever I tried, it always stopped at some point – after loading the first or second. It didn’t matter what I left in, or out, I always got the ACCVIO error.
This is the log I kept of these tests.

To keep all information into one file, I created a small test procedure to be run in batch, producing lots of output but having all data at hand in one logfile. One action taken was examining the link date of every executable:

$loop1:
$ f = f$search("PHP_ROOT:[extensions]*.EXE;1")
$ if f .eqs. "" then goto loop1end
$ write sys$output 'f'PHP_ROOT:[extensions]*.EXE;1
$ pipe analyze/image 'file' | search sys$pipe link
$ goto loop1
$loop1end:

PHP_ROOT:[extensions]*.EXE;1 would be the old PHP version, and PHP_ROOT:[extensions]*.EXE;2 the new one.
Drytesting the analysis in a simple test on the CLI-prompt – on both the old and new versions – revealed the dates were 100% equal. Comparing the files reveled NO DIFFERENCES….Something has gone wrong in setting up the environment!

Next, I checked the newly installed version in the Apache environment – and found there were new versions of every extension available, dated on the same date as the PHP and PHPSHR they belonged to: 3-Apr-2008, where the working environment only contained the ECO1 routines, dated 26-Sep-2006. Excepot for the module I built myself, of course.

So I copied all new files, reset the test environment to run the ECO-2 PHP executables, and behold: IT WORKED. So the problem was solved – so far. Next was of course renaming the new versions to become the valid ones, and just test the blog to run. It did – and so I entered this entry using ECO2.

The only problem that might occur is that the MySQL module used is built against the old PHPSHR. Reading the database was found not to cause a problem, and because saving the draft doesn’t moan either. write access is no problem either.

So it might well work. Publishing now….

Update
It does. Good news!

Next: admit the error on ITRC…

What I’ll do in the next update: Keep the PHP environment in the Apache location and run it from there. It would have prevented these problems. Or: In case of a new version, set PHP_ROOT to the Apache installation directory, in case of error change it back to the WASD environment. It means I still need to copy the files form [BIN] and [EXTENSIONS] to the WASD environment BEFORE updating PHP. But that is a way I have walked before.

From China

…with love?
You MUST be desparate to get in contact knocking on the wrong door that often…..

The FTP log shows a massive amount (probably by some bot) trying to access the system over FTP:

%TCPIP-I-FTP_SESCON, FTP SERVER: session connection from 211.155.129.201 at 6-MAY-2008 11:33:49.27
%TCPIP-E-FTP_LOGFAL, remote interactive login failure Administrator
-TCPIP-I-FTP_NODE, client host name: 211.155.129.201
-LOGIN-F-NOSUCHUSER, no such user

and it goes on, and on, and on…: Hundreds of entries.
No answer. Of course not. It might work on a Windows box. This one isn’t 😀

I don’t even HEAR you knocking 👿

The address resides in China:

% [whois.apnic.net node-2]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html

inetnum: 211.155.128.0 - 211.155.143.255
netname: HDBMAN
country: CN
descr: Haidian District, Beijing, China 100086
admin-c: LH43-AP
tech-c: HL2-AP
status: ALLOCATED PORTABLE
changed: shenzhi@cnnic.cn 20050629
changed: ipas@cnnic.net.cn 20050711
mnt-by: MAINT-CNNIC-AP
source: APNIC

...
inetnum: 211.155.128.0 - 211.155.143.255
netname: HDBMAN
country: CN
descr: Beijing Haidian Broadcast & TV Netowrk Information Co. Ltd
descr: Haidian District, Beijing, China 100086
admin-c: LH43-CN
tech-c: HL2-CN
status: ALLOCATED PORTABLE
mnt-by: MAINT-CNNIC-AP
mnt-lower: MAINT-CN-HDBMAN
changed: shenzhi@cnnic.cn 20050629
changed: ipas@cnnic.net.cn 20050711
changed: ipas@cnnic.net.cn 20051102
source: CNNIC
...

I don’t think it feasable to complain for this single event. Or drop by: I’ll there this weekend, but I doubt it will come ever near this place.

Google keeps trying
once in a while:
%TCPIP-I-FTP_SESCON, FTP SERVER: session connection from crawl-66-249-73-115.googlebot.com at 7-MAY-2008 19:49:19.30
%TCPIP-I-FTP_NODE, client host name: crawl-66-249-73-115.googlebot.com
%TCPIP-I-FTP_USER, user name: anonymous
%TCPIP-I-FTP_OBJ, object: perl
%TCPIP-I-FTP_CHINFO, TCPIP$FTPC0001F: Failed to set default directory
%TCPIP-E-FTP_BADDIR, invalid directory
%TCPIP-I-FTP_USER, user name: anonymous
%TCPIP-I-FTP_SESDCN, FTP SERVER: session disconnection from crawl-66-249-73-115.googlebot.com at 7-MAY-2008 19:49:20.98

which is obvious since this directory and it’s (outdated) contents have been removed some time ago. And anonymous PTF is no longer on the webpages that Google is allowed to crawl. IS google accessing based on “memory”?