Ukulele常用的4个和弦:C、Am、F、G7

尤克里里最常用的四个和弦:C、Am、F、G7,又被称为国际四和弦,也是一般歌曲里最常用到的和弦,对于想自弹自唱的学者来说,最先要学会的是和弦的变换。

C 3 Am 2 F 1 2 G 7 1 2 3

Ukulele和弦变换练习

T A B C Am C Am Am F Am F F G 7 F G 7 C Am F G 7

nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

使用nginx -s reload重新读取配置文件,发现报

nginx: [error] open() /usr/local/nginx/logs/nginx.pid failed (2: No such file or directory)

错误,进到logs文件发现没有nginx.pid文件

使用nginx -c的参数指定nginx.conf文件的位置

nginx -c /usr/local/nginx/conf/nginx.conf
            

示:nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

killall -9 nginx
            

杀掉nginx 进程 然后重启就行了。

service nginx restart
            

另外 还有一个很重要的可能

ps -ef | grep nginx 
            
nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

nginx: [emerg] open() "/nginx/logs/access.log" failed

重启服务器后,nginx服务起不来了,用命令 service nginx start,报如下错误:

nginx: [error] open() "/alidata/server/nginx/logs/nginx.pid" failed (2: No such file or directory)

解决办法:在logs目录下手动创建一个 nginx.pid文件

再次启动nginx服务,又报下面错误:

nginx: [emerg] open() "/usr/local/nginx/logs/access.log" failed (21: Is a directory)

看了网上好多解决办法,都是用 -c来指向nginx的配置文件,但是不行,根据错误提示,看到access.log是一个文件夹,来到logs目录下,发现重启完服务器后,access.log确实变成了文件夹,把这文件夹删掉,重新创建一个access.log文件, 命令:touch access.log

再次启动nginx服务,报端口被占用

Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

解决办法:使用命令关闭占用80端口的程序

sudo fuser -k 80/tcp

再次启动nginx服务,成功,解决了两个半小时。。。

nginx: [emerg] open() "/nginx/logs/access.log" failed
闽ICP备20002476号