Jump to content
Sign in to follow this  

HQueue installation issues

Recommended Posts

Hi Odforcians,

In trying to install HQueue on 3 nodes for a test, I ran into a python issue that looks a lot like this:


I have succeeded in installing and starting hqueue server on a CentOS 4 32-bit machine with python 2.5 compiled from source.

I have 3 nodes that I'm trying to use as hqclients. All 3 nodes running SUSE Linux Enterprise Server 10 SP2 with python 2.5 compiled from source.

Using [Add Clients] from the HQueue web interface correctedly installed the ~/hqclient directory on each of the nodes.

However attempts of starting the hqclientd daemon ends up in failure like so:

hquser@hatake:~/hqclient> ./hqclientd start
Starting HQ client processTraceback (most recent call last):
  File "./hqnode.py", line 32, in <module>
	h = hashlib.new("sha")
  File "/usr/local/lib/python2.5/hashlib.py", line 84, in __py_new
	return __get_builtin_constructor(name)(string)
  File "/usr/local/lib/python2.5/hashlib.py", line 77, in __get_builtin_constructor
	raise ValueError, "unsupported hash type"
ValueError: unsupported hash type
ERROR: Could not start HQ client process.

Going through the thread, this issue appears to be platform-related.

How would I get around this python error? Thanks in advance for any suggestions.

Share this post

Link to post
Share on other sites

I suggest you post this over at SESI forum as Hqueue is still in beta so SESI can keep track of it and help you.



Share this post

Link to post
Share on other sites

I posted the reply below in the SESI forum but I will just repost them here, just in case. Sorry for duplicating ;)


On your three render nodes running SUSE Enterprise Linux with the custom Python build, can you check if you have the openssl libraries and header files installed?

If not, you should install them and do a full rebuild of your Python 2.5 to have the openssl libraries included into your Python 2.5 runtime. The openssl library will have the sha module that is needed.

Hope this helps!



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this