RabbitMQ服务启动后无法访问localhost:15672,再查看服务状态是停止状态,每次启动后自动停止了

lingxue 2019-02-22 17:13:11 阅读 3531 评论 0 喜欢 1
服务启动 RabbitMQ Erlang 

        根据网上的教程在windows上安装了Erlang和RabbitMQ,配置了环境变量,用命令net start RabbitMQ 启动服务,提示成功,但是用浏览器访问localhost:15672时,提示网页不存在,访问不了。

        想重新启动服务,用命令net stop RabbitMQ停止服务时,却提示服务没有启动,到任务管理器查看RabbitMQ的服务,发现它的状态是停止状态,右键启动,隔几秒后又自动停止服务了。

        查看C:\Users\Administrator\AppData\Roaming\RabbitMQ\log 下的报错日志,发现日志有记录原因:

        This RabbitMQ version cannot run on Erlang 20.2 (erts 9.2): minimum required version is 20.3 (erts 9.3),

        Application rabbit exited with reason: {{erlang_version_too_old,"Erlang 20.3 or later is required, started on 20.2"},{rabbit,start,[normal,[]]}}

        原来是我Erlang 和 RabbitMQ的版本不对应,RabbitMQ的版本太高,Erlang的版本太低。后面把Erlang和RabbitMQ卸载,安装比较低版本的RabbitMQ.

        启动服务时,提示:发生系统错误 2。找不到文件。 后面remove 服务,再重新install 服务,就可以启动服务了,localhost:15672也能访问了。

支持@用户名回复

×  

:bowtie: :smile: :laughing: :blush: :smiley: :relaxed: :smirk: :heart_eyes: :kissing_heart: :kissing_closed_eyes: :flushed: :relieved: :satisfied: :grin: :wink: :stuck_out_tongue_winking_eye: :stuck_out_tongue_closed_eyes: :grinning: :kissing: :kissing_smiling_eyes: :stuck_out_tongue: :sleeping: :worried: :frowning: :anguished: :open_mouth: :grimacing: :confused: :hushed: :expressionless: :unamused: :sweat_smile: :sweat: :weary: :pensive: :disappointed: :confounded: :fearful: :cold_sweat: :persevere: :cry: :sob: :joy: :astonished: :scream: :neckbeard: :tired_face: :angry: :rage: :triumph: :sleepy: :yum: :mask: :sunglasses: :dizzy_face: :imp: :smiling_imp: :neutral_face: :no_mouth: :innocent: :alien: :yellow_heart: :blue_heart: :purple_heart: :heart: :green_heart: :broken_heart: :heartbeat: :heartpulse: :two_hearts: :revolving_hearts: :cupid: :sparkling_heart: :sparkles: :star: :star2: :dizzy: :boom: :collision: :anger: :exclamation: :question: :grey_exclamation: :grey_question: :zzz: :dash: :sweat_drops: :notes: :musical_note: :fire: :hankey: :poop: :shit: :+1: :thumbsup: :-1: :thumbsdown: :ok_hand: :punch: :facepunch: :fist: :v: :wave: :hand: :open_hands: :point_up: :point_down: :point_left: :point_right: :raised_hands: :pray: :point_up_2: :clap: :muscle: :metal: :walking: :runner: :running: :couple: :family: :two_men_holding_hands: :two_women_holding_hands: :dancer: :dancers: :ok_woman: :no_good: :information_desk_person: :raised_hand: :bride_with_veil: :person_with_pouting_face: :person_frowning: :bow: :couplekiss: :couple_with_heart: :massage: :haircut: :nail_care: :boy: :girl: :woman: :man: :baby: :older_woman: :older_man: :person_with_blond_hair: :man_with_gua_pi_mao: :man_with_turban: :construction_worker: :cop: :angel: :princess: :smiley_cat: :smile_cat: :heart_eyes_cat: :kissing_cat: :smirk_cat: :scream_cat: :crying_cat_face: :joy_cat: :pouting_cat: :japanese_ogre: :japanese_goblin: :see_no_evil: :hear_no_evil: :speak_no_evil: :guardsman: :skull: :feet: :lips: :kiss: :droplet: :ear: :eyes: :nose: :tongue: :love_letter: :bust_in_silhouette: :busts_in_silhouette: :speech_balloon: :thought_balloon:

共0条评论

相似文章

  • 顶部
  • 关灯
  • 留言
  • 点赞