New Configuration Causing Problems
I am on a dedicated server, had company migrate to a new server from centOS to AlmaLinux last weekend. Unfortunately, now I am having issues with my Joomla sites having trouble loading admin pages. Fairly regularly, and often when the server load is above 0.30, I get a 404 return when I try to navigate to an administration function like creating an article, uploading photos, updating software, etc. I ran a debug, and this is the information I get:
Call Stack
# Function Location
1 () JROOT/libraries/src/Router/Router.php.155
2 Joomla\CMS\Router\Router->parse() JROOT/libraries/src/Application/SiteApplication.php:754
3 Joomla\CMS\Application\SiteApplication->route() JROOT/libraries/src/Application/SiteApplication.php:244
4 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
5 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
6 require_once() JROOT/index.php:32
Because the actual CMS installations are the same as before the migration, I am assuming there is a setting in WHM that is now different that is causing this error. Server company has no idea, Joomla Forums have no idea. Any thoughts?
-
Hey there! When this issue happens, what shows up in the Apache log (/etc/apache2/logs/error_log) on the server? I would expect there to be more details there.
0 -
This was a good lead, but it raises more questions. What the log is showing is "[client 72.197.212.225:0] client denied by server configuration". And 72.197.212.225 is my office IP address. The problem is that I have (and had) my office IP address whitelisted in CSF and cPHulk. As someone who only understands about 10% of the server-side, I am wondering if having both CSF and cPHulk is a problem? Or is there another place I need to whitelist my IP address?
0 -
It could be an issue as they can both perform similar functions. If you disable cPHulk are you able to access the pages normally?
0 -
Unfortunately, that doesn't seem to have fixed it. Disabled cPHulk, began two admin sessions, within minutes, got a 404 in the second site. This is the error log:
<redacted
0 -
Thanks for the additional details. This is an issue with ModSecurity on the system - can you try the adjustment mentioned here?
https://support.cpanel.net/hc/en-us/articles/360052471154-How-to-fix-Failed-to-access-DBM-file
0 -
I also redacted that log as we can't share domain names or IPs on the Forum.
0 -
Thank you. I was just in a rush, I appreciate that very much. Am doing a restart on server now, will let you know if it worked.
0 -
Sounds good!
0 -
I am getting this recommendation in EasyApache:
PHP DSO runs as the user nobody by default. In a shared hosting environment, this is a security issue.
-
We strongly recommend that you install one of the following packages unless this is a single-user system:
- ea-apache24-mod_ruid2
- ea-apache24-mod_mpm_itk
- If you use suPHP, you will add some security, but may experience performance issues on your server.
0 -
We strongly recommend that you install one of the following packages unless this is a single-user system:
-
No joy, still getting a 404 randomly
0 -
Did the entries in the Apache logs change after that work?
0 -
No, still getting "[client 72.197.212.225:0] client denied by server configuration".
0 -
Can you create a support ticket so the server can be examined?
0 -
Yes. The cPanel license is under my server provider - even though it's a dedicated server. I have asked them to help me do this.
1
Please sign in to leave a comment.
Comments
14 comments