Comments (4)
[信息] 检查EPEL存储库.
Command line error: one of the following arguments is required: --save --add-repo --dump --dump-variables --set-enabled --enable --set-disabled --disable
上方的这个错误,是因为脚本中,这一段代码的错误 utils/dependencies.sh#L83C9-L87 导致的,但是,它并没有任何影响,因为,我用 CentOS 9 看了下,它的 EPEL 库 默认是启用的。
Sep 08:56:13 ip-172-26-31-248 kernel: Out of memory: Killed process 68283 (yum) total-vm:451320kB, anon-rss:318608kB, file-rss:24kB, shmem-rss:0kB, UID:0 pgtables:780kB oom_score_adj:0
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: A process of this unit has been killed by the OOM killer.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68125 (sshd) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68140 (sshd) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68141 (bash) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68160 (sudo) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68162 (bash) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68185 (bash) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68283 (yum) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd-logind[579]: Session 9 logged out. Waiting for processes to exit.
至于你说的会触发OOM保护机制,这是你的系统内存不足的原因。
from shell.
你好,脚本我是在aws lightsail centos 9 stream上测试的,之前在同样内存(512M)的centos 7似乎没有出现这个问题,且多次重装机器都是这个错误(ssh连接断开,安装中断失败),检查了系统日志后发现出现了内存不足杀进程的信息。检查了下系统内存还有282MiB的空间:
free -h
total used free shared buff/cache available
Mem: 438Mi 111Mi 282Mi 11Mi 66Mi 327Mi
Swap: 0B 0B 0B
from shell.
我刚在 Vultr
进行了安装测试,VPS配置: 1 vCPU/1 GB Memory
、 CentOS 9 Stream x64
它是可以安装成功的。至于,最低内存限制是多少,我没测试过,这个可能要你自己测试了。
之前在同样内存(512M)的centos 7似乎没有出现这个问题
至于你的这个问题,会不是,CentOS 9 Stream 比 CentOS 7 更占用内存?
from shell.
在开启了服务器的swap分区后可以成功安装组件,但安装过程中又出现了shadowsocks 下载失败的错误:
按任意键开始…或按Ctrl+C取消
[信息] 检查EPEL存储库.
Command line error: one of the following arguments is required: --save --add-repo --dump --dump-variables --set-enabled --enable --set-disabled --disable
[信息] EPEL存储库检查完成.
[信息] 开始安装依赖包 gettext
[信息] 开始安装依赖包 gcc
[信息] 开始安装依赖包 pcre
[信息] 开始安装依赖包 pcre-devel
[信息] 开始安装依赖包 autoconf
[信息] 开始安装依赖包 libtool
[信息] 开始安装依赖包 automake
[信息] 开始安装依赖包 make
[信息] 开始安装依赖包 asciidoc
[信息] 开始安装依赖包 xmlto
[信息] 开始安装依赖包 c-ares-devel
[信息] 开始安装依赖包 libev-devel
[信息] 开始安装依赖包 zlib-devel
[信息] 开始安装依赖包 openssl-devel
[信息] 开始安装依赖包 git
[信息] 开始安装依赖包 qrencode
[信息] 开始安装依赖包 jq
shadowsocks-libev-3.3.5.tar.gz 当前目录中不存在, 现在开始下载.
--2023-09-23 02:48:16-- https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.3.5/shadowsocks-libev-3.3.5.tar.gz
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/7177269/cb5b1b00-f73e-11ea-996d-9c2e5ce71448?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230923%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230923T024817Z&X-Amz-Expires=300&X-Amz-Signature=6e07138a680c7ba75363f54f0ead71f4e8da87328ea8a0fbe122efad48f298cd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=7177269&response-content-disposition=attachment%3B%20filename%3Dshadowsocks-libev-3.3.5.tar.gz&response-content-type=application%2Foctet-stream [following]
--2023-09-23 02:48:17-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/7177269/cb5b1b00-f73e-11ea-996d-9c2e5ce71448?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230923%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230923T024817Z&X-Amz-Expires=300&X-Amz-Signature=6e07138a680c7ba75363f54f0ead71f4e8da87328ea8a0fbe122efad48f298cd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=7177269&response-content-disposition=attachment%3B%20filename%3Dshadowsocks-libev-3.3.5.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1959146 (1.9M) [application/octet-stream]
Saving to: ‘shadowsocks-libev-3.3.5.tar.gz’
shadowsocks-libev-3.3.5.tar.gz 100%[===========================================================================================================>] 1.87M 6.18MB/s in 0.3s
2023-09-23 02:48:18 (6.18 MB/s) - ‘shadowsocks-libev-3.3.5.tar.gz’ saved [1959146/1959146]
shadowsocks-libev 当前目录中不存在, 现在开始下载.
/etc/init.d/shadowsocks-libev: No such file or directory
[错误] 下载 shadowsocks-libev 失败.
from shell.
Related Issues (20)
- New ciphers HOT 2
- acme申请证书的选项
- 请问可以支持一下AEAD-2022 ciphers 吗 HOT 2
- 错误 - 语法错误 | Bug - Syntex error HOT 3
- 重启服务后,多个程序重复出现 HOT 4
- 仍然不會自動更新 SSL 證書
- OpenWRT client
- 如何手动开启端口
- 如何安装rng-tools
- 谁能给一个 dns-only 域名
- Shadowsocks+V2ray+Nginx+域名伪装 出现问题 HOT 1
- 可以支持nat vps安装吗?
- 请问v2ray-plugin如何搭配shadowsocks-manager多端口使用
- 纯IPv6 vps
- SS-rust 怎样设置一次开启多个端口?
- 重启显示成功,但是状态一直是已安装未启动。
- 安装报错 ‘安装 iptables-persistent 失败’
- Doesn't connect to GitHub HOT 1
- AlmaLinux 9 - Install fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell.