[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: установка Apache





On 8/3/05, abba <abba@kerch.net> wrote:
здравствуйте
не удается установить Apache 1.3.33
---
abba:/home/abba# apt-get install apache
...
Настраивается пакет apache (1.3.33-3) ...
Not replacing deleted config file /etc/apache/httpd.conf
Not replacing deleted config file /etc/apache/srm.conf
Not replacing deleted config file /etc/apache/access.conf
Not replacing deleted config file /etc/apache/modules.conf
Can't open config file /etc/apache/httpd.conf.
No such file or directory
Can't open config file /etc/apache/httpd.conf.
No such file or directory
/var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No
such file or directory
/var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No
such file or directory
/var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No
such file or directory
/var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No
such file or directory
grep: /etc/apache/httpd.conf: No such file or directory
Configuration syntax error detected. Not reloading.

fopen: No such file or directory
apache: could not open document config file /etc/apache/httpd.conf
invoke-rc.d: initscript apache, action "start" failed.
---
кто что посоветует?


Судя по виду логов, пакет Apache у тебя обновлялся, а не устанавливался заново. В Sarge немного другая структура конфигурационных файлов и /etc/apache/httpd.conf заменяет /etc/apache/apache.conf. Попробуй сначала просто удалить старый пакет полностью (вместе с конфигами): apt-get --purge remove apache, а потом поставить новый пакет "с нуля".


--
No fate, but what we make!
Reply to: