Forum OpenACS Q&A: nsd76 vs nsd8x

Collapse
Posted by Claudio Pasolini on
In an effort to solve the well known charset problem I would try nsd76 instead of nsd8x, but after having changed the symlink to nsd76 I got a fatal error from Aolserver:
Fatal: modload: failed to load module '/usr/lib/nscache.so'
.I'm using RedHat 7.1 + AOLserver/3.2+ad12 + PostgreSQL 7.1 + OpenACS 3.2.5 from Jonathan's RPM.
Is my combo limited to nsd8x or should I use some special config procedure?

TIA,
Claudio Pasolini

Collapse
2: Response to nsd76 vs nsd8x (response to 1)
Posted by S. Y. on
Does the nscache.so module actually exist in the bin directory? For AOLserver 3.2+ad12 and AOLserver 3.3.1+ad13, if you're building from the source tarball, nscache.so, nssha1.so, and nsrewrite.so need to be compiled manually. The Oracle database driver, pgdriver, and other things like nsopenssl also need to be compiled manually. I've never used the RPMs myself.
Collapse
3: Response to nsd76 vs nsd8x (response to 1)
Posted by Claudio Pasolini on
Thank you for answering Sean. Yes, the module exists and simply reversing the symlink to nsd8x all went good:
[02/Dec/2001:16:35:34][5031.1024][-main-] Notice: modload: loading '/usr/lib/postgres.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: PostgreSQL loaded.
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: adp: mapped /*.adp
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nssock.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nslog.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: nslog: opened '/var/log/aolserver/defaultacs.log'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nsperm.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nssha1.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nscache.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: nscache module version @VER@
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nsrewrite.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: modload: loading '/usr/lib/nsxml.so'
[02/Dec/2001:16:35:35][5031.1024][-main-] Notice: nsxml module starting

Claudio Pasolini

Collapse
4: Response to nsd76 vs nsd8x (response to 1)
Posted by Bruno Mattarollo on

Hi Claudio,

Just curious, but why would you use nsd76 instead of nsd8x to solve the charset problem? IIRC nsd76 does not support unicode... At least I know that tcl8 is supposed to solve most of the double byte problems with charsets (like Big-5 and so on).

Collapse
5: Response to nsd76 vs nsd8x (response to 1)
Posted by Claudio Pasolini on
Ciao Bruno,
I would try nsd76 because all other tentatives failed. AFAIK nsd76 should not transform in any way the POSTed variables received from a form and so solve my problem, which actually persists.

Claudio Pasolini