[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron run-parts /etc/cron.weekly



Hi Alain Nissen; unless Mutt is confused, you wrote:
> Brandon Mitchell wrote:
> > 
> > > run-parts: /etc/cron.weekly/lpr exited with return code 1
> > 
> > Running by hand causes no problems.  Then I piped the output to mail, and
> > when it arrives, the lpd restart only echos a ".".  Any ideas?  This is a
> > relatively up to date hamm system.
> > 
> > dpkg -l lpr:
> > ii  lpr             5.9-23         BSD lpr/lpd line printer spooling system
> 
> 
> I have exactly the same problem, with the same relase of lpr package.  I
> investigated but I never found the cause of the exit code '1'.
> 
> 
> Alain
> 
> 
> --
> E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
> TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .

I think the problem is in the /etc/cron.weekly/lpr file; and more to the point
in the last line that read :

/etc/init.d/lpd restart >/dev/null
                        ^^^^^^^^^^ I have manually edited this file, removed
the underlined part and, voila, the thing seems to be working...

HTH,
Damir 


--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: