拜托,我需要你的帮助。
自上周以来,我一直在努力尝试在Windows服务器上配置兔子MQ集群。我重新安装了 RabbitMQ 3.7.8 和 ErlangOTP 21-1 超过 15 次,试图找出问题并修复它,但不幸的是,我所有的尝试都失败了。
我的环境: 三个虚拟机与操作系统: Windows 服务器 2012
环境变量设置:
• ERLANG_HOME = C:\Program Files\erl10.1
• path: C:\Program Files\Handle
• %RABBITMQ_BASE% = c:\RabbitMQ
• %RABBITMQ_CONFIG_FILE% = %RABBITMQ_BASE%
• RABBITMQ_NODENAME = masternode
• Server names: RabbitMQ01 “masternode” , RabbitMQ02, RabbitMQ03
• Adding IP & hots name “masternode” in the host file for name resolution (C:\Windows\System32\drivers\etc\hosts)
• Setting RabbitMQ configuration file “advanced.config” in c:\users\USERNAME\AppData\Roaming\RabbitMQ” to enable users to login to RabbitMQ management remotely by adding the following setting
[
{rabbit,
[
{tcp_listeners, [5672]},
{loopback_users, []},
{num_tcp_acceptors, 100}
]
}
].
安装步骤:(针对每台服务器)
1. After setting the environment variables, I restarted the machine. Then
2. Install ErlangOTP 21-1
3. Install RabbitMQ 3.7.8 server
4. Enable plugins - rabbitmq-plugins.bat enable rabbitmq_management
完成以上服务器的安装后,我开始配置集群
> < li >首先,我通过pinging Rabbit @ masternode验证了masternode可从RabbitMQ02,02到达,并且成功。 < li>
使用以下命令停止RabbitMQ服务器和应用程序
rabbitmq服务停止rabbitmqctl stop_app
启动RabbitMQ服务
rabbitmqctl start_app rabbitm2服务启动
一旦我达到这一点,我就会在RabbitMQ02上看到下面的错误。
C:\程序文件\RabbitMQ服务器\rabbitmq_server-3.7.8\sbin
最常见的原因是:
除以下诊断信息外:
试图联系:[rabbit@rhrabbitmq02]
rabbit@rhrabbitmq02: *连接到rhrabbitmq02 *上的epmd(端口4369)epmd报告节点“rabbit”使用端口25672进行节点间和CLI工具traff ic * TCP连接成功,但Erlang分发失败
当前节点详细信息:*节点名称:rabbitmqcli41@rhrabbitmq02*有效用户的主目录:C:\用户\admin*Erlang cookie哈希:pndBksvQokXyiSqBdnne/g==
主节点状态:
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.8\sbin>rabbitmqctl status
Status of node masternode@rhrabbitmq01 ...
[{pid,4008},
{running_applications,
[{rabbitmq_management,"RabbitMQ Management Console","3.7.8"},
{rabbitmq_management_agent,"RabbitMQ Management Agent","3.7.8"},
{rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.7.8"},
{rabbit,"RabbitMQ","3.7.8"},
{amqp_client,"RabbitMQ AMQP Client","3.7.8"},
{rabbit_common,
"Modules shared by rabbitmq-server and rabbitmq-erlang-client",
"3.7.8"},
{os_mon,"CPO CXC 138 46","2.4.6"},
{cowboy,"Small, fast, modern HTTP server.","2.2.2"},
{mnesia,"MNESIA CXC 138 12","4.15.5"},
{cowlib,"Support library for manipulating Web protocols.","2.1.0"},
{lager,"Erlang logging framework","3.6.3"},
{syslog,"An RFC 3164 and RFC 5424 compliant logging framework.","3.4.3"},
{ranch_proxy_protocol,"Ranch Proxy Protocol Transport","1.5.0"},
{jsx,"a streaming, evented json parsing toolkit","2.8.2"},
{ranch,"Socket acceptor pool for TCP protocols.","1.5.0"},
{ssl,"Erlang/OTP SSL application","9.0.2"},
{public_key,"Public key infrastructure","1.6.2"},
{asn1,"The Erlang ASN1 compiler version 5.0.7","5.0.7"},
{inets,"INETS CXC 138 49","7.0.2"},
{xmerl,"XML parser","1.3.18"},
{recon,"Diagnostic tools for production use","2.3.2"},
{crypto,"CRYPTO","4.3.3"},
{goldrush,"Erlang event stream processor","0.1.9"},
{compiler,"ERTS CXC 138 10","7.2.5"},
{syntax_tools,"Syntax tools","2.1.6"},
{sasl,"SASL CXC 138 11","3.2.1"},
{stdlib,"ERTS CXC 138 10","3.6"},
{kernel,"ERTS CXC 138 10","6.1"}]},
{os,{win32,nt}},
{erlang_version,
"Erlang/OTP 21 [erts-10.1] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:64
]\n"},
{memory,
[{connection_readers,0},
{connection_writers,0},
{connection_channels,0},
{connection_other,29212},
{queue_procs,0},
{queue_slave_procs,0},
{plugins,1192744},
{other_proc,26188552},
{metrics,195524},
{mgmt_db,337648},
{mnesia,75088},
{other_ets,2748464},
{binary,181696},
{msg_index,27840},
{code,27573597},
{atom,1131721},
{other_system,9846202},
{allocated_unused,9377056},
{reserved_unallocated,0},
{strategy,rss},
{total,[{erlang,69528288},{rss,78905344},{allocated,78905344}]}]},
{alarms,[]},
{listeners,
[{clustering,25672,"::"},
{amqp,5672,"::"},
{amqp,5672,"0.0.0.0"},
{http,15672,"::"},
{http,15672,"0.0.0.0"}]},
{vm_memory_calculation_strategy,rss},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,3435785420},
{disk_free_limit,50000000},
{disk_free,86038073344},
{file_descriptors,
[{total_limit,8092},
{total_used,2},
{sockets_limit,7280},
{sockets_used,0}]},
{processes,[{limit,1048576},{used,399}]},
{run_queue,1},
{uptime,6087},
{kernel,{net_ticktime,60}}]
问题解决方案:将RABBITMQ_NODENAME错误地设置为“masternode”而不是“rabbit@masternode”,命令执行序列中错误地执行了至关重要的事情(加入集群时-先停止_app,然后停止服务),并且在更改配置后重新启动服务,而不是重新安装RABBITMQ服务。
如果需要根据我的设置场景在windows上安装、配置Rabbitmq和配置集群,我很乐意分享所有步骤的详细信息。最好的问候。
问题内容: 我试图使用imap从Java中的电子邮件服务器中提取消息,但遇到了此异常: 我的同事认为配置我的信任库存在问题。我在下面没有运气的情况下尝试了以下两行: 关于我需要设置的任何想法。顺便说一句,我的同事通过使用以下命令启动该应用程序,使其在Linux机器上工作: 但是我也很想在我的开发机器上使用它。我已经读过,启动应用程序时,set system属性应与-D选项相同。 问题答案: 您首先
由于限制,我们被迫使用Windows来托管和管理我们的Zoomaster/SolrCloud集群。 我们在Microsoft Azure中使用3台Windows Server 2016服务器,前面有一个Azure负载平衡器。 我能够安装和配置所有内容,但Zoomaster没有在SSL中与SolrCloud通信,因此在创建新集合等内容时,我们的API调用都不起作用。 我遵循了ZooManager留档
问题内容: 我无法让Kivy在Windows 7上使用PyCharm。我设法通过“文件”>“设置”>“ Python解释器”>“路径”选项卡添加了大多数外部库。 我正在使用Kivy版本的Python。当我运行一个在PyCharm中使用[右键单击>发送到> kivy.bat]方法可以正常工作的Kivy应用程序时,出现以下错误: 我认为问题可能与cython有关,因为我的文件无法识别cyvyon *
我尝试了这个设置: 服务器1: 服务器2: 是设置不正确,还是证书有问题? 组织中以前的Artemis设置有相互的SSL,但是对于我的用例来说,双向身份验证没有任何好处。由于我的设置不起作用,我再次添加了它,但我认为它只是强制客户端通过用户/密码进行身份验证。
你们谁能帮我如何用cygwin在windows server上安装hadoop?实际上,当我在文件中设置变量时,总是会出现类似这样的错误,请你们谁能告诉我如何在hadoop中创建集群和导入csv文件? $bin/hadoop namenode-format/home/my/hadoop-1.2.1/libexec/../conf/hadoop-env.sh:第2行:$'\r':command no
我试图设置一个火花3光泽使用两个系统运行Windows10。我可以开始用master ,它在启动主程序