[OPEN-ILS-DEV] EG client login error
Dan Wells
dbw2 at calvin.edu
Mon Apr 28 16:02:05 EDT 2008
Tom,
Double check your opensrf_core.xml file and make sure your passwords are all set properly. After that, try:
sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a stop_router
then:
sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router
Let us know if the router starts without error, and also if you get any ERR or WARN lines in the router.log file.
DW
>>> Tom Patterson <tpatterson at tfc.edu> 4/28/2008 2:28 PM >>>
Dan,
I was wrong:
Here is the output:
* ! EXCEPTION ! *
TYPE: OpenSRF::EX::Session
Mess: Session Error
Mess: router at epworth-eg/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!
Loc.: 103 OpenSRF::Utils::SettingsClient
Loc.: /openils/lib/perl5/OpenSRF/Utils/SettingsClient.pm
Time: Mon Apr 28 14:28:07 2008
Updating web_fieldmapper
* ! EXCEPTION ! *
TYPE: OpenSRF::EX::Session
Mess: Session Error
Mess: router at epworth-eg/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!
Loc.: 103 OpenSRF::Utils::SettingsClient
Loc.: /openils/lib/perl5/OpenSRF/Utils/SettingsClient.pm
Time: Mon Apr 28 14:28:08 2008
Updating OrgTree
* ! EXCEPTION ! *
TYPE: OpenSRF::EX::Session
Mess: Session Error
Mess: router at epworth-eg/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!
Loc.: 103 OpenSRF::Utils::SettingsClient
Loc.: /openils/lib/perl5/OpenSRF/Utils/SettingsClient.pm
Time: Mon Apr 28 14:28:09 2008
Updating OrgTree HTML
* ! EXCEPTION ! *
TYPE: OpenSRF::EX::Session
Mess: Session Error
Mess: router at epworth-eg/opensrf.settings IS NOT CONNECTED TO THE NETWORK!!!
Loc.: 103 OpenSRF::Utils::SettingsClient
Loc.: /openils/lib/perl5/OpenSRF/Utils/SettingsClient.pm
Time: Mon Apr 28 14:28:09 2008
Done
Tom Patterson
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org [open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan Wells [dbw2 at calvin.edu]
Sent: Monday, April 28, 2008 1:41 PM
To: open-ils-dev at list.georgialibraries.org
Subject: RE: [OPEN-ILS-DEV] EG client login error
Tom,
Two questions:
1) Were you able to successfully do Step 27 from the Ubuntu install wiki, "Finalize the OPAC," without any errors?
2) What is the output from "sudo ejabberdctl status"?
Thanks,
DW
>>> Tom Patterson <tpatterson at tfc.edu> 4/28/2008 8:59 AM >>>
Dan,
Thanks again for the help. My configuration is the same as you listed here. I must have some other configuration not right so I plan to go back through the instructions and make sure I don't have a typo.
Thanks again.
Tom Patterson
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org [open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan Wells [dbw2 at calvin.edu]
Sent: Friday, April 25, 2008 1:39 PM
To: open-ils-dev at list.georgialibraries.org
Subject: RE: [OPEN-ILS-DEV] EG client login error
Hello Tom,
This could be the problem if you were a bit overzealous in your conf file editing. On Ubuntu, localhost resolves to 127.0.0.1 while your machine name resolves locally to 127.0.1.1. Because of this and the default listening configuration for memcached, it is best to leave the cache section of opensrf.xml as follows:
<cache>
<!-- memcache servers -->
<global>
<servers>
<server>localhost:11211</server>
</servers>
<max_cache_time>86400</max_cache_time>
</global>
</cache>
If you have substituted 127.0.1.1 or your FQDN where it says 'localhost:11211' above, try changing it back to localhost, then restarting OpenSRF/Evergreen. Your memcached process looks fine as it is, but I suppose you could instead tell memcached to listen on 127.0.1.1 or your real IP address, as applicable. You can do that by starting it with the proper -l argument, as shown in your process list.
DW
>>> Tom Patterson <tpatterson at tfc.edu> 4/25/2008 12:11 PM >>>
Dan,
Thanks. Output from the ps ax command gives the following:
5313 ? S 0:00 /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1
also checked the netstat command and shows localhost:11211 listen.
Question: On step 18 and 22 following the Ubuntu doc's, I set the 127.0.1.1 as the localhost. Does this make a difference on where memcache is listening?
Tom Patterson
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org [open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan Wells [dbw2 at calvin.edu]
Sent: Friday, April 25, 2008 11:11 AM
To: open-ils-dev at list.georgialibraries.org
Subject: Re: [OPEN-ILS-DEV] EG client login error
Hello Tom,
I think a bug may have cropped up in the Ubuntu install instructions. I cannot be sure if this has changed, but it seems that memcached does not start up automatically when first installed. It should start on the next system boot, but short of that, you can start it most simply as follows:
sudo memcached -d
You can check if it is already running or not with:
ps ax | grep "memcached"
and
netstat -l | grep "11211"
to make sure it is on the right port.
Let us know if that helps,
DW
>>> Tom Patterson <tpatterson at tfc.edu> 4/25/2008 9:27 AM >>>
Hi,
On a new install of Evergreen 1.2.1.4, following the server installation guide for Ubuntu 7.10, I am at the point of trying to login to the staff client (on same machine as server). The connection is made to the server without problem, however, while trying to authenticate, I get an error message (see attached)
"method=open-ils.auth.authentication.init
params=["admin"]
THROWN:
null
STATUS: "
I am using the default admin login with default password. Having read through the most recent postings, I could not find a solution for this. Any guidance would be appreciated.
Tom Patterson
More information about the Open-ils-dev
mailing list