Error -668 on running system calls on NT 
Author Message
 Error -668 on running system calls on NT

Hi,

we're running IDS 7.20 on NT 4.0 SP3.

Out of a stored procedure I try to run a system call.
I.e.
create procedure test ()
SYSTEM 'C:\WINNT\notepad.exe';
end procedure;

executing the procedures gives me the error message
-668 System command cannot be executed

In %INFORMIXDIR%\online.log I see the error
System() command in stored procedure
failed.User:informix,Command:C:\WINNT\notepad.exe. Win32 Error :The
client doesn't have a needed privileg.

I granted any rights with
"grant execute on test to public;"

I'm logged in as informix.

Thank you in advance
Oliver Thinnes

Sent via Deja.com http://www.***.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 Error -668 on running system calls on NT

Hi

We've had the same problem on 9.14 and it turned out to be the advanced
user rights that the user Informix had on the NT machine. Try to give
Informix rights to work as part of the operating system and to act as a
system.level token

These things most often is in the releasenotes

regards
Peter Christensen


Quote:
> Hi,

> we're running IDS 7.20 on NT 4.0 SP3.

> Out of a stored procedure I try to run a system call.
> I.e.
> create procedure test ()
> SYSTEM 'C:\WINNT\notepad.exe';
> end procedure;

> executing the procedures gives me the error message
> -668 System command cannot be executed

> In %INFORMIXDIR%\online.log I see the error
> System() command in stored procedure
> failed.User:informix,Command:C:\WINNT\notepad.exe. Win32 Error :The
> client doesn't have a needed privileg.

> I granted any rights with
> "grant execute on test to public;"

> I'm logged in as informix.

> Thank you in advance
> Oliver Thinnes

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Sent via Deja.com http://www.deja.com/
Before you buy.


Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Informix Online on SCO, getting 668 error when running ESQL prog from Stored Proc

2. Error 668: System command cannot be executed

3. 668: System command cannot be executed.

4. System command cannot be executed. (-668)

5. Not owner ,668: system command cannot be executed

6. Anyone... SQLCODE=-668, ISAM error=-1

7. Stored procedures and error message 668

8. Informix error 668

9. -668 error

10. Clipper 5.01: Unrecoverable error 668

11. Running system calls within stored procedures


 
Powered by phpBB® Forum Software