Groups > Novell > Perl for NetWare > Re: Error running a system call to perl using --noscreen switch




Error running a system call to perl using --noscreen switch

Error running a system call to perl using --noscreen switch
Thu, 23 Nov 2006 15:00:56 GMT
Hi,

I've a modified perl script that automates the management of user quotas 
on certain volumes (it adds 50MB to the user quota when they have less 
than 10MB left).
The volumes are clustered, so can reside on any of three nodes.
I've created a calling script that runs on each node nightly, that 
checks the _ADMIN:volumes for volume presence before running the quota 
management script.
The problem I have is, that when I try to call the quota management 
script using the --noscreen switch I get the following error:-
"Error unloading killed loadable module (LIBPERL.NLM) Perl 5.8.4 - 
Script Interpreter and Library".

The command run from the initial script is
# Prepare the command and arguments for system call
@args =
("perl","--noscreen","$path\\$qscript","$serv
er","$volume");
# Run the quota management script for this volume
system(@args);

The scripts run without problems when the "--noscreen" argument is
left 
out - I'm just left with the unclosed perl windows.

Any suggestions much appreciated.
Regards,
Post Reply
Re: Error running a system call to perl using --noscreen switch
Thu, 23 Nov 2006 16:51:32 GMT
Hi,

Gar <g.king@macaulay.ac.uk> wrote in news:IIi9h.1402$jS4.666@prv-
forum2.provo.novell.com:

> Hi,
> 
> I've a modified perl script that automates the management of user quotas 
> on certain volumes (it adds 50MB to the user quota when they have less 
> than 10MB left).
> The volumes are clustered, so can reside on any of three nodes.
> I've created a calling script that runs on each node nightly, that 
> checks the _ADMIN:volumes for volume presence before running the quota 
> management script.
> The problem I have is, that when I try to call the quota management 
> script using the --noscreen switch I get the following error:-
> "Error unloading killed loadable module (LIBPERL.NLM) Perl 5.8.4 - 
> Script Interpreter and Library".
> 
> The command run from the initial script is
> # Prepare the command and arguments for system call
> @args =
("perl","--noscreen","$path\\$qscript","$serv
er","$volume");
> # Run the quota management script for this volume
> system(@args);
> 
> The scripts run without problems when the "--noscreen" argument
is left 
> out - I'm just left with the unclosed perl windows.
I would try:
@args = ("perl
--noscreen","$path\\$qscript","$server","$volume&q
uot;);

Post Reply
Re: Error running a system call to perl using --noscreen switch
Fri, 24 Nov 2006 08:47:10 GMT
That worked a treat Guenter.
Many Thanks,
Gar.

Guenter wrote:
> Hi,
> 
> Gar <g.king@macaulay.ac.uk> wrote in news:IIi9h.1402$jS4.666@prv-
> forum2.provo.novell.com:
> 
> 
>>Hi,
>>
>>I've a modified perl script that automates the management of user quotas

>>on certain volumes (it adds 50MB to the user quota when they have less 
>>than 10MB left).
>>The volumes are clustered, so can reside on any of three nodes.
>>I've created a calling script that runs on each node nightly, that 
>>checks the _ADMIN:volumes for volume presence before running the quota 
>>management script.
>>The problem I have is, that when I try to call the quota management 
>>script using the --noscreen switch I get the following error:-
>>"Error unloading killed loadable module (LIBPERL.NLM) Perl 5.8.4 -

>>Script Interpreter and Library".
>>
>>The command run from the initial script is
>># Prepare the command and arguments for system call
>>@args =
("perl","--noscreen","$path\\$qscript","$serv
er","$volume");
>># Run the quota management script for this volume
>>system(@args);
>>
>>The scripts run without problems when the "--noscreen"
argument is left 
>>out - I'm just left with the unclosed perl windows.
> 
> I would try:
> @args = ("perl
--noscreen","$path\\$qscript","$server","$volume&q
uot;);
> 
Post Reply
about | contact