cancel
Showing results for 
Search instead for 
Did you mean: 

CANNOT EXECUTE COMMAND PERMISSION DENIED(MM STATUS 1)

abu_jaman
Level 6

Hi all experts,

 

we have Netbackup 6.5.5 on Solaris SPARC 64  bit  machine. We having this above issues suddenly yesterday while trying to re install the robotic library thru GUI interface. I will appreciate if someone can share the solutions.

5 REPLIES 5

abu_jaman
Level 6

 

# /usr/openv/volmgr/bin/tpautoconf -a
Cannot discover devices.  See the Troubleshooting Guide for details.
 

Marianne
Level 6
Partner    VIP    Accredited Certified

Did anyone run any discovery commands from cmd and send output fo a file?

I have seen the following happening with other NBU commands at customers' site:

cd folder
command >command

This will result in new 0-byte size file...

So, if anyone did the following for example:

cd /usr/openv/volmgr/bin
tpautoconf -t >tpautoconf

The tpautoconf binary will be overwritten with empty file called tpautoconf.

Check for files in /usr/openv/volmgr/bin that are 0-byte size.

Please also try to run the following commands from cmd:

cd /usr/openv/volmgr/bin

scan

sgscan

tpautoconf -t

abu_jaman
Level 6

 ------------------------------------------------------------
Device Name  : "/dev/sg/c1t0l0"
Passthru Name: "/dev/sg/c1t0l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "QUANTUM PX500           001A"
Vendor ID  : "QUANTUM "
Product ID : "PX500           "
Product Rev: "001A"
Serial Number: "QP0735BDC00023"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "QUANTUM PX500           QP0735BDC00023"
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-3
Number of Drives : 2
Number of Slots  : 32
Number of Media Access Ports: 6
Drive 1 Serial Number      : "MXP074960P"
Drive 2 Serial Number      : "HU10630PRA"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/0cbn"
Passthru Name: "/dev/sg/c1t1l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      Ultrium 3-SCSI  G57Z"
Vendor ID  : "HP      "
Product ID : "Ultrium 3-SCSI  "
Product Rev: "G57Z"
Serial Number: "MXP074960P"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/1cbn"
Passthru Name: "/dev/sg/c1t2l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      Ultrium 3-SCSI  G57Z"
Vendor ID  : "HP      "
Product ID : "Ultrium 3-SCSI  "
Product Rev: "G57Z"
Serial Number: "HU10630PRA"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
# # #
 

# # # sgscan
/dev/sg/c0t0l0: Disk (/dev/rdsk/c0t0d0): "SEAGATE ST973402SSUN72G"
/dev/sg/c0t1l0: Disk (/dev/rdsk/c0t1d0): "SEAGATE ST973402SSUN72G"
/dev/sg/c1t0l0: Changer: "QUANTUM PX500"
/dev/sg/c1t1l0: Tape (/dev/rmt/0): "HP      Ultrium 3-SCSI"
/dev/sg/c1t2l0: Tape (/dev/rmt/1): "HP      Ultrium 3-SCSI"
#

#

 

#
# tpautoconf -t
#
 -r-xr-xr-x   1 root     bin            0 Feb 14 10:14 tpautoconf
-r-xr-xr-x   1 root     bin        12655 Feb 13 17:45 tpconfig
 

 


 

 

 

Mark_Solutions
Level 6
Partner Accredited Certified

The error itself is covered by this tech note:

http://www.symantec.com/docs/HOWTO51397

The summary of actions to try are:

Run tpautoconf -get_gdbhost on other hosts.

Set the EMM server name with:

tpautoconf -set_gdbhost host_name

where host_name is the host name returned by tpautoconf -get_gdbhost

Also make ssure you are logged in as root when running  the command

Marianne
Level 6
Partner    VIP    Accredited Certified

tpautoconf has filesize of 0:

 -r-xr-xr-x   1 root     bin            0 Feb 14 10:14 tpautoconf

You will need to find another binary - either from another Solaris media server or else see if you can find it in the 6.5.5 patch zip-file.