[ome-devel] Postgres problem
McCaughey, Michael J
michael.j.mccaughey at Vanderbilt.Edu
Mon Aug 21 16:15:53 BST 2006
I'm having an issue installing 2_6_0 on a CentOS box. The box has a working Postgresql 8.1.4 installation, and the user posgres exists. The OME installer dies with:
->
--------------------
Database Bootstrap
--------------------
(All verbose information logged in /var/tmp/OME/install/CoreDatabaseTablesTask.log)
Finding DB configuration in installation environment [USING DEFAULT].
Database connection information
N.B.: The database host must already be installed and running.
It must already be configured for accepting the connection
specified here, or a superuser connection from user "postgres".
Database Delegate Class: OME::Database::PostgresDelegate
Database Name: ome
Host: undefined (local)
Port: undefined (default)
Username for DB connection: undefined (process owner)
Are these values correct ? [y/n]:
Creating OME PostgreSQL SUPERUSER (ome)Use of uninitialized value in concatenation (.) or string at /home/mrmike/OME_2_6/OME/src/perl2/OME/Install/CoreDatabaseTablesTask.pm line 1328, <STDIN> line 32.
Use of uninitialized value in concatenation (.) or string at /home/mrmike/OME_2_6/OME/src/perl2/OME/Install/CoreDatabaseTablesTask.pm line 1337, <STDIN> line 32.
Use of uninitialized value in concatenation (.) or string at /home/mrmike/OME_2_6/OME/src/perl2/OME/Install/CoreDatabaseTablesTask.pm line 1348, <STDIN> line 32.
[FAILURE].
Use of uninitialized value in concatenation (.) or string at /home/mrmike/OME_2_6/OME/src/perl2/OME/Install/CoreDatabaseTablesTask.pm line 1352, <STDIN> line 32.
Errors executing task: Unable to create PostgreSQL superuser 'ome', see CoreDatabaseTablesTask.log for details.
Database error:
at (eval 214) line 1
at install.pl line 82
main::run_tasks() called at install.pl line 266
# Looks like your test died before it could output anything.
<-
The log file looks like:
->
[root at cisrdev OME]# more /var/tmp/OME/install/CoreDatabaseTablesTask.log
Creating OME PostgreSQL SUPERUSER (ome)
Result for creating OME_USER ome:
Result for creating OME_USER ome as postgres:
Result for creating OME_USER ome as postgres After euid()
<-
It appears that $db_delegate->errorStr() never gets set in CoreDatabaseTablesTask.pm even though there is an error of some type.
I can manually create an ome database and the user ome.
Any idea where to start looking?
Thanks,
Mike
Michael J. McCaughey, PhD
Molecular Physiology and Biophysics
U9203 MRBIII
6-6175
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20060821/6dffd71b/attachment.htm
More information about the ome-devel
mailing list