Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
can't connect to the DB from b2g4pipe
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
NIkolai Vazov  
View profile  
 More options Jan 2, 9:30 am
From: NIkolai Vazov <nikolai.va...@gmail.com>
Date: Mon, 2 Jan 2012 06:30:48 -0800 (PST)
Local: Mon, Jan 2 2012 9:30 am
Subject: can't connect to the DB from b2g4pipe

Hi,

I am trying to import a database via b2g4pipe, i.e., to execute step 7
from your explanations in the link:

http://www.blast2go.com/b2glaunch/resources/35-localb2gdb

I got absolutely the same error as the one described in the form here:

http://groups.google.com/group/blast2go/browse_thread/thread/2cd6aafe...

Ironically, Nick, who posted the question above, and me, we are trying
to install Blast2Go together again on a bigger machine.

Here are the config detalis

1. The mysql configuration uses a non-standard datadir which is
located on a mounted partition called /storage

I can ssh both as root or user 'blast2go'.

2. The file my.cnf:

nofish.titan.uio.no# cat /etc/my.cnf
[mysqld]
datadir=/storage/mysql/
socket=/storage/mysql/mysql.sock

user=mysql
# Disabling symbolic-links is recommended to prevent assorted security
risks
symbolic-links=1

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

bind-address=127.0.0.1
#skip-networking

3. The file b2gPipe.properties :

// BLAST2GO Properties File Version 2.5.0 - 28.06.2011 - Valencia
// by Stefan Goetz - sgo...@cipf.es

// General ("Blast2go.version" don't needs a star to be updated)
Blast2go.version=2.5.0
MainGui.consoleBuffer=50000
MainGui.autosave=false
MainGui.autosave.minutes=60
InterProScan.secondstowait=60
InterProScan.paralleljobs=10
Blast2go.textes=blast2go.text
// LookAndFeels: default, native,
javax.swing.plaf.metal.MetalLookAndFeel,
com.sun.java.swing.plaf.motif.MotifLookAndFeel,
com.sun.java.swing.plaf.windows.WindowsLookAndFeel,
com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Blast2go.lookandfeel=default
User.Information.Request=false
User.Email=
B2G.Account.UserID=
B2G.Account.UserPasswd=

// Http Proxy Settings
Http.Proxy.usage=false
Http.Proxy.host=
Http.Proxy.port=80
Non.Proxy.port=
Socks.Proxy.host=
Socks.Proxy.port=

// GO and B2G Data Access Basic
Dbacces.dbname=b2g
Dbacces.dbhost=127.0.0.1
Dbacces.dbuser=blast2go
Dbacces.dbpasswd=blast4it

//Dbacces.dbname=b2g
//Dbacces.dbhost=127.0.0.1
//Dbacces.dbuser=root
//Dbacces.dbpasswd=<ROOT-PASSWORD>

4. The classpath is correct since the java command-line program starts
and does not complain of not finding the jars

The error I get when I run the command is:

nofish.titan.uio.no# java  es.blast2go.prog.util.ImportPIR /storage/
nikolaiv/blast_DB/idmapping.tb 127.0.0.1 b2g root <ROOT-PASSWORD> 1
Starting to import /storage/nikolaiv/blast_DB/idmapping.tb to
b...@127.0.0.1 with user root
Database or network connection (timeout) error for: 127.0.0.1
Database or network connection (timeout) error for: 127.0.0.1
Import gi-uniprot mapping: Could not connect to DB
Could not connect to DB
Import of gi-uniprot mapping finished

I have installed both the DB server, the DB and the b2g4pipe within
the same machine.

Do you have an idea what might be wrong? Can't it connect to the DB in
Spain or to the local one?

Thank you in advance

Nikolay


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »