Ad Widget

Collapse

Zabbix Agent 2 server problem on windows server 2008 R2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ronnie8778
    Junior Member
    • Mar 2022
    • 3

    #1

    Zabbix Agent 2 server problem on windows server 2008 R2

    Hi, I am new to Zabbix, I lately downloaded Zabbix Agent 2 file and tried to configure it as a windows server on Windows server 2008 R2, the installation was successful, but I got this error when starting it up and error when trying to delete the service.

    C:\Zabbix>zabbix_agent2.exe -c zabbix_agent2.conf --install
    zabbix_agent2 [1356]: 'Zabbix Agent 2' installed successfully

    C:\Zabbix>zabbix_agent2.exe -s
    zabbix_agent2 [7920]: ERROR: cannot open configuration file: open C:\Zabbix\zabb
    ix_agent2.win.conf: The system cannot find the file specified.

    C:\Zabbix>zabbix_agent2.exe remove
    zabbix_agent2 [7524]: ERROR: cannot open configuration file: open C:\Zabbix\zabb
    ix_agent2.win.conf: The system cannot find the file specified.

    C:\Zabbix>zabbix_agent2.exe -s
    zabbix_agent2 [8920]: ERROR: failed to start Zabbix Agent 2 service: failed to s
    tart service: The service did not respond to the start or control request in a t
    imely fashion.

    C:\Zabbix>dir
    Volume in drive C is System
    Volume Serial Number is 50A8-7EE3

    Directory of C:\Zabbix

    24/03/2022 14:20 <DIR> .
    24/03/2022 14:20 <DIR> ..
    24/03/2022 14:10 25,301 zabbix_agent2.conf
    24/03/2022 14:09 25,298 zabbix_agent2.conf.bak
    01/03/2022 13:03 16,891,392 zabbix_agent2.exe
    3 File(s) 16,941,991 bytes
    2 Dir(s) 134,308,634,624 bytes free

    Anyway to get this fixed?


  • incama
    Member
    • Jan 2015
    • 65

    #2
    I always use the full path when installing or uninstalling the agent. try removing the agent with:
    Code:
    zabbix_agent2.exe --config c:\Zabbix\zabbix_agent2.conf --uninstall
    en re-install it with:
    Code:
    zabbix_agent2.exe --config c:\Zabbix\zabbix_agent2.conf --install

    Comment

    • ronnie8778
      Junior Member
      • Mar 2022
      • 3

      #3
      Originally posted by incama
      I always use the full path when installing or uninstalling the agent. try removing the agent with:
      Code:
      zabbix_agent2.exe --config c:\Zabbix\zabbix_agent2.conf --uninstall
      en re-install it with:
      Code:
      zabbix_agent2.exe --config c:\Zabbix\zabbix_agent2.conf --install
      that does the trick! thank you!!

      Comment

      Working...