> I apologize about the cross post, but I have had no luck solving this to
> date. It just started happening as well, and teh server had been restarted
> before with no problems.
> I have a problem restarting my httpd server. here's the bash copy:
> bobo on castro@/ $ /usr/local/sbin/httpd restart
> Syntax error on line 159 of /usr/local/etc/apache/httpd.conf:
> Invalid command 'combined', perhaps mis-spelled or defined by a module not
> included in the server configuration
> bobo on castro@/ $
> which is wrong because it IS definied here in the same file (lines don't
> wrap in main file):
> # The following directives define some format nicknames for use with
> # a CustomLog directive (see below).
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
But the error is saying that the line really is wrapped--that "combined"
is being read as a command. Delete combined and then add it back if
you need this directive; otherwise comment the line out, and maybe it
will work.
Annelise
> btw, the server is running:
> freebsd 2.2.7 with apache 1.3.9
> if you could, email me at bo...@list.org