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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...