|
| Netware/Perl/Apache versions |
 |
Thu, 13 Apr 2006 09:50:41 GMT |
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
**************************
|
| Post Reply
|
| Re: Netware/Perl/Apache versions |
 |
Thu, 13 Apr 2006 12:08:08 GMT |
Hi Chris,
Chris Harwood<Chris@BroadcastCSL.co.uk> wrote in
news:R9p%f.425$Gd5.69@prv-forum2.provo.novell.com:
> 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.
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 ...
|
| Post Reply
|
| Re: Netware/Perl/Apache versions |
 |
Thu, 13 Apr 2006 14:22:10 GMT |
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
>>> Guenter<devforums@novell.com> 13/04/2006 13:08:08
>>>
Hi Chris,
Chris Harwood<Chris@BroadcastCSL.co.uk> wrote in
news:R9p%f.425$Gd5.69@prv-forum2.provo.novell.com:
> 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.
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.
|
| Post Reply
|
| Re: Netware/Perl/Apache versions |
 |
Thu, 13 Apr 2006 16:23:21 GMT |
Hi Chris,
Chris Harwood<Chris@BroadcastCSL.co.uk> wrote in
news:m8t%f.604$Gd5.6@prv-
forum2.provo.novell.com:
> 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.
|
| Post Reply
|
| Re: Netware/Perl/Apache versions |
 |
Thu, 13 Apr 2006 16:31:42 GMT |
Hi Chris,
Chris Harwood<Chris@BroadcastCSL.co.uk> wrote in
news:m8t%f.604$Gd5.6@prv-
forum2.provo.novell.com:
>> 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.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|