[greenstone-users] (no subject)

From Greenstone Team
DateThu Jul 21 16:31:53 2011
Subject [greenstone-users] (no subject)
In-Reply-To (1310730230-88187-YahooMailClassic-web112312-mail-gq1-yahoo-com)
Hi again,

I tried to reconstruct your situation by installing a Greenstone 2.84 on
a Windows Vista here (but I imagine the results are comparable to the
XP, especially since I had tried the same out earlier on a Windows XP
for GS 2.84). Like you, I ran the GS284's own client against the Remote
Greenstone server I had set up. However, I am unable to reproduce your
problem, even when the user is created with the same name of "Tigran"
with the group set to "all-collections-editor".

I have some questions and suggestions for you to try out:

1. When installing GS2.84, it allows you to set a password for the admin
account. Did you do so at that stage?

2. To set up your Remote Greenstone server, did you follow the
instructions at
http://wiki.greenstone.org/wiki/index.php/2.84_Release_Notes#Working_with_Remote_Greenstone_and_the_GLI-Client
It includes some steps to test the Remote Greenstone server is
functioning as it should.

3. I know you tried to connect from client to server as Tigran and as
the "demo" user. Have you also tried connecting from the client side
with the username "admin"? Did that work at all?
And also try pointing your browser to:

http://10.1.12.71/greenstone/cgi-bin/gliserver.pl?cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall=&un=admin&pw=admin

Bear in mind, that the final "pw=" portion of the above URL will need to
be set to the password you chose for admin.


4. Is there anything unusual about the password you set for "Tigran"?
For instance, I chose the password "me!" for the user account "Tigran"
that I created here and it works for me. Could you go to the GS
administration pages again, and change the password for your user
"Tigran" to the same as I have here ("me!") and see if that has any
effect when you access the page request that previously failed for you:

http://10.1.12.71/greenstone/cgi-bin/gliserver.pl?cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall=&un=Tigran&pw=me!


Note how in the above URL, the timestamp "ts" parameter is omitted. Note
also that you can set the password transparently: I have set "pw=me!" in
the final portion of the URL, in order to see it execute.

Does trying out the above provide any behavioural clues that may have a
bearing on what's happening on your end?


5. The next steps are to check that your database has not been
corrupted. It's merely to doublecheck, since running "List Users" in the
Greenstone Administration pages appears to work fine for you.
- Can you open a DOS prompt and use it to go into your Greenstone
installation directory. For instance, if your GS 2.84 is located in C:
drive:
C:> cd GS284

- At this point, run setup.bat:
C:GS284> setup.bat

- Now you can use the db2txt tool to view the contents of your database:
C:GS284>db2txt etcusers.gdb

Does it contain data for the user "Tigran"?


Regards,
Anupama


Haik Zargaryan wrote:
> Dear Greenstone community
>
> Sorry for the empty mail (without attached screenshots). Here I resending you them again.
> The error.jpg is the poping out error, the error_message.jpg is what
> I see when I enter the address below in browsre's address bar.
>
> http://10.1.12.71/greenstone/cgi-bin/gliserver.pl?cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall=&un=Tigran&pw=Tpv50MQPv08Hc&ts=1310118170687%22
> (I think this address is exactly what I was suppossed to request in browsers bar.)
> And the third image,
> namely Users_list.jpg, is the users' list that I see in greenstone's
> administration's page. Here you can see, that my users do belong to the all-collection-editor group
> P.S. The initial description of the problem can be found below.
>
> Thanks in advance
> Haik Zargarian.
>
>
>
>
>
>
> Dear Greenstone community
>
> Now I am trying to enable Remote Librarian Interface function for
> Greenstone 2.84 (on Windows XP)and I have faced a problem.
> I have managed to integrate apache web-server with Greenstone 2.84 and
> this combination worked excellent. MyIPaddress:80/greenstone/library.cgi
> responses immediately and this means, that both apache and
> greenstone operate without problems. In addition, I have logged in as the
> administrator and created a couple of users with various privilegies.
>
> However, when I try to connect to the server with Client GLI (preinstalled
> with Greenstone 2.84), a problem occurs. When I open Client GLI, a window,
> entitled "Specify GLI Server Address" pops out, asking me to enter the
> value. I do it(http://MyIPaddress/greenstone/cgi-bin/gliserver.pl <http://localhost/greenstone/cgi-bin/gliserver.pl>), and
> the flow continues by setting library_url and Server_url. For the second
> phase of connection, a little dialogue box with fields for the username and
> password emerges. When I enter appropriate existing values previously
> assigned by me for the username and its password, an error massage appears
> alarming
> *Remote Greenstone Server error
> An error has occured on the remote greenstone server while performing
> this operation.
> Authentication has failed: no account for user 'xxxx'.
> (cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall=&un=Demo&pw=Tpv50MQPv08Hc&ts=1310118170687)*
> Interestingly, the error occurs even when I try to log in with default "demo"
> user. Indeed, both "xxxx" ad demo users are visible in the "list all"
> section of admin page.
>
> Any advices?
>
> Thanks in advance, Haik
>
>
>
>
> Dear Greenstone community
>
> I was glad to receive your advices
> regarding my problem with Client GLI. I have followed all sugestions,
> however, all my endeavours were unseuccessful. The error continued to
> pop out. Now I am sending you three screenshots which, I hope, will help
> you to better understand the nature of this problem. The error.jpg is
> the poping out error, the error_message.jpg is what I see when I
> enter this value in browsre's address bar. (as you have suugessted in
> your mail)
>
>
> http:// <http://localhost:8282/greenstone/cgi-bin/gliserver.pl?cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall=&un=Tigran&pw=Tpv50MQPv08Hc&ts=1310118170687>http://10.1.12.71 <http://10.1.12.71/>/greenstone/cgi-bin/gliserver.pl?cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall=&un=Tigran&pw=Tpv50MQPv08Hc&ts=1310118170687
>
> And the third image, namely Users_list.jpg, is the users' list that I see in greenstone's administration's page. Here you can see, that my users do belong to the all-collections-editor group.
>
> Any advices?
>
> Thanks in advance
>
> Haik Zargarian
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>