Debian squeeze installation failure
Posted: Mon Jun 14, 2010 1:42 pm
I followed the instructions for the linux installation, but the server won't start. ( aborts after five minutes )
my system: debian squeeze, omero beta 4.1.1-r5927-b91
Commands: java -version 1.6.0 (/usr/bin/java)
Commands: python -V 2.5.5 (/usr/bin/python)
Commands: icegridnode --version 3.3.1 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.3.1 (/usr/bin/icegridadmin)
Commands: psql --version 8.4.4 (/usr/bin/psql)
Server: icegridnode running
Server: Blitz-0 inactive (disabled)
Server: DropBox inactive (disabled)
Server: FSServer active (pid = 18351, enabled)
Server: Indexer-0 inactive (disabled)
Server: OMERO.Glacier2 active (pid = 18359, enabled)
Server: OMERO.IceStorm active (pid = 18353, enabled)
Server: Processor-0 activating (enabled)
Server: Tables-0 activating (enabled)
Server: TestDropBox inactive (enabled)
Server: Web inactive (enabled)
bin/omero config get
omero.data.dir=/OMERO
omero.db.name=omero
omero.db.pass=omero
omero.db.user=omero
the /OMERO dir has rw permissions for user omero.
the postgres connection seems to be fine:
psql -h localhost -U omero omero -c "select * from dbpatch"
Password for user omero:
id | currentpatch | currentversion | permissions | finished | message | previouspatch | previousversion | external_id
----+--------------+----------------+-------------+----------------------------+-----------------+---------------+-----------------+-------------
1 | 0 | OMERO4.1 | -35 | 2010-06-14 05:38:41.932276 | Database ready. | 0 | OMERO4.1 |
(1 row)
but Blitz-0.log says:
Caused by: java.sql.SQLException: unable to connect to non-XA resource org.postgresql.Driver
...
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
...
Caused by: java.net.SocketException: Network is unreachable
pg_hba.conf:
# Database administrative login by UNIX sockets
local all postgres ident
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all ident
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
netstat -an | egrep '5432.*LISTEN'
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
tcp6 0 0 ::1:5432 :::* LISTEN
any idea what could be wrong with that installation?
any help would be greatly appreciated!
my system: debian squeeze, omero beta 4.1.1-r5927-b91
Commands: java -version 1.6.0 (/usr/bin/java)
Commands: python -V 2.5.5 (/usr/bin/python)
Commands: icegridnode --version 3.3.1 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.3.1 (/usr/bin/icegridadmin)
Commands: psql --version 8.4.4 (/usr/bin/psql)
Server: icegridnode running
Server: Blitz-0 inactive (disabled)
Server: DropBox inactive (disabled)
Server: FSServer active (pid = 18351, enabled)
Server: Indexer-0 inactive (disabled)
Server: OMERO.Glacier2 active (pid = 18359, enabled)
Server: OMERO.IceStorm active (pid = 18353, enabled)
Server: Processor-0 activating (enabled)
Server: Tables-0 activating (enabled)
Server: TestDropBox inactive (enabled)
Server: Web inactive (enabled)
bin/omero config get
omero.data.dir=/OMERO
omero.db.name=omero
omero.db.pass=omero
omero.db.user=omero
the /OMERO dir has rw permissions for user omero.
the postgres connection seems to be fine:
psql -h localhost -U omero omero -c "select * from dbpatch"
Password for user omero:
id | currentpatch | currentversion | permissions | finished | message | previouspatch | previousversion | external_id
----+--------------+----------------+-------------+----------------------------+-----------------+---------------+-----------------+-------------
1 | 0 | OMERO4.1 | -35 | 2010-06-14 05:38:41.932276 | Database ready. | 0 | OMERO4.1 |
(1 row)
but Blitz-0.log says:
Caused by: java.sql.SQLException: unable to connect to non-XA resource org.postgresql.Driver
...
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
...
Caused by: java.net.SocketException: Network is unreachable
pg_hba.conf:
# Database administrative login by UNIX sockets
local all postgres ident
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all ident
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
netstat -an | egrep '5432.*LISTEN'
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
tcp6 0 0 ::1:5432 :::* LISTEN
any idea what could be wrong with that installation?
any help would be greatly appreciated!