Wednesday, January 9, 2013

no space on remote; waiting for queue to drain Printer issue HP-UX


When I tried to configure a  printer attached to Dlink print server I am getting the below  error.

"no space on remote; waiting for queue to drain"

Also print requests are sitting on  print queue.

Finally the  issue turns out to be I have added only print server details  in remote print configuration. We also need to add remote printer name ( remote printer queue details in print server )  to the configuration.

Procedure for adding remote printeres:-

• Printer Name -- is the name you give to the printer queue on the HP-UX server running  SAM.
• Remote System Name -- is the name or IP address of the remote server. If you use the server name, it must be in the HP-UX Servers  hosts file or configured on the Domain Name Server (DNS).
• Remote Printer Name -- This name should match the Queue Name already setup in Print Server.
• Check the Remote Printer is on a BSD System checkbox.
• Fill in the optional fields as desired.


How to find remote printer name/queue details from Dlink print server.


telnet UNIXMEMOIR012
Trying...
Connected to
UNIXMEMOIR012.unixmemoires.com.
Escape character is '^]'.
Local flow control off


************************************
* Welcome to D-Link Print Server *
* Telnet Console *
************************************

Server Name :
UNIXMEMOIR012
Server Model : DP-310
F/W Version : 1.21
MAC Address : XX XX XX XX XX
Uptime : 0 days, 00:59:26

Please Enter Password:

[Main Menu]
1 - Server Configuration
2 - Port Configuration
3 - TCP/IP Configuration
4 - AppleTalk Configuration
5 - Display Information
6 - Tools
7 - Save Configuration
0 - Quit

Enter Selection: 2

[Port Configuration]
1 - Port 1 (LPT1)
0 - Return to Main Menu

Enter Selection: 1

[Port 1]
1 - Port Name <HP-LabelPrinter>  << This  is the remote printer/queue name
2 - Description <>
3 - Speed <High>
4 - PJL Printer <No>
0 - Return to Port Menu

Enter Selection: 0

Tuesday, January 8, 2013

Verify largefiles option enabled or not HP-UX

Solution 1: 
fsadm /tmp
fsadm: /etc/default/fs is used for determining the file system type
nolargefiles

source: http://h30499.www3.hp.com/t5/System-Administration/Largefiles-HP-UX-11-23/td-p/5086925

Solution2:

getconf FILESIZEBITS /mountpoint . This will return 32 for "nolargefiles" filesystems and a larger integer for "largefiles" filesystems.

source: http://www.unix.com/hp-ux/28390-large-file-options-set.html