We're Hiring!

Debian squeeze installation failure

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Debian squeeze installation failure

Postby tee » 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!
Attachments
log.tar.gz
logfiles from var/log
(19.6 KiB) Downloaded 305 times
tee
 
Posts: 2
Joined: Mon Jun 14, 2010 1:04 pm

Re: Debian squeeze installation failure

Postby tee » Tue Jun 15, 2010 2:44 pm

I managed to track down the problem:

This is a Debian specific bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044

Quick fix for users hit by this:

sudo sed -i 's/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/' \
/etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart
tee
 
Posts: 2
Joined: Mon Jun 14, 2010 1:04 pm

Re: Debian squeeze installation failure

Postby jmoore » Tue Jun 15, 2010 9:47 pm

Thanks for letting us know!

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest