and what about wget?
is it work?

On Wed, Sep 26, 2012 at 9:25 AM, Mohammed Arafa <[email protected]>wrote:

> http://localhost:5080/openmeetings/services/UserService/getSessionResourceid 
> #96
> http://localhost:5080/openmeetings/services/UserService/getSessionResourceid 
> #96Request OpenMeetings! OpenMeetings Service failed and no response was
> returned.
>
> i used that url and it failed (of course since openmeetings is not on my
> localhost but on a vm!)
>
> so i used the original setting i had (the fqdn) and that too gave
> http://classes.vm:5080/openmeetings/services/UserService/getSessionResourceid 
> #96
> http://classes.vm:5080/openmeetings/services/UserService/getSessionResourceid 
> #96Request OpenMeetings! OpenMeetings Service failed and no response was
> returned.
>
> but the url in the browser works now
>
>
> On Tue, Sep 25, 2012 at 10:17 PM, Maxim Solodovnik 
> <[email protected]>wrote:
>
>> OK :)
>> can you use *print_r()*
>> insted of var_dump?
>>
>> or maybe even better:
>> print_r($request);
>> print_r($session);
>>
>>
>> On Wed, Sep 26, 2012 at 9:13 AM, Mohammed Arafa <[email protected]
>> > wrote:
>>
>>> line 57 and 58 are:
>>>                         if(!$response) {
>>>                            die("Request OpenMeetings! OpenMeetings
>>> Service failed and no response was returned.");
>>>                         }
>>>
>>> so that sentence was added to line 55
>>>
>>> anyways, the response now is
>>>
>>> resource(96) of type (curl) resource(96) of type (Unknown) Request
>>> OpenMeetings! OpenMeetings Service failed and no response was returned.
>>>
>>> On Tue, Sep 25, 2012 at 10:05 PM, Maxim Solodovnik <[email protected]
>>> > wrote:
>>>
>>>> The error you are getting "Request OpenMeetings! OpenMeetings Service
>>>> failed and no response was returned."
>>>>
>>>> is because of
>>>> $response = curl_exec($session);
>>>>
>>>> $response is none/empty/error
>>>>
>>>> openmeetings_rest_service.php line 58
>>>>
>>>> can you add something like:
>>>> var_dump($session);
>>>>
>>>> before line 58?
>>>>
>>>> Maybe this will give as a hint what is wrong
>>>>
>>>> On Wed, Sep 26, 2012 at 9:00 AM, Mohammed Arafa <
>>>> [email protected]> wrote:
>>>>
>>>>> php-curl (curl.so) is in php-common which is already installed.
>>>>> i also installed php-pear-Net-Curl-1.2.5-4.el6.noarch (and restarted
>>>>> httpd) with no luck
>>>>>
>>>>> On Tue, Sep 25, 2012 at 9:53 PM, Maxim Solodovnik <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> I guess you need "php curl" installed
>>>>>>
>>>>>>
>>>>>> On Wed, Sep 26, 2012 at 8:50 AM, Mohammed Arafa <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hello  Maxim
>>>>>>>
>>>>>>> appreciate your very quick response.
>>>>>>>
>>>>>>> I checked my urls and it worked both ways. fyi it was wget
>>>>>>> http://classes.vm:5080/openmeetings/services/UserService/getSessionwhere
>>>>>>>  the fqdn is actually the same for both openmeetings and moodle. also,
>>>>>>> i am concerned that the "openmeetings" in the url is not in the moodle
>>>>>>> config page unless it is the "OpenMeetings webapp name"
>>>>>>>
>>>>>>> as for php, these are the rpm packages installed:
>>>>>>> php-5.3.3-14.el6_3.x86_64
>>>>>>> php-cli-5.3.3-14.el6_3.x86_64
>>>>>>> php-common-5.3.3-14.el6_3.x86_64
>>>>>>> php-gd-5.3.3-14.el6_3.x86_64
>>>>>>> php-intl-5.3.3-14.el6_3.x86_64
>>>>>>> php-mbstring-5.3.3-14.el6_3.x86_64
>>>>>>> php-mysql-5.3.3-14.el6_3.x86_64
>>>>>>> php-pdo-5.3.3-14.el6_3.x86_64
>>>>>>> php-pear-1.9.4-4.el6.noarch
>>>>>>> php-pear-Auth-SASL-1.0.4-1.el6.noarch
>>>>>>> php-pear-HTTP-Request-1.4.4-2.el6.noarch
>>>>>>> php-pear-Mail-1.2.0-1.el6.noarch
>>>>>>> php-pear-Mail-Mime-1.8.4-1.el6.noarch
>>>>>>> php-pear-Net-DIME-1.0.2-1.el6.noarch
>>>>>>> php-pear-Net-SMTP-1.6.1-1.el6.noarch
>>>>>>> php-pear-Net-Socket-1.0.10-1.el6.noarch
>>>>>>> php-pear-Net-URL-1.0.15-4.el6.noarch
>>>>>>> php-pear-SOAP-0.12.0-4.el6.noarch
>>>>>>> php-soap-5.3.3-14.el6_3.x86_64
>>>>>>> php-xml-5.3.3-14.el6_3.x86_64
>>>>>>> php-xmlrpc-5.3.3-14.el6_3.x86_64
>>>>>>>
>>>>>>> if there is anything missing pls let me know
>>>>>>>
>>>>>>> as to apache logs. nothing unusual. error logs only show startup
>>>>>>> status. and access logs show only me. as for the openmeeting logs, i
>>>>>>> wouldnt know what to look for in there.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Sep 25, 2012 at 9:22 PM, Maxim Solodovnik <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hello Mohammed,
>>>>>>>>
>>>>>>>> The issue is most probably with configuration.
>>>>>>>> If you have PHP experience you can add some debug into moodle
>>>>>>>> plugin. If not:
>>>>>>>>
>>>>>>>> please check if the following URL works for you:
>>>>>>>> "<URL_TO_OM_FROM_YOUR_MOODLE_CONFIG>/services/UserService/getSession"?
>>>>>>>> It it works on your computer try it using
>>>>>>>>
>>>>>>>> "wget 
>>>>>>>> <URL_TO_OM_FROM_YOUR_MOODLE_CONFIG>/services/UserService/getSession"
>>>>>>>> on the machine Moodle is running
>>>>>>>>
>>>>>>>> if both OK Apache logs need to be checked, maybe some necessesary
>>>>>>>> PHP modules are not installed
>>>>>>>>
>>>>>>>> On Wed, Sep 26, 2012 at 8:10 AM, Mohammed Arafa <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> hello
>>>>>>>>>
>>>>>>>>> i believe i have succesfully installed moodle and openmeetings
>>>>>>>>> individually. each url path works independently. i used:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz
>>>>>>>>>
>>>>>>>>> apache-openmeetings-moodle-plugin-incubating-1.4.tar.gz
>>>>>>>>>
>>>>>>>>> jodconverter-core-3.0-beta-4-dist.zip
>>>>>>>>>
>>>>>>>>> moodle-latest-23.tgz
>>>>>>>>>
>>>>>>>>> i have verified that individually the 2 applications work, i have
>>>>>>>>> also verified that my admin user as well as the soap user are able to
>>>>>>>>> login. however, whenever i attempt to add an openmeeting activity to 
>>>>>>>>> my
>>>>>>>>> course i keep running into this error:
>>>>>>>>>
>>>>>>>>> Request OpenMeetings! OpenMeetings Service failed and no response
>>>>>>>>> was returned.
>>>>>>>>>
>>>>>>>>> the red5.log doesnt show much and google doesnt know anything
>>>>>>>>> about this error except that it is coming from openmeeting code. any 
>>>>>>>>> help
>>>>>>>>> or hint appreciated as things were going smoothly till this error 
>>>>>>>>> showed up
>>>>>>>>>
>>>>>>>>> also, i used the default settings when setting up openmeetings and
>>>>>>>>> the moodle plugin
>>>>>>>>> any and all advise will be helpful
>>>>>>>>>
>>>>>>>>> thank you
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>>>>>> *
>>>>>>>>>
>>>>>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa>
>>>>>>>>>
>>>>>>>>>  Latest Resume <http://www.in-egypt.net/MArafaCV.pdf>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  VoIP: sip:[email protected]
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> WBR
>>>>>>>> Maxim aka solomax
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>>>> *
>>>>>>>
>>>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa>
>>>>>>>
>>>>>>>  Latest Resume <http://www.in-egypt.net/MArafaCV.pdf>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  VoIP: sip:[email protected]
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> WBR
>>>>>> Maxim aka solomax
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>>>> *
>>>>>
>>>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa>
>>>>>
>>>>>  Latest Resume <http://www.in-egypt.net/MArafaCV.pdf>
>>>>>
>>>>>
>>>>>
>>>>>  VoIP: sip:[email protected]
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
>>> *
>>>
>>> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa>
>>>
>>>  Latest Resume <http://www.in-egypt.net/MArafaCV.pdf>
>>>
>>>
>>>
>>>  VoIP: sip:[email protected]
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
>
> *<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
> 805010942448935<https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify>
> *
>
> LinkedIn Profile <http://www.linkedin.com/in/mohammedarafa>
>
>  Latest Resume <http://www.in-egypt.net/MArafaCV.pdf>
>
>
>
>  VoIP: sip:[email protected]
>
>


-- 
WBR
Maxim aka solomax

Reply via email to