Вылетает апач! помогите

Вылетает апач! помогите

от Soma Zh -
Количество ответов: 13

{помогите Пожалуйста.

у нас в универе стоит сервер WinServer 2008R2, установили версию Moodle 2.1.1. и постоянно при подключении нескольких компьютеров одновременно вылетает апач. Незнаем в чем проблема. Moodle работает по внешнему айпи адресу. И почему то при запуске start.exe командная срока не закрываеться, при ее закрытии вручную службы апач и mysql выбивает. на версии 1.9 все работало, но тоже при подключении нескольких пользователей одновременно выбивало апач!

 

прикрепили файл с описанием настроек сервера для moodle

Приложение настр сервера мудл.jpg
В ответ на Soma Zh

Re: Вылетает апач! помогите

от Андрей Чекунов -

В логах апача и логах винды что?

Оттуда начинайте

В ответ на Андрей Чекунов

Re: Вылетает апач! помогите

от Soma Zh -

в логах апача в error.logследующее:

[Wed Nov 09 11:34:23 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 configured -- resuming normal operations
[Wed Nov 09 11:34:23 2011] [notice] Server built: Oct 18 2010 01:58:12
[Wed Nov 09 11:34:23 2011] [notice] Parent: Created child process 5792
Apache server shutdown initiated...
Child 5792: Child process is running
[Wed Nov 09 11:34:25 2011] [notice] Child 5792: Acquired the start mutex.
[Wed Nov 09 11:34:25 2011] [notice] Child 5792: Starting 150 worker threads.
[Wed Nov 09 11:34:25 2011] [notice] Child 5792: Starting thread to listen on port 443.
[Wed Nov 09 11:34:25 2011] [notice] Child 5792: Starting thread to listen on port 80.
[Wed Nov 09 11:37:02 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:37:15 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:37:18 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:38:29 2011] [error] [client 127.0.0.1] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in D:\\MoodleWindowsInstaller-latest-21\\server\\moodle\\lib\\filelib.php on line 1082, referer: http://localhost/install.php
[Wed Nov 09 11:38:29 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/favicon.ico
[Wed Nov 09 11:38:29 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/favicon.ico
[Wed Nov 09 11:39:23 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Nov 09 11:39:23 2011] [notice] Child 5792: Exit event signaled. Child process is ending.
[Wed Nov 09 11:39:24 2011] [notice] Child 5792: Released the start mutex
[Wed Nov 09 11:39:25 2011] [notice] Child 5792: All worker threads have exited.
[Wed Nov 09 11:39:25 2011] [notice] Child 5792: Child process is exiting
[Wed Nov 09 11:39:25 2011] [notice] Parent: Child process exited successfully.
[Wed Nov 09 11:39:47 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 configured -- resuming normal operations
[Wed Nov 09 11:39:47 2011] [notice] Server built: Oct 18 2010 01:58:12
[Wed Nov 09 11:39:47 2011] [notice] Parent: Created child process 5760
Apache server shutdown initiated...
Child 5760: Child process is running
[Wed Nov 09 11:39:50 2011] [notice] Child 5760: Acquired the start mutex.
[Wed Nov 09 11:39:50 2011] [notice] Child 5760: Starting 150 worker threads.
[Wed Nov 09 11:39:50 2011] [notice] Child 5760: Starting thread to listen on port 443.
[Wed Nov 09 11:39:50 2011] [notice] Child 5760: Starting thread to listen on port 80.
[Wed Nov 09 11:40:04 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:40:15 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:40:18 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:40:44 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /theme/standard/style/%5B%5Bpix:theme|hgradient%5D%5D HTTP/1.1 to file, referer: http://localhost/theme/standard/style/core.css
[Wed Nov 09 11:40:56 2011] [error] [client 127.0.0.1] PHP Warning:  mysqli::mysqli() [<a href='mysqli.mysqli'>mysqli.mysqli</a>]: (42000/1049): Unknown database 'moodle' in D:\\MoodleWindowsInstaller-latest-21\\server\\moodle\\lib\\dml\\mysqli_native_moodle_database.php on line 296, referer: http://localhost/install.php
[Wed Nov 09 11:49:01 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Nov 09 11:49:01 2011] [notice] Child 5760: Exit event signaled. Child process is ending.
[Wed Nov 09 11:49:02 2011] [notice] Child 5760: Released the start mutex
[Wed Nov 09 11:49:03 2011] [notice] Child 5760: All worker threads have exited.
[Wed Nov 09 11:49:03 2011] [notice] Child 5760: Child process is exiting
[Wed Nov 09 11:49:03 2011] [notice] Parent: Child process exited successfully.
[Wed Nov 09 11:49:16 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 configured -- resuming normal operations
[Wed Nov 09 11:49:16 2011] [notice] Server built: Oct 18 2010 01:58:12
[Wed Nov 09 11:49:16 2011] [notice] Parent: Created child process 1880
[Wed Nov 09 11:49:18 2011] [notice] Child 1880: Child process is running
[Wed Nov 09 11:49:18 2011] [notice] Child 1880: Acquired the start mutex.
[Wed Nov 09 11:49:18 2011] [notice] Child 1880: Starting 150 worker threads.
[Wed Nov 09 11:49:18 2011] [notice] Child 1880: Starting thread to listen on port 443.
[Wed Nov 09 11:49:18 2011] [notice] Child 1880: Starting thread to listen on port 80.
[Wed Nov 09 11:53:59 2011] [error] [client 66.249.71.133] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Wed Nov 09 12:38:01 2011] [error] [client 66.249.66.152] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/robots.txt
[Wed Nov 09 15:31:10 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/www, referer: http://www.babushka.ua/receipts/item/?cat=11&sub=191&id=4993
[Wed Nov 09 15:32:34 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/www, referer: http://www.babushka.ua/receipts/list/?cat=11&sub=228
[Wed Nov 09 15:33:27 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/www, referer: http://www.babushka.ua/receipts/item/?cat=11&sub=228&id=5657
[Wed Nov 09 15:35:31 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/www, referer: http://www.babushka.ua/receipts/list/?cat=11&sub=228
[Wed Nov 09 15:36:23 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/www, referer: http://www.babushka.ua/receipts/item/?cat=11&sub=228&id=5180
[Wed Nov 09 17:55:28 2011] [error] [client 173.11.8.249] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/fastenv
[Wed Nov 09 21:16:49 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/robots.txt
[Thu Nov 10 03:16:12 2011] [error] [client 67.15.199.4] script 'D:/MoodleWindowsInstaller-latest-21/server/moodle/admin/config.php' not found or unable to stat
[Thu Nov 10 06:08:36 2011] [error] [client 199.71.212.195] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/user/soapCaller.bs
[Thu Nov 10 08:59:35 2011] [error] [client 87.230.74.46] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/din.aspx
[Thu Nov 10 09:14:25 2011] [error] [client 180.76.5.53] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/robots.txt
[Thu Nov 10 09:56:13 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/robots.txt
[Thu Nov 10 11:35:50 2011] [error] [client 88.204.234.85] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/favicon.ico
[Thu Nov 10 11:35:53 2011] [error] [client 88.204.234.85] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/favicon.ico
[Thu Nov 10 11:47:17 2011] [error] [client 88.204.234.85] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/mod/chat/gui_ajax/theme/compact/input.png, referer: http://88.204.234.85/mod/chat/gui_ajax/index.php?id=1
[Thu Nov 10 12:48:31 2011] [notice] Parent: child process exited with status 1073807364 -- Restarting.
Apache server shutdown initiated...
[Thu Nov 10 12:51:37 2011] [warn] pid file D:/MoodleWindowsInstaller-latest-21/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Nov 10 12:51:41 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 configured -- resuming normal operations
[Thu Nov 10 12:51:41 2011] [notice] Server built: Oct 18 2010 01:58:12
[Thu Nov 10 12:51:41 2011] [notice] Parent: Created child process 2976
Apache server shutdown initiated...
Child 2976: Child process is running
[Thu Nov 10 12:51:43 2011] [notice] Child 2976: Acquired the start mutex.
[Thu Nov 10 12:51:43 2011] [notice] Child 2976: Starting 150 worker threads.
[Thu Nov 10 12:51:43 2011] [notice] Child 2976: Starting thread to listen on port 443.
[Thu Nov 10 12:51:43 2011] [notice] Child 2976: Starting thread to listen on port 80.
[Thu Nov 10 12:54:25 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Nov 10 12:54:25 2011] [notice] Child 2976: Exit event signaled. Child process is ending.
[Thu Nov 10 12:54:26 2011] [notice] Child 2976: Released the start mutex
[Thu Nov 10 12:54:27 2011] [notice] Child 2976: All worker threads have exited.
[Thu Nov 10 12:54:27 2011] [notice] Child 2976: Child process is exiting
[Thu Nov 10 12:54:27 2011] [notice] Parent: Child process exited successfully.
[Thu Nov 10 12:56:39 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 configured -- resuming normal operations
[Thu Nov 10 12:56:39 2011] [notice] Server built: Oct 18 2010 01:58:12
[Thu Nov 10 12:56:39 2011] [notice] Parent: Created child process 3012
[Thu Nov 10 12:56:41 2011] [notice] Child 3012: Child process is running
[Thu Nov 10 12:56:41 2011] [notice] Child 3012: Acquired the start mutex.
[Thu Nov 10 12:56:41 2011] [notice] Child 3012: Starting 150 worker threads.
[Thu Nov 10 12:56:41 2011] [notice] Child 3012: Starting thread to listen on port 443.
[Thu Nov 10 12:56:41 2011] [notice] Child 3012: Starting thread to listen on port 80.
[Thu Nov 10 14:14:26 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Thu Nov 10 14:41:40 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Thu Nov 10 14:56:02 2011] [error] [client 67.15.199.4] script 'D:/MoodleWindowsInstaller-latest-21/server/moodle/admin/config.php' not found or unable to stat
[Thu Nov 10 15:10:15 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Thu Nov 10 15:38:49 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Thu Nov 10 16:35:57 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Thu Nov 10 17:04:32 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/theme/pattern_105
[Thu Nov 10 18:30:15 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/mod/forum/icon.gif
[Thu Nov 10 18:58:49 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/mod/chat/icon.gif
[Thu Nov 10 19:25:49 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/blocks/clock
[Thu Nov 10 19:27:23 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/blocks/wikipedia
[Thu Nov 10 20:54:05 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/blocks/clock
[Thu Nov 10 21:11:46 2011] [error] [client 173.11.8.249] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/fastenv
[Thu Nov 10 21:58:33 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/robots.txt
[Fri Nov 11 00:03:50 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/lib/editor/htmlarea
[Fri Nov 11 00:11:40 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/lib/editor/htmlarea
[Fri Nov 11 00:19:29 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/lib/editor/htmlarea
[Fri Nov 11 02:58:39 2011] [error] [client 173.11.8.249] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/fastenv
[Fri Nov 11 05:41:17 2011] [error] [client 66.249.68.236] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/robots.txt
[Fri Nov 11 06:01:14 2011] [error] [client 127.0.0.1] File does not exist: D:/MoodleWindowsInstaller-latest-21/server/moodle/ann

В ответ на Soma Zh

Re: Вылетает апач! помогите

от Evgeniy Devyatkin -

Оперативной памяти у сервера достаточно?

В ответ на Evgeniy Devyatkin

Re: Вылетает апач! помогите

от Soma Zh -
В ответ на Soma Zh

Re: Вылетает апач! помогите

от Виталий Лавров -
Изображение пользователя Эксперт по Moodle

На мой взгляд проблема началась с этой строчки

[Wed Nov 09 11:38:29 2011] [error] [client 127.0.0.1] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in D:\\MoodleWindowsInstaller-latest-21\\server\\moodle\\lib\\filelib.php on line 1082, referer: http://localhost/install.php

для инсталятора и бекапа курсов 30 секунд - мало.

В ответ на Виталий Лавров

Re: Вылетает апач! помогите

от Vadim Tabunshchik -
Изображение пользователя Developers

Ну и вылетела бы страница с этой ошибкой: "PHP Fatal error:  Maximum execution time of 30 seconds…бла-бла-бла"
А апач при этом вылетать не должен.

На мой взгляд проблема началась вот с этой связки:  WinServer 2008+Апач улыбаюсь
Зачем устанавливать Апач, если есть IIS?

 

В ответ на Vadim Tabunshchik

Re: Вылетает апач! помогите

от Виталий Лавров -
Изображение пользователя Эксперт по Moodle

Я что-то не улавливаю связи IIS с 2008. IIS - это отдельный компонент и для него лицензия нужна если им пользуется неограниченный круг лиц (IMHO) и его нужно уметь готовить для php.

Есть апач и нужно понять что кто роняет.

Я бы снес базу мудла, увеличил время выполнения скриптов и попытался поставить его снова.

В ответ на Виталий Лавров

Re: Вылетает апач! помогите

от Andrey Zahkarchenko -

Виталий, не вводите человека в заблуждение, под IIS отдельной лицензии не надо. Это раз! Во вторых, если использовать win2008R2 с IIS 7.5 туда php прикручивается двумя кликами, что меня лично удивило. У меня вообще моодле работаетс iss 7.5 + php + MSSQL с авторизацией по ldap и все шуршит. Все роли и компоненты доступные к установке через "Диспетчер сервера"не требуют отдельных лицензий, это компонент системы и вы за них уже заплатили при покупке лицензии на Windows Server 2008.

Дальше, а вот еловек говорит, что потом еще развернул роль IIS и тут как бы вопрос, а не дерутся ли apache и iis за 80 порт? тут как раз по идиологии должен умереть apache уступив место iis.

В ответ на Andrey Zahkarchenko

Re: Вылетает апач! помогите

от Виталий Лавров -
Изображение пользователя Эксперт по Moodle

Апач не запуститься если не удается занять нужные порты  и в логах это будет четко видно. Да и это не сложно проверить через "netstat -a -n"

Пока по логам видно что апач завершают. Кто - непонятно.

PS гы! А с лицензиями стало проще чем раньше! Не прошло и 7 лет улыбаюсь

В ответ на Виталий Лавров

Re: Вылетает апач! помогите

от Andrey Zahkarchenko -

Да, вы правы, он бы не запустлся. Матерно ругнулся бы и все. Скорее всего он завершается из-за закрытия start.exe. По поводу лицензий, он всегда был бесплатный этот iis, возможно вы с шарапоинтом путаете, там да, нужны доп лицензии.

В ответ на Soma Zh

Re: Вылетает апач! помогите

от Andrey Zahkarchenko -

А вы уверены, что информация верна, так как по вашим словам "у нас в универе стоит сервер WinServer 2008R2" А на скрине обычный win2008 std да еще и 34 битный.

В ответ на Soma Zh

Re: Вылетает апач! помогите

от Виталий Лавров -
Изображение пользователя Эксперт по Moodle

И почему то при запуске start.exe командная срока не закрываеться, при ее закрытии вручную службы апач и mysql выбивает. на версии 1.9 все работало, но тоже при подключении нескольких пользователей одновременно выбивало апач!

Что мешает запустить апача и мускул как службы, а не через ..... ?