If the server is set up without a local console, you need to set up a console on it in order to issue software commands; see:
Kill processes accessing the CD-ROM drive, if necessary.
The disc will not eject while the drive is in use. To kill any processes accessing the CD-ROM drive, become superuser and type the following:
% su Password: # fuser -k /cdrom/cdrom0
You should warn users before abruptly halting processes. The command fuser -u /cdrom/cdrom0 helps you identify who's accessing the CD-ROM drive. Refer to the Solaris 2.x System Administrator's Guide for more information about the fuser command.
From the console device, enter:
% eject cdrom0
The CD-ROM disc should eject.
You can also eject a compact disc by using one of these methods:
Manually; see "How to Eject a Compact Disc Manually"
Using an emergency procedure; see "How to Eject a Compact Disc in an Emergency"