Discussion:
Netware/Perl/Apache versions
(too old to reply)
Chris Harwood
2006-04-13 09:50:41 UTC
Permalink
Hi folks

I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl 5.
Perl scripts worked on the 1.3 server but I am trying to migrate to using
them on the 2.2.
My conf files had to be amended and I downloaded Perl 5.8.4 to try and keep
up-to-date.
Unfortunately when I call a script from a browser (that accesses MySQL 4)
the server kills the address space saying:
Removed address space because of memory protection violation
Address Space: PERLCGI-0
Reason: Page Fault, Attempt to read from non-present page
Running Thread: Apache_Worker 49

Can anyone give a view on the versions I'm using? Are they compatible?
Unfortunately the installation of Perl 5.8.4 overwrote critical parts of the
previous version so I have nothing working presently.

TIA

Chris Harwood
**************************
Broadcast Computer Systems Ltd
PROVIDING CUSTOM SOLUTIONS
**************************
www.BroadcastCSL.co.uk
Guenter
2006-04-13 12:08:08 UTC
Permalink
Hi Chris,
Post by Chris Harwood
I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl
5. Perl scripts worked on the 1.3 server but I am trying to migrate to
using them on the 2.2.
My conf files had to be amended and I downloaded Perl 5.8.4 to try and
keep up-to-date.
Unfortunately when I call a script from a browser (that accesses MySQL
Removed address space because of memory protection violation
Address Space: PERLCGI-0
Reason: Page Fault, Attempt to read from non-present page
Running Thread: Apache_Worker 49
Can anyone give a view on the versions I'm using? Are they compatible?
Unfortunately the installation of Perl 5.8.4 overwrote critical parts of
the previous version so I have nothing working presently.
the versions should work fine together, and from what I see you use already
perlcgi.nlm; have you tried with a simple script if that works?
http://www.gknw.at/nwperl/perlscripts/env.txt
how have you configured perlcgi?
http://www.gknw.at/nwperl/perlscripts/perlcgi.conf

we recently found an issue with Perl and the NWSEC security stuff;
edit sys:/system/wnsec.ini and set Perl=OFF ...

Guenter.
Chris Harwood
2006-04-13 14:22:10 UTC
Permalink
Thanks for the reply Guenter

The env.pl script works from the console but gives the pageing error when
run from apache via a browser.

I don't have a wnsec.ini anywhere on sys: ! What does it look like?

Chris Harwood
Hi Chris,
Post by Chris Harwood
I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl
5. Perl scripts worked on the 1.3 server but I am trying to migrate to
using them on the 2.2.
My conf files had to be amended and I downloaded Perl 5.8.4 to try and
keep up-to-date.
Unfortunately when I call a script from a browser (that accesses MySQL
Removed address space because of memory protection violation
Address Space: PERLCGI-0
Reason: Page Fault, Attempt to read from non-present page
Running Thread: Apache_Worker 49
Can anyone give a view on the versions I'm using? Are they compatible?
Unfortunately the installation of Perl 5.8.4 overwrote critical parts of
the previous version so I have nothing working presently.
the versions should work fine together, and from what I see you use already

perlcgi.nlm; have you tried with a simple script if that works?
http://www.gknw.at/nwperl/perlscripts/env.txt
how have you configured perlcgi?
http://www.gknw.at/nwperl/perlscripts/perlcgi.conf

we recently found an issue with Perl and the NWSEC security stuff;
edit sys:/system/wnsec.ini and set Perl=OFF ...

Guenter.
Guenter
2006-04-13 16:23:21 UTC
Permalink
Hi Chris,
Post by Chris Harwood
Thanks for the reply Guenter
The env.pl script works from the console but gives the pageing error when
run from apache via a browser.
I don't have a wnsec.ini anywhere on sys: ! What does it look like?
sorry, was a typo - should be 'sys:/system/nwsec.ini'; and content is usually
by default:
[Languages]
NSN=ON
Perl=ON
PHP=ON

after you have changed this file and set the ON to OFF you have to restore it
after every SP install since it gets then ususally overwritten.

Guenter.
Guenter
2006-04-13 16:31:42 UTC
Permalink
Hi Chris,
Post by Chris Harwood
I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl
do you have any post-SP5 updates installed? it is strongly recommended to
install NWLIB6c:
http://www.gknw.at/nwdevnet
also there's a NSS update...

Guenter.
Chris Harwood
2006-04-13 21:15:11 UTC
Permalink
Guenter

The NWLib6c fixed the pageing errors but I'm now stuck with a busted MySQL.
I'll trot off to that list now thanks.

Chris Harwood
Hi Chris,
Post by Chris Harwood
I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl
do you have any post-SP5 updates installed? it is strongly recommended to
install NWLIB6c:
http://www.gknw.at/nwdevnet
also there's a NSS update...

Guenter.
kmurugan
2006-04-17 06:43:25 UTC
Permalink
Hi Chris

Make sure that you have a compatabile pmysql.nlm and libmysql.nlm.

Regards
K.Murugan
Post by Guenter
Guenter
The NWLib6c fixed the pageing errors but I'm now stuck with a busted MySQL.
I'll trot off to that list now thanks.
Chris Harwood
Hi Chris,
Post by Chris Harwood
I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl
do you have any post-SP5 updates installed? it is strongly recommended to
http://www.gknw.at/nwdevnet
also there's a NSS update...
Guenter.
Chris Harwood
2006-04-18 11:22:50 UTC
Permalink
Thanks

It seems they are not compatible and I can't find a libmysql that is. I
would guess that one from v4.1.12 or thereabouts but the archive downloads
on the MySQL site don't work currently.

If I load pmysql at the console it reports can't find public symbols
is_prefix and mysql_get_parameters for PMYSQL.NLM

Now if there were somewhere that said what version would run on NW6SP5 I
might be laughing?

Cheers

Chris Harwood
Hi Chris

Make sure that you have a compatabile pmysql.nlm and libmysql.nlm.

Regards
K.Murugan
Post by Guenter
Guenter
The NWLib6c fixed the pageing errors but I'm now stuck with a busted MySQL.
I'll trot off to that list now thanks.
Chris Harwood
Hi Chris,
Post by Chris Harwood
I have a mixture of Apache 1.3 and 2.2 on my NW6SB SP5 server and Perl
do you have any post-SP5 updates installed? it is strongly recommended to
http://www.gknw.at/nwdevnet
also there's a NSS update...
Guenter.
Guenter
2006-04-18 14:10:52 UTC
Permalink
Hi Chris,
Post by Chris Harwood
It seems they are not compatible and I can't find a libmysql that is. I
would guess that one from v4.1.12 or thereabouts but the archive downloads on the MySQL site don't work currently.
http://www.gknw.at/downl-links.html
just tested and works for me...

well, till now you didnt mention your mysql version; but if you have 4.1.x running on this server then you have already the right libmysql.nlm - all you need is the pmysql.nlm for mysql 4.1.x and your Perl version; for that look at the Novell Perl Forge page:
http://forge.novell.com/modules/xfcontent/downloads.php/perl/Modules/MySQL%204.1/
check your Perl version from console with 'perl -v' and then fetch the proper module for your version;
probably also a good idea to update to latest (save your current versions! Dont forget the perl.nlm and other stuff in sys:/system!)
Post by Chris Harwood
If I load pmysql at the console it reports can't find public symbols
is_prefix and mysql_get_parameters for PMYSQL.NLM
Now if there were somewhere that said what version would run on NW6SP5 I
might be laughing?
nope, I have also NW6 servers still running...

Guenter.
Chris Harwood
2006-04-18 16:33:50 UTC
Permalink
Guenter

As a result of your link, a new pmysql.nlm sorted it thanks. I'm now on:
MySQL 5.0.20
Perl 5.8.4
Apache 2.2.0
NW6SBS SP5
NWLib6c

YeeHa!
Chris Harwood

Continue reading on narkive:
Loading...