Re: All tests fail for any other than user 'oracle'



On 2008-01-15 16:29:39 -0600, Michael Muratet wrote:
I installed the Oracle Instant Client packages by rpm back in December. Because
of the install or more likely coincidentally I had problems with corruption of
the system files of the database. The database was empty at the time and I
simply rebuilt it.

I am trying now to get DBD::Oracle working. The DBI install came off without a
hitch. The DBD perl build and the make worked OK (logs are at the end). The
first attempt at testing failed. I recalled something I had read about file
permissions and the user 'oracle'. I logged in as oracle and all the tests were
successful. sqlplus works but only for user oracle.

Are you sure you are using the instant client and not an oracle server
installation on the same machine? I am asking for two reasons:

1) For some time now an Oracle database *server* installation includes
all the client libraries and tools (sqlplus, etc.), but the
permissions are set so that only the oracle user (or maybe the dba
group) can use them. This sounds exactly like your problem.
(I am not sure why Oracle did this - maybe they want to encourage
people to separate server and client installations even if they are
on the same machine - anyway, there is a script to "soften" the
permissions).

2) You said you corrupted the system files of the database and rebuilt
it. Since it is extremely unlikely that installing a software on
one host will damage software on a different host, I conclude that
your database and the Instant Client packages are installed on the
same machine - so you need to be careful to set the environment to
point to the right installation.

hp

--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@xxxxxxxxx | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users

Attachment: pgpY681QGcphD.pgp
Description: PGP signature



Relevant Pages

  • Tremendous Oracle eroor
    ... alter system register database; ... I think it must be a tremendous Oracle error, ... basic installation, no pre installation warnings, nothing!). ... Have you checked the alert log for the database instance or the ...
    (comp.databases.oracle.server)
  • Re: Trace Files and Alert Logs Filling Up Hard Drive
    ... I'm not using DataGuard or Standby database. ... odd to me that I would be the first one to find this installation bug ... installed Oracle and all the defaults when I created the database. ...
    (comp.databases.oracle.server)
  • Re: Installation of Oracle 9i personal editions for windows xp
    ... About 2 months ago I installed Oracle 9i personal edition on my laptop ... That indicates that the database is not available through the method you ... and your database service are running. ... installation, I would like to say, I did that. ...
    (comp.databases.oracle.misc)
  • Re: How to upgrade a DB from 9.2.0.1 to 9.2.0.7 ???
    ... Did you run the post installation scripts against the database, as listed in the readme for the patch? ... OLAP and Oracle Data Mining options JServer Release 9.2.0.7.0 - Production ... exporting foreign function library names for user ME ...
    (comp.databases.oracle.server)
  • Re: 11g - ORA 12154 error after installation of ODAC1110610beta
    ... Database was successfully created and was accessible from SQLPlus, ... everything worked fine until the last ODAC was installed. ... Your path setting probably list the ODAC installation directory ... Oracle Ace Director & Instructor ...
    (comp.databases.oracle.tools)