
UNSOLVED
proxycp.jar error running -selectalldatastore
I am not exactly sure when or why this stopped working but the "selectdatastore" command is no longer working. This is a command I use quite often as we are always adding datastores and moving VMs around. Other commands are still working. I did download the latest version of proxcp, but it did not help. Thanks in advance for any assistance.
Here is what I get...
:/tmp/#: java -jar proxycp.jar -selectalldatastore
======================= Starting ProxyCP ==========================
Proxycp : v2.80
Date : November 14, 2018 8:09:19 AM EST
COMMAND : java -jar proxycp.jar -selectalldatastore
VDP/Nemo Detected : false
-------------------------------------------------------------------------------------------------------------------
Nov 14, 2018 8:09:22 AM com.avamar.mc.security.registry.ProviderRegistryBasic register
INFO: Provider "JsafeJCE version 6.21" is registered at position 10
-----------------------------------BACKUP-----------------------------------------
Backup File generated to Rollback Datastore Map : /data01/avamar/var/log/BackupProxyMap-2018-11-14_09-09-22.sql
For Rollback, run the following command and then restart MCS
psql -p 5555 mcdb -U admin -f /data01/avamar/var/log/BackupProxyMap-2018-11-14_09-09-22.sql
----------------------------------------------------------------------------
Error : java.lang.NullPointerException
-------------------------------------------------------------------------------------------------------------------
Closing Connection Pool : November 14, 2018 8:09:23 AM EST
Responses (4)
Solutions (0)
It is working fine for me, could you download the new version from FTP and let me know if you still have issues?
Rerun with --debug and upload the logs
root@aedevm-11:~/#: java -jar /home/admin/proxycp.jar --selectalldatastore
======================= Starting ProxyCP ==========================
Proxycp : v2.83
Date : December 14, 2018 11:12:26 AM EST
COMMAND : java -jar proxycp.jar --selectalldatastore
VDP/Nemo Detected : false
-------------------------------------------------------------------------------------------------------------------
Dec 14, 2018 11:12:27 AM com.avamar.mc.security.jce.MCCipherEngineFactory getCipherClassName
INFO: CipherClassName=com.avamar.mc.security.jce.MCCipherEngine
Dec 14, 2018 11:12:28 AM com.avamar.mc.security.registry.ProviderRegistryBasic register
INFO: Provider "JsafeJCE version 6.21" is registered at position 11
-----------------------------------BACKUP-----------------------------------------
Backup File generated to Rollback Datastore Map : /data01/avamar/var/log/BackupProxyMap-2018-12-14_12-12-28.sql
For Rollback, run the following command and then restart MCS
psql -p 5555 mcdb -U admin -f /data01/avamar/var/log/BackupProxyMap-2018-12-14_12-12-28.sql
----------------------------------------------------------------------------
Vcenter : aedevm-01.hop.usd.lab.emc.com Desc : /aedevm-01.hop.usd.lab.emc.com/aedevm-01.hop.usd.lab.emc.com
Datastore Name Datastore Type
---------------------------------------------------------------------------------
clinfs NFS
datastore1 VMFS
---------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
Closing Connection Pool : December 14, 2018 11:12:30 AM EST
Reply Hello Amol. Thanks so much for the response.
So I updated to the latest and it still did not work. Then I ran it with the debug flag and it worked. Now it works with and without the debug flag.
It doesn't really make sense to me, but i'm just glad it is working again.
Reply

Romstek
1 Message
1365
0
Posted November 18th, 2018 09:00
Hi kotto25,
I'm facing the same issue, did you get a chance to fix the problem or to find a workaround ?
Thanks in advance.
Regards,
Romstek