LinuxForum.Fans
Тема

Переход с IIS на Centos

Автор: milienko 63 сообщений 6567 просмотров
07.10.2014 20:51 #395458

Добрый вечер!
Ну что же в Вашем полку прибыло.

Задача перенести сайт с IIS на Centos. Может кто сталкивался?
Что сделано:
Установлен Centos + Apache + PHP + MySQL + PMA , все по инструкции, все вроде как живет и проверяется.
Информацию phpinfo - выдает
Версию MySQL показывает

Через PMA с площадки IIS экспортировал БД и импортировал на Centos.
Перелил файлы, поправил конфиг сайта. Не работает!
Че еще ему надо?

07.10.2014 21:16 #395461

111: у меня комп глючит, что делать???
ответы:
222: у меня машина не заводится, в чем причина?
333: хочу похудеть, но не получается, что делать?
444: я поссорился с женой, не понимаю, почему?
555: сварил пельмени, получилось невкусно, почему так?
666: я заболел, как мне вылечиться?
111: вы что дибилы штоль? это форум про кампы а не для тупых домахозяек как вы!!!! мне нужен конкретный ответ на конкретный вопрос!!

Смотрите логи.
Не можете разобраться, выкладывайте сюда.

07.10.2014 21:18 #395462

учимся задавать вопросы.

Что не работает? Какой сайт, как был написан? На чем? Какая база была на винде? Как именно перезалилась? Логи? Конкретные эрроры?

07.10.2014 21:28 #395463

Спасибо, что отозвались.
Сайт моя личная коллекция видео: видеосервер.рф
Написат был на Smarty

В папке Error есть файлы:
contact.html.var
HTTP_BAD_GATEWAY.html.var
HTTP_BAD_REQUEST.html.var
HTTP_FORBIDDEN.html.var
HTTP_GONE.html.var
HTTP_INTERNAL_SERVER_ERROR.html.var

07.10.2014 21:31 #395464

HTTP_LENGTH_REQUIRED.html.var
HTTP_METHOD_NOT_ALLOWED.html.var
HTTP_NOT_FOUND.html.var
HTTP_NOT_IMPLEMENTED.html.var
HTTP_PRECONDITION_FAILED.html.var
HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
HTTP_REQUEST_TIME_OUT.html.var
HTTP_REQUEST_URI_TOO_LARGE.html.var
HTTP_SERVICE_UNAVAILABLE.html.var
HTTP_UNAUTHORIZED.html.var
HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
HTTP_VARIANT_ALSO_VARIES.html.var
noindex.html
README

Это все. Из этого что ни будь нужно?
Чесно скажу, не знаю как продиогнастировать проблему... Сижу весь день, бьюсь и все никак...

07.10.2014 21:38 #395465

учимся отвечать на вопросы.

Что не работает? - сайт. Пустой экран.
Какой сайт, как был написан? - Товарищь написал. Нет в живых.
На чем? - написан на старинной Smarty
Какая база была на винде? MySQL Server 5.6
Как именно перезалилась? - Импорт и экспорт. Ошибок непоказало.
Логи? - Где и откуда взять?
Конкретные эрроры? - Где и откуда взять?

07.10.2014 21:42 #395467

Может это поможет мне помоч?

Показать
[Tue Oct 07 22:26:30 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 07 22:26:30 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:26:30 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:26:30 2014] [notice] Digest: done
[Tue Oct 07 22:26:30 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 22:26:41 2014] [error] [client 10.0.1.103] File does not exist: /var/www/html/favicon.ico
[Tue Oct 07 22:30:03 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 22:30:03 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 07 22:30:03 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:30:03 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:30:03 2014] [notice] Digest: done
[Tue Oct 07 22:30:03 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 22:32:31 2014] [error] [client 10.0.1.103] script '/var/www/html/inf.php' not found or unable to stat
[Tue Oct 07 22:35:48 2014] [error] [client 10.0.1.103] script '/var/www/html/inf.php' not found or unable to stat
[Tue Oct 07 22:35:50 2014] [error] [client 10.0.1.103] script '/var/www/html/inf.php' not found or unable to stat
[Tue Oct 07 22:40:21 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 22:40:21 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 07 22:40:21 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:40:21 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:40:21 2014] [notice] Digest: done
[Tue Oct 07 22:40:22 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 22:43:03 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 22:43:04 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Oct 07 22:43:04 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:43:04 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:43:04 2014] [notice] Digest: done
[Tue Oct 07 22:43:04 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 22:44:52 2014] [error] [client 10.0.1.103] script '/var/www/html/inf.php' not found or unable to stat
[Tue Oct 07 22:47:37 2014] [error] [client 10.0.1.103] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /var/www/html/inf.php on line 2
[Tue Oct 07 23:07:54 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Oct 08 00:17:37 2014] [notice] caught SIGTERM, shutting down
[Wed Oct 08 00:18:11 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Oct 08 00:18:11 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 08 00:18:11 2014] [notice] Digest: done
[Wed Oct 08 00:18:12 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Oct 08 00:18:15 2014] [error] [client 10.0.1.103] Directory index forbidden by Options directive: /var/www/html/
[Wed Oct 08 00:18:15 2014] [error] [client 10.0.1.103] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://10.0.1.113/
[Tue Oct 07 16:29:22 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 16:30:00 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 16:30:00 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 16:30:00 2014] [notice] Digest: done
[Tue Oct 07 16:30:01 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 16:39:52 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Tue Oct 07 16:41:00 2014] [error] [client 10.0.1.103] Directory index forbidden by Options directive: /var/www/html/
[Tue Oct 07 16:41:00 2014] [error] [client 10.0.1.103] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://10.0.1.113/
[Tue Oct 07 17:15:32 2014] [error] [client 10.0.1.103] Directory index forbidden by Options directive: /var/www/html/
[Tue Oct 07 17:15:32 2014] [error] [client 10.0.1.103] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://10.0.1.113/
[Tue Oct 07 17:36:22 2014] [error] [client 127.0.0.1] request failed: URI too long (longer than 8190)
[Tue Oct 07 17:54:18 2014] [error] [client 10.0.1.103] Directory index forbidden by Options directive: /var/www/html/
[Tue Oct 07 17:54:19 2014] [error] [client 10.0.1.103] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://10.0.1.113/
[Tue Oct 07 18:26:54 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 18:27:32 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 18:27:32 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 18:27:32 2014] [notice] Digest: done
[Tue Oct 07 18:27:32 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 19:12:04 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:12:04 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:12:10 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:12:10 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:12:12 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:12:12 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:41:42 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 19:41:42 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 19:41:42 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 19:41:42 2014] [notice] Digest: done
[Tue Oct 07 19:41:42 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 19:52:40 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:52:40 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:52:43 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:52:43 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:52:43 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:52:43 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:58:47 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:58:47 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 19:58:52 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 19:58:52 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:20 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:20 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:21 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:21 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:21 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:21 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:21 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:21 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:22 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:37 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:37 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:43 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:43 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:57 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:01:57 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:04:51 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 20:04:51 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 20:04:51 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 20:04:51 2014] [notice] Digest: done
[Tue Oct 07 20:04:51 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 20:04:57 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:04:57 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:05:19 2014] [error] [client 10.0.1.103] File does not exist: /var/www/html/index.http
[Tue Oct 07 20:06:16 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:06:16 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:02 2014] [error] [client 127.0.0.1] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:02 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:13 2014] [error] [client 127.0.0.1] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:13 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:15 2014] [error] [client 127.0.0.1] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:15 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:16 2014] [error] [client 127.0.0.1] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:16 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:25 2014] [error] [client 127.0.0.1] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:25 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:54 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:09:54 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/logotip.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/razd.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/menu_razd.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/bg_left.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/bg.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/bg_rigth.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/bg_menu.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/bg_box.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:09 2014] [error] [client 10.0.1.103] (13)Permission denied: access to /images/bg_foot.jpg denied, referer: http://10.0.1.113/index1.php
[Tue Oct 07 20:15:21 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:15:21 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:26:44 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 20:27:22 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 20:27:22 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 20:27:22 2014] [notice] Digest: done
[Tue Oct 07 20:27:22 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 20:29:13 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:29:13 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 20:53:22 2014] [error] [client 10.0.1.103] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 20:53:22 2014] [error] [client 10.0.1.103] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
07.10.2014 21:45 #395468

SSL Error
[Tue Oct 07 22:26:30 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 07 22:26:30 2014] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
[Tue Oct 07 22:26:30 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Oct 07 22:26:30 2014] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?

07.10.2014 21:48 #395469

Да там целый лес ошибок

07.10.2014 21:51 #395470

:о((( ну ладно Вам так грубо... Я целый день мучался, настраивал, по форумам и статьям. Помогите запустить. С чего мне начать?

07.10.2014 21:55 #395471

Для начала мне нужно компилировать php-pear? я правильно понял?

07.10.2014 21:58 · отредактировано #395472

1) Я бы для начала отключил SELinux.
А если он будет нужен, то потом настроил бы правила.

Для этого нужно в файле /etc/sysconfig/selinux

заменить

SELINUX=enforcing
на
SELINUX=disabled

и перезагрузить сервер.

============================

2) Создал бы в каталоге /var/www/html

файл .htaccess

text

AddDefaultCharset UTF-8 DirectoryIndex index.php index.html Options +Indexes

### Show Errors on Page php_flag display_errors on php_value error_reporting 2047 php_flag display_startup_errors on php_flag html_errors on

============================

3) Удалил содержимое файла со старыми логами (тот, что с большим количеством записей в вашем сообщении 7).

4) запустил бы стартовую страницу сайта (index.http). Посмотрел бы, появились ли ошибки на странице.

5) выложил бы содержимое нового лога сюда.

====================

С Smarty не работал.

07.10.2014 22:01 #395473
"Marley" написал:
и перезагрузить сервер

не проще для теста сделать setenforce 0 ?

07.10.2014 22:08 #395474
dyasny написал:
[quote="Marley"]и перезагрузить сервер

не проще для теста сделать setenforce 0 ?[/quote]

Может быть и проще, но я так никогда не делал.

07.10.2014 22:13 #395476

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
SETLOCALDEFS=0 -


так и было. Может я не перезагружал.
удалил логи, ушел в Reboot

07.10.2014 22:16 #395477
milienko написал:


так и было. Может я не перезагружал.
удалил логи, ушел в Reboot

Я прочитал первую строку из логов:

text
[Tue Oct 07 22:26:30 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
07.10.2014 22:17 #395478

[Tue Oct 07 22:15:16 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:15:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:15:16 2014] [notice] Digest: done
[Tue Oct 07 22:15:16 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 22:16:10 2014] [error] [client 127.0.0.1] PHP Warning: require_once(class/RootAction.php): failed to open stream: Permission denied in /var/www/html/index.php on line 4
[Tue Oct 07 22:16:10 2014] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'class/RootAction.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/index.php on line 4
[Tue Oct 07 22:16:10 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Tue Oct 07 22:16:10 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico

07.10.2014 22:23 · отредактировано #395479

Выполните:
# chown -R apache:apache /var/www/html

А в браузере при обращении к сайту ошибки и содержимое сайта не появляется?

07.10.2014 22:30 #395480

нет, голая станица.

07.10.2014 22:30 #395481

[root@localhost ~]# chwon -R apache:apache /var/www/html
bash: chwon: command not found

Войдите или зарегистрируйтесь, чтобы ответить.