Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
hyOffline
Post subject: [SOLVED] apache won't start  PostPosted: 14.01.2012, 22:44



Joined: 2010-09-14
Posts: 163
Location: Costa Teguise
Status: Offline
Hi I am getting
      Code:

Syntax error on line 1 of /etc/apache2/apache2.conf:     
Invalid command '\xef\xbb\xbf#', perhaps misspelled or defined by a module not included in the server configuration

as a result of

apache2 -k start


The file /etc/apache2/apache2.conf
does not contain the string \xef
and neither does any other file in /etc/...

The path does not exist and usually I am using slashes instead of backslashes...


Any help apreciated
----------------------------
Actually I could solve the issue after having found a backup copy of my directory /etc.

A thorough investigation resulted in the following information:

grep -rl -l $'\xEF\xBB\xBF' .
actually showed up apache2.conf having these characters.
They seem to be Byte order Markers and were inserted whilst I was editing the config file.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio