Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

0781-074 Backend returned warning status for queue

273 views
Skip to first unread message

jlin...@isasa.es

unread,
Oct 4, 1999, 3:00:00 AM10/4/99
to
I've defined a batch queue in my RS/6000 with AIX 4.3.2. Each time I
send a script to this queue I receive the following message, although
the script is correctly processed:

qdaemon: (WARNING): 0781-074 Backend returned warning status for queue
queue1:queue1dev

Could it be due to a bad definition of the script ? How can I test it ?
Note: If I execute the script in the current shell it seems to work
properly.

This is the definition of the queue in /etc/qconfig:

queue1:
device = queue1dev
up = TRUE
queue1dev:
backend = /usr/bin/ksh

Any suggestions would be appreciatte.
Thanks in advance.


Sent via Deja.com http://www.deja.com/
Before you buy.

LAIX Software Consulting

unread,
Oct 4, 1999, 3:00:00 AM10/4/99
to
It could be the script writes something to stderr, or perhaps exits with a
non-0 exit code that causes this to occur.

Best regards,
Paul

H.G.Borrmann

unread,
Oct 7, 1999, 3:00:00 AM10/7/99
to
jlin...@isasa.es wrote:
: I've defined a batch queue in my RS/6000 with AIX 4.3.2. Each time I
: send a script to this queue I receive the following message, although
: the script is correctly processed:
:
: qdaemon: (WARNING): 0781-074 Backend returned warning status for queue
: queue1:queue1dev
:
: Could it be due to a bad definition of the script ? How can I test it ?
: Note: If I execute the script in the current shell it seems to work
: properly.
:
: This is the definition of the queue in /etc/qconfig:
:
: queue1:
: device = queue1dev
: up = TRUE
: queue1dev:
: backend = /usr/bin/ksh
:
: Any suggestions would be appreciatte.
: Thanks in advance.
:

delete the queue. qdaemon runs as root. So the backend (ksh) runs as root
too, which in turn runs the scripts someone queues with root permissions!
--
._________________________________________________________________________.
|H.G.Borrmann |Tel.: (0761) 203-4652 |
|Rechenzentrum der Universitaet Freiburg|Fax: (0761) 203-4643 |
|Hermann-Herder-Str. 10 |email: |
|D79104 FREIBURG |borr...@ruf.uni-freiburg.de |
|_________________________________________________________________________|

LAIX Software Consulting

unread,
Oct 8, 1999, 3:00:00 AM10/8/99
to
Hmmm... I don't believe this is the case. The backend (in this case ksh) will
run with the effective user ID of the user that queued the job. To test, I
created a similar queue and created a file /tmp/test with root ownership and
600 permissions. As a non-root user I queued up the a file containing
"/usr/bin/rm /tmp/test" and it doesn't have permission to remove /tmp/test.

Best regards,
Paul

Thomas Brandl

unread,
Oct 8, 1999, 3:00:00 AM10/8/99
to
In article <7ti4qg$547$2...@n.ruf.uni-freiburg.de>, H.G.Borrmann wrote:
>jlin...@isasa.es wrote:
>: I've defined a batch queue in my RS/6000 with AIX 4.3.2. Each time I
>: send a script to this queue I receive the following message, although
>: the script is correctly processed:
>:
>: qdaemon: (WARNING): 0781-074 Backend returned warning status for queue
>: queue1:queue1dev
^^^^^^^

I think, the script returned an error code that is interpreted as warning
status. The returned error code is the exitcode from the last command.
Maybe an 'exit 0' at the end of the script helps avoiding this error.

cu Thomas.

--
IBM RS/6000 console message: (System power is currently off)
Thomas Brandl, medat GmbH, Hilblestr. 54, 80636 Muenchen, Tel:+49/0 89-126808-0
Wehren Sie sich gegen SPAM-E-mails: http://www.politik-digital.de/spam/

0 new messages