Closed bsun0802 closed 4 years ago
额现在域名可以ping通, www域名也可以ping通。但是自动安装还是会出错。为什么会出现这些file not found 的error阿?感谢大佬!
nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)
Can't load /root/.rnd into RNG
[OK] [nginx] 复制文件 完成
nginx: [error] open() "/var/run/nginx.pid" failed (2: No such file or directory)
Generating RSA private key, 4096 bit long modulus (2 primes)
.............................++++
..............................................++++
e is 65537 (0x010001)
[OK] [CA] 创建帐号 key 完成
Generating RSA private key, 4096 bit long modulus (2 primes)
..................................................................................................................................................................................++++
.................................................................................................................++++
e is 65537 (0x010001)
Can't load /root/.rnd into RNG
140160291881408:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
[OK] [CA] 创建 CSR 文件 完成
Can't load /root/.rnd into RNG
这个不碍事吧?!
如果你懂 bash 脚本,找到出错所在根本不是问题,我很久没碰那个忘光了。
Ok, I see. 我读的懂那个bash,但是我不懂web... 所以问题还是出在我的DNS域名解析上?我在安装的时候输入你的域名信息
,输入www.example.org 就可以解析,但是输入example.org就会出现与本机ip不匹配。但是我两个都ping的通
如果你通过 cloudflare
解析域名, 就很有可能造成 本机 ip 与 域名 不匹配。 但不碍事。装下去。
Google Domain 解析的域名。加了www, 本机ip匹配,但是获取证书失败。域名用example.org不加www,本机ip不匹配,装下起还是获取证书失败。
请问是该这么设置域名解析么?
是不是解析延迟?明天看看?
或者你在脚本里把那个ping不通的条目删了再试
好的,我再研究一下吧。
成功了,看来是域名解析需要时间。但是Google Domain之前都是几分钟就好了。要不把这个google domain 购买之后DNS解析的设置截图放到wiki里面?那个freenom我下午搞了很久都不行,我美国有地址,但是说street number is not valid。freenom网站也不说清楚它那个field需要填什么地址。。。各种尝试无果,后从google domain买了域名。
Please answer these questions before submitting your issue. Thanks!
What version of shadowsocks-native are you using?
newest, last committed on Jan 20.
What operating system are you using?
Ubuntu-18.04, brand-new google cloud VM.
What did you do?
Followed the instructions in Wiki exactly. 运行自动化安装,域名解析成功。但是 [CA] 获取网站证书失败。
在此错误前, 所有指令均成功执行。
What did you expect to see?
我想安装并使用shadowsocksr-native
What did you see instead?
比较可疑的是
好像有一个 connot open file 错误 但是仍然显示
[OK] [CA] 创建 CSR 文件 完成
What is your config in detail (with all sensitive info masked)?
google domain 购买的域名,google cloud platform 建立的VM。 IP 可以ping通,但是域名ping不同。自动化安装脚本可以成功DNS解析。 紧接着脚本出错。