1

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

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

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

2

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

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

No Woman No Cry...

3

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

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

4

Спасибо, что отозвались.
Сайт моя личная коллекция видео: видеосервер.рф
Написат был на 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

5

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

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

6

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

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

7

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

+ открыть спойлер

[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

8

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!?

9

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

It is good day to die ...
MS Windows 10
Заметки о главном...

10

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

11

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

12 (07.10.2014 22:10:07 отредактировано Marley)

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

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

заменить

SELINUX=enforcing
на
SELINUX=disabled

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

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

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

файл .htaccess

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 не работал.

No Woman No Cry...

13

Marley пишет:

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

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

14

dyasny пишет:
Marley пишет:

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

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

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

No Woman No Cry...

15

# 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

16

milienko пишет:

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

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

[Tue Oct 07 22:26:30 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
No Woman No Cry...

17

[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

18 (07.10.2014 22:33:22 отредактировано Marley)

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

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

No Woman No Cry...

19

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

20

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

21

упс
chown

No Woman No Cry...

22

[root@localhost ~]# chown -R apache:apache /var/www/htm
chown: cannot access `/var/www/htm': No such file or directory
[root@localhost ~]#

23

/var/www/html а не /var/www/htm

No Woman No Cry...

24

[root@localhost ~]# chown -R apache:apache /var/www/html
Прошло



Боюсь накосячить решил спросить:
Ошибка
[Tue Oct 07 22:15:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:15:16 2014] [notice] Digest: done

Читаю, что это лечит.
rngd -r /dev/urandom -o /dev/random
Стоит? или нет?

25

САйт отобразился, криво косо, без картинок в эроглифах, но открылся.

Сверху ошибки
Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20

Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89

Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35

Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25

26

milienko пишет:

Боюсь накосячить решил спросить:
Ошибка
[Tue Oct 07 22:15:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:15:16 2014] [notice] Digest: done

Читаю, что это лечит.
rngd -r /dev/urandom -o /dev/random
Стоит? или нет?

Да это какое-то информационное сообщение, его можно игнорировать. У него даже статус notice.

Интересует, пропали ли в логах ошибки вида:
Permission denied

Очистите лог, подключитесь к серверу, поделитесь свежими логами.

No Woman No Cry...

27

[Tue Oct 07 22:47:55 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:47:55 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:47:55 2014] [notice] Digest: done
[Tue Oct 07 22:47:55 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

28

О ни одной ошибки.
Если не хотите сообщений на экране об ошибках, удалите файл .htaccess

No Woman No Cry...

29

.htaccess - удалился сам. Такое возможно?

30

[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Strict Standards:  Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20
[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Strict Standards:  Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89
[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Strict Standards:  Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35
[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Warning:  Creating default object from empty value in /var/www/html/class/RootAction.php on line 25