AppD Archive

Install php agent failed with exit status 1

CommunityUser
Splunk Employee
Splunk Employee

I'm trying to install php agent version 3.9.3.0-1 64-bit (appdynamics-php-agent-3.9.3.0-1.x86_64) on CentOS 6.3 64-bit.

I'm using the zip downloaded from SaaS Controller.

However when executing script runme.sh I got the following error:

[root@salakanagara appdynamics-php-agent]# bash runme.sh
Installing AppDynamics PHP agent: 3.9.3.0GA.5793.05918cd8a4a8a63504a34f0f1c85511e207049b3
error: %pre(appdynamics-php-agent-3.9.3.0-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping appdynamics-php-agent-3.9.3.0-1

I tried googling but didn't get any solution. Perhaps anyone here can tell what to do? What does exit status 1 mean?

Many thanks!

Tags (2)
0 Karma
1 Solution

Arun_Dasetty
Super Champion

Hi,

While the php team got chance to look into this issue, Can you please go through the following and check whether your environment is in supported list and you are following the stated steps in docs:

https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+RPM

https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+PHP

https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+a+Shell+Script

Regards,

Arun

View solution in original post

0 Karma

Arun_Dasetty
Super Champion

Hi,

While the php team got chance to look into this issue, Can you please go through the following and check whether your environment is in supported list and you are following the stated steps in docs:

https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+RPM

https://docs.appdynamics.com/display/PRO39/Supported+Environments+and+Versions+for+PHP

https://docs.appdynamics.com/display/PRO39/Install+the+PHP+Agent+using+a+Shell+Script

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks for the link.

It seems when using Zend Server the PHP executable didn't registered on standard environment path.

After we set the environment variable for RPM package the install went without problem.

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...