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: [email protected] 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.000000 > 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: [email protected] > 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
