Windows Agent Problems

267 views
Skip to first unread message

Scott Harkless

unread,
May 27, 2014, 12:58:02 PM5/27/14
to vfe...@googlegroups.com
When installing the windows agent I clicked on test credentials and it errors out even though the username and password are correct.  I worked with a few guys in the IRC and they wanted me to upload my agent log file.  I am attaching that file now.

I bypassed the credentials error and just installed the client.  It is not showing up on the web interface.
05272014.log

Rafael Gonzalez

unread,
May 27, 2014, 5:11:28 PM5/27/14
to vfe...@googlegroups.com
Could you tell me on what system your running the agent, and if its a VM or not, which VM if it is on a VM. thank you

ian White

unread,
May 28, 2014, 6:25:26 AM5/28/14
to vfe...@googlegroups.com
I am also seeing the same issue (log extract below). The agent is on Win 8.1 Pro x64 on real hardware. I also have the agent on Win 8. Pro x64 on VmWare and that works fine:

INFO : 5/27/2014 8:46:26 PM : Done.
WARN : 5/27/2014 8:46:26 PM : Could not verify uptime file at bootup.
ERROR : 5/27/2014 8:46:26 PM : Error retriving System info details, parameter-CSDVersion.
FATAL : 5/27/2014 8:46:35 PM : Failed while getting Hardware Info.
ERROR : 5/27/2014 8:46:35 PM : Couldn't complete operation.
ERROR : 5/27/2014 8:46:35 PM : Exception: Can not add property ip_address to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.
ERROR : 5/27/2014 8:46:35 PM : Stack trace: System.ArgumentException: Can not add property ip_address to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.
   at Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken existing)
   at Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
   at Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object content, Boolean skipParentCheck)
   at Agent.Core.Utils.SystemInfo.GetNetwork()
   at Agent.Core.ServerOperations.OperationManager.GetHardwareInfo()
   at Agent.Core.ServerOperations.OperationManager.InitialDataFormatter(ISofOperation operation)
   at Agent.Core.ServerOperations.OperationManager.ProcessOperation(String serverMessage)
INFO : 5/27/2014 8:46:35 PM : END OF FUNCTION
WARN : 5/27/2014 8:46:35 PM : Queue paused.
DEBUG : 5/27/2014 8:46:35 PM : RAW server messsage: {
    "rv_status_code": 1013, 
    "message": "admin - new_agent agent broke: 'data'", 
    "http_method": "POST", 
    "uri": "/rvl/v1/core/newagent", 
    "http_status": 500
}
INFO : 5/27/2014 8:46:35 PM : Sent message: {
  "operation_id": "692d50e9-4ce2-4600-bc42-0c382da5c3dc-agent",
  "agent_id": "",
  "plugin": "",
  "success": "false",
  "app_id": "",
  "error": "Exception: Can not add property ip_address to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.. Please refer to agent logs for more specific details.",
  "apps_to_delete": [],
  "apps_to_add": [],
  "reboot_required": "false",
  "data": {
    "name": "",
    "description": "",
    "kb": "",
    "vendor_severity": "",
    "rv_serverity": "",
    "support_url": "",
    "release_date": "",
    "vendor_id": "",
    "vendor_name": "",
    "repo": "",
    "version": "",
    "file_data": ""
  }
}
INFO : 5/27/2014 8:46:35 PM : Message was received by RV Server, status: OK
ERROR : 5/27/2014 8:46:35 PM : Received exception when parsing status code from server data, Object reference not set to an instance of an object.
INFO : 5/27/2014 8:46:35 PM : Displaying content received from server:   {
    "rv_status_code": 1013, 
    "message": "admin - new_agent agent broke: 'data'", 
    "http_method": "POST", 
    "uri": "/rvl/v1/core/newagent", 
    "http_status": 500
}
WARN : 5/27/2014 8:46:35 PM : Received response from server after sending Failure results operation: OK 
INFO : 5/27/2014 8:46:35 PM : Queue resuming.
INFO : 5/27/2014 8:46:35 PM : Process operation: {
  "operation": "resume_operations",
  "operation_id": "db7a287e-483e-4996-addb-37e862809f1b-agent",
  "agent_id": "",
  "plugin": "rv",
  "type": "resume_operations"
}
INFO : 5/27/2014 8:46:35 PM : Checking operations folder for remaining operations...
INFO : 5/27/2014 8:46:35 PM : Operations folder is empty.
INFO : 5/27/2014 8:46:35 PM : Done.
INFO : 5/27/2014 8:46:35 PM : Ready.
WARN : 5/28/2014 10:59:30 AM : Queue paused.
INFO : 5/28/2014 10:59:30 AM : Process operation: {
  "operation": "updatesapplications",
  "operation_id": "00795a37-f178-4afe-aedc-9a0a5b7294e8-agent",
  "agent_id": ""
}
ERROR : 5/28/2014 10:59:30 AM : Plugin  not found.
ERROR : 5/28/2014 10:59:30 AM : Exception: Object reference not set to an instance of an object.
ERROR : 5/28/2014 10:59:30 AM : Stack trace: System.NullReferenceException: Object reference not set to an instance of an object.
   at Agent.Core.Net.NetworkManager.SendMessage(String message, String apicall)
INFO : 5/28/2014 10:59:30 AM : Queue resuming.

Scott Harkless

unread,
May 28, 2014, 8:20:47 AM5/28/14
to vfe...@googlegroups.com
This is on a Lenovo X1 Carbon running Windows 8.1

Rafael Gonzalez

unread,
May 28, 2014, 3:04:05 PM5/28/14
to vfe...@googlegroups.com
Thank you for the information, i have found an issue that ill get fix asap for the next release. 

Akhilesh Yadav

unread,
May 29, 2014, 12:01:33 AM5/29/14
to vfe...@googlegroups.com
Hi Rafael Gonzalez

I am also facing same issue mentioned by Scott Harkless.I am running agent on Windows 7(64 bit) professional edition.
Please find the attached agent log file.

Thanks
05282014.log

Rafael Gonzalez

unread,
Jun 6, 2014, 2:11:47 PM6/6/14
to vfe...@googlegroups.com
I have fixed the issues with the agent crashing, you can download the new build here vFense, if you are still running into the same issue or any other problem let me know. 

Akhilesh Yadav

unread,
Jun 9, 2014, 2:01:29 AM6/9/14
to vfe...@googlegroups.com
Hi Rafael Gonzalez,

I downloaded new windows agent from link given by you.While installing the new windows agent when I clicked on test credentials then it fails.
Please find the attached windows agent log

Thanks
06092014.log

Rafael Gonzalez

unread,
Jun 9, 2014, 3:41:00 PM6/9/14
to vfe...@googlegroups.com
Do not go by "test credentials", you appear to have the address to the server wrong the agent is not connecting to it and/or finding it.

Akhilesh Yadav

unread,
Jun 10, 2014, 6:30:38 AM6/10/14
to vfe...@googlegroups.com
Hi,

Finally my windows agent is showing at server,but when I am trying to install any windows package its not getting installed.
At vFense server in operation tab when I select windows agent,then it does not give any success or failure status of package.It continuously shows processing status.

Please find the attached agent log.

Thanks


06102014.log

Rafael Gonzalez

unread,
Jun 11, 2014, 3:51:35 PM6/11/14
to vfe...@googlegroups.com
I am looking over the log file, just to verify, did the agent install any updates before it stayed showing "processing", and can you verify if the "operations" folder is empty. thank you.

Rafael Gonzalez

unread,
Jun 11, 2014, 5:48:04 PM6/11/14
to vfe...@googlegroups.com
After going over the log, i noticed that for the custom installs (wrar501.exe, winzip180-32.exe, pdf2wordsetup.exe) you are not sending a silent install option (cli_option), this may be causing the issue, without the silent install option, the installation wont process or be completed and the agent will stay waiting for the process to finish so it can send back the results, try uploading the packages to the server again, and make sure to  include a silent install option, before sending the operation again you will need to clear out the "operations" folder and restart the agent. 

Akhilesh Yadav

unread,
Jun 14, 2014, 4:14:52 AM6/14/14
to vfe...@googlegroups.com
Hi Rafeal

Sorry to reply you so late.

What value should I pass in the silent install option.

Thanks

Rafael Gonzalez

unread,
Jun 14, 2014, 6:25:53 PM6/14/14
to vfe...@googlegroups.com
For the wrar is /S, and for winzip is /quiet, but you should always double check the documentation and installations for the silent install, this is very important in order for the agent to be able to install the app in the background without any issues.

Lakshmynarayanan V

unread,
Nov 21, 2014, 1:09:48 PM11/21/14
to vfe...@googlegroups.com
Hello,

I tried to install windows agent in my servers running windows 2008 and 2012. But the installation of initial_setup.exe fails with "Unable to download DLL" errors. Is there any issues with the windows agent? Or am I not going in the right direction?
Reply all
Reply to author
Forward
0 new messages