LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2012, 05:05 AM   #1
GNakul
Member
 
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Rep: Reputation: Disabled
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
 
Old 01-31-2012, 05:09 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
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
 
Old 01-31-2012, 05:10 AM   #3
cbtshare
Member
 
Registered: Jul 2009
Posts: 610

Rep: Reputation: 42
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.
 
Old 01-31-2012, 05:12 AM   #4
GNakul
Member
 
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Original Poster
Rep: Reputation: Disabled
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.

Last edited by GNakul; 01-31-2012 at 05:14 AM.
 
Old 01-31-2012, 05:25 AM   #5
GNakul
Member
 
Registered: Oct 2011
Location: Bangalore,India
Posts: 59

Original Poster
Rep: Reputation: Disabled
Ok, the file was broken. Saw it in GUI. Thanks all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration