помогите с апачем

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
SergoMorello
мл. сержант
Сообщения: 70
Зарегистрирован: 2011-04-18 21:53:03

помогите с апачем

Непрочитанное сообщение SergoMorello » 2011-04-20 18:51:34

всем здрасте дело такое поставил фри бсд установил из портов апач + пхп запускаю всё работает и тут меня чёрт потянул залезть в файл rc.conf я там заметил после имени хоста точку hostname=servername. убрал её и за одно проверил в файле hosts там также присутствовали точки оттуда также убрал их и перезагрузил компьютер и теперь после этого апач не поднимается и выдаёт ошибку

Код: Выделить всё

[warn] (2)No such file or directory:Failed to enable the ‘httpready’ Accept Filter

лазил по интернету нашол много похожих проблем пробовал прописывать accf_http_load=”YES” в /boot/loader.conf ошибка пропадает но апач не поднимается
(сильно не пинайте я в делах с фри бсд новичок)
Последний раз редактировалось f_andrey 2011-04-20 18:55:44, всего редактировалось 1 раз.
Причина: Автору, выбирайте пожалуйста раздел соответствуюший тематике вашего сообщения.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Sova
старшина
Сообщения: 444
Зарегистрирован: 2006-09-13 14:10:59
Откуда: Цхинвал-Москва
Контактная информация:

Re: помогите с апачем

Непрочитанное сообщение Sova » 2011-04-20 19:33:14

В логах что?
Чтобы чувствовать себя орлом, нужно летать с орлами.

SergoMorello
мл. сержант
Сообщения: 70
Зарегистрирован: 2011-04-18 21:53:03

Re: помогите с апачем

Непрочитанное сообщение SergoMorello » 2011-04-20 19:42:43

в том то и дело что ничего эта ошибка видна только в консоле

Аватара пользователя
Sova
старшина
Сообщения: 444
Зарегистрирован: 2006-09-13 14:10:59
Откуда: Цхинвал-Москва
Контактная информация:

Re: помогите с апачем

Непрочитанное сообщение Sova » 2011-04-20 19:45:11

Код: Выделить всё

tail -f /var/log/httpd-error.log

Код: Выделить всё

cat /var/log/httpd-error.log
Последний раз редактировалось Sova 2011-04-20 19:47:22, всего редактировалось 1 раз.
Чтобы чувствовать себя орлом, нужно летать с орлами.

SergoMorello
мл. сержант
Сообщения: 70
Зарегистрирован: 2011-04-18 21:53:03

Re: помогите с апачем

Непрочитанное сообщение SergoMorello » 2011-04-20 19:47:11

Код: Выделить всё

[Wed Apr 20 19:12:21 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:12:22 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:12:24 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:12:24 2011] [notice] Digest: done
[Wed Apr 20 19:12:24 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:12:25 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:12:27 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:12:27 2011] [notice] Digest: done
[Wed Apr 20 19:12:27 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:13:00 2011] [notice] caught SIGTERM, shutting down
последний лог был больше часа назад

SergoMorello
мл. сержант
Сообщения: 70
Зарегистрирован: 2011-04-18 21:53:03

Re: помогите с апачем

Непрочитанное сообщение SergoMorello » 2011-04-20 19:50:40

Код: Выделить всё

 /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:03 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:03 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:03 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:03 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:04 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:04 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:04 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:04 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:04 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:05 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:05 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:05 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:06 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:06 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:06 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:06 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:06 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:06 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:07 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:07 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:44:07 2011] [error] [client 192.168.104.192] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:45:03 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/news.php
[Wed Apr 20 17:45:06 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:45:07 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:45:07 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:45:10 2011] [error] [client 192.168.103.67] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:47:27 2011] [error] [client 192.168.103.88] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:47:28 2011] [error] [client 192.168.112.13] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 17:51:17 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/news.php
[Wed Apr 20 17:51:19 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:51:20 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:51:20 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:51:25 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 17:51:29 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/news.php
[Wed Apr 20 17:53:14 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/news.php
[Wed Apr 20 17:54:57 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:00:16 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:00:16 2011] [notice] Digest: done
[Wed Apr 20 19:00:16 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:00:16 2011] [error] [client 192.168.105.144] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/profile.php?lookup=1
[Wed Apr 20 19:00:19 2011] [error] [client 192.168.105.144] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/messages.php?folder=inbox&msg_read=91
[Wed Apr 20 19:00:49 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/news.php
[Wed Apr 20 19:00:51 2011] [error] [client 192.168.106.4] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 19:01:01 2011] [error] [client 192.168.105.144] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/messages.php?folder=inbox&msg_send=1&msg_id=91
[Wed Apr 20 19:01:03 2011] [error] [client 192.168.106.244] File does not exist: /usr/local/www/apache22/data/rating, referer: http://192.168.106.51/forum/index.php
[Wed Apr 20 19:01:09 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:02:01 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:02:01 2011] [notice] Digest: done
[Wed Apr 20 19:02:52 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:02:52 2011] [notice] Digest: done
[Wed Apr 20 19:04:49 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:04:49 2011] [notice] Digest: done
[Wed Apr 20 19:05:06 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:05:06 2011] [notice] Digest: done
[Wed Apr 20 19:05:06 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:05:09 2011] [error] [client 192.168.109.17] File does not exist: /usr/local/www/apache22/data/favicon.ico, referer: http://x-site/
[Wed Apr 20 19:05:29 2011] [notice] caught SIGTERM, shutting down
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 43 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 42 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 41 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 40 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 39 in Unknown on line 0
[Wed Apr 20 19:07:12 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:07:12 2011] [notice] Digest: done
[Wed Apr 20 19:07:12 2011] [notice] Apache/2.2.17 (FreeBSD) PHP/5.3.5 with Suhosin-Patch configured -- resuming normal operations
[Wed Apr 20 19:07:46 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:07:48 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:07:48 2011] [notice] Digest: done
[Wed Apr 20 19:07:48 2011] [notice] Apache/2.2.17 (FreeBSD) PHP/5.3.5 with Suhosin-Patch configured -- resuming normal operations
[Wed Apr 20 19:08:03 2011] [notice] caught SIGTERM, shutting down
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 25 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 25 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 24 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 23 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 22 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 21 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 20 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 19 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 18 in Unknown on line 0
[Wed Apr 20 19:09:13 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:09:13 2011] [notice] Digest: done
[Wed Apr 20 19:09:13 2011] [notice] Apache/2.2.17 (FreeBSD) PHP/5.3.5 with Suhosin-Patch configured -- resuming normal operations
[Wed Apr 20 19:09:27 2011] [notice] caught SIGTERM, shutting down
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 17 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 17 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 16 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 15 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /usr/local/etc/php/extensions.ini on line 14 in Unknown on line 0
[Wed Apr 20 19:10:15 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:10:15 2011] [notice] Digest: done
[Wed Apr 20 19:10:15 2011] [notice] Apache/2.2.17 (FreeBSD) PHP/5.3.5 with Suhosin-Patch configured -- resuming normal operations
[Wed Apr 20 19:10:23 2011] [error] [client 192.168.104.16] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Wed Apr 20 19:10:33 2011] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xmlreader.so' - /usr/local/lib/php/20090626/xmlreader.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xsl.so' - /usr/local/lib/php/20090626/xsl.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xmlreader.so' - /usr/local/lib/php/20090626/xmlreader.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xsl.so' - /usr/local/lib/php/20090626/xsl.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xmlreader.so' - /usr/local/lib/php/20090626/xmlreader.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xsl.so' - /usr/local/lib/php/20090626/xsl.so: Undefined symbol "dom_node_class_entry" in Unknown on line 0
[Wed Apr 20 19:11:38 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:11:38 2011] [notice] Digest: done
[Wed Apr 20 19:11:38 2011] [notice] Apache/2.2.17 (FreeBSD) PHP/5.3.5 with Suhosin-Patch configured -- resuming normal operations
[Wed Apr 20 19:11:48 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:11:51 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:11:51 2011] [notice] Digest: done
[Wed Apr 20 19:11:51 2011] [notice] Apache/2.2.17 (FreeBSD) PHP/5.3.5 with Suhosin-Patch configured -- resuming normal operations
[Wed Apr 20 19:12:19 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:12:21 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:12:21 2011] [notice] Digest: done
[Wed Apr 20 19:12:21 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:12:22 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:12:24 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:12:24 2011] [notice] Digest: done
[Wed Apr 20 19:12:24 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:12:25 2011] [notice] caught SIGTERM, shutting down
[Wed Apr 20 19:12:27 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 20 19:12:27 2011] [notice] Digest: done
[Wed Apr 20 19:12:27 2011] [notice] Apache/2.2.17 (FreeBSD) configured -- resuming normal operations
[Wed Apr 20 19:13:00 2011] [notice] caught SIGTERM, shutting down

SergoMorello
мл. сержант
Сообщения: 70
Зарегистрирован: 2011-04-18 21:53:03

Re: помогите с апачем

Непрочитанное сообщение SergoMorello » 2011-04-20 20:25:19

ну неужели никто незнает в чём дело? апач вообще не стартует в логах даже попытки на старт нету

SergoMorello
мл. сержант
Сообщения: 70
Зарегистрирован: 2011-04-18 21:53:03

Re: помогите с апачем

Непрочитанное сообщение SergoMorello » 2011-04-20 20:48:41

прошу прощения за беспокойство я разобрался в чём дело это один модуль в пхп не давал стартануть апач , Всем спасибо за внимание