Difference between revisions of "Useful commands and log files"
From Tech-Wiki
(→apache_access.log – Client Connectivity issues) |
|||
Line 22: | Line 22: | ||
=== apache_access.log – Client Connectivity issues === | === apache_access.log – Client Connectivity issues === | ||
+ | |||
+ | tail -f $UEPMDIR/logs/apache_access.log | ||
This is useful when checking if the EPM service is working correctly. | This is useful when checking if the EPM service is working correctly. | ||
Line 27: | Line 29: | ||
Checking the HTTP status code clients get when accessing the server give a good indication of server health. | Checking the HTTP status code clients get when accessing the server give a good indication of server health. | ||
− | HTTP 200 – Working | + | '''HTTP 200 – Working''' |
+ | |||
+ | -, 172.23.36.224 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" <span style="color:#FF0000">'''200'''</span> 662 0/1110 "-" "-" | ||
+ | -, 172.23.33.50 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" <span style="color:#FF0000">'''200'''</span> 666 0/1057 "-" "-" | ||
+ | -, 172.23.244.23 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" <span style="color:#FF0000">'''200'''</span> 159 0/561 "-" "-" | ||
+ | -, 172.23.244.122 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" <span style="color:#FF0000">'''200'''</span> 159 0/422 "-" "-" | ||
+ | |||
+ | |||
+ | '''HTTP 500 – Not working - Internal Server Error''' | ||
− | HTTP 500 | + | -, 172.23.36.224 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" <span style="color:#FF0000">'''500'''</span> 662 0/1110 "-" "-" |
+ | -, 172.23.33.50 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" <span style="color:#FF0000">'''500'''</span> 666 0/1057 "-" "-" | ||
+ | -, 172.23.244.23 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" <span style="color:#FF0000">'''500'''</span> 159 0/561 "-" "-" | ||
+ | -, 172.23.244.122 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" <span style="color:#FF0000">'''500'''</span> 159 0/422 "-" "-" |
Revision as of 08:54, 2 November 2016
Back to Endpoint Check the Check Point services running:
cpwd_admin list
Stop and Start UEPM services:
uepm_stop uepm_start
UEPM Logs Directory:
$UEPMDIR/logs
server_messages.log - Sync Errors / Client issues
This file is very useful when determining if management/policy servers are able to sync
It's also useful to check for GIU client issues (see enable debug mode) and also endpoint client connectivity issues.
apache_access.log – Client Connectivity issues
tail -f $UEPMDIR/logs/apache_access.log
This is useful when checking if the EPM service is working correctly.
Checking the HTTP status code clients get when accessing the server give a good indication of server health.
HTTP 200 – Working -, 172.23.36.224 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" 200 662 0/1110 "-" "-" -, 172.23.33.50 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" 200 666 0/1057 "-" "-" -, 172.23.244.23 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" 200 159 0/561 "-" "-" -, 172.23.244.122 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" 200 159 0/422 "-" "-"
HTTP 500 – Not working - Internal Server Error -, 172.23.36.224 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" 500 662 0/1110 "-" "-" -, 172.23.33.50 - - [02/Nov/2016:15:49:18 +0000] "POST /cp/connectionPoint/hb HTTP/1.1" 500 666 0/1057 "-" "-" -, 172.23.244.23 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" 500 159 0/561 "-" "-" -, 172.23.244.122 - - [02/Nov/2016:15:49:18 +0000] "GET /cp/connectionPoint/syncreq HTTP/1.1" 500 159 0/422 "-" "-"