How to examine a issue in cpanel whm server

whiscloud

New member
Registered
Joined
Oct 8, 2023
Messages
2
Points
1
My server httpd is going down sometime
In browsing my whmcs it's shows session expired

Some websites are getting 404 error
Can someone help me to examine the issue is with litespeed or mod security
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,480
Points
63
My server httpd is going down sometime
In browsing my whmcs it's shows session expired

Some websites are getting 404 error
Can someone help me to examine the issue is with litespeed or mod security
To troubleshoot the issues you're facing, start by checking your LiteSpeed configuration for any errors or resource limitations. Simultaneously, review your ModSecurity settings and logs to ensure it's not blocking legitimate requests, causing 404 errors or session expirations. Additionally, verify your WHMCS session management settings to prevent premature session expirations. Lastly, monitor your server resources to identify any issues leading to downtime. By addressing these aspects systematically, you can pinpoint the problem and take appropriate measures to resolve the server instability and errors.
 

HostInstance

New member
Registered
Joined
Oct 26, 2023
Messages
3
Points
1
Examine the issue by reviewing server logs for errors during downtime and session expiration. Check LiteSpeed's error logs and ModSecurity's audit logs for patterns, and assess if ModSecurity rules trigger false positives. This analysis helps identify the root cause, enabling you to make adjustments or seek assistance from your hosting provider or server administrator if needed.
 

JoeHamilton

Well-known member
Registered
Joined
Aug 29, 2013
Messages
111
Points
18
Let's say you're facing 404 errors on your website. To diagnose if it's a LiteSpeed or ModSecurity issue, start by checking LiteSpeed's error log. You might find entries like:

Code:
[ERROR] [client 123.456.789.10] File does not exist: /path/to/missing/file
If LiteSpeed logs show these 404 errors, it could be a server misconfiguration or a broken link issue. You can troubleshoot by verifying file paths and permissions.

Next, check ModSecurity's audit log. Look for entries like:

Code:
[client 123.456.789.10] ModSecurity: Access denied with code 403 (phase 2). Pattern match...
If ModSecurity logs show 403 errors, it suggests ModSecurity rules might be blocking access. Review your ModSecurity rules to see if they are overly restrictive.

By examining these logs, you can narrow down the problem. If you find both types of errors, you might have a combination of issues. Addressing these specific error messages will guide you toward the solutions, whether it's fixing file paths, adjusting LiteSpeed configurations, or refining ModSecurity rules.
 
Recommended Threads
Replies
3
Views
3,365
Replies
3
Views
3,508
Replies
17
Views
5,186
Replies
0
Views
1,096

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top