Installing DBD::Oracle on HP/UX
Installing DBD::Oracle on HP/UX
am 05.04.2006 19:32:34 von sigzero
I just inherited a couple of HP servers that I now have to admin. My
'root' account does not have have ORACLE HOME set since we have an
ORACLE user that has that env variable set. The error is after my sig.
I tried it as ORACLE but it cannot write to the .cpan repository so it
errors out.
How would I do this?
Robert
sing DBI 1.50 (for perl 5.008007 on PA-RISC1.1-thread-multi) installed
in /opt/perl_32/lib/site_perl/5.8.7/PA-RISC1.1-thread-multi/aut o/DBI/
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
The ORACLE_HOME environment variable must be set.
It must be set to hold the path to an Oracle installation directory
on this machine (or a machine with a compatible architecture).
See the README.clients file for more information.
ABORTED!
Running make test
CPAN: YAML loaded ok
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
TIMB/DBD-Oracle-1.16.tar.gz : writemakefile NO
'/opt/perl_32/bin/perl Makefile.PL' returned status 512
Re: Installing DBD::Oracle on HP/UX
am 05.04.2006 22:26:20 von Alexander
login as oracle user
execute -> env | grep ORACLE_HOME
remember value
logout
login as root
execute -> ORACLE_HOME=/whatever/you/saw/a/few/seconds/ago
execute -> export ORACLE_HOME
execute -> perl -MCPAN -e "install 'DBD::Oracle'"
Alexander
On 05.04.2006 19:32, Robert Hicks wrote:
> I just inherited a couple of HP servers that I now have to admin. My
> 'root' account does not have have ORACLE HOME set since we have an
> ORACLE user that has that env variable set. The error is after my sig.
>
> I tried it as ORACLE but it cannot write to the .cpan repository so it
> errors out.
>
> How would I do this?
>
> Robert
>
> sing DBI 1.50 (for perl 5.008007 on PA-RISC1.1-thread-multi) installed
> in /opt/perl_32/lib/site_perl/5.8.7/PA-RISC1.1-thread-multi/aut o/DBI/
>
> Configuring DBD::Oracle ...
>
> >>> Remember to actually *READ* the README file!
> Especially if you have any problems.
>
> The ORACLE_HOME environment variable must be set.
> It must be set to hold the path to an Oracle installation directory
> on this machine (or a machine with a compatible architecture).
> See the README.clients file for more information.
> ABORTED!
> Running make test
> CPAN: YAML loaded ok
> Make had some problems, won't test
> Running make install
> Make had some problems, won't install
> Failed during this command:
> TIMB/DBD-Oracle-1.16.tar.gz : writemakefile NO
> '/opt/perl_32/bin/perl Makefile.PL' returned status 512
>
--
Alexander Foken
mailto:alexander@foken.de http://www.foken.de/alexander/
Re: Installing DBD::Oracle on HP/UX
am 05.04.2006 23:41:07 von sigzero
Alexander Foken wrote:
> login as oracle user
> execute -> env | grep ORACLE_HOME
> remember value
> logout
> login as root
> execute -> ORACLE_HOME=/whatever/you/saw/a/few/seconds/ago
> execute -> export ORACLE_HOME
> execute -> perl -MCPAN -e "install 'DBD::Oracle'"
>
> Alexander
>
Thank you very much!
Robert
Re: Installing DBD::Oracle on HP/UX
am 01.05.2006 20:07:02 von sigzero
Alexander Foken wrote:
> login as oracle user
> execute -> env | grep ORACLE_HOME
> remember value
> logout
> login as root
> execute -> ORACLE_HOME=/whatever/you/saw/a/few/seconds/ago
> execute -> export ORACLE_HOME
> execute -> perl -MCPAN -e "install 'DBD::Oracle'"
>
> Alexander
>
/10general.t 255 65280 33 66 200.00% 1-33
t/30long.t 255 65280 470 940 200.00% 1-470
t/31lob.t 255 65280 2 4 200.00% 1-2
14 tests and 9 subtests skipped.
Failed 3/19 test scripts, 84.21% okay. 505/519 subtests failed, 2.70% okay.
*** Error exit code 255
Stop.
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
It tried to connect with the scott/tiger thing on a lot of tests...and
they fail (of course).
Robert
Re: Installing DBD::Oracle on HP/UX
am 02.05.2006 10:19:45 von hjp
--1ccMZA6j1vT5UqiK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2006-05-01 14:07:02 -0400, Robert Hicks wrote:
> It tried to connect with the scott/tiger thing on a lot of tests...and th=
ey=20
> fail (of course).
You can tell the testsuite to use a different user by setting the
ORACLE_USERID environment variable. E.g.,
export ORACLE_USERID=3Dhicks/yourpassword@some_instance
The user needs the privilege to connect (of course) and create tables,
indexes, etc, but no special admin privileges.
hp
--=20
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@wsr.ac.at | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users
--1ccMZA6j1vT5UqiK
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iQDQAwUBRFcWIVLjemazOuKpAQJm8wXSAsTS0uDmFq10rTYd3cpSe9gdYr8x iVyv
aLaW532kcbrBfbfgwbtAurUujTT1a2KCYbQmOJpjmfwRL2CFiS7FLZHsx7Bu Mrs3
yroVP2Hdsae834bRm4pC6yGgrrAQBlR/Sv8jdMTcVS46mQ9ZO+JlcBArxSFX Z02j
+cYxtGQ0G1ccHmlhbzKWikOG6eeCq5eNijghA24nT7puCebVvz1Jg62ycsI0 4jNX
dSPiYIB+UpjLhVaaZsy3nPjiXw==
=lrWx
-----END PGP SIGNATURE-----
--1ccMZA6j1vT5UqiK--
Re: Installing DBD::Oracle on HP/UX
am 02.05.2006 21:02:46 von sigzero
Peter J. Holzer wrote:
> On 2006-05-01 14:07:02 -0400, Robert Hicks wrote:
>> It tried to connect with the scott/tiger thing on a lot of tests...and they
>> fail (of course).
>
> You can tell the testsuite to use a different user by setting the
> ORACLE_USERID environment variable. E.g.,
>
> export ORACLE_USERID=hicks/yourpassword@some_instance
>
> The user needs the privilege to connect (of course) and create tables,
> indexes, etc, but no special admin privileges.
>
> hp
>
If I know that I am going to be running it under the correct user with
the correct environment...can I force the install and be done with it?
Robert
Re: Installing DBD::Oracle on HP/UX
am 03.05.2006 15:21:39 von hjp
--Z/kiM2A+9acXa48/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2006-05-02 15:02:46 -0400, Robert Hicks wrote:
> Peter J. Holzer wrote:
> >On 2006-05-01 14:07:02 -0400, Robert Hicks wrote:
> >>It tried to connect with the scott/tiger thing on a lot of tests...and =
they=20
> >>fail (of course).
> >You can tell the testsuite to use a different user by setting the
> >ORACLE_USERID environment variable. E.g.,
> >export ORACLE_USERID=3Dhicks/yourpassword@some_instance
> >The user needs the privilege to connect (of course) and create tables,
> >indexes, etc, but no special admin privileges.
> If I know that I am going to be running it under the correct user with th=
e=20
> correct environment...can I force the install and be done with it?
Personally, I would not install DBD::Oracle on an HP-UX box without
testing it first.=20
hp
--=20
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@wsr.ac.at | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users
--Z/kiM2A+9acXa48/
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iQDQAwUBRFiuY1LjemazOuKpAQJZ1AXUC7M3PzNLuQOh0SrH2JWxmdXjaBo5 w4sJ
MLVz9LKKdQtaNEulkuc4LyOFq7gl2IIlMo5cXTD8qdW/RDL7ovG5siWb8Gr+ btgZ
1MI9//NYzdn8hQFMZPKhM50lRarNGjV9nLcG/dZK2toVpML/HNVbFb2gAOwK Tp0m
O4s0qGh1cKzsJULoidkPWftVZ5fp7PA5bJYj2mRzgXV4VWFv3Mjzvd1dB6o2 Vx1X
4ix9hCWaQGUBrdM8wPTtl6H0JA==
=+frH
-----END PGP SIGNATURE-----
--Z/kiM2A+9acXa48/--