VestaCP - Error: can't parse config /home/admin/conf/web/apache2.conf

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Доступная цена


VestaCP - Error: can't parse config /home/admin/conf/web/apache2.conf

Если при создании бекапа в VestaCP возникает ошибка вида:

Error: can't parse template /usr/local/vesta/data/templates/web/apache2//account.tpl

или

Error: can't parse config /home/admin/conf/web/apache2.conf

означает что есть какие-то проблемы в парсинге этих файлов, поэтому для решения этой проблемы - временно отключаем проверку этих файлов через:

# vi /usr/local/vesta/func/domain.sh

и коментируем строки:

if [ -z "$tpl_lines" ]; then
       check_result $E_PARSING "can't parse template $1"
   fi

и

   if [ -z "$vhost_lines" ]; then
       check_result $E_PARSING "can't parse config $2"
   fi