Re: Error at the cartridge agent in the spawned PHP instances

2014-09-09 Thread Prasanna Dangalla
Hi Madhawa, Further below is an sample launch parameter file content in a php cartridge(192.168.18.135) deployed in puppet in http://192.168.18.25 instance. SERVICE_NAME=php,HOST_NAME=phptest1011.stratos.com ,MULTITENANT=false,TENANT_ID=-1234,TENANT_RANGE=-1234,CARTRIDGE_ALIAS=phptest1011,CLUSTER

Re: Error at the cartridge agent in the spawned PHP instances

2014-09-09 Thread Chamila De Alwis
SERVICE_NAME is one of the many parameters passed from Stratos through the IaaS as launch parameters. It represents the type of the cartridge that is subscribed to. In your case it should be 'php'. Check if /tmp/payload/launch_parameters file exists. If that is empty it is most likely that the met

Re: Error at the cartridge agent in the spawned PHP instances

2014-09-09 Thread Prasanna Dangalla
Hi Madhawa, Check whether the service name is in /tmp/payload/launch-params file in spawned instance. SERVICE_NAME should be defined as php in this file. Thanks On Tue, Sep 9, 2014 at 8:35 PM, Madhawa Bandara wrote: > Hi all, > > I get the following error[1] at the cartridge agent log in the

Error at the cartridge agent in the spawned PHP instances

2014-09-09 Thread Madhawa Bandara
Hi all, I get the following error[1] at the cartridge agent log in the php instances spawned. Where is the SERVICE_NAME set? What is the issue? Thanks. [1]- 2014-09-03 05:18:49,756 [-] [main] ERROR Main java.lang.RuntimeException: org.apache.stratos.cartridge.agent.exception.ParameterNotFoundEx