Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 140

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

echo -e "\004queue" \
| netcat -w 2 -p 722 host 515
If lpd does not respond, it may not be active or there may be basic network prob-
lems. If lpd responds, the response should show why printing is not possible on
the queue on host. If you receive a response like that shown in
"Error Message from lpd"
Example 10.2 Error Message from lpd
lpd: your host does not have line printer access
lpd: queue does not exist
printer: spooling disabled
printer: printing disabled
Checking a Remote cupsd
By default, the CUPS network server should broadcast its queues every 30 seconds
on UDP port 631. Accordingly, the following command can be used to test whether
there is a CUPS network server in the network. Make sure to stop your local CUPS
daemon before executing the command.
netcat -u -l -p 631 & PID=$! ; sleep 40 ; kill $PID
If a broadcasting CUPS network server exists, the output appears as shown in
ample 10.3, "Broadcast from the CUPS Network Server"
Example 10.3 Broadcast from the CUPS Network Server
ipp://192.168.2.202:631/printers/queue
►zseries: Take into account that IBM System z ethernet devices do not receive
broadcasts by default. ◄
The following command can be used to test if a TCP connection can be established
to cupsd (port 631) on host:
netcat -z host 631 && echo ok || echo failed
If the connection to cupsd cannot be established, cupsd may not be active or
there may be basic network problems. lpstat -h host -l -t returns a
(possibly very long) status report for all queues on host, provided the respective
cupsd is active and the host accepts queries.
126
Administration Guide
(page 126), the problem is caused by the remote lpd.
Example 10.2,
Ex-
(page 126).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents