duangouyan3328 2010-03-11 11:09
浏览 34
已采纳

ejabberdctl不适用于PHP

I am trying to call ejabberdctl from a PHP file, but it is failing with the following error :

Failed RPC connection to the node ejabberd@localhost: nodedown

The node is running, i have checked this by logging into the server.

When the php script is run this is the error i see in /opt/ejabberd-2.1.2/logs/ejabberd.log shows :

=ERROR REPORT==== 2010-03-11 15:08:07 ===
** Connection attempt from disallowed node 'ejabberd-ctl@localhost' **

Server Details :

Ejabberd Version : 2.1.2
OS : Ubuntu 9.10 x64

  • 写回答

1条回答 默认 最新

  • duanhegn231318 2010-04-09 18:13
    关注

    This is likely to be a cookie problem. Check that the user running ejabberd and the user running php are both using the same cookie (cookie file is named .erlang.cookie).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)