1 .\" Copyright (c) 1983, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)7.t 8.1 (Berkeley) 6/8/93
37 There are several messages that may be generated by the
38 the line printer system. This section
39 categorizes the most common and explains the cause
40 for their generation. Where the message implies a failure,
41 directions are given to remedy the problem.
43 In the examples below, the name
45 is the name of the printer from the
51 lpr: \fIprinter\fP\|: unknown printer
57 database. Usually this is a typing mistake; however, it may indicate
58 a missing or incorrect entry in the /etc/printcap file.
60 lpr: \fIprinter\fP\|: jobs queued, but cannot start daemon.
64 on the local machine failed.
65 This usually means the printer server started at
66 boot time has died or is hung. Check the local socket
67 /dev/printer to be sure it still exists (if it does not exist,
71 Usually it is enough to get a super-user to type the following to
77 You can also check the state of the master printer daemon with the following.
79 % ps l`cat /usr/spool/lpd.lock`
82 Another possibility is that the
84 program is not set-user-id to \fIroot\fP, set-group-id to group \fIdaemon\fP.
85 This can be checked with
87 % ls \-lg /usr/ucb/lpr
90 lpr: \fIprinter\fP\|: printer queue is disabled
92 This means the queue was turned off with
94 % lpc disable \fIprinter\fP
98 from putting files in the queue. This is normally
99 done by the system manager when a printer is
100 going to be down for a long time. The
101 printer can be turned back on by a super-user with
106 waiting for \fIprinter\fP to become ready (offline ?)
108 The printer device could not be opened by the daemon.
109 This can happen for several reasons,
110 the most common is that the printer is turned off-line.
111 This message can also be generated if the printer is out
112 of paper, the paper is jammed, etc.
113 The actual reason is dependent on the meaning
114 of error codes returned by system device driver.
115 Not all printers supply enough information
116 to distinguish when a printer is off-line or having
117 trouble (e.g. a printer connected through a serial line).
118 Another possible cause of this message is
119 some other process, such as an output filter,
120 has an exclusive open on the device. Your only recourse
121 here is to kill off the offending program(s) and
122 restart the printer with
125 \fIprinter\fP is ready and printing
129 program checks to see if a daemon process exists for
131 and prints the file \fIstatus\fP located in the spooling directory.
132 If the daemon is hung, a super user can use
134 to abort the current daemon and start a new one.
136 waiting for \fIhost\fP to come up
138 This implies there is a daemon trying to connect to the remote
141 to send the files in the local queue.
142 If the remote machine is up,
144 on the remote machine is probably dead or
145 hung and should be restarted as mentioned for
148 sending to \fIhost\fP
150 The files should be in the process of being transferred to the remote
152 If not, the local daemon should be aborted and started with
155 Warning: \fIprinter\fP is down
157 The printer has been marked as being unavailable with
160 Warning: no daemon present
162 The \fIlpd\fP process overseeing
163 the spooling queue, as specified in the ``lock'' file
164 in that directory, does not exist. This normally occurs
165 only when the daemon has unexpectedly died.
166 The error log file for the printer and the \fIsyslogd\fP logs
167 should be checked for a
168 diagnostic from the deceased process.
169 To restart an \fIlpd\fP, use
171 % lpc restart \fIprinter\fP
174 no space on remote; waiting for queue to drain
176 This implies that there is insufficient disk space on the remote.
177 If the file is large enough, there will never be enough space on
178 the remote (even after the queue on the remote is empty). The solution here
179 is to move the spooling queue or make more free space on the remote.
183 lprm: \fIprinter\fP\|: cannot restart printer daemon
185 This case is the same as when
187 prints that the daemon cannot be started.
193 program can log many different messages using \fIsyslogd\fP\|(8).
194 Most of these messages are about files that can not
195 be opened and usually imply that the
197 file or the protection modes of the files are
198 incorrect. Files may also be inaccessible if people
199 manually manipulate the line printer system (i.e. they
204 In addition to messages generated by
206 any of the filters that
208 spawns may log messages using \fIsyslogd\fP or to the error log file
209 (the file specified in the \fBlf\fP entry in \fIprintcap\fP\|).
214 couldn't start printer
216 This case is the same as when
218 reports that the daemon cannot be started.
220 cannot examine spool directory
222 Error messages beginning with ``cannot ...'' are usually because of
223 incorrect ownership or protection mode of the lock file, spooling