[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Interbase on the Raq 550 + PHP
- Subject: [cobalt-developers] Interbase on the Raq 550 + PHP
- From: "Studds McButt" <studds@xxxxxxxxxxxx>
- Date: Mon Aug 25 22:12:00 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Has anybody succesfully set up this combination. I recently migrated
from a raq4 to the 550, and databases that have been running for years
are now generating an error that says "cannot attach to password
database".
I followed the procedure for enabling Interbase 6.0 set out in the 550
manual, which involves uncommenting the gds_db line in the inetd.conf
file. Then the PHP ibase functions would not work so even though not
mentioned in the manual, I also enabled the PHP ibase funtions by
uncommenting the interbase.so line in the PHP.conf file.
So far so good. I can set users and passwords using gsec from the
command line, and I can open and manipulate databases using EMS
IBmanager. This would suggest that Interbase is running.
But when I try to access a database from PHP, with a command like:
dbh = ibase_connect
("/home/sites/files.domain.com/sqldb/library_catalog_db/LIBRARY_DOCS.GDB
","DBUSER", "password");
I get this error: "Warning: Interbase cannot attach to password
database".
All of the posts I can find on the net deal with Interbase 5 and
earlier, which were not open source, and they refer to the need to enter
licensing information. I don't think this is relevant for Interbase 6,
and the license.dat files are not there in any event.
Has anyone overcome this problem?
Thanks
Ken Waldie
The Media Works
Kingston, Ontario, Canada.