[rt-users] RE: 'make initialize-database' giving error while installation
Nathan, Ahalya
Ahalya_Nathan at mudnebr.com
Mon Aug 29 11:10:09 EDT 2005
When I tried to get a way around my problem by giving different
parameters in the configure script, I get the error.
[root at example rt-3.4.1]# ./configure --prefix=/usr/local/rt_dev/rt
--with-db-type=Oracle --with-db-dba=** \
> --with-db-database=example --with-db-rt-user=** --with-db-rt-pass=**
--with-fastcgi --with-oracle
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/local/bin/perl
checking for chosen layout... RT3
configure: error: Please declare the ORACLE_HOME environment variable
[root at example rt-3.4.1]# Please declare the ORACLE_HOME environment
variable
Could someone tell me what I am doing wrong. Thanks in advance.
Regards,
Ahalya
________________________________
From: Nathan, Ahalya
Sent: Monday, August 29, 2005 9:18 AM
To: 'rt-users at lists.bestpractical.com'
Subject: 'make initialize-database' giving error while installation
Hi all,
I am trying to configure RT in my system but it fails when I run the
"make initialize-database' command.
I did the following steps:
[root at example rt-3.4.1]#./configure -prefix=/usr/local/rt_dev/rt
--with-fastcgi -with-oracle
And then ran the following commands:
*********************************************
perl sbin/rt-test-dependencies --with-oracle --with-fastcgi --verbose
perl sbin/rt-test-dependencies --with-oracle --with-fastcgi --install
perl sbin/rt-test-dependencies --with-oracle --with-fastcgi --verbose |
grep MISSING
perl -MCPAN -e 'install MIME::Base64'
perl -MCPAN -e 'install MIME::Entity'
perl -MCPAN -e 'install Log::Dispatch'
perl sbin/rt-test-dependencies --with-oracle --with-fastcgi --install
perl sbin/rt-test-dependencies --with-oracle --with-fastcgi --verbose |
grep MISSING
make install
This installs RT in the directory specified but when I run the make
initialize-database command it gives an error:
root at example rt-3.4.1]#make initialize-database
[root at example rt-3.4.1]# Please specify that user's database password
below. If the user has no database
> password, just press return.
>
> Password:
> DSN component 'example' is not in 'name=value' format at
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux/DBI.pm line 598
> DBI connect('example;port=1522','root',...) failed: Can't connect
using this syntax without specifying a HOST and a SID at
//usr/local/rt_dev/rt/sbin/rt-setup-database line 101
-bash: Please: command not found
-bash: connect: command not found
[root at webtlh01 rt-3.4.1]# Failed to connect to
dbi:Oracle:example;port=1522 as root: Can't connect using this syntax
without specifying a HOST and a SID at
//usr/local/rt_dev/rt/sbin/rt-setup-database line 101, <STDIN> line 1.
> make: *** [initialize-database] Error 255
I did make changes to the RT_SiteConfig.pm to give the database type,
user,password, database, port( I am giving 1522 since 1521 is in use).
Could someone tell me what I am doing wrong.
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050829/11256a1c/attachment.htm>
More information about the rt-users
mailing list