# spawn-fcgi -s /var/run/munin-fastcgi-html.sock -U nginx -u munin -g munin munin-fastcgi-html
spawn-fcgi: child exited with: 13
.sock已創建,但文件大小爲0個字節。 代碼13代表什麼?spawn-fcgi:child exited with:13
# spawn-fcgi -s /var/run/munin-fastcgi-html.sock -U nginx -u munin -g munin munin-fastcgi-html
spawn-fcgi: child exited with: 13
.sock已創建,但文件大小爲0個字節。 代碼13代表什麼?spawn-fcgi:child exited with:13
退出代碼13被拒絕。嘗試使用-n參數運行此命令並查看/var/log/nginx/error.log
感謝twitter.com/ngourlay我指出了Linux使用的系統錯誤代碼列表。它可能對未來的參考很有用:http://www.virtsync.com/c-error-codes-include-errno。
這並非詳盡無遺,但部分記錄,是一個很好的起點。如果您正在運行Linux系統,請在/usr/include
查看errno.h
。
的摘錄:
#define EPERM 1 /* Operation not permitted */
#define ENOENT 2 /* No such file or directory */
#define ESRCH 3 /* No such process */
#define EINTR 4 /* Interrupted system call */
#define EIO 5 /* I/O error */
#define ENXIO 6 /* No such device or address */
#define E2BIG 7 /* Argument list too long */
#define ENOEXEC 8 /* Exec format error */
#define EBADF 9 /* Bad file number */
#define ECHILD 10 /* No child processes */
#define EAGAIN 11 /* Try again */
#define ENOMEM 12 /* Out of memory */
#define EACCES 13 /* Permission denied */