Добрый день.
Столкнулся с проблемой.
Nginx стоит перед apache.
Все отлично работало, но при очередном перезапуске получил: Segmentation fault (core dumped)
Конфиг проверил - все правильно.
Ставил порт 888888 на последнем виртуалхосте чтобы конфиг проверить, все отработало нормально и nginx ругнулся на порт.
При запуске или запуске configtest падает в корку
#gdb /usr/local/etc/rc.d/nginx /root/nginx.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"..."/usr/local/etc/rc.d/nginx": not in executable format: File format not recognized
Core was generated by `nginx'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004065c3 in ?? ()
#nginx -V
nginx version: nginx/1.2.0
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --with-google_perftools_module --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx-access.log --with-http_stub_status_module --with-pcre
#/usr/local/etc/rc.d/nginx oneconfigtest
Performing sanity check on nginx configuration:
nginx: [warn] conflicting server name "xxxxxxxx.com" on xx.xxx.xxx.xxx:888, ignored
nginx: [warn] conflicting server name "xxxxxxxxx.com" on xx.xxx.xxx.xxx:888, ignored
nginx: [warn] conflicting server name "xxxxxxxxxxxx.net" on xx.xxx.xxx.xxx:888, ignored
Segmentation fault (core dumped)
Есть идеи в какую сторону копать?