[8:40]vesuvius:root->/root# service apache22 restart Performing sanity check on apache22 configuration: Syntax OK apache22 not running? (check /var/run/httpd.pid). Performing sanity check on apache22 configuration: Syntax OK Starting apache22. (48)Address already in use: make_sock: could not bind to address [::]:81 (48)Address already in use: make_sock: could not bind to address 0.0.0.0:81 no listening sockets available, shutting down Unable to open logs /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
[8:40]vesuvius:root->/root# ps -auxww | grep http root 50470 0,0 0,2 396348 50264 ?? I 7:25 0:00,01 /usr/local/sbin/httpd -DNOHTTPACCEPT root 50471 0,0 0,2 396348 50264 ?? I 7:25 0:00,02 /usr/local/sbin/httpd -DNOHTTPACCEPT root 58570 0,0 0,0 16308 1944 1 S+ 8:40 0:00,00 grep http [8:41]vesuvius:root->/root# service apache22 status apache22 is not running. Помогает только ручное удаление процессов # apachectl -V Server version: Apache/2.2.22 (FreeBSD) Server built: Jul 26 2012 01:08:49 Server's Module Magic Number: 20051115:30 Server loaded: APR 1.4.5, APR-Util 1.3.12 Compiled using: APR 1.4.5, APR-Util 1.3.12 Architecture: 64-bit Server MPM: ITK threaded: no forked: yes (variable process count Что-бы такого в скрипт /usr/local/etc/rc.d/apache22 дописать, чтоб нормально гасить зависнувших потомков httpd ? -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE