- 查看内存,发现内存没有耗完
$ free -m
vi /home/git/gitlab/log/unicorn.stderr.log
ERROR -- : adding listener failed addr=127.0.0.1:8080 (in use)
ERROR -- : retrying in 0.5 seconds (4 tries left)
ERROR -- : adding listener failed addr=127.0.0.1:8080 (in use)
ERROR -- : retrying in 0.5 seconds (3 tries left)
ERROR -- : adding listener failed addr=127.0.0.1:8080 (in use)
ERROR -- : retrying in 0.5 seconds (2 tries left)
ERROR -- : adding listener failed addr=127.0.0.1:8080 (in use)
ERROR -- : retrying in 0.5 seconds (1 tries left)
alertmanager down with "create memberlist: Failed to get final advertise address: Failed to parse advertise address "<nil>""
配置文件最后改成了:
external_url 'http://192.168.0.1:8090'
gitlab_rails['manage_back'] = true
gitlab_rails['backup_path'] = "/var/opt/gitlab/backups"
gitlab_rails['backup_archive_permissions'] = 0644
gitlab_rails['backup_keep_time'] = 604800
unicorn['listen'] = 'localhost'
unicorn['port'] = 8081
altermanager['flags'] = {
'cluser.advertise-address' => "127.0.0.1:9093"
'web.listen-address' => "#{node[''gitlab]['alertmanager']['listen-address']}",
'storage.path' => "#{node['gitlab']['alertmanager']['listen-address']}",
'config.file' => "#{node['gitlab']['alertmanager']['home']}/alertmanager.yml"
}
网友评论