Review the list of error messages and conditions provided if you encounter an error.
Unlike other UNIX systems, the ipcs command in Linux does not show the KEY or ID field to identify who owns a given semaphore, shared memory segment, or message queue.
Because of this, it is difficult to identify which of these ipcs lines belong to D3 or any other specific UNIX process. The following errors reported by the system require working with:
Cannot create semaphore set: permission denied Global MPCB attachment failed WARNING: Buffer attachment failed. Error: Not enough memory. Only 0K were allocated
At this time, it is up to the system administrator to learn the patterns of the ipcs allocation for each individual system. When ipcs entries need to be killed, be sure to kill only those entries for D3. Otherwise, other system functionality might be affected. When in doubt, the best solution is to attempt a shutdown of D3, then reboot Linux itself.
If the virtual machine has been started by another UNIX user or by root, it might become inaccessible to any other user.
ipcs -s
-----Semaphore Arrays----- semid owner perms nsems status 21 root 660 5
If the virtual machine has been booted by another UNIX user or by root, it becomes inaccessible to any other user.
ipcs -m
You will see a screen similar to:
------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 0 nobody 600 46084 11 dest 0x80000010 1 root 660 157520 12 0xc0000010 2 root 660 6880256 12 0x00000010 3 root 660 16777216 12 0x00000011 4 root 660 15661056 12 0xa0000010 5 root 777 3686400 12
ipcrm shm ID
where ID is the shared memory ID from above.
If the virtual machine has been started with some memory size, and if this memory is increased (by changing the statement core in the configuration file), the system fails while trying to allocate more memory with the same key.
Remove the existing segments as indicated for Global MPCB attachment failed above.
When Linux is installed, the permissions are set to 660 for the 3 1/2" 1.44 floppy device /dev/fd0H1440 and for the tape device /dev/nst0. Because the user pick is not a root user, the permissions are not sufficient for D3. As a result, when a D3 process attempts to write to the floppy, you will see a message indicating that the drive is write-protected. To write to the device from D3 execute the command:
If using floppy:
chmod 666 /dev/fd0H1440
If using tape:
chmod 666 /dev/nst0
The UNIX permissions might not be properly set for the D3 process to use the disk or tape device. On another terminal, log on as root and enter:
If using floppy:
chmod 666 /dev/fd0
If using CD-ROM:
chmod 666 /cdrom
This should start the restore. If not, verify that the device is correctly set.
Follow the same procedure as the WARNING: Buffer attachment failed. Error: Not enough memory. Only 0K were allocated message.
If the file restore aborts, the virtual machine must be stopped before a new attempt to load the files is made.
If not, enter the D3 virtual debugger by pressing CTRL+].
This action returns to TCL and displays a double colon prompt (::).
shutdown
md
kf q
You will see the following message:
sure?
The system returns to the UNIX Shell prompt and terminates D3.
Ensure that the message override protection setting 06755 for d3 did not occur, as shown elsewhere in this section. The UNIX file /tmp/d3.install.errs contains a trace of the errors. Display this file and communicate its content to the Rocket support representative.
This message can occur during the installation procedure when trying to re-install D3 on a system where D3 processes are active. When the procedure is executed in single-user mode as indicated, all D3 processes are terminated. However, in some cases a process cannot be terminated (usually due to a problem with a tape device that a D3 process is trying to access).
ps -auwx | grep d3 ps -auwx | grep ap ps -auwx | grep pick
You might see information similar to:
root 1640 1 06:03:42 90/0 0:00 d3 - 58 tty90
which indicates there is one process (PID 1640) still running D3.
kill pid.number
kill -9 pid.number
You will see the following message:
Options: F)ile only, A)BS only, X)eXecute. Q)uit = _