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 procedures trace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-17-04, 03:39
lunamit lunamit is offline
Registered User
 
Join Date: May 2004
Posts: 3
Angry stored procedures trace

Hi!

I have a problem. My informix server(Informix Dynamic Server Version 7.31) is installed on linux Red hat 8.0 (2.4.18-14). My application is running on SCO Unix(SCO_SV 3.2 2 i386).

If I set trace on in stored procedure, I get error in app.
"
Program stopped at "nad_zaj.4gl", line number 1718.,,,,,,,,,,,,,,,,,,,,,,,,,,,,
SQL statement error number -648.
Cannot open DEBUG file for stored procedure trace.
SYSTEM error number -2.
No such file or directory
"

Does anyone know how to solve this problem, becouse it is annoying to write stored procedures without trace.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-17-04, 06:43
jh1213 jh1213 is offline
Registered User
 
Join Date: Jul 2003
Location: Beijing China
Posts: 36
-648 Cannot open DEBUG file for SPL routine trace.

An error occurred trying to open DEBUG trace file. This error can occur
when one of the directories in the specified debug file name does not
exist, or the directory is write protected. Check that the directory
path is valid and that group informix can write to the directory.


-2 No such file or directory.

An operating-system error code with the meaning shown was unexpectedly
returned to the database server. Look for other operating-system error
messages that might give more information.

Suggest you check the trace file path and use "informix" account access server.
__________________
MSN:jianghua1213@hotmail.com
Beijing China
http://www.91talk.net
http://www.91talk.com
Reply With Quote
  #3 (permalink)  
Old 05-17-04, 09:38
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
Check the permisions on the file that the path is pointing to
Reply With Quote
  #4 (permalink)  
Old 05-17-04, 10:09
lunamit lunamit is offline
Registered User
 
Join Date: May 2004
Posts: 3
Thank you for prompt reply!

But this is not the sollution. A have created directories on both server with all permisions, then set log file and path to this directory but it doesn work.

If I run application on linux, then trace works fine. It looks like there is some problem between linux-SCO

PS: Changing app. server is not an option
Reply With Quote
  #5 (permalink)  
Old 05-18-04, 02:24
jh1213 jh1213 is offline
Registered User
 
Join Date: Jul 2003
Location: Beijing China
Posts: 36
Use hosts.equiv in Linux machine
__________________
MSN:jianghua1213@hotmail.com
Beijing China
http://www.91talk.net
http://www.91talk.com
Reply With Quote
  #6 (permalink)  
Old 05-18-04, 10:05
lunamit lunamit is offline
Registered User
 
Join Date: May 2004
Posts: 3
What do I do with it.

I have allready put the name of server in /etc/hosts.equiv on both servers (unix and linux).

Stored procedures are working fine, only trace doesn't work.
Reply With Quote
  #7 (permalink)  
Old 05-18-04, 21:25
jh1213 jh1213 is offline
Registered User
 
Join Date: Jul 2003
Location: Beijing China
Posts: 36
I use dbaccess tool test the trace between Linux's IDS7.31UD6 and Windows2000's IDS9.40TC2,no problem.
The procedure's trace file come into being $HOME of connect user.
__________________
MSN:jianghua1213@hotmail.com
Beijing China
http://www.91talk.net
http://www.91talk.com
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