Ingres Community Forums Login Register Ingres.com  

Ingres Community Forum


Go Back   Ingres Community Forums > Ingres Forums > DBA Forum
 

Reply
 
LinkBack Thread Tools Display Modes
Old 2009-06-15   #1 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 9
Default Problem in running sql script

Hi,

I am trying to run a sql script for a database in linux which is owned by a user other than ingres.

Issuing this command from the user -

sql insurancesource /home/osic/Ingres/ingres_script/sourceTables.sql /tmp/Ingres_log.log

Error :

E_LC0001 GCA protocol service (GCA_REQUEST) failure.
Internal service status E_GC0136 -- User provided a server class as part
of the database name (dbname/class), but that server class is not known
to the Name Server..

E_LQ0001 Failed to connect to DBMS session.


Thanks in advance.

Lipika
lrout is offline   Reply With Quote
Old 2009-06-15   #2 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 15
Default

I don't know Linux, only UNIX, so this might be complete nonsense, but, don't you need the redirect signs to read commands in, and output results, to a file.

sql insurancesource < /home/osic/Ingres/ingres_script/sourceTables.sql > /tmp/Ingres_log.log
jackhigh is offline   Reply With Quote
Old 2009-06-16   #3 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 9
Default Thanks

Thanks a lot.It worked...
lrout is offline   Reply With Quote

Reply


Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2009 Ingres Corporation. All Rights Reserved