ubuntu16.4 gitlab从 12.10.0-ee 一步步升级到14.0.0后无法启动,报错如下
站在用户的角度思考问题,与客户深入沟通,找到永春网站设计与永春网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:成都网站制作、做网站、企业官网、英文网站、手机端网站、网站推广、域名申请、虚拟空间、企业邮箱。业务覆盖永春地区。
/opt/gitlab/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)
/opt/gitlab/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)
降版本也无法降.
换成阿里镜像源更新成功ruby后,gitlab能正常启动.
sudo /etc/apt/sources.list
删除里面的内容,更换源
deb xenial main
deb-src xenial main
deb xenial-updates main
deb-src xenial-updates main
deb xenial universe
deb-src xenial universe
deb xenial-updates universe
deb-src xenial-updates universe
deb xenial-security main
deb-src xenial-security main
deb xenial-security universe
deb-src xenial-security universe
更新缓存
apt-get clean all
apt-get update
但是gitlib过段时间就不能用,服务器也进不去,腾讯云也不能检测服务器信息
我把gitlab版本降到13.12.15-ee
然后我又把源换回腾讯的
sudo /etc/apt/sources.list
Ubuntu 14.04
deb trusty main restricted universe multiverse
deb trusty-updates main restricted universe multiverse
deb trusty-security main restricted universe multiverse
#deb trusty-backports main restricted universe multiverse
#deb trusty-proposed main restricted universe multiverse
deb-src trusty main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
#deb-src trusty-backports main restricted universe multiverse
#deb-src trusty-proposed main restricted universe multiverse
Ubuntu 16.04
deb xenial main restricted universe multiverse
deb xenial-security main restricted universe multiverse
deb xenial-updates main restricted universe multiverse
#deb xenial-proposed main restricted universe multiverse
#deb xenial-backports main restricted universe multiverse
deb-src xenial main restricted universe multiverse
deb-src xenial-security main restricted universe multiverse
deb-src xenial-updates main restricted universe multiverse
#deb-src xenial-proposed main restricted universe multiverse
#deb-src xenial-backports main restricted universe multiverse
若您使用腾讯云服务器,请将源的域名从 mirrors.cloud.tencent点抗 改为 mirrors.tencentyun点抗 ,使用内网流量不占用公网流量。
更新缓存
apt-get clean all
apt-get update
后台监控正常,服务器稳定了.
这个原因很多啊,可能是账号密码错误,端口不对,服务器线路差等等。你需要和商家沟通看看原因。
云服务器的镜像跟你电脑系统是没关系的。所以选什么镜像需要根据你的需求,可以选windows,也可以选linux的。
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款