Sponsored Content
Full Discussion: Printing queue in rs6000
Operating Systems AIX Printing queue in rs6000 Post 302261873 by nervous on Wednesday 26th of November 2008 12:14:27 AM
Old 11-26-2008
Printing queue in rs6000

Hi,

I'm at following old machine:
Code:
@rs6000:/:> uname -a
AIX rs6000 2 4 007016224C00

We are facing some problems with print queues, whenever a print queue gets stuck we cannot cancel it, we don't have any other option except restarting the machine, we have following queues:
Code:
@rs6000:/etc:> lpstat
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
qlp8    lp8   READY
qlp7    dummy UNKNOWN
mainpri lp0   READY
qlp1    lp1   READY
qlp2    lp2   READY
qlp3    lp3   READY
qlp4    lp4   READY
qlp5    hp@le READY
qw6     @qw7  READY

Suppose qlp3 goes to WAIT or BUSY state, we cannot cancel it using cancel qlp3 command.

Sometimes errpt displays Asynchronous Adapter failed message, in that case we must restart machine as well, is there any way to solve these problems without restarting the machine?

One last question, we have to explicitly run command every time system restarts:
Code:
startsrc -s qdaemon

I was looking for /etc/rc.d directory where I can create some startup script file and run this command automatically but I don't find any rc.d directory, how can I put above command in my system's startup?

Your help would be highly appreciated.
 

10 More Discussions You Might Find Interesting

1. Programming

Good IDE for C++ on RS6000/AIX

I am looking for the above Can anyone point me to a reliable product, with available support in the forseeable future ? Seeker (0 Replies)
Discussion started by: Seeker
0 Replies

2. AIX

RS6000 SSA Raid question

Hi Can I add disks on the fly to extend the capacity of an existing RAID 5 volume? It's created on a 4P Advanced SSA Raid Adapter. I need to extend a volume group, so I figured it would be easiest to extend the "physical disk" which is a RAID5 volume. Thanks. (1 Reply)
Discussion started by: osee
1 Replies

3. AIX

Printing multiple copies via remote queue

Hi all, I have an interesting problem. Using remote queues to print using jetdirect printers I am unable to get a printer to print multiple copies of a print job. command being used: lpr -P -#3 ./test (one copy prints) Also tried: enq -P -C3 ./test (same results) Any ideas? ... (6 Replies)
Discussion started by: Luck
6 Replies

4. AIX

Re-Installation of AIX 5.2 in RS6000 7026

Hi There!! I need to reinstall the operating system AIX 5.2 in a RS6000 7026/6H1 that has AIX 4.3 but I need a firmware upgrade that I dón´t know where can I obtain. - Platform firmware version 3 or later. Someone can help me please, I will be very grateful !! Thank´s. (1 Reply)
Discussion started by: terron79
1 Replies

5. AIX

New to AIX and got my hands on a RS6000 v.need help getting it on the network

So im fairly new to AIX and my knowledge is very, very limited but i got my hands on an RS6000 43P model and im trying to get it on the network so i can access it from work. I have pretty much tried everything i can/know how to do by reading up as much as i can but im still lost. I have the 43P... (2 Replies)
Discussion started by: IIIII
2 Replies

6. AIX

VNC or X Emulator on RS6000 AIX 5.2

Hello everyone, I have just joined your forum even though I have been using it on and off for couple of months now. Up until now I have been able to find any information I needed by just browsing this site or performing a Google search, but now I'm stuck!. I was hoping you could help me with... (16 Replies)
Discussion started by: juniorG
16 Replies

7. AIX

Reinstalling AIX 4.3 on IBM RS6000

Hey guys, I'm a newbie in Unix world.. Currently in my office lies an old IBM RS6000 which hasn't been maintained for a very long time. The former admin has resigned and we don't have any documentation or whatsoever regarding the old machine. All I know that it is an RS6000 is because of what's... (4 Replies)
Discussion started by: arch4ng3l
4 Replies

8. AIX

Remote printing to Linux CUPS queue

Hello all. I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies

9. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

10. AIX

AIX 5.1 and RS6000

I've an old server 1996 RS6000 (Processor 604e) running AIX 5.1. It started up fine, booted up and connected on 10Mbit with my router. I used to be able to connect to it with telnet but not anymore. I know the IP is right but working with the smit tcpip options, looks like I've changed... (1 Reply)
Discussion started by: Devyn
1 Replies
SG_TURS(8)							     SG3_UTILS								SG_TURS(8)

NAME
sg_turs - send one or more SCSI TEST UNIT READY commands SYNOPSIS
sg_turs [--help] [--number=NUM] [--progress] [--time] [--verbose] [--version] DEVICE sg_turs [-n=NUM] [-p] [-t] [-v] [-V] DEVICE DESCRIPTION
This utility sends one or more SCSI TEST UNIT READY commands to the DEVICE. This may be useful for timing the per command overhead. Note that TEST UNIT READY has no associated data, just a 6 byte command and a returned SCSI status value. This utility supports two command line syntaxes, the preferred one is shown first in the synopsis and explained in this section. A later section on the old command line syntax outlines the second group of options. OPTIONS
Arguments to long options are mandatory for short options as well. -h, --help print out the usage message then exit. -n, --number=NUM performs TEST UNIT READY NUM times. If not given defaults to 1. These suffix multipliers are permitted: c C *1; w W *2; b B *512; k K KiB *1,024; KB *1,000; m M MiB *1,048,576; MB *1,000,000; g G GiB *1,073,741,824; and GB *1,000,000,000 . Also a suffix of the form "x<n>" multiplies the leading number by <n>. Alternatively a hex number may be given, prefixed by either '0x' or has a trailing 'h'. -O, --old switch to older style options. -p, --progress show progress indication (a percentage) if available. If --number=NUM is given, NUM is greater than 1 and an initial progress indi- cation was detected then this utility waits 30 seconds before subsequent checks. Exits when NUM is reached or there are no more progress indications. Ignores --time option. See NOTES section below. -t, --time after completing the requested number of TEST UNIT READY commands, outputs the total duration and the average number of commands executed per second. -v, --verbose increase level or verbosity. -V, --version print version string then exit. NOTES
The progress indication is optionally part of the sense data. When a prior command that takes a long time to complete (and typically pre- cludes other media access commands) is still underway, the progress indication can be used to determine how long before the device returns to its normal state. The SCSI FORMAT command for disks used with the IMMED bit set is an example of an operation that takes a significant amount of time and precludes other media access during that time. The IMMED bit set instructs the FORMAT command to return control to the application client once the format has commenced (see SBC-3). Several long duration SCSI commands associated with tape drives also use the progress indication (see SSC-3). Early standards suggested that the SCSI TEST UNIT READY command be used for polling the progress indication. More recent standards seem to suggest the SCSI REQUEST SENSE command should be used instead. EXIT STATUS
The exit status of sg_turs is 0 when it is successful. Otherwise see the sg3_utils(8) man page. OLDER COMMAND LINE OPTIONS
The options in this section were the only ones available prior to sg3_utils version 1.23 . In sg3_utils version 1.23 and later these older options can be selected by either setting the SG3_UTILS_OLD_OPTS environment variable or using '--old' (or '-O) as the first option. -n=NUM performs TEST UNIT READY NUM times. If not given defaults to 1. Equivalent to --number=NUM in the main description. -N switch to the newer style options. -p show progress indication (a percentage) if available. Equivalent to --progress in the main description. -t after completing the requested number of TEST UNIT READY commands, outputs the total duration and the average number of commands executed per second. Equivalent to --time in the main description. -v increase level of verbosity. -V print out version string then exit. AUTHORS
Written by D. Gilbert COPYRIGHT
Copyright (C) 2000-2008 Douglas Gilbert This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. SEE ALSO
sg_inq, sg_request (sg3_utils) sg3_utils-1.26 March 2008 SG_TURS(8)
All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy