On 08/08/11 at 11:31am, David C. Rankin wrote: > Guys, > > Cups has been working like clockwork for the past year - up until > the last 2 kernel updates. Now after boot, a manual '/etc/rc.d/cupsd > restart' is required to get it working again. Would moving it in the > DAEMONS line make sense? Currently I have: > > DAEMONS=(hwclock syslog-ng network named @netfs @ntpd @sshd @dhcp4 > @crond @mysqld @postfix @dovecot @httpd @samba @cups @vsftpd > @sensors @spamd) > > When cups fails to start, I get the following warnings and errors: > > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "[v1.::1]" ignored! > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "127.0.0.1" ignored! > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "[v1.::1]" ignored! > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "127.0.0.1" ignored! > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "192.168.7.15" ignored! > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "192.168.7.15" ignored! > W [08/Aug/2011:10:53:39 -0500] Duplicate listen address "192.168.7.15" ignored! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3225! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3235! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3245! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3255! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3265! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3275! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3285! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3295! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3305! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3315! > E [08/Aug/2011:10:53:39 -0500] Bad File number 1 on line 3325! > E [08/Aug/2011:10:53:39 -0500] Unable to bind socket for address > [v1.::1]:631 - Address already in use. > E [08/Aug/2011:10:53:39 -0500] Unable to bind socket for address > 127.0.0.1:631 - Address already in use. > E [08/Aug/2011:10:53:39 -0500] Unable to bind socket for address > 192.168.7.15:631 - Address already in use. > E [08/Aug/2011:10:53:39 -0500] Unable to set ACLs on root > certificate "/var/run/cups/certs/0" - Operation not supported > > > I have no idea what the Bad File number errors are, but the > warnings are just from the multiple explicit listen designations in > the cupsd.conf for client access: > > # Only listen for connections from the local machine. > Listen localhost:631 > Listen phoenix.rlfpllc.com:631 > Listen phoenix:631 > Listen www.rlfpllc.com:631 > Listen 192.168.7.15:631 > > I think the real issue is the 'Address already in use' errors, but > that doesn't explain why it cups starts just fine with a manual > '/etc/rc.d/cupsd restart'. If the address/port was actually already > taken, then I would expect the restart to fail as well. The the ACL > error is fine - cups isn't using acls on my box and I don't want to > set the acl mount option in fstab, so I can live with that error. > > I've been through the forums, google and bug tracker task/22895, > but still no solution. Should I move cupsd earlier in the DAEMONS > line? Anybody else seeing cups fail to start on boot, but starting > fine on a manual restart? Thanks for any thoughts or help you can > give. > > -- > David C. Rankin, J.D.,P.E. You need to start cupsd in rc.conf daemons... not cups
Attachment:
pgpwusySecsd0.pgp
Description: PGP signature