Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on gene server db restore: #63

Open
GoogleCodeExporter opened this issue Apr 27, 2015 · 4 comments
Open

Error on gene server db restore: #63

GoogleCodeExporter opened this issue Apr 27, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant