• Harbor报错:dial tcp 127.0.0.1:1514: connect: connection refused 解决


    今天重启harbor,报错信息如下:


    [root@harbor harbor]# docker-compose up -d
    harbor-log is up-to-date
    Starting harbor-portal ... error
    Starting registry      ... 
    Starting redis         ... 
    Starting registryctl   ... 
    Starting redis         ... error
    
    ERROR: for harbor-portal  Cannot start service portal: failed to initialize logging driver: dial tcp 127.0.0.1:1514: connect: connection refused
    
    Starting harbor-db     ... error
    Starting registry      ... error
    ERROR: for harbor-db  Cannot start service postgresql: failed to initialize logging driver: dial tcp 127.0.0.1:1514: connect: connection refused
    
    ERROR: for registryctl  Cannot start service registryctl: failed to initialize logging driver: dial tcp 127.0.0.1:1514: connect: connection refused
    
    ERROR: for registry  Cannot start service registry: failed to initialize logging driver: dial tcp 127.0.0.1:1514: connect: connection refused
    
    ERROR: for portal  Cannot start service portal: failed to initialize logging driver: dial tcp 127.0.0.1:1514: connect: connection refused
    
    .......
    

      

    解决方法:


    取消rsyslog.conf文件第19,20行注释,并将514改为1514

    vim /etc/rsyslog.conf

    取消注释并修改
    $ModLoad imtcp
    $InputTCPServerRun 1514
    

    接着重启rsyslog

    systemctl restart rsyslog.service
    

      

    重启harbor

    docker-compose up -d
    

      

     

  • 相关阅读:
    .NET 动态向Word文档添加数据
    .NET FileUpLoad上传文件
    Jquery 客户端生成验证码
    ASP.NET MVC 5 基本构成
    .NET 发布网站步骤
    Jquery 选择器大全
    .NET 知识整理笔记
    .NET 三层架构
    C#知识整理笔记
    .NET MD5加密解密代码
  • 原文地址:https://www.cnblogs.com/heyongboke/p/14085945.html
Copyright © 2020-2023  润新知