Replies: 2 comments 5 replies
-
You can use vbs script to install a local file or from a shared storage.
Can you confirm you're attempting installation with sufficient privileges ? This is definitively not related to #584 as here the installer fails to install service. Last point, do you have GLPI-Agent installed when running installer ? And if yes, is it installed in x86/32 bits version ? If this is the case, you must uninstall first the 32 bits version before attempting to install de 64 bits one. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. Now I tried to use vbs script with network shared storage. I always use 64bit version, and I also try install with previous version installed 1.7.3, and also without any installed version of glpi-agent. I also try to manually install with GUI installer, and same problem, in the end installer is trying start service, and waiting minutes with error. Version 1.7.3 with GUI installed and working OK. |
Beta Was this translation helpful? Give feedback.
-
Documentation & bug reporting acknowledgment
Yes, I read it
Describe your problem
Hello, I try to install new version glpi-agent 1.8 and 1.9 on Windows 11 Pro and have problem. I install with GPO > Computer configuration > Software settings > Software installation with MSI file. When I start computer, I only see Waiting, about 20-30 minutes, and GLPI is not installed. Only few files in Program files\Glpi-agent is present. No binary. This install msi file with SYSTEM user.
Same happend, when I use startup/shutdown script. I only change version of msi, and version 1.8 and 1.9 wont install. I try to install with parameters, without, with MST or without MST, still same problem. Also try to remove registry and check if service is not present and installed. Failed install - long waiting to service and ended with error: Service 'GLPI Agent' (glpi-agent) failed to start
I wont use official vbs script, because I don't have internet connection on this PCs.
Installation of older version 1.4 - 1.7.3 working OK.
How to reproduce: Try install MSI with GPO, expected glpi-agent is installed, and service is working.
version 1.5 - install OK
version 1.7.2 - install OK
version 1.7.3 - install OK
version 1.8 - install FAILED
version 1.9 - install FAILED
Please help, thank you.
Is related to? #584
Error from MSI log - waiting about 10 minutes, to start service and service failed to start:
MSI (s) (E4:0C) [09:48:42:929]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1])
WixQuietExec:
MSI (s) (E4:0C) [09:48:42:929]: Executing op: IconCreate(Icon=i_main_ico,Data=BinaryData)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: IconCreate(Icon=agentmonitor.ico,Data=BinaryData)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3])
MSI (s) (E4:0C) [09:48:42:929]: Executing op: ProgressTotal(Total=52,Type=1,ByteEquivalent=13200)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\GLPI-Agent,,BinaryType=1,,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=additional-content,,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=debug,Value=0,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=local,,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=logger,Value=file,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=logfile,Value=C:\Program Files\GLPI-Agent\logs\glpi-agent.log,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=logfile-maxsize,Value=4,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=server,Value=https://helpdesk.tsk.sk/plugins/glpiinventory,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=no-httpd,Value=0,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=httpd-ip,Value=0.0.0.0,)
MSI (s) (E4:0C) [09:48:42:929]: Executing op: RegAddValue(Name=httpd-port,Value=62354,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=httpd-trust,Value=127.0.0.1/32,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=tag,,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=scan-homedirs,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=scan-profiles,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=no-p2p,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=timeout,Value=180,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=snmp-retries,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=delaytime,Value=3600,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=backend-collect-timeout,Value=180,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=full-inventory-postpone,Value=14,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=no-task,,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=no-category,,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=no-compression,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=html,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=json,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=lazy,Value=1,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=conf-reload-interval,Value=0,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=no-ssl-check,Value=1,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=user,,)
MSI (s) (E4:0C) [09:48:42:944]: Executing op: RegAddValue(Name=password,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=proxy,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=tasks,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=ca-cert-dir,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=ca-cert-file,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=ssl-cert-file,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=ssl-fingerprint,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=vardir,Value=C:\Program Files\GLPI-Agent\var,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=listen,Value=0,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=remote,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=remote-workers,Value=1,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\GLPI-Agent\Installer,,BinaryType=1,,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=InstallDir,Value=C:\Program Files\GLPI-Agent,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=ExecMode,Value=1,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=QuickInstall,Value=1,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=AddFirewallException,Value=1,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=RunNow,Value=1,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=TaskFrequency,Value=hourly,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=TaskMinuteModifier,Value=15,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=TaskHourlyModifier,Value=1,)
MSI (s) (E4:0C) [09:48:42:960]: Executing op: RegAddValue(Name=TaskDailyModifier,Value=1,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: RegAddValue(Name=AgentMonitor,Value=0,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: RegAddValue(Name=Version,Value=1.9,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: RegOpenKey(Root=-2147483646,Key=Software\GLPI-Agent\Monitor,,BinaryType=1,,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: RegAddValue(Name=NewTicket-URL,,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2])
MSI (s) (E4:0C) [09:48:42:976]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: ServiceInstall(Name=glpi-agent,DisplayName=GLPI Agent,ImagePath="C:\Program Files\GLPI-Agent\perl\bin\glpi-agent.exe" -I"C:\Program Files\GLPI-Agent\perl\agent" -I"C:\Program Files\GLPI-Agent\perl\site\lib" -I"C:\Program Files\GLPI-Agent\perl\vendor\lib" -I"C:\Program Files\GLPI-Agent\perl\lib" "C:\Program Files\GLPI-Agent\perl\bin\glpi-win32-service",ServiceType=16,StartType=2,ErrorControl=1,,Dependencies=[~],,,Password=**********,Description=GLPI Agent is an inventory agent. It is intended to upload system inventory toward a GLPI server on a regular basis.,,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: ActionStart(Name=RollbackServiceConfig,,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: CustomActionSchedule(Action=RollbackServiceConfig,ActionType=3329,Source=BinaryData,Target=RollbackServiceConfig,CustomActionData=SchedServiceConfig)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: ActionStart(Name=ExecServiceConfig,,)
MSI (s) (E4:0C) [09:48:42:976]: Executing op: CustomActionSchedule(Action=ExecServiceConfig,ActionType=3073,Source=BinaryData,Target=ExecServiceConfig,CustomActionData=SchedServiceConfig�glpi-agent�1�restart�restart�restart�0�60��)
MSI (s) (E4:0C) [09:48:42:976]: Creating MSIHANDLE (86) of type 790536 for thread 7436
MSI (s) (E4:9C) [09:48:42:976]: Invoking remote custom action. DLL: C:\windows\Installer\MSIBA36.tmp, Entrypoint: ExecServiceConfig
MSI (s) (E4!88) [09:48:42:991]: Creating MSIHANDLE (87) of type 790531 for thread 5256
MSI (s) (E4!88) [09:48:42:991]: Closing MSIHANDLE (87) of type 790531 for thread 5256
MSI (s) (E4:9C) [09:48:42:991]: Closing MSIHANDLE (86) of type 790536 for thread 7436
MSI (s) (E4:0C) [09:48:42:991]: Executing op: ActionStart(Name=ForceRun,,)
MSI (s) (E4:0C) [09:48:42:991]: Executing op: CustomActionSchedule(Action=ForceRun,ActionType=3137,Source=BinaryData,Target=WixQuietExec,CustomActionData="C:\Program Files\GLPI-Agent\glpi-agent.bat" --set-forcerun)
MSI (s) (E4:0C) [09:48:42:991]: Creating MSIHANDLE (88) of type 790536 for thread 7436
MSI (s) (E4:D8) [09:48:42:991]: Invoking remote custom action. DLL: C:\windows\Installer\MSIBA46.tmp, Entrypoint: WixQuietExec
MSI (s) (E4:D8) [09:53:55:478]: Closing MSIHANDLE (88) of type 790536 for thread 7436
MSI (s) (E4:0C) [09:53:55:478]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (E4:0C) [09:53:55:478]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (E4:0C) [09:53:55:478]: Executing op: ServiceControl(,Name=glpi-agent,Action=1,Wait=1,)
MSI (s) (E4:0C) [09:57:54:712]: Product: GLPI Agent 1.9 -- Error 1920. Service 'GLPI Agent' (glpi-agent) failed to start. Verify that you have sufficient privileges to start system services.
Error 1920. Service 'GLPI Agent' (glpi-agent) failed to start. Verify that you have sufficient privileges to start system services.
Beta Was this translation helpful? Give feedback.
All reactions