ПравИльное назначение владельца файлам и директориям сервера

Автор barkovw, 08 октября 2013, 16:48:47

« назад - далее »

0 Пользователи и 2 гостей просматривают эту тему.

endru

Цитата: barkovw от 08 октября 2013, 19:13:03
почему то /etc/apache2/httpd.conf пустой, так должно быть?
Запросто может быть пустым!
Цитата: barkovw от 08 октября 2013, 19:13:03
Что же мне делать?
НЕ паниковать! дело движется к работоспособности сервера. =)

barkovw

Цитата: endru от 08 октября 2013, 19:10:22права на /var/lib/apache2 нужно поправить... вопрос только какие ставить... попробуй www-data
поправил, без изменений (сервер перезагрузил) :(

endru

Цитата: barkovw от 08 октября 2013, 19:17:55
Цитата: endru от 08 октября 2013, 19:10:22права на /var/lib/apache2 нужно поправить... вопрос только какие ставить... попробуй www-data
поправил, без изменений (сервер перезагрузил) :(

тогда временно ставим 777 на директорию, для теста
chmod -R 777 /var/lib/apache2
перезагружаем апач
/etc/init.d/apache2 restart
смотрим логи, а точнее отсутствие (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/lib/apache2/fcgid/sock/7427.22
tail -n 50 /var/log/apache2/error.log

yura_n

Цитата: endru от 08 октября 2013, 19:10:22вопрос только какие ставить... попробуй www-data
Это в конфиге apache можно посмотреть. Опции User и Group.

barkovw

#19
Мне б только сервер поднять и в управление сервером зайти, а там лежит заветный дамп :)
Может еще где логи посмотреть?
Апач лог не пишет с обеда, как все началось, а nginx только это
2013/10/08 18:27:36 [error] 1493#0: *1299 connect() failed (111: Connection refused) while connecting to upstream, client: 157.56.93.38, server: box-club.ru, request: "GET /posts/37098?title=%D0%94%D0%B5+%D0%9B%D0%B0+%D0%A5%D0%BE%D0%B9%D1%8F%3A+%D0%94%D0%B6%D0%B5%D0%B1+%E2%80%93+%D0%BA%D0%BB%D1%8E%D1%87+%D0%BA+%D0%BF%D0%BE%D0%B1%D0%B5%D0%B4%D0%B5+%D0%BD%D0%B0%D0%B4+%D0%9C%D1%8D%D0%B9%D1%83%D1%8D%D0%B7%D0%B5%D1%80%D0%BE%D0%BC%21 HTTP/1.1", upstream: "http://78.47.89.22:7080/posts/37098?title=%D0%94%D0%B5+%D0%9B%D0%B0+%D0%A5%D0%BE%D0%B9%D1%8F%3A+%D0%94%D0%B6%D0%B5%D0%B1+%E2%80%93+%D0%BA%D0%BB%D1%8E%D1%87+%D0%BA+%D0%BF%D0%BE%D0%B1%D0%B5%D0%B4%D0%B5+%D0%BD%D0%B0%D0%B4+%D0%9C%D1%8D%D0%B9%D1%83%D1%8D%D0%B7%D0%B5%D1%80%D0%BE%D0%BC%21", host: "www.box-club.ru"
2013/10/08 18:27:37 [error] 1493#0: *1319 connect() failed (111: Connection refused) while connecting to upstream, client: 157.56.93.38, server: box-club.ru, request: "GET /tags/%D0%94%D1%8D%D0%BD%D0%B8%D1%8D%D0%BB%D1%8C%20%D0%94%D0%B6%D0%B5%D0%B9%D0%BA%D0%BE%D0%B1%D1%81.html HTTP/1.1", upstream: "http://78.47.89.22:7080/tags/%D0%94%D1%8D%D0%BD%D0%B8%D1%8D%D0%BB%D1%8C%20%D0%94%D0%B6%D0%B5%D0%B9%D0%BA%D0%BE%D0%B1%D1%81.html", host: "www.box-club.ru"
2013/10/08 18:27:38 [error] 1493#0: *1259 connect() failed (111: Connection refused) while connecting to upstream, client: 157.56.93.38, server: box-club.ru, request: "GET /tags/%D0%94%D0%B8%D0%B5%D0%B3%D0%BE%20%D0%9C%D0%BE%D1%80%D0%B0%D0%BB%D0%B5%D1%81.html HTTP/1.1", upstream: "http://78.47.89.22:7080/tags/%D0%94%D0%B8%D0%B5%D0%B3%D0%BE%20%D0%9C%D0%BE%D1%80%D0%B0%D0%BB%D0%B5%D1%81.html", host: "www.box-club.ru"
2013/10/08 18:27:39 [error] 1493#0: *1322 connect() failed (111: Connection refused) while connecting to upstream, client: 157.56.93.38, server: box-club.ru, request: "GET /posts/28261?title=%D0%9A%D0%BB%D0%B8%D1%87%D0%BA%D0%BE-%D0%A1%D0%BE%D0%BB%D0%B8%D1%81.+%D0%91%D0%B5%D0%B7+%D1%8D%D0%BC%D0%BE%D1%86%D0%B8%D0%B9 HTTP/1.1", upstream: "http://78.47.89.22:7080/posts/28261?title=%D0%9A%D0%BB%D0%B8%D1%87%D0%BA%D0%BE-%D0%A1%D0%BE%D0%BB%D0%B8%D1%81.+%D0%91%D0%B5%D0%B7+%D1%8D%D0%BC%D0%BE%D1%86%D0%B8%D0%B9", host: "www.box-club.ru"
2013/10/08 18:27:41 [error] 1493#0: *1324 connect() failed (111: Connection refused) while connecting to upstream, client: 157.56.93.38, server: box-club.ru, request: "GET /tags/%D0%94%D0%B5%D1%80%D1%80%D0%B8%D0%BA%20%D0%A0%D0%BE%D1%81%D1%81%D0%B8.html HTTP/1.1", upstream: "http://78.47.89.22:7080/tags/%D0%94%D0%B5%D1%80%D1%80%D0%B8%D0%BA%20%D0%A0%D0%BE%D1%81%D1%81%D0%B8.html", host: "www.box-club.ru"
2013/10/08 18:27:43 [error] 1493#0: *1326 connect() failed (111: Connection refused) while connecting to upstream, client: 89.204.135.230, server: box-club.ru, request: "GET / HTTP/1.1", upstream: "http://78.47.89.22:7080/", host: "box-club.ru", referrer: "http://www.google.de/search?hl=de&redir_esc=&client=ms-android-samsung&source=android-launcher-widget&v=133247963&qsubts=1381246023038&q=box-club.ru&v=133247963"
2013/10/08 18:27:44 [error] 1493#0: *1326 connect() failed (111: Connection refused) while connecting to upstream, client: 89.204.135.230, server: box-club.ru, request: "GET /favicon.ico HTTP/1.1", upstream: "http://78.47.89.22:7080/favicon.ico", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:44 [error] 1493#0: *1329 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.66.159, server: box-club.ru, request: "GET /posts/index?page%3A634=category%3Astati-fanatboxa.htm&Posts_page=2 HTTP/1.1", upstream: "http://78.47.89.22:7080/posts/index?page%3A634=category%3Astati-fanatboxa.htm&Posts_page=2", host: "box-club.ru"
2013/10/08 18:27:46 [error] 1493#0: *1331 connect() failed (111: Connection refused) while connecting to upstream, client: 77.40.111.109, server: box-club.ru, request: "GET / HTTP/1.1", upstream: "http://78.47.89.22:7080/", host: "box-club.ru"
2013/10/08 18:27:46 [error] 1493#0: *1331 connect() failed (111: Connection refused) while connecting to upstream, client: 77.40.111.109, server: box-club.ru, request: "GET /favicon.ico HTTP/1.1", upstream: "http://78.47.89.22:7080/favicon.ico", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:47 [error] 1493#0: *1334 connect() failed (111: Connection refused) while connecting to upstream, client: 5.10.83.60, server: box-club.ru, request: "GET /posts/369?title=%D0%9A%D0%BE%D0%BD%D1%82%D1%80%D0%B0%D0%BA%D1%82+%D0%BD%D0%B0+%D0%B1%D0%BE%D0%B9+%D0%92%D0%B8%D1%82%D0%B0%D0%BB%D0%B8%D1%8F+%D0%9A%D0%BB%D0%B8%D1%87%D0%BA%D0%BE+%D0%B8+%D0%A1%D1%8D%D0%BC%D1%8E%D1%8D%D0%BB%D0%B0+%D0%9F%D0%B8%D1%82%D0%B5%D1%80%D0%B0+%D0%BF%D0%BE%D0%B4%D0%BF%D0%B8%D1%81%D0%B0%D0%BD HTTP/1.1", upstream: "http://78.47.89.22:7080/posts/369?title=%D0%9A%D0%BE%D0%BD%D1%82%D1%80%D0%B0%D0%BA%D1%82+%D0%BD%D0%B0+%D0%B1%D0%BE%D0%B9+%D0%92%D0%B8%D1%82%D0%B0%D0%BB%D0%B8%D1%8F+%D0%9A%D0%BB%D0%B8%D1%87%D0%BA%D0%BE+%D0%B8+%D0%A1%D1%8D%D0%BC%D1%8E%D1%8D%D0%BB%D0%B0+%D0%9F%D0%B8%D1%82%D0%B5%D1%80%D0%B0+%D0%BF%D0%BE%D0%B4%D0%BF%D0%B8%D1%81%D0%B0%D0%BD", host: "www.box-club.ru"
2013/10/08 18:27:48 [error] 1493#0: *1336 connect() failed (111: Connection refused) while connecting to upstream, client: 157.55.32.56, server: box-club.ru, request: "GET /tags/%D0%9B%D0%B0%D1%82%D0%B8%D1%84%20%D0%9A%D0%B0%D0%B9%D0%BE%D0%B4%D0%B5..html HTTP/1.0", upstream: "http://78.47.89.22:7080/tags/%D0%9B%D0%B0%D1%82%D0%B8%D1%84%20%D0%9A%D0%B0%D0%B9%D0%BE%D0%B4%D0%B5..html", host: "www.box-club.ru"
2013/10/08 18:27:48 [error] 1493#0: *1338 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /assets/3b8a9787/listview/styles.css HTTP/1.1", upstream: "http://78.47.89.22:7080/assets/3b8a9787/listview/styles.css", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:48 [error] 1493#0: *1340 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /assets/3b8a9787/listview/jquery.yiilistview.js HTTP/1.1", upstream: "http://78.47.89.22:7080/assets/3b8a9787/listview/jquery.yiilistview.js", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:48 [error] 1493#0: *1342 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/head-bg.png HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/head-bg.png", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:48 [error] 1493#0: *1338 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/logo.png HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/logo.png", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:48 [error] 1493#0: *1340 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/button2.gif HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/button2.gif", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:48 [error] 1493#0: *1342 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/sensor.png HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/sensor.png", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:50 [error] 1493#0: *1342 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /assets/3b8a9787/listview/styles.css HTTP/1.1", upstream: "http://78.47.89.22:7080/assets/3b8a9787/listview/styles.css", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:50 [error] 1493#0: *1340 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /assets/3b8a9787/listview/jquery.yiilistview.js HTTP/1.1", upstream: "http://78.47.89.22:7080/assets/3b8a9787/listview/jquery.yiilistview.js", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:50 [error] 1493#0: *1338 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/head-bg.png HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/head-bg.png", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:50 [error] 1493#0: *1342 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/logo.png HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/logo.png", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:50 [error] 1493#0: *1340 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/button2.gif HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/button2.gif", host: "box-club.ru", referrer: "http://box-club.ru/"
2013/10/08 18:27:50 [error] 1493#0: *1338 connect() failed (111: Connection refused) while connecting to upstream, client: 178.46.87.124, server: box-club.ru, request: "GET /themes/newBoxclub/i/sensor.png HTTP/1.1", upstream: "http://78.47.89.22:7080/themes/newBoxclub/i/sensor.png", host: "box-club.ru", referrer: "http://box-club.ru/"


Сообщение объединено: 08 октября 2013, 19:32:49

Цитата: yura_n от 08 октября 2013, 19:26:25Это в конфиге apache можно посмотреть. Опции User и Group.
# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}


endru

barkovw, как раз в /etc/apache2/envvars и нужно смотреть APACHE_RUN_USER и APACHE_RUN_GROUP

barkovw

#21
Цитировать/etc/init.d/apache2 restart

Не хочет запускаться

root@box-club:~# /etc/init.d/apache2 restart
Restarting web server: apache2Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
/var/lock/apache2 already exists but is not a directory owned by www-data.
Please fix manually. Aborting.


Сообщение объединено: 08 октября 2013, 19:40:19

Цитата: endru от 08 октября 2013, 19:37:08barkovw, как раз в /etc/apache2/envvars и нужно смотреть APACHE_RUN_USER и APACHE_RUN_GROUP

Упс..., виноват

# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
else
SUFFIX=
fi

# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid
export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
export APACHE_LOG_DIR=/var/log/apache2$SUFFIX

## The locale used by some modules like mod_dav
export LANG=C
## Uncomment the following line to use the system default locale instead:
#. /etc/default/locale

export LANG

## The command to get the status for 'apache2ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'

endru

Цитировать/var/lock/apache2 already exists but is not a directory owned by www-data.
он же пишет тебе!
chown -R www-data /var/lock/apache2
/etc/init.d/apache2 restart

barkovw

#23
Вроде как запустился  :)

Правда вылезла ошибка но ошибка сайта. Админка Pleska пока без изменений.


root@box-club:/etc/apache2# chown -R www-data /var/lock/apache2
root@box-club:/etc/apache2# cd
root@box-club:~# chown -R www-data /var/lock/apache2
root@box-club:~# /etc/init.d/apache2 restart
Restarting web server: apache2Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.


Сообщение объединено: 08 октября 2013, 20:00:16

Цитата: barkovw от 08 октября 2013, 19:56:04
Вроде как запустился  :)

Правда вылезла ошибка но ошибка сайта. Админка Pleska пока без изменений.


root@box-club:/etc/apache2# chown -R www-data /var/lock/apache2
root@box-club:/etc/apache2# cd
root@box-club:~# chown -R www-data /var/lock/apache2
root@box-club:~# /etc/init.d/apache2 restart
Restarting web server: apache2Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.


Может я ошибаюсь

В FTP пускает только Root, остальные пользователи не конектятся

yura_n

Цитата: barkovw от 08 октября 2013, 19:56:04В FTP пускает только Root, остальные пользователи не конектятся
У ftp сервера та же проблема, что и у веб сервера. Какой у вас ftp сервер установлен?

endru

#25
продолжаем восстанавливать права:
chown www-data /var/run/apache2.pid
chown -R www-data /var/run/apache2
chown -R www-data /var/cache/apache2
chown -R www-data /var/log/apache2
chown -R mysql /var/run/mysqld
chown -R mysql /var/lib/mysql
chown -R mysql /var/log/mysql

barkovw

Цитата: yura_n от 08 октября 2013, 20:15:08Какой у вас ftp сервер установлен?
К сожалению, затрудняюсь ответить

chown www-data /var/run/apache2.pid
chown -R www-data /var/run/apache2
chown -R mysql /var/run/mysqld
chown -R mysql /var/lib/mysql


Вы полнил.

yura_n

К этому списку стоит добавить и /var/log/apache2 (или ту, в которую apache пишет логи, не помню точное ее название в Debian).

endru

Цитата: barkovw от 08 октября 2013, 20:20:44
Цитата: yura_n от 08 октября 2013, 20:15:08Какой у вас ftp сервер установлен?
К сожалению, затрудняюсь ответить
dpkg -l | grep ftp

на счет ошибки SuexecUserGroup directive requires SUEXEC wrapper - легко гуглится. думаю сам справишься  :)

p.s. дополнил команды выше.

barkovw