今天重启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

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

接着重启rsyslog

systemctl restart rsyslog.service

  

重启harbor

docker-compose up -d

  

 

相关文章:

  • 2021-10-03
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-06
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案