11-06-2008 06:53 AM
Forgive me if I am doing something stupid in asking this question but I have setup the reporter and agent on a single host.
I have configured 2 agent modules, I have confirmed the paths and everything is all correct but no information is being retrieved and all I get is "A2011: IOException h..." which translates when looking at err-0.log the following appears
2008/11/06 14:44:28 GMT pool-1-thread-6 Caused by: java.io.IOException: CreateProcess: "D:\Program Files\VERITAS\NetBackup\bin\admincmd\bpimagelist" -l -M nbserver-d "01/01/1970 01:00:00" -e "12/06/1974 00:00:00" error=3
2008/11/06 14:44:28 GMT pool-1-thread-6 at java.lang.ProcessImpl.create(Native Method)
2008/11/06 14:44:28 GMT pool-1-thread-6 at java.lang.ProcessImpl.<init>(Unknown Source)
2008/11/06 14:44:28 GMT pool-1-thread-6 at java.lang.ProcessImpl.start(Unknown Source)
2008/11/06 14:44:28 GMT pool-1-thread-6 at java.lang.ProcessBuilder.start(Unknown Source)
2008/11/06 14:44:28 GMT pool-1-thread-6 at java.lang.Runtime.exec(Unknown Source)
2008/11/06 14:44:28 GMT pool-1-thread-6 at java.lang.Runtime.exec(Unknown Source)
2008/11/06 14:44:28 GMT pool-1-thread-6 at com.veritas.gom.agent.shared.module.ExternalProcess.execute(ExternalProcess.java:199)
2008/11/06 14:44:28 GMT pool-1-thread-6 ... 9 more
2008/11/06 14:45:28 GMT pool-1-thread-3 com.veritas.gom.agent.shared.AgentException: A2011: IOException happened when executing external process
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.shared.AgentException.createAgentException(AgentException.java:248)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.shared.module.ExternalProcess.execute(ExternalProcess.java:216)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.shared.module.DataLineSource.readySource(DataLineSource.java:78)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.module.netbackup.NetBackupRetentionLevel.loadReader(NetBackupRetentionLevel.java:125)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.module.netbackup.NetBackupRetentionLevel.loadCommand(NetBackupRetentionLevel.java:105)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.module.netbackup.NetBackupRetentionLevel.load(NetBackupRetentionLevel.java:160)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.module.netbackup.NetBackupAgentModule.getBackupMedia(NetBackupAgentModule.java:423)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.core.comm.Event.initiateDataCollection(Event.java:574)
2008/11/06 14:45:28 GMT pool-1-thread-3 at com.veritas.gom.agent.core.comm.AgentCommunicationThread.run(AgentCommunicationThread.java:342)
2008/11/06 14:45:28 GMT pool-1-thread-3 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
2008/11/06 14:45:28 GMT pool-1-thread-3 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2008/11/06 14:45:28 GMT pool-1-thread-3 at java.lang.Thread.run(Unknown Source)
I can run the command with no issues if I exclude the "error=3" at the end of the command. I do not know why this is happening.
I am running v6.5.1.1 Backup Reporter and Netbackup Enterprise Server version 6.5.2A and I have also tried on a Netbackup Server 6.5.1 and exactly the same errors occur.
If anybody can point me in the right direction I would be most grateful.
Thanks
Lee
11-06-2008 07:30 AM
Lee,
When you run the command, are you running it from the system where the VBR agent is installed?
Tony
11-06-2008 07:36 AM
Tony,
I can run the command with no issues from the Netbackup server.
The command is not installed on the VBR agent since the Reporting server and agent are the same machine to reduce the load on the backup server.
Lee
11-06-2008 07:43 AM
Lee,
The command actually runs on the machine where the VBR agent is installed, not on the NBU server. You will need to install the NBU Remote Admin Console for Windows (not the Java admin GUI or NBU client) on the VBR server (running VBR server and agent) assuming that it is Windows. You will then need to permission that host (VBR server and agent machine) to be allowed to access the master server (bp.conf SERVER= entry or if Windows master through the admin GUI).
Tony
11-07-2008 07:31 AM
Are both modules reporting on the same version of NBU also?For instance, if one module is reporting on a 6.5 master and one is reporting on a 6.0 master, then you will need to load another agent on a different server with those particular NBU binaries.
Just an FYI ..