CUPS won't parse config file
Anonymous
anonymous at easysw.com
Sat Jun 25 03:14:23 PDT 2005
I edited with vi, which isn't wrapping lines:
Even stripping cupsd.conf down to this still produces the same error:
Am I doing something stupid?
ServerName PENTIUM-4
LogLevel debug
Port 631
Listen 192.168.0.185
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
> > I have done a default build of CUPS from source on Linux 2.6.11.10 and get the message:
> >
> > cupsd: Child exited on signal 15!
> > cups: unable to start scheduler.
> >
> > Uncommenting ANY line in cupsd.conf seems to prevent cupsd from starting.
> > Why does the supplied configuration not seem to match the format that cupsd expects?
> >
> > I am definitely using the config files installed from the source package.
> >
> > The following turns up in the error log:
> >
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 25.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 142.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 408.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 748.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 749.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 750.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 751.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 752.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 805.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 813.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 814.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 817.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 818.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 819.
> > E [25/Jun/2005:10:26:43 +0100] Unknown directive on line 822.
> > X [25/Jun/2005:10:26:43 +0100] No valid Listen or Port lines were found in the configuration file!
> >
>
> Just a wild guess: when you edited the config file did your editor wrap lines > 80 chars? if so, that might be the cause.
>
More information about the cups
mailing list