RE: [OPEN-ILS-DEV] EG client login error
Hello Tom, It looks like ejabberd is at least returning errors (code 503 - cancel), so perhaps it is running ok, but not authenticating properly. Try re-registering your ejabberd users: sudo ejabberdctl unregister router epworth-eg sudo ejabberdctl unregister evergreen epworth-eg sudo ejabberdctl register router epworth-eg your_password_goes_here sudo ejabberdctl register evergreen epworth-eg your_password_goes_here Restart everything and try again. It would also be interesting to see if the settings_tester.pl script connects to ejabberd successfully. DW Tom Patterson [EMAIL PROTECTED] 4/30/2008 8:43 AM Dan, I followed the directions below but still got error messages when doing the finalize step. The logs are attached. Thanks for the help. Tom Patterson From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 4:42 PM To: open-ils-dev@list.georgialibraries.org Subject: RE: [OPEN-ILS-DEV] EG client login error Hello Tom, Your router log looks fine for what little is in there. John's advice to run the settings_tester.pl is always a good thing to try, though make sure you set your PERL5LIB for the shell before you run it ( export PERL5LIB=/openils/lib/perl5 ) since the Ubuntu wiki page doesn't alter any .bashrc files. It sounds like you have been careful in checking your settings, though, so I would recommend just trying to stop and start the whole stack again and seeing what happens. First: sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a stop_all After the machine comes to rest, run: ps ax | grep OpenSRF and kill any lingering processes listed there which sometimes get stuck for a bit. After that, I would recommend deleting or moving aside all the current log files, then restarting the system one step at a time: sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_perl sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_c sudo /etc/init.d/apache2 restart After that, try the OPAC finalize step ( sudo -u opensrf ./autogen.sh /openils/conf/opensrf_core.xml ), and if that works, try to logging in using srfsh: /openils/bin/srfsh srfsh% login admin open-ils If any of the above doesn't work, tar up your fresh log directory and send it along. Thanks, DW Tom Patterson [EMAIL PROTECTED] 4/29/2008 8:30 AM Dan, I have checked the settings in the opensrf_core.xml file and the opensrf.xml file and as far as I can see they are set correctly. When starting the router there were no errors. Here is the log output after executing the commands below and trying to use client: router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:83:] Router adding trusted server: epworth-eg router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:86:] Router adding trusted client: epworth-eg router 2008-04-29 07:33:51 [WARN:12411:osrf_router_main.c:10:] Received signal [2], cleaning up... router 2008-04-29 07:33:51 [WARN:12411:osrf_router.c:64:] Top level select call failed with errno 4 router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:70:] Router connecting as: server: epworth-eg port: 5222 user: router resource: router router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:83:] Router adding trusted server: epworth-eg router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:86:] Router adding trusted client: epworth-eg Thanks, Tom Patterson From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 4:02 PM To: open-ils-dev@list.georgialibraries.org Subject: RE: [OPEN-ILS-DEV] EG client login error 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
RE: [OPEN-ILS-DEV] EG client login error
Dan, I have checked the settings in the opensrf_core.xml file and the opensrf.xml file and as far as I can see they are set correctly. When starting the router there were no errors. Here is the log output after executing the commands below and trying to use client: router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:83:] Router adding trusted server: epworth-eg router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:86:] Router adding trusted client: epworth-eg router 2008-04-29 07:33:51 [WARN:12411:osrf_router_main.c:10:] Received signal [2], cleaning up... router 2008-04-29 07:33:51 [WARN:12411:osrf_router.c:64:] Top level select call failed with errno 4 router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:70:] Router connecting as: server: epworth-eg port: 5222 user: router resource: router router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:83:] Router adding trusted server: epworth-eg router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:86:] Router adding trusted client: epworth-eg Thanks, Tom Patterson From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 4:02 PM To: open-ils-dev@list.georgialibraries.org Subject: RE: [OPEN-ILS-DEV] EG client login error 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 [EMAIL PROTECTED] 4/28/2008 2:28 PM Dan, I was wrong: Here is the output: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 1:41 PM To: open-ils-dev@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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
RE: [OPEN-ILS-DEV] EG client login error
Hello Tom, Your router log looks fine for what little is in there. John's advice to run the settings_tester.pl is always a good thing to try, though make sure you set your PERL5LIB for the shell before you run it ( export PERL5LIB=/openils/lib/perl5 ) since the Ubuntu wiki page doesn't alter any .bashrc files. It sounds like you have been careful in checking your settings, though, so I would recommend just trying to stop and start the whole stack again and seeing what happens. First: sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a stop_all After the machine comes to rest, run: ps ax | grep OpenSRF and kill any lingering processes listed there which sometimes get stuck for a bit. After that, I would recommend deleting or moving aside all the current log files, then restarting the system one step at a time: sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_perl sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_c sudo /etc/init.d/apache2 restart After that, try the OPAC finalize step ( sudo -u opensrf ./autogen.sh /openils/conf/opensrf_core.xml ), and if that works, try to logging in using srfsh: /openils/bin/srfsh srfsh% login admin open-ils If any of the above doesn't work, tar up your fresh log directory and send it along. Thanks, DW Tom Patterson [EMAIL PROTECTED] 4/29/2008 8:30 AM Dan, I have checked the settings in the opensrf_core.xml file and the opensrf.xml file and as far as I can see they are set correctly. When starting the router there were no errors. Here is the log output after executing the commands below and trying to use client: router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:83:] Router adding trusted server: epworth-eg router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:86:] Router adding trusted client: epworth-eg router 2008-04-29 07:33:51 [WARN:12411:osrf_router_main.c:10:] Received signal [2], cleaning up... router 2008-04-29 07:33:51 [WARN:12411:osrf_router.c:64:] Top level select call failed with errno 4 router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:70:] Router connecting as: server: epworth-eg port: 5222 user: router resource: router router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:83:] Router adding trusted server: epworth-eg router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:86:] Router adding trusted client: epworth-eg Thanks, Tom Patterson From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 4:02 PM To: open-ils-dev@list.georgialibraries.org Subject: RE: [OPEN-ILS-DEV] EG client login error 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
RE: [OPEN-ILS-DEV] EG client login error
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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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 [EMAIL PROTECTED] 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
Re: [OPEN-ILS-DEV] EG client login error
2008/4/28 Tom Patterson [EMAIL PROTECTED]: 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. Tom: Can you log in successfully via srfsh? See step 20 of http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_debian_etch_x86_32-bit for creating the .srfsh.xml config file, and then see the Testing connections to Evergreen section of the same document for how to test a login with srfsh. -- Dan Scott Laurentian University
RE: [OPEN-ILS-DEV] EG client login error
I get this message: empty message for tt: 1, etc 2, 3 .. while testing with srfsh# math_bench 10 Tom Patterson From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Scott [EMAIL PROTECTED] Sent: Monday, April 28, 2008 9:11 AM To: open-ils-dev@list.georgialibraries.org Subject: Re: [OPEN-ILS-DEV] EG client login error 2008/4/28 Tom Patterson [EMAIL PROTECTED]: 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. Tom: Can you log in successfully via srfsh? See step 20 of http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_debian_etch_x86_32-bit for creating the .srfsh.xml config file, and then see the Testing connections to Evergreen section of the same document for how to test a login with srfsh. -- Dan Scott Laurentian University
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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 [EMAIL PROTECTED] 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
RE: [OPEN-ILS-DEV] EG client login error
Dan, Yes to question 1. No errors. and question 2 ejabberd is running Tom Patterson From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 1:41 PM To: open-ils-dev@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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 [EMAIL PROTECTED] 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
RE: [OPEN-ILS-DEV] EG client login error
Dan, I was wrong: Here is the output: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 1:41 PM To: open-ils-dev@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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 [EMAIL PROTECTED] 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
RE: [OPEN-ILS-DEV] EG client login error
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 [EMAIL PROTECTED] 4/28/2008 2:28 PM Dan, I was wrong: Here is the output: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Monday, April 28, 2008 1:41 PM To: open-ils-dev@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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 [EMAIL PROTECTED] 4/25/2008 9:27 AM Hi, On a new install
Re: [OPEN-ILS-DEV] EG client login error
Has Dan Scott's settings tester been brought up yet? Invaluable when trying to figure out what the heck is wrong with an EG install. http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/support-scripts/settings-tester.pl jf On Mon, Apr 28, 2008 at 4:02 PM, Dan Wells [EMAIL PROTECTED] wrote: 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 [EMAIL PROTECTED] 4/28/2008 2:28 PM Dan, I was wrong: Here is the output: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED]/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: [EMAIL PROTECTED] [ [EMAIL PROTECTED] On Behalf Of Dan Wells [ [EMAIL PROTECTED] Sent: Monday, April 28, 2008 1:41 PM To: open-ils-dev@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [ [EMAIL PROTECTED] On Behalf Of Dan Wells [ [EMAIL PROTECTED] Sent: Friday, April 25, 2008 1:39 PM To: open-ils-dev@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 serverlocalhost:11211/server /servers max_cache_time86400/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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [ [EMAIL PROTECTED] On Behalf Of Dan Wells [ [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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
[OPEN-ILS-DEV] EG client login error
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 attachment: Screenshot-Network Failure.png
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 [EMAIL PROTECTED] 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
RE: [OPEN-ILS-DEV] EG client login error
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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Dan Wells [EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:11 AM To: open-ils-dev@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 [EMAIL PROTECTED] 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
RE: [OPEN-ILS-DEV] EG client login error
Dan and Bill, Thanks for your responses. I'm running EG 1.2.1.1 and OpenSRF 0.9 on Ubuntu 7.10 My client login is now working. After restarting Apache and rerunning autogen, things were initially worse. Srfsh stopped working too, but it's back as well now. I'm not quite sure what I did, but your advice was apparently good. The link to the My Account section was a javascript:void(0). I pasted in a modified URL from the PINES installation which got me to the My Account page but login prompt wasn't there--just the header, footer and sidenav. Clicking on My Account in the sidenav got me a 404. Sort of working: https://eg-server.yourlibrary.ca/opac/en-US/skin/default/xml/myopac.xml? d=0 Sidenav link (404): https://eg-server.yourlibrary.ca/opac/en-US/skin/default/xml/myopac/myop ac.xml I've had a look at the Apache error log and the only error messages relate the missing file above--otherwise it's just info and debug messages. So, some progress. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Scott Sent: Wednesday, February 13, 2008 6:11 PM To: open-ils-dev@list.georgialibraries.org Subject: Re: [OPEN-ILS-DEV] EG client login error On 13/02/2008, Mark Ellis [EMAIL PROTECTED] wrote: Jason, I've made a little headway on this after looking at the srfsh log, but I'm not quite there yet. On the clients I'm getting a dialog that says Reference Error: au is not defined after using the admin/open-ils login. The login via srfsh is apparently successful: srfsh# login admin open-ils staff Received Data: 473d71044596f01bc27c6fd0da6350bf Request Completed Successfully Request Time in seconds: 0.084222 Received Data: { ilsevent:0, textcode:SUCCESS, desc: , pid:18581, stacktrace:oils_auth.c:305, payload:{ authtoken:6216a5e960be2806542e7a400629dff5, authtime:7200 } } Request Completed Successfully Request Time in seconds: 0.418546 Login Session: 6216a5e960be2806542e7a400629dff5. Session timeout: 7200.00 srfsh# I'm not being prompted to login in the my account section of the catalogue. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Etheridge Sent: Monday, February 04, 2008 3:02 PM To: open-ils-dev@list.georgialibraries.org Subject: Re: [OPEN-ILS-DEV] EG client login error On Feb 4, 2008 5:48 PM, Mark Ellis [EMAIL PROTECTED] wrote: I'm attempting to login using the staff client both from the machine on which the server's installed and another machine. The server status and version are coming back OK on both, but authentication is failing using the default admin account. Is what follows sufficient to identify the problem? Mark, let's see if we can narrow this down some. Are you able to log in with admin from the My Account section in the online catalog? How about from srfsh? Srfsh is a command-line program that requires a .srfsh.xml file in your home directory. You can model it from this example: http://www.open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh. xml Once in srfsh, try: login admin open-ils staff A good response will include a field labeled authtoken. -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com Rereading the original email, the following leaps out at me: setting network_failure_status_string: TypeError: obj.NETWORK_FAILURE has no properties It sounds to me like the problem is occurring at the gateway (the staff client and catalogue connect to the Evergreen server via the Apache gateway, while srfsh connects directly to the Evergreen server via XMPP). Can you check your Apache error logs to see if there are any errors turning up there? If the normal catalogue functions work fine, but logging into My Account fails, perhaps it's the SSL portion of your Apache config that's the problem. Also, make sure that you start the Apache server _after_ the OpenSRF router / perl / c services are already running. If the Apache server is running before the OpenSRF services start up, then you will have to stop the Apache server and start it again to make any successful connections. More info would also be helpful (sorry if this info is in a different thread, but my memory is limited) - are you running OpenSRF 0.9 with Evergreen 1.2.1.2, and on which Linux distribution? -- Dan Scott Laurentian University
RE: [OPEN-ILS-DEV] EG client login error
Jason, I've made a little headway on this after looking at the srfsh log, but I'm not quite there yet. On the clients I'm getting a dialog that says Reference Error: au is not defined after using the admin/open-ils login. The login via srfsh is apparently successful: srfsh# login admin open-ils staff Received Data: 473d71044596f01bc27c6fd0da6350bf Request Completed Successfully Request Time in seconds: 0.084222 Received Data: { ilsevent:0, textcode:SUCCESS, desc: , pid:18581, stacktrace:oils_auth.c:305, payload:{ authtoken:6216a5e960be2806542e7a400629dff5, authtime:7200 } } Request Completed Successfully Request Time in seconds: 0.418546 Login Session: 6216a5e960be2806542e7a400629dff5. Session timeout: 7200.00 srfsh# I'm not being prompted to login in the my account section of the catalogue. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Etheridge Sent: Monday, February 04, 2008 3:02 PM To: open-ils-dev@list.georgialibraries.org Subject: Re: [OPEN-ILS-DEV] EG client login error On Feb 4, 2008 5:48 PM, Mark Ellis [EMAIL PROTECTED] wrote: I'm attempting to login using the staff client both from the machine on which the server's installed and another machine. The server status and version are coming back OK on both, but authentication is failing using the default admin account. Is what follows sufficient to identify the problem? Mark, let's see if we can narrow this down some. Are you able to log in with admin from the My Account section in the online catalog? How about from srfsh? Srfsh is a command-line program that requires a .srfsh.xml file in your home directory. You can model it from this example: http://www.open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh. xml Once in srfsh, try: login admin open-ils staff A good response will include a field labeled authtoken. -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com
Re: [OPEN-ILS-DEV] EG client login error
On 13/02/2008, Mark Ellis [EMAIL PROTECTED] wrote: Jason, I've made a little headway on this after looking at the srfsh log, but I'm not quite there yet. On the clients I'm getting a dialog that says Reference Error: au is not defined after using the admin/open-ils login. The login via srfsh is apparently successful: srfsh# login admin open-ils staff Received Data: 473d71044596f01bc27c6fd0da6350bf Request Completed Successfully Request Time in seconds: 0.084222 Received Data: { ilsevent:0, textcode:SUCCESS, desc: , pid:18581, stacktrace:oils_auth.c:305, payload:{ authtoken:6216a5e960be2806542e7a400629dff5, authtime:7200 } } Request Completed Successfully Request Time in seconds: 0.418546 Login Session: 6216a5e960be2806542e7a400629dff5. Session timeout: 7200.00 srfsh# I'm not being prompted to login in the my account section of the catalogue. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Etheridge Sent: Monday, February 04, 2008 3:02 PM To: open-ils-dev@list.georgialibraries.org Subject: Re: [OPEN-ILS-DEV] EG client login error On Feb 4, 2008 5:48 PM, Mark Ellis [EMAIL PROTECTED] wrote: I'm attempting to login using the staff client both from the machine on which the server's installed and another machine. The server status and version are coming back OK on both, but authentication is failing using the default admin account. Is what follows sufficient to identify the problem? Mark, let's see if we can narrow this down some. Are you able to log in with admin from the My Account section in the online catalog? How about from srfsh? Srfsh is a command-line program that requires a .srfsh.xml file in your home directory. You can model it from this example: http://www.open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh. xml Once in srfsh, try: login admin open-ils staff A good response will include a field labeled authtoken. -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com Rereading the original email, the following leaps out at me: setting network_failure_status_string: TypeError: obj.NETWORK_FAILURE has no properties It sounds to me like the problem is occurring at the gateway (the staff client and catalogue connect to the Evergreen server via the Apache gateway, while srfsh connects directly to the Evergreen server via XMPP). Can you check your Apache error logs to see if there are any errors turning up there? If the normal catalogue functions work fine, but logging into My Account fails, perhaps it's the SSL portion of your Apache config that's the problem. Also, make sure that you start the Apache server _after_ the OpenSRF router / perl / c services are already running. If the Apache server is running before the OpenSRF services start up, then you will have to stop the Apache server and start it again to make any successful connections. More info would also be helpful (sorry if this info is in a different thread, but my memory is limited) - are you running OpenSRF 0.9 with Evergreen 1.2.1.2, and on which Linux distribution? -- Dan Scott Laurentian University
Re: [OPEN-ILS-DEV] EG client login error
I'm not being prompted to login in the my account section of the catalogue. I didn't go back to read the original post, but this makes me wonder, did you run autogen? Seems like I've had odd events like this if I hadn't.
[OPEN-ILS-DEV] EG client login error
Hi, I'm attempting to login using the staff client both from the machine on which the server's installed and another machine. The server status and version are coming back OK on both, but authentication is failing using the default admin account. Is what follows sufficient to identify the problem? Thanks, Mark -- Original Request: request open-ils.auth open-ils.auth.authenticate.init admin - - 1202160143605 delta = 7 D_ERROR setting network_failure_status_string: TypeError: obj.NETWORK_FAILURE has no properties - - 1202160143606 delta = 1 D_SES_ERROR Network/server failure. Please check your Internet connection to undefined and choose Retry Network. If you need to enter Offline Mode, choose Ignore Errors in this and subsequent dialogs. If you believe this error is due to a bug in Evergreen and not network problems, please contact your helpdesk or friendly Evergreen admins, and give them this information: method=open-ils.auth.authenticate.init params=[admin] THROWN: null STATUS: - yns_alert: s = Network/server failure. Please check your Internet connection to undefined and choose Retry Network. If you need to enter Offline Mode, choose Ignore Errors in this and subsequent dialogs. If you believe this error is due to a bug in Evergreen and not network problems, please contact your helpdesk or friendly Evergreen admins, and give them this information: method=open-ils.auth.authenticate.init params=[admin] THROWN: null STATUS: title = Network Failure b1 = Retry Network b2 = Ignore Errors b3 = null c = Check here to confirm this message url = [xpconnect wrapped nsIURL] GConf Error: Bad key or directory name: /desktop/gnome/url-handlers//command: Cannot have two slashes (/) in a row play_url(): [Exception... Component returned failure code: 0x804b0012 [nsISound.play] nsresult: 0x804b0012 (unknown) location: JS frame :: chrome://open_ils_staff_client/content/main/JSAN.js :: anonymous :: line 249 data: no]
Re: [OPEN-ILS-DEV] EG client login error
On Feb 4, 2008 5:48 PM, Mark Ellis [EMAIL PROTECTED] wrote: I'm attempting to login using the staff client both from the machine on which the server's installed and another machine. The server status and version are coming back OK on both, but authentication is failing using the default admin account. Is what follows sufficient to identify the problem? Mark, let's see if we can narrow this down some. Are you able to log in with admin from the My Account section in the online catalog? How about from srfsh? Srfsh is a command-line program that requires a .srfsh.xml file in your home directory. You can model it from this example: http://www.open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh.xml Once in srfsh, try: login admin open-ils staff A good response will include a field labeled authtoken. -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [EMAIL PROTECTED] | web: http://www.esilibrary.com