|
From: Michael S. <msa...@pc...> - 2005-08-11 17:14:07
|
Ok:
DbiDsn should be:
DbiDsn=dbi:Pg:dbname=myfirst
Try that and see if it works.
--Mike
On 8/11/05 1:12 PM, "Chenhong Zhang" <cz...@da...> wrote:
> Thanks for the reply Mike. Here is the gus.config, myfirst is the
> database name
>
> dbVendor=postgres
> dbiDsn=dbi:Pg:myfirst
> jdbcDsn=jdbc:postgresql://10.101.0.34/myfirst
>
> # Login and Password to the RDBMS
>
> databaseLogin=postgres
> databasePassword=**
>
> # Username, group, and project info from the relevant Core tables
>
> userName=dba
> group=dba
> project=Database administration
>
> tablespace=GUS
>
> ####### install.prop
>
> # Path to Perl Executable
> perl=/usr/bin/perl
>
> ####### GUS-PluginMgr.prop
>
> # Path to MD5 Executable
> md5sum=/usr/bin/md5sum
>
> -----------------------------------------------------------------------
>
>
> thanks.
>
> chenhong
>
>
>
>
> On Aug 11, 2005, at 12:02 PM, Michael Saffitz wrote:
>
>>
>> Hello,
>>
>> It looks like your database connection string is improperly
>> specified. Can
>> you send the dbiDsn and jdbcDsn settings from your
>> $PROJECT_HOME/install/gus.config file?
>>
>> Thanks,
>>
>> Mike
>>
>>
>> On 8/11/05 11:49 AM, "Chenhong Zhang" <cz...@da...>
>> wrote:
>>
>>
>>> Hi All,
>>>
>>> My database connection problem from yesterday got solved. Thanks to
>>> Mike Chaplin for the kind help (TCP connection problem). Now I got an
>>> error in generating Perl Objects. The end of this email is the
>>> output of build.
>>>
>>> I browsed through the mailing list for this kind of problem and found
>>> Kumar Sanjeev had similar problem before. Sanjeev, if you happen to
>>> see this posting, could you lend me some help to solve this problem?
>>> Thanks.
>>>
>>>
>>> here are more config info that might help:
>>>
>>> postgres@lnx-bb4:~> which generateGusObjects
>>> /home/postgres/GUS/gus_home/bin/generateGusObjects
>>> postgres@lnx-bb4:~> echo $PROJECT_HOME
>>> /home/postgres/GUS/project_home
>>> postgres@lnx-bb4:~> echo $GUS_HOME
>>> /home/postgres/GUS/gus_home
>>> postgres@lnx-bb4:~> echo $PATH
>>> /home/postgres/GUS/gus_home/bin:/home/postgres/GUS/project_home/
>>> install/bin:/home/postgres/bin:/usr/local/bin:/usr/bin:/usr/X11R6/
>>> bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/sbin:/usr/local/
>>> pgsql/bin/:/usr/local/ant/bin:.
>>>
>>> can someone give me some help on this.
>>>
>>> regards,
>>>
>>> chenhong zhang
>>>
>>> -----output from "build GUS install -append -installDBSchema----
>>> [echo] Installing GUS/ObjRelP
>>> [copy] Copying 3 files to /home/postgres/GUS/gus_home/bin
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> ObjRelP
>>> [copy] Copying 18 files to /home/postgres/GUS/gus_home/lib/
>>> perl/
>>> GUS/ObjRelP
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/doc/GUS/ObjRelP
>>> [copy] Copying 3 files to /home/postgres/GUS/gus_home/doc/GUS/
>>> ObjRelP
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/Core
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/DoTS
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/RAD
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/SRes
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/TESS
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/PROT
>>> [mkdir] Created dir: /home/postgres/GUS/gus_home/lib/perl/GUS/
>>> Model/Study
>>> [echo] generating Perl Objects
>>> [exec] GUS::ObjRelP::DbiDbHandle connect('test','postgres',...)
>>> failed: missing "=" after "test" in connection info string
>>> [exec] at /home/postgres/GUS/gus_home/lib/perl/GUS/ObjRelP/
>>> DbiDatabase.pm line 165
>>> [exec] Can't bless non-reference value at /home/postgres/GUS/
>>> gus_home/lib/perl/GUS/ObjRelP/DbiDbHandle.pm line 21.
>>>
>>> BUILD FAILED
>>> /home/postgres/GUS/project_home/install/build.xml:28: The following
>>> error occurred while executing this line:
>>> /home/postgres/GUS/project_home/GUS/build.xml:225: exec returned: -1
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF.Net email is Sponsored by the Better Software Conference & EXPO
>>> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
>>> Practices
>>> Agile & Plan-Driven Development * Managing Projects & Teams *
>>> Testing & QA
>>> Security * Process Improvement & Measurement * http://www.sqe.com/
>>> bsce5sf
>>> _______________________________________________
>>> Gusdev-gusdev mailing list
>>> Gus...@li...
>>> https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev
>>>
>>
>>
>>
|