If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Stored procedure error: System command cannot be executed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-02, 03:22
stanleychong stanleychong is offline
Registered User
 
Join Date: Dec 2001
Location: hk
Posts: 1
Post Stored procedure error: System command cannot be executed

Dear all,

I have written a stored procedure to write a file to a certain path using the "system" command, which operates in the solaris environment.

I have confirmed that both the informix and my ID is able to write files directly into the path, i.e. by typing "echo 123 > file.txt", but when i
execute the stored procedure in dbaccess, it returns an error
"System command cannot be executed", "Not owner".

Any solutions?

Stanley
Reply With Quote
  #2 (permalink)  
Old 03-26-02, 07:10
townscream townscream is offline
Registered User
 
Join Date: Mar 2002
Posts: 19
please , show us your username in the passwd file
and also ls -l output from directory and other files
in the directory you are trying to write to
Reply With Quote
  #3 (permalink)  
Old 04-01-02, 15:06
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Have you tried to blanket the permissions (777) in Unix ? Also, just try something simple like copying a file using absolute paths.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On