Due to the fact that I can't tell if you have made any changes to your
Oracle server let alone what the password is for it you will have to
configure the Oracle server by hand.

There is a file called oracle_create.sql in this directory
(horde/scripts/database) that all you have to do is import that into your
Oracle database.

If you make changes to the name of the database, the manager name or
password, you will need to make the same changes to your
imp/config/defaults.php3 file as well.


Here's some additional notes:


Using Oracle with horde/imp/php

I have installed imp 2.0.11 using Oracle 7.3.4 as my database.

Since the documentation does not go into much detail when using
Oracle and I had some problems until I got it working I would
like to share my experience with you.

1) When installing php follow INSTALL instructions replacing
   --with-mysql BY --with-oracle
   You must also include --with-imap=dir where dir is location
   of certain imap source files (I had some trouble here, had
   to cp some files).
   Make sure you follow the instructions (and understand what
   is happening).

2) Before starting apache (or whatever web server you are using).
   you MUST define $ORACLE_HOME with correct path (don't forget
   this when having apache start up automatically during boot).

   If you don't define and export ORACLE_HOME you will get ORA-12154
   and other Oracle TNS erros with basically translate to
   'I can't find tnsnames.ora' file (it took me many hours to figure
   out what was happening).

3) Create the oracle user hordemgr with password hordemgr, connect to
   same and run the imp script config/scripts/oracle_create.sql

   You can use any oracle user and password (see 4 below).

4) Make sure that the master imp configuration file defaults.php3
   has following lines:

/* database config */
$default->use_db                    = true;
$default->database_driver           = 'oracle';
$default->db_user_name              = 'hordemgr@dbname';
$default->db_password               = 'hordemgr';
$default->db_security_nag           = true;
$default->db_name                   = '';
$default->db_server_name            = '';
$default->db_pref_table             = 'imp_pref';
$default->db_address_table          = 'imp_addr';
$default->db_connect_string         = '';
$default->db_server_port            = '';
$default->db_server_options         = '';
$default->db_server_tty             = '';

Obviously you can/should replace db_user_name with correct
Oracle username and, specially, correct dbname (which MUST BE
the name of your Oracle database as per tnsnames.ora).

db_password is the password for db_user_name and must coincide
with the one asigned in Oracle.

The two table names are the ones created with .sql (item 3 above).

5) These instructions should be valid for Oracle 8.x also.

Michael Ward
mward@aluar.com.ar
