R0.22 and earlier: No Longer Supported

[Solved] Error XML-RPC (704): RPC service not run

  • Anthony O'Connell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago - 15 years 9 months ago #1 by Anthony O'Connell
[Solved] Error XML-RPC (704): RPC service not run was created by Anthony O'Connell
Error XML-RPC (704): The RPC service is not runnin

Hi
Going around in circles here. Both Joomla and Moodle installations are sitting on the same server but with different addresses (virtual hosts). I have installed the Joomla component, modules and plugin and the authentication module in the Moodle site. I had to manually install xmlrpc-epi v. 0.51.

I've also added 127.0.0.1/32 and the public address of both hosts to the XMLRPC Hosts page of Moodle. I'm getting an XML-RPC error 704. See attached image. Any help would be greatly appreciated.
Last edit: 15 years 9 months ago by Chris.
The topic has been locked.
More
15 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Error XML-RPC (704): The RPC service is not runnin
Hi. I never saw this error before, but looking at the code:
if (!isset($CFG->mnet_dispatcher_mode) ) {
set_config('mnet_dispatcher_mode', 'off');
exit(mnet_server_fault(704, 'nosuchservice'));
} elseif ('off' == $CFG->mnet_dispatcher_mode) {
exit(mnet_server_fault(704, 'nosuchservice'));

So, take a look at your mdl_config table. Yo should have a row like this:
mysql> select * from mdl_config where name='mnet_dispatcher_mode';
+
+
+
+
| id | name | value |
+
+
+
+
| 196 | mnet_dispatcher_mode | strict |
+
+
+
+


Maybe it has saomething to do with the manual xml-rpc installl.... I don't know. Just check this and add/modify if you don't have it.

Antonio
The topic has been locked.
  • Anthony O'Connell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago #3 by Anthony O'Connell
Replied by Anthony O'Connell on topic Re: Error XML-RPC (704): The RPC service is not runnin
I found the line and it was set to off. When I set it to strict or on, nothing at all shows up on the Joomla page. When I set it to off again, the 704 error comes back.
The topic has been locked.
More
15 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Error XML-RPC (704): The RPC service is not runnin
Hi. It should be left in strict mode.

Now that it is in strict mode: do you have any open courses in Moodle? If not, the module will not show up.

I guess that by "nothing at all shows up on the Joomla page" you mean that you can not see the module. Is it that way?

Antonio
The topic has been locked.
  • Anthony O'Connell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago #5 by Anthony O'Connell
Replied by Anthony O'Connell on topic Re: Error XML-RPC (704): The RPC service is not ru
Ok, got it working, thanks. Moodle Networking authentication was not enabled. Thanks for your help. I might put these steps all together into a how-to if that would help you.
The topic has been locked.