Some time ago I posted a message asking how to connect Access-97 database from Solaris. I was adviced to use OpenLink software. I loaded it and eventually was able to test connection to Access from Solaris. Also I was able to query Access db from Solaris using DBI. But I ran into another problem. The same query using CGI failed. Apache log gives a message:
DBI->connect(MainPET) failed: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded (SQL-IM002)(DBD: db_login/SQLConnect err=-1) at /home/local/apache/cgi-bin/process1.cgi line 17 Can't connect to ODBC:MainPET: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded (SQL-IM002)(DBD: db_login/SQLConnect err=-1) [Wed Dec 5 11:28:22 2001] [error] [client 170.223.109.247] Premature end of script headers: /home/local/apache/cgi-bin/process1.cgi It looks like Apache needs something else to make a connection. I would appreciate any help. Leonid.
