Forum Problems Installing LAMS: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle


 
Search: 

6: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle
In response to 5 03/19/07 11:44 AM
[ Reply | Forward ]
I still have the following message in Moodle

soapenv:Server.userException: java.rmi.RemoteException: Fail to fetch user data from external server:moodler - Unexpected return HTTP Status:401; nested exception is: org.lamsfoundation.lams.integration.UserInfoFetchException: Fail to fetch user data from external server:moodler - Unexpected return HTTP Status:401

When I browse the info in the lams server I can see:

17:41:03,427 DEBUG [IntegrationService] http://hilbert.mat.uc.pt/Moodle/mod/lamstwo/userinfo.php?un=moodle&ts=1174326063427&hs=d262adf069b87600b0e94a28ac851b96bb5ebee3
17:41:03,430 DEBUG [LearningDesignRepositorySoapBindingImpl] Fail to fetch user data from external server:moodler - Unexpected return HTTP Status:401
org.lamsfoundation.lams.integration.UserInfoFetchException: Fail to fetch user data from external server:moodler - Unexpected return HTTP Status:401

And if I use the URL showned above


http://hilbert.mat.uc.pt/Moodle/mod/lamstwo/userinfo.php?un=moodle&ts=1174326063427&hs=d262adf069b87600b0e94a28ac851b96bb5ebee3

I get

,Pedro,Quaresma,,Coimbra,,,PT,,,,pedro@mat.uc.pt,PT,pt_utf8

Can you see what is missing? It seems that lots of info is missing.

Thanks

Posted by Pedro Quaresma

7: Re: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle
In response to 6 03/19/07 06:22 PM
[ Reply | Forward ]
Hi Pedro,

The missing fields are not a problem, not all the fields are available in moodle.

Could you please attach the lams and apache logs.

Thanks
Anthony

Posted by Anthony Sukkar

8: Re: Re: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle
In response to 7 03/20/07 07:50 AM
[ Reply | Forward ]
In attachment three files (at least I will try :)

lams.log(-enviar)

(Apache-)error.log

(Apache-)access.log

I restarted the apache and Jboss so I only include the relevant part of the three files.

In the error.log it appears

[Tue Mar 20 13:38:29 2007] [error] [client 193.137.103.182] File does not exist: /var/www/lams

Maybe that's the problem. If that's the case how can I solve it?

Thanks for all the support :)

Posted by Pedro Quaresma

Attachments:
9: Re: Re: Re: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle
In response to 8 03/20/07 07:51 AM
[ Reply | Forward ]
the remaining attachments

Posted by Pedro Quaresma

Attachments:
10: Re: Re: Re: Re: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle
In response to 9 03/20/07 07:53 AM
[ Reply | Forward ]
anothe attachment

Posted by Pedro Quaresma

Attachments:
11: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: From LamsOne to LamsTwo in Moodle
In response to 10 03/20/07 09:12 AM
[ Reply | Forward ]
Ok, I already solved the problem ...

I had the Moodle web page protected with an .htaccess/.htpasswd scheme (it is an experimental server for the moment), and that scheme was preventing the connection lams->moodle.

Now it is working :)

I will do my access control in a more machine-oriented way allowing the full access to a given set of machines.

Thank you all for all the help you gave to me.

Posted by Pedro Quaresma

Reply to first post on this page
Back to Problems Installing LAMS