Hi Lakmal,

Found that Apache server is shutdown after sometime, seems its because of
the keys we are copying..

In Apache error.log s I can see this..

[Thu Mar 28 10:37:11 2013] [notice] caught SIGTERM, shutting down
[Thu Mar 28 14:42:00 2013] [warn] RSA server certificate CommonName (CN)
`ip-10-194-246-138.ec2.internal' does NOT match server name!?
[Thu Mar 28 14:42:03 2013] [warn] RSA server certificate CommonName (CN)
`ip-10-194-246-138.ec2.internal' does NOT match server name!?
[Thu Mar 28 14:42:03 2013] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1
configured -- resuming normal operations
[Thu Mar 28 14:42:08 2013] [notice] caught SIGTERM, shutting down
[Thu Mar 28 14:42:09 2013] [warn] RSA server certificate CommonName (CN)
`ip-10-194-246-138.ec2.internal' does NOT match server name!?
[Thu Mar 28 14:42:09 2013] [warn] RSA server certificate CommonName (CN)
`ip-10-194-246-138.ec2.internal' does NOT match server name!?
[Thu Mar 28 14:42:09 2013] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1
configured -- resuming normal operations
[Thu Mar 28 14:56:12 2013] [notice] caught SIGTERM, shutting down
[Thu Mar 28 15:46:00 2013] [warn] RSA server certificate CommonName (CN)
`ip-10-194-246-138.ec2.internal' does NOT match server name!?
[Thu Mar 28 15:46:04 2013] [warn] RSA server certificate CommonName (CN)
`localhost' does NOT match server name!?
[Thu Mar 28 15:46:04 2013] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1
configured -- resuming normal operations
[Thu Mar 28 15:46:04 2013] [notice] caught SIGTERM, shutting down


---------- Forwarded message ----------
From: Lakmal Warusawithana <[email protected]>
Date: Thu, Mar 28, 2013 at 6:32 PM
Subject: Re: Logs - When a mysql cartridge is registered with Cartridge
Agent
To: Sajith Kariyawasam <[email protected]>


Yes pls
On Mar 28, 2013 6:16 PM, "Sajith Kariyawasam" <[email protected]> wrote:

>
>
> [2013-03-28 12:42:22,096]  INFO
> {org.wso2.carbon.cartridge.agent.service.CartridgeAgentService} -  Trying
> to add new registrant
> Registrant{key='595360ac-759c-4d23-9e91-df4b1fec7178',
> remoteHost='54.225.189.62'}...
> [2013-03-28 12:42:22,099]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantDatabase} -  Added
> registrant Registrant{key='595360ac-759c-4d23-9e91-df4b1fec7178',
> remoteHost='54.225.189.62'}
> [2013-03-28 12:42:22,100]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Trying to connect to registrant
> Registrant{key='595360ac-759c-4d23-9e91-df4b1fec7178',
> remoteHost='54.225.189.62'}...
> [2013-03-28 12:42:22,100]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Portmappings..
> [Lorg.wso2.carbon.cartridge.agent.registrant.PortMapping;@2048a158
> [2013-03-28 12:42:22,100]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Retrying....3
> [2013-03-28 12:42:22,100]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  checking port: 80and addr: /54.225.189.62retry..:3
> [2013-03-28 12:42:32,104] ERROR
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Error occurred.. connect timed out
> [2013-03-28 12:42:33,104]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Retrying....2
> [2013-03-28 12:42:33,104]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  checking port: 80and addr: /54.225.189.62retry..:2
> [2013-03-28 12:42:43,115] ERROR
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Error occurred.. connect timed out
> [2013-03-28 12:42:44,115]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Retrying....1
> [2013-03-28 12:42:44,116]  INFO
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  checking port: 80and addr: /54.225.189.62retry..:1
> [2013-03-28 12:42:54,116] ERROR
> {org.wso2.carbon.cartridge.agent.registrant.RegistrantHealthChecker} -
>  Error occurred.. connect timed out
> [2013-03-28 12:42:55,116] ERROR
> {org.wso2.carbon.cartridge.agent.ClusteringClient} -  Cannot add registrant.
>
>
> Agent retries 3 times only and at that time port 80 seems not up and
> running....
>
> so, i will make retry count configurable and will make retry count a
> higher value....
>
>
> --
> Regards,
> *
> *
> *Sajith Kariyawasam*
> *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
>



-- 
Regards,
*
*
*Sajith Kariyawasam*
*Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to