Both of those error can occur if memcached is not running.
To make sure that memcached is running and configured properly check
the output of `ps ax|grep memcache` and verify that the port and host
listed there match the settings in the <cache> section of
/openils/conf/opensrf.xml.
Memcache is running, and seems to be configured correctly.
~# ps ax|grep memcache
6151 ? S 0:03 /usr/bin/memcached -m 64 -p 11211 -u nobody
-l 127.0.0.1
<cache>
<!-- memcache servers -->
<global>
<servers>
<server>localhost:11211</server>
</servers>
<max_cache_time>86400</max_cache_time>
</global>
</cache>
<apps>
<!-- Authentication server -->
<open-ils.auth>