Project

General

Profile

Actions

Bug #3189

closed

if an included file is not found, a parser error not related to it is reported

Added by thop23 over 1 year ago. Updated over 1 year ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

In syslog, the following error msg appeared upon attempt to include a non-existent file:

lighttpd[pid]: 2023-01-dd hh:mm:ss: (configfile.c.1296) source: /etc/lighttpd/lighttpd.conf line: 123 pos: 1 parser failed somehow near here: (EOL)

(The line number points on the include directive.)

(lightty version 1.4.53)

Actions #1

Updated by gstrauss over 1 year ago

  • Status changed from New to Invalid
  • Target version deleted (1.4.xx)

include "foo" results in a two-line trace from modern lighttpd. You did not read the preceding line. Perhaps there is too much noise in your syslog.

2023-01-31 13:44:28: (configfile.c.2259) include file not found: foo
2023-01-31 13:44:28: (configfile.c.2164) source: lighttpd.conf line: 10 pos: 0 parser failed somehow near here: (EOL)

Latest lighttpd release is lighttpd 1.4.68. You're running out-of-date software, possibly on out-of-date Debian Buster.

Actions

Also available in: Atom