Sponsored Content
Full Discussion: queue is disabled
Top Forums Shell Programming and Scripting queue is disabled Post 58552 by zazzybob on Tuesday 23rd of November 2004 06:03:56 PM
Old 11-23-2004
Because the queue is disabled Smilie

Depending on whether you have cups or lpd, try something like
lpc enable foo
where foo is the name of the printer.

Cheers
ZB
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disabled printers

How does or what makes a printer go into a disabled state? (5 Replies)
Discussion started by: dsb0
5 Replies

2. UNIX for Dummies Questions & Answers

OBP saying boot is disabled??

Hi all, need your help again :P I am trying to build a server in work, and it comes up with the OBP (Open Boot Prompt) and when i try and install the cdrom "boot cdrom -s" it throws back the following error: "System is not bootable, boot command is disabled" This is trying to install... (3 Replies)
Discussion started by: SemperFi
3 Replies

3. Post Here to Contact Site Administrators and Moderators

Site features Disabled

I have a PC I often use to visit this site and for some reason the buttons (such as code tags) do not work for me using this machine.I am using IE and I have been through the preferences but can find no options that seem to be responsible for disabling these buttons.I have tried manually inpputing... (4 Replies)
Discussion started by: steadyonabix
4 Replies

4. UNIX for Dummies Questions & Answers

know a particular user is disabled or enabled

Hi all, i had 500 users how can i know whether user is disabled or enabled Thanks, kalyan (8 Replies)
Discussion started by: kalyan212
8 Replies

5. Red Hat

selinux --disabled

Hi All, Will some one kindly explian below ? selinux What is the effect of installing a server using this kickstart option as follows: selinux --enforcing and selinux --disabled (1 Reply)
Discussion started by: sri243
1 Replies

6. Solaris

NTP gets disabled

Hi experts, I am using solaris10 operating system on a N240 Sun server. I have a problem on NTP, that is, i am using an external ntp server and when i enable ntp instance via smf, it works for a while then it gets disabled.. Here these are the info: 1) I enable the ntp service: # svcadm... (1 Reply)
Discussion started by: dyavuzy1
1 Replies
mq_receive(2)							System Calls Manual						     mq_receive(2)

NAME
mq_receive - receive a message from a message queue SYNOPSIS
DESCRIPTION
The system call receives the oldest of the highest priority message from the message queue specified by mqdes. The selected message is removed from the queue and copied to the buffer pointed to by the msg_ptr argument. The argument, msg_len, specifies the size of the buffer in bytes. The value of msg_len should be greater than or equal to the mq_msgsize attribute of the message queue, or will fail. If the argument msg_prio is not NULL, the priority of the message removed from the queue is stored in the location pointed to by msg_prio. If the specified message queue is empty and the flag is not set in the message queue blocking status associated with mqdes, will block in priority order, until it can receive a message from the queue, or until is interrupted by a signal. If the specified message queue is empty and the flag is set in the message queue blocking status associated with mqdes, will not wait for a message to arrive on the queue and will return with an error. To use this function, link in the realtime library by specifying on the compiler or linker command line. RETURN VALUE
returns the following values: n Successful completion. n is the size of the selected message in bytes and the message is removed from the queue. Failure. is set to indicate the error and no message is removed from the queue. ERRORS
If fails, is set to one of the following values: [EAGAIN] The flag is set in the message queue blocking status associated with mqdes, and the message queue is empty. [EBADF] mqdes is not a valid message queue descriptor open for reading. [EINTR] A signal interrupted the call to [EINVAL] msg_ptr points to an invalid address. [EMSGSIZE] The specified message buffer size, msg_len, is less than the message size attribute of the message queue. [ENOSYS] is not supported by the implementation. SEE ALSO
mq_send(2). STANDARDS CONFORMANCE
mq_receive(2)
All times are GMT -4. The time now is 10:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy