rm -rf /etc/apache2/sites-available
Posted: 28 Oct 2010, 15:29
Thats stupid to do, but i did it.... does anyone have any ideas what to do now? 

Code: Select all
apt-get install --reinstall apache2.2-common
Code: Select all
apt-get install --reinstall bubba-frontend
so i didRestarting web server: apache2apache2: Syntax error on line 186 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/proxy_html.conf: No such file or directory
failed!
invoke-rc.d: initscript apache2, action "restart" failed.dpkg: fel vid hantering av bubba-frontend (--configure):
underprocess post-installation script gav felkod 1
Ställer in apache2 (2.2.9-10+lenny4) ...
Fel uppstod vid hantering:
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
/usr/bin/dpkg --configure bubba-frontend
Seems that bubba-frontend fails to configure...Ställer in bubba-frontend (2.0.0.9) ...
Restarting web server: apache2apache2: Syntax error on line 186 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/proxy_html.conf: No such file or directory
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: fel vid hantering av bubba-frontend (--configure):
underprocess post-installation script gav felkod 1
Fel uppstod vid hantering:
bubba-frontend
Code: Select all
Include /etc/apache2/mods-enabled/*.conf
Code: Select all
mv /etc/apache2/mods-enabled/proxy_html.conf /etc/apache2/mods-enabled/proxy_html.conf.backup
Code: Select all
/etc/init.d/apache2 restart
and that solved my problem with apache refused to start.Restarting web server: apache2apache2: apr_sockaddr_info_get() failed for bubba
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Fri Oct 29 06:34:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
apache2: apr_sockaddr_info_get() failed for bubba
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Fri Oct 29 06:34:58 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
ri Oct 29 12:40:32 2010] [error] [client 127.0.0.1] File does not exist: /htdocs
[Fri Oct 29 12:49:47 2010] [error] [client 127.0.0.1] File does not exist: /htdocs
[Fri Oct 29 13:11:00 2010] [error] [client 127.0.0.1] File does not exist: /htdocs
[Fri Oct 29 13:19:53 2010] [error] [client 127.0.0.1] File does not exist: /htdocs
Code: Select all
apache2ctl -St
I get a command not found. strange.... wtf. i will do a reinstall of the system and my sunday is saved... tanks for all the advices!Ubi wrote:what is your output ofCode: Select all
apache2ctl -St