El 18/08/11 12:01, Drew Weaver escribió:
>
> [2011/07/01-09:51:32 - 29418] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 23s left till next reconnect
>
> [2011/07/01-09:51:32 - 29417] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:32 - 29417] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 23s left till next reconnect
>
> [2011/07/01-09:51:32 - 29419] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:32 - 29419] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 23s left till next reconnect
>
> [2011/07/01-09:51:33 - 29416] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:33 - 29416] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 22s left till next reconnect
>
> [2011/07/01-09:51:33 - 29420] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:33 - 29420] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 22s left till next reconnect
>
> [2011/07/01-09:51:33 - 29417] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:33 - 29417] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 22s left till next reconnect
>
> [2011/07/01-09:51:33 - 29418] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:33 - 29418] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 22s left till next reconnect
>
> [2011/07/01-09:51:33 - 29416] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:33 - 29416] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 22s left till next reconnect
>
> [2011/07/01-09:51:34 - 29419] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:34 - 29419] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 21s left till next reconnect
>
> [2011/07/01-09:51:34 - 29417] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:34 - 29417] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 21s left till next reconnect
>
> [2011/07/01-09:51:34 - 29588] [CBPOLICYD] WARNING: Failed to connect 
> to database: Error connecting to database: Can't connect to loc
>
> al MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (29588)
>
> [2011/07/01-09:51:34 - 29416] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:34 - 29416] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 21s left till next reconnect
>
> [2011/07/01-09:51:34 - 29420] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:34 - 29420] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 21s left till next reconnect
>
> [2011/07/01-09:51:34 - 29417] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:34 - 29417] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 21s left till next reconnect
>
> [2011/07/01-09:51:34 - 29419] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:34 - 29419] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 21s left till next reconnect
>
> [2011/07/01-09:51:35 - 29416] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29416] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 20s left till next reconnect
>
> [2011/07/01-09:51:35 - 29418] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29418] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 20s left till next reconnect
>
> [2011/07/01-09:51:35 - 29417] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29417] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 20s left till next reconnect
>
> [2011/07/01-09:51:35 - 29420] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29420] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 20s left till next reconnect
>
> [2011/07/01-09:51:35 - 29416] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29419] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29417] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29593] [CBPOLICYD] WARNING: Failed to connect 
> to database: Error connecting to database: Can't connect to loc
>
> al MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (29593)
>
> [2011/07/01-09:51:35 - 29420] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:35 - 29420] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 20s left till next reconnect
>
> [2011/07/01-09:51:35 - 29625] [CBPOLICYD] WARNING: Failed to connect 
> to database: Error connecting to database: Can't connect to loc
>
> al MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (29625)
>
> [2011/07/01-09:51:36 - 29418] [CBPOLICYD] WARNING: Client in BYPASS 
> mode due to DB connection failure!
>
> [2011/07/01-09:51:36 - 29418] [CBPOLICYD] NOTICE: Client still in 
> BYPASS mode, 19s left till next reconnect
>
> [2011/07/01-09:51:36 - 7630] [CORE] NOTICE: 2011/07/01-09:51:36 Server 
> closing!
>
> Does anyone know how I can A) avoid this from happening and B) detect 
> it so that I can notify myself/restart policyd?
>
> thanks,
>
> -Drew
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.policyd.org/mailman/listinfo/users
>    
You can use monit to monitor mysql so if mysql goes down, monit restarts 
it and sends you a mail (if configured to do so) with a notification.

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to