[OPEN-ILS-GENERAL] ***SPAM*** troubles with new 1.6.1.2 installation
Dan Scott
dan at coffeecode.net
Fri Sep 3 11:52:53 EDT 2010
On 3 September 2010 12:40, Alan Krueger <alan at trigonic.com> wrote:
> Greetings,
>
> I'm working on behalf of the librarian at Prairie Creek Community School, a
> charter school in Castle Rock, Minnesota. For the last couple of days, I've
> been trying to get Evergreen stood up to see if can replace an aging,
> donated Follett installation that's stopped functioning properly and I've
> been running into some issues.
>
> I've managed to fight my way through quite a ways, but I'm still having
> problems. Specifically, this fails:
>
> srfsh# login admin open-ils
>
> Received Data: "cf5a99ed90a4d07f2af595000bfec09b"
>
> ------------------------------------
> Request Completed Successfully
> Request Time in seconds: 0.007820
> ------------------------------------
>
> Received Exception:
> Name: osrfMethodException
> Status: No authentication seed found. open-ils.auth.authenticate.init must
> be called first
> Status: 404
> ------------------------------------
> Request Completed Successfully
> Request Time in seconds: 0.032131
> ------------------------------------
> Login Session: (none). Session timeout: 0.000000
>
> But this succeeds:
>
> srfsh# request opensrf.math mult 6 9
>
> Received Data: 54
>
> ------------------------------------
> Request Completed Successfully
> Request Time in seconds: 0.011982
> ------------------------------------
>
> Doing some digging in the mailing list archives, it looks like this may be
> due to memcached related settings, but the ports look like they match:
>
> opensrf at library-main% fgrep -A 1 port /etc/memcached.conf
> # Default connection port is 11211
> -p 11211
>
> opensrf at library-main% fgrep -A 6 memcache /openils/conf/opensrf.xml
> <!-- memcache servers -->
> <global>
> <servers>
> <server>localhost:11211</server>
> </servers>
> <max_cache_time>86400</max_cache_time>
> </global>
>
> The memcached startup script reports that it's running, it appears in the
> process list, and port 11211 is actively being listened to:
>
> tcp 0 0 0.0.0.0:4369 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:54514 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:5269 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:631 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:5432 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:5280 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.1.1:7777 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:5222 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:11211 0.0.0.0:*
> LISTEN
> tcp6 0 0 ::1:631 :::*
> LISTEN
> tcp6 0 0 ::1:5432 :::*
> LISTEN
>
You're doing a great job of troubleshooting so far! What I've found on
Debian Squeeze is that memcached is picky about its listening address;
so even though "localhost' and '127.0.0.1' should resolve to the same
thing, on Squeeze I had to change the memcached entry in opensrf.xml
to 127.0.0.1:11211
Try making that change, then restarting all of the OpenSRF processes,
and see if that resolves the problem.
More information about the Open-ils-general
mailing list