LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache_restart_not_able (https://www.linuxquestions.org/questions/linux-newbie-8/apache_restart_not_able-926684/)

GNakul 01-31-2012 04:05 AM

apache_restart_not_able
 
Hi all
Got struck while installing otrs on my ubuntu 10.04 LTS. Not able to restart the apache.

root@Server:/opt/otrs# service apache2 restart
* Restarting web server apache2 apache2: Syntax error on line 668 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/otrs.conf: No such file or directory

Dont know whats fishy :(

Thanks in advance for your help
-Nakul

fukawi1 01-31-2012 04:09 AM

Well the error is telling you what the problem is, isnt it?
Quote:

Could not open configuration file /etc/apache2/sites-enabled/otrs.conf: No such file or directory

cbtshare 01-31-2012 04:10 AM

Quote:

Could not open configuration file /etc/apache2/sites-enabled/otrs.conf: No such file or directory
Is why it could not start because it couldn't find the file,check that the spelling is correct in httpd.conf or the file exist.

GNakul 01-31-2012 04:12 AM

That file exists
root@Server:/opt/otrs# ls /etc/apache2/sites-enabled/otrs.conf
/etc/apache2/sites-enabled/otrs.conf

The httpd.conf is blank by default.

GNakul 01-31-2012 04:25 AM

Ok, the file was broken. Saw it in GUI. Thanks all.


All times are GMT -5. The time now is 11:33 PM.