Also you must configure your OS shared memory settings too. On Solaris you must set the sharing memory settings min. requirements for Netbackup. You can read this article (Document ID: 238063) http://seer.support.veritas.com/docs/238063.htm
You can take a list of all your medias with "bpmedialist -U" command. The output shows you a lot of things such as number of images ,expiration dates, media status etc. You can use this ouput for analysing the data (parsing with script ,looking on ex...
Be sure that your library controller is connected to AIX via SCSI cable. Does your L40 configured like daisy chain? Are you using single SCSI card?regards.Emin.