Re[4]: Ошибка запуска nginx 0.5.6
Дмитрий
admin at it-2.ru
Mon Jan 15 17:52:19 MSK 2007
Hello Konstantin,
Monday, January 15, 2007, 5:32:41 PM, you wrote:
> emerge dev-util/strace
>> bash: strace: команда не найдена
>> ОС = Gentoo Linux x86_64
>>
>> --
>> Best regards,
>> Дмитрий mailto:admin at it-2.ru
>>
>>
>>
execve("/usr/sbin/nginx", ["nginx", "-t"], [/* 35 vars */]) = 0
brk(0) = 0x56b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb7583d000
uname({sys="Linux", node="localhost", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=40664, ...}) = 0
mmap(NULL, 40664, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2acb7583e000
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\f\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=23248, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb75848000
mmap(NULL, 1257888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2acb7593e000
mprotect(0x2acb75943000, 1044480, PROT_NONE) = 0
mmap(0x2acb75a42000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2acb75a42000
mmap(0x2acb75a44000, 184736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2acb75a44000
close(3) = 0
open("/usr/lib/libpcre.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\36\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=112664, ...}) = 0
mmap(NULL, 1157960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2acb75a72000
mprotect(0x2acb75a87000, 1044480, PROT_NONE) = 0
mmap(0x2acb75b86000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x2acb75b86000
close(3) = 0
open("/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\35\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=81968, ...}) = 0
mmap(NULL, 1127688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2acb75b8d000
mprotect(0x2acb75ba0000, 1048576, PROT_NONE) = 0
mmap(0x2acb75ca0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x2acb75ca0000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\324\1\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1344488, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb75ca1000
mmap(NULL, 2331624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2acb75ca2000
mprotect(0x2acb75dd2000, 1048576, PROT_NONE) = 0
mmap(0x2acb75ed2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x130000) = 0x2acb75ed2000
mmap(0x2acb75ed7000, 17384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2acb75ed7000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb75edc000
arch_prctl(ARCH_SET_FS, 0x2acb75edc6d0) = 0
mprotect(0x2acb75ed2000, 12288, PROT_READ) = 0
mprotect(0x2acb7593c000, 4096, PROT_READ) = 0
munmap(0x2acb7583e000, 40664) = 0
brk(0) = 0x56b000
brk(0x58c000) = 0x58c000
open("/etc/localtime", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb7583e000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0"..., 4096) = 815
close(3) = 0
munmap(0x2acb7583e000, 4096) = 0
getpid() = 14126
open("/proc/sys/kernel/ostype", O_RDONLY) = 3
read(3, "Linux\n", 50) = 6
close(3) = 0
open("/proc/sys/kernel/osrelease", O_RDONLY) = 3
read(3, "2.6.17-gentoo-r1\n", 50) = 17
close(3) = 0
_sysctl({{CTL_KERN, KERN_RTSIGMAX}, 2, 0x56adb4, 4, (nil), 0}) = -1 ENOTDIR (Not a directory)
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/etc/ngnix/conf/nginx.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=12587, ...}) = 0
pread(3, "user nobody;\nworker_processes "..., 4096, 0) = 4096
geteuid() = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb7583e000
read(4, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2acb7583e000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=40664, ...}) = 0
mmap(NULL, 40664, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2acb7583e000
close(4) = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\26\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=31992, ...}) = 0
mmap(NULL, 1078504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2acb75edd000
mprotect(0x2acb75ee4000, 1044480, PROT_NONE) = 0
mmap(0x2acb75fe3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x2acb75fe3000
close(4) = 0
open("/lib/libnsl.so.1", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200E\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=83384, ...}) = 0
mmap(NULL, 1137008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2acb75fe5000
mprotect(0x2acb75ff8000, 1044480, PROT_NONE) = 0
mmap(0x2acb760f7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12000) = 0x2acb760f7000
mmap(0x2acb760f9000, 6512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2acb760f9000
close(4) = 0
munmap(0x2acb7583e000, 40664) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=40664, ...}) = 0
mmap(NULL, 40664, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2acb7583e000
close(4) = 0
open("/lib/libnss_nis.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340#\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=40464, ...}) = 0
mmap(NULL, 1086680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2acb760fb000
mprotect(0x2acb76104000, 1044480, PROT_NONE) = 0
mmap(0x2acb76203000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8000) = 0x2acb76203000
close(4) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p#\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=44392, ...}) = 0
mmap(NULL, 1090856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2acb76205000
mprotect(0x2acb7620f000, 1044480, PROT_NONE) = 0
mmap(0x2acb7630e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2acb7630e000
close(4) = 0
munmap(0x2acb7583e000, 40664) = 0
open("/etc/passwd", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
lseek(4, 0, SEEK_CUR) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=2213, ...}) = 0
mmap(NULL, 2213, PROT_READ, MAP_SHARED, 4, 0) = 0x2acb7583e000
lseek(4, 2213, SEEK_SET) = 2213
munmap(0x2acb7583e000, 2213) = 0
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/group", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
lseek(4, 0, SEEK_CUR) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=844, ...}) = 0
mmap(NULL, 844, PROT_READ, MAP_SHARED, 4, 0) = 0x2acb7583e000
lseek(4, 844, SEEK_SET) = 844
munmap(0x2acb7583e000, 844) = 0
close(4) = 0
epoll_create(100) = 4
close(4) = 0
stat("/etc/ngnix/conf/mime.types", {st_mode=S_IFREG|0644, st_size=2257, ...}) = 0
open("/etc/ngnix/conf/mime.types", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2257, ...}) = 0
pread(4, "\ntypes {\n text/html "..., 4096, 0) = 2257
close(4) = 0
pread(3, "stcgi_next_upstream error timeou"..., 4093, 4096) = 4093
brk(0x5ad000) = 0x5ad000
pread(3, "$remote_user;\nfastcgi_param RE"..., 4080, 8189) = 4080
pread(3, " $request_uri;\nfastcgi_param"..., 4085, 12269) = 318
open("/etc/resolv.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb7583e000
read(4, "nameserver 217.10.32.5\nsearch 21"..., 4096) = 42
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2acb7583e000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/host.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=936, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb7583e000
read(4, "# /etc/host.conf:\n# $Header: /va"..., 4096) = 936
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2acb7583e000, 4096) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=768, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb7583e000
read(4, "# /etc/hosts: This file describ"..., 4096) = 768
close(4) = 0
munmap(0x2acb7583e000, 4096) = 0
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb75849000
mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb76310000
mmap(NULL, 401408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb76391000
mmap(NULL, 401408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb763f3000
munmap(0x2acb763f3000, 401408) = 0
munmap(0x2acb76391000, 401408) = 0
munmap(0x2acb76310000, 528384) = 0
munmap(0x2acb75849000, 528384) = 0
close(3) = 0
write(2, "2007/01/15 16:46:43 [info] 14126"..., 992007/01/15 16:46:43 [info] 14126#0: the configuration file /etc/ngnix/conf/nginx.conf syntax is ok
) = 99
open("/var/run/nginx.pid", O_RDWR|O_CREAT, 0644) = 3
close(3) = 0
mkdir("/etc/ngnix/client_body_temp", 0700) = -1 EEXIST (File exists)
stat("/etc/ngnix/client_body_temp", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
mkdir("/etc/ngnix/proxy_temp", 0700) = -1 EEXIST (File exists)
stat("/etc/ngnix/proxy_temp", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
mkdir("/etc/ngnix/fastcgi_temp", 0700) = -1 EEXIST (File exists)
stat("/etc/ngnix/fastcgi_temp", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/etc/ngnix/logs/error.log", O_RDWR|O_APPEND|O_CREAT, 0644) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
open("/etc/ngnix/logs/access.log", O_RDWR|O_APPEND|O_CREAT, 0644) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
open("/etc/ngnix/logs/host.access.log", O_RDWR|O_APPEND|O_CREAT, 0644) = 5
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
open("/etc/ngnix/logs/host.error.log", O_RDWR|O_APPEND|O_CREAT, 0644) = 6
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
mmap(NULL, 10485760, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = 0x2acb76310000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 14126 detached
--
Best regards,
Дмитрий mailto:admin at it-2.ru
More information about the nginx-ru
mailing list