tCm3nc / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

Error on gene server db restore: #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed and fixed missing dependencies as far as I could tell.
On Ubuntu 64 bit server, attemtped to run python2.7 gal.py
Received the following output: 

administrator@Inventory:~/config/ga-bitbot$ sudo python2.7 gal.py
ga-bitbot application system launcher v0.01a
--------------------------------------------------------------------------------

        Command line options:
                server          launches only the server components
                client          launches only the client components
                all             launches all components

        The default configuration is 'all'
--------------------------------------------------------------------------------
gal: launching all components
gal: Configuration loaded.
gal: Synching the local datafeed...
--------------------------------------------------------------------------------

Bitcoin Data Feed Synchronizer v0.01a

        Converts the data into a weighted price 1min data feed format

To automaticaly download and process the mtgox usd historic data run with the 
following option:
python bcfeed_synch -d

Without the -d switch the output will only be written to the datafeed_reboot 
folder

--------------------------------------------------------------------------------
bcfeed_synch: Checking potential for incremental update...
bcfeed_synch: Downloading mtgox historic data...
bcfeed_synch: Download complete.
bcfeed_synch: Processing input...
bcfeed_synch: Writing output file...
bcfeed_synch: Updating the datafeed directory directly...no need to manualy 
move the output file
bcfeed_synch: Writing incremental update...
bcfeed_synch: Done.
gal: Starting the live datafeed capture script...
gal: Launching the xmlrpc server...
gal: connected to gene server  127.0.0.1 : 9854
gal: gene server db restore:
Traceback (most recent call last):
  File "gal.py", line 277, in <module>
    print "gal: gene server db restore: ",server.reload()
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1292, in single_request
    self.send_content(h, request_body)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1439, in send_content
    connection.endheaders(request_body)
  File "/usr/local/lib/python2.7/httplib.py", line 951, in endheaders
    self._send_output(message_body)
  File "/usr/local/lib/python2.7/httplib.py", line 811, in _send_output
    self.send(msg)
  File "/usr/local/lib/python2.7/httplib.py", line 773, in send
    self.connect()
  File "/usr/local/lib/python2.7/httplib.py", line 754, in connect
    self.timeout, self.source_address)
  File "/usr/local/lib/python2.7/socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 111] Connection refused

Original issue reported on code.google.com by Ian.H.St...@gmail.com on 8 Mar 2013 at 7:00

GoogleCodeExporter commented 8 years ago
what is in the contents of your gene_server_config.py?

Original comment by anderson...@gmail.com on 8 Mar 2013 at 10:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The error is because the gene server isn't running.

Take a look at "./report/gene_server_error_log.txt" if the gene server crashed 
on startup that file will tell you why.

I recently added two new variables to the gene_server_config.py:

The first one is gene_server_config.__type__ which can be set to 
"single_threaded", "threaded" or "thread_pool".

And the second is gene_server_config.__poolsize__ which defines the pool size 
when running in thread pool mode.

http://code.google.com/p/ga-bitbot/source/browse/gene_server_config.py

If you are using a modified gene_server_config file make sure to add the two 
missing variables.

Original comment by brian.mo...@gmail.com on 8 Mar 2013 at 11:57

GoogleCodeExporter commented 8 years ago
I just had this problem. Turned out that the server wouldn't start because it 
couldn't find libssl.so.0.9.8. 

The current version seems to be libssl1.0.0, so I had to add debian squeeze to 
/etc/apt/sources.list and then run apt-get install libssl0.9.8 (after running 
apt-get update).

For reference for those whom it applies to: 
http://packages.debian.org/squeeze/i386/libssl0.9.8/download

Original comment by jopi...@gmail.com on 20 May 2013 at 10:47