Hi,
when installing a piece of third part software I get the error "Bad magic number" at one point when it tries to use libraries from the bea tuxedo server. Am I correct that this means that the software is expecting 32bit while I'm on 64bit? Is there a way around it or can it only be solved... (5 Replies)
I tried rebooting my Sun server just a few minutes ago and I got the following at boot:
--
Sun Fire 280R (UltraSPARC-III+) , No Keyboard
Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.5, 1024 MB memory installed, Serial #xxxxxxxxx
Ethernet address... (6 Replies)
Dear All,
i have a SCSI hard disk drive i'm installing on it solaris 5 and the workstation is sun sparc, i made an image of this H.D using Norton Ghost 6, so i took off the SCSI H.D from the sun workstation and put it on a Compaq server then i booted the server from the Norton Ghost floppy disk... (0 Replies)
Hello All,
(RHEL4)
Few weeks ago I had posted a message in this forum about the problem I had when I replaced my two scsi disks and tried rebuild raid1 array.
I somehow managed to up the system with working raid1 array.
But the main problem persisted..
i.e when I reboot the system, mounting... (0 Replies)
Hello All,
I m very new to this forum.
i m having SUN NETRA X1 server with 40 GB HDD (Seagate) & 128 MB RAM.
i m trying this server for SUN 10 Practise.
As i m installing SUN 9 /10 with CD ,its giving me error after OK propmt
***************************
#boot cdrom
or
#boot cdrom... (16 Replies)
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
I'll keep it fairly straight forward. I work with a Solaris server and magically today it decided to take a dump on me. At first it give a long list of files that couldn't be acessed before terminating the boot process and returning to the 'ok' prompt. Booting in single-user mode allowed me to run... (4 Replies)
I have created 1 LUN.
1)LUN 00BB 200GB /dev/rdsk/c1t3d44
/dev/rdsk/c2t28d44
/dev/rdsk/c3t19d44
/dev/rdsk/c4t12d44
2) Already added the new entry into sd.conf and rebooted.
3) Already done these:
powercf –q
power config
4) power display dev=all
I can see the new Symmetrix device.... (1 Reply)
So we have a new to us v240 server with no OS installed. It has an outdated version of OB and ALOM so before we install the OS we want to update both. We have a DVD with the latest OB patch burned on it.
We do the boot cdrom command but receive the Bad Magic Number Error. Does an OS need to... (2 Replies)
Discussion started by: dunkpancakes
2 Replies
LEARN ABOUT OSF1
mq_notify
mq_notify(3) Library Functions Manual mq_notify(3)NAME
mq_notify - Attaches a request for asynchronous signal notification to a message queue (P1003.1b)
LIBRARY
Realtime Library (librt.so, librt.a)
SYNOPSIS
#include <mqueue.h>
int mq_notify (
mqd_t mqdes,
const struct sigevent *notification);
PARAMETERS
mqdes Specifies a message queue descriptor.
*notification Specifies a signal to be sent when the specified queue accepts a message. If the notification argument is NULL, and the
process has previously attached a notification request to the message queue with this mqdes argument, the notification
request is detached and the queue is available for another process to attach a notification request.
DESCRIPTION
The mq_notify function attaches a request for asynchronous signal notification to a message queue for the calling process. Following a
call to this function, the specified signal is sent to the calling process when the queue transitions from empty to non-empty. Two or more
processes cannot attach notification requests to the same queue at the same time.
If a process has attached a notification request and any process is blocked in the execution of the mq_receive function waiting to receive
a message when a message arrives at the queue, then the appropriate mq_receive function is completed and the notification remains pending.
When the notification has been sent, the registration is canceled. In effect, it is a one-shot notification and must be re-registered if
required.
Note that the POSIX IPC functions are not reentrant with respect to signals. For example, if your application were to use a signal to
notify it that a queue has become non-empty and then attempt to call mq_receive from the signal handler, the signal handler must reside in
a thread other than the tread that called mq_send. Otherwise, a deadlock on internal locks would occur.
RETURN VALUES
On successful completion, the function returns the value 0 (zero); otherwise, the function returns the value -1 and sets errno to indicate
the error.
ERRORS
The mq_notify function fails under the following conditions:
[EBADF] The mqdes argument is not a valid message queue descriptor.
[EBUSY] A process has already attached to this message queue for asynchronous notification, or the calling process attempted to can-
cel a request that was attached by another process.
[EINVAL] The requested signo is invalid, or the sigev_notify field of the notification structure does not equal SIGEV_SIGNAL.
RELATED INFORMATION
Functions: mq_open(3), mq_send(3)
Guide to Realtime Programming delim off
mq_notify(3)