小编Bou*_*ffe的帖子

rsync : 写入失败 - 设备上没有剩余空间 (28)

我想将文件夹从一台服务器同步到另一台服务器。

但是 rsync 同步失败:

$ rsync -zr --compress-level=9 --delete /var/www/mywebsite/current/web/js login@192.168.1.4:/srv/data2_http
rsync: write failed on "/srv/data2_http/js/8814c77.js": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.9]
rsync: connection unexpectedly closed (21747 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Run Code Online (Sandbox Code Playgroud)

但我有足够的空间!

$ du -h /var/www/mywebsite/current/web/js
2.4M    /var/www/mywebsite/current/web/js


df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          5.0G  3.0G  1.8G  64% /
/dev/root       5.0G …
Run Code Online (Sandbox Code Playgroud)

linux rsync

7
推荐指数
2
解决办法
3万
查看次数

Nginx 1.6.3 到 1.8 升级

我在 Linux Mint LMDE 上。我刚刚通过 aptitude 将 nginx 从 1.6.3 升级到 1.8.0,现在,我的所有网站上都出现了空白页面

这是我的配置:

    server {
        listen 80;

        root /var/www/phpmyadmin;
        index index.php;

        server_name phpmyadmin.loc;

        location / {
                try_files $uri $uri/ =404;
        }

        location ~ \.php$ {
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                include fastcgi_params;
        }

        location ~ /\.ht {
                deny all;
        }
}
Run Code Online (Sandbox Code Playgroud)

这是phpmyadmin的基本配置...

当我访问我的索引时,我得到了访问日志。

127.0.0.1 - - [07/May/2015:11:53:51 +0200] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
Run Code Online (Sandbox Code Playgroud)

但是没有错误日志和空白页

任何人都可以帮助我吗?

linux nginx php-fpm upgrade

5
推荐指数
1
解决办法
3873
查看次数

标签 统计

linux ×2

nginx ×1

php-fpm ×1

rsync ×1

upgrade ×1