From: Massimo Arnaudo Date: 2002-02-05T04:54:44+09:00 Subject: Re: Test connection InterBase with Apache Hi, In message "Test connection InterBase with Apache" on 02/01/29, Massimo Arnaudo writes: |Perhaps, i have to configure Apache for interbase mod, like the |mod_ruby? I don't think so. Interbase module itself do nothing with Apache. Perhaps something is still wrong in line 16. Can you access the Interbase database from non CGI program with |conn =InterBase::connect('localhost:/htdocs/IB/gbook.gdb','sysdba','masterkey') I suspect database path, password, and maybe user accessibility. matz Hi Matz, i have find your replay from http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb?key=interbase&cginame=namazu.rb&submit=Search&dbname=ruby-talk&max=50&whence=0 I have nor received it from the ml... so i can answer now. I have make this script: #!usr/local/bin/ruby require "interbase" con = InterBase::connect('/home/masarn1/IB/employee.gdb', 'SYSDBA', 'masterkey') and started without problems: masarn1@gull:~> vim proba.rb masarn1@gull:~> now i have modified the script ruby in /usr/local/httpd/cgi-bin/ruby/employee.rb :.! cat /usr/local/httpd/cgi-bin/ruby/employee.rb | grep con conn = InterBase::connect('/home/masarn1/IB/employee.gdb', 'SYSDBA', 'masterkey') But when i launch it i find in /var/log/httpd/error-log the same result... /usr/local/httpd/cgi-bin/ruby/employee.rb:16:in `connect': Unsuccessful execution caused by a system error that precludes (InterBase::Error) successful execution of subsequent statements from /usr/local/httpd/cgi-bin/ruby/employee.rb:16 Massimo -- E impari che puoi davvero sopportare, che sei davvero forte, e che vali davvero. --- --- HomePage: http://spazioweb.inwind.it/arnaudo LinuxGroup: http://lugge.ziobudda.net