Wordpress login locks up my cPanel/WHM vps - wordpress

I've recently been hacked on my VPS, and have since then installed some extra security plugins in WHM. Well I'm not exactly sure, but sometime after that happened, each time I tried to login to any wordpress installation on my VPS, it just hangs until it times out. During this time my VPS is totally inaccessible, as well as the sites hosted on it. Then approx 15 minutes later, the VPS is back p again.
Does anyone have any ideas or tips for me to rectify this?
Thanks

To take a WAG without being able to see your config and source, I would say you still have a problem in your code. I.e. Some source code is messed up. Maybe from the hack?
I would do a full reinstall of Wordpress (the latest version).
Once your server was exploited, who knows what code got changed.
Some examples of what could be happening...
PHP goes into some crazy loop utilizing and blocking all resources (wouldn't be unheard of).
So, I'd do a fresh reinstall of Wordpress.
Honestly though, your whole VPS could be compromised. I'd get a new one and start rebuilding your server on that. Yes, it'll take a lot of time, but it's the most guaranteed way to make sure your server is clean and free of additional security issues.

Related

unknown files rot my cpanel and I can no longer use it correctly

I have a real problem on my cpanel I do not understand all my sites and my applications have not worked since this morning, try to restore without success I have tried everything, I am afraid to watch help me.
when I check the files of my site and application there are unknown files that create themselves all the time even when I delete completely when I update it comes back alone and it affects the operation of my site and application
I don't know if I was really hacked, or if it's an extension problem, or it's a quota or php problem but nothing's going well here are some images of the unknown folders, I've already written to support they say they will delete the hosting and create a new one when I can't afford it right now
According to your screenshot, you have really messed up your WordPress Core. Firstly, fix your .htaccess and 'delete the folders'. Additionally, you can always reinstall WordPress Core to fix any problems that might have happened from a Malware action.
However, there has been a rise in WordPress Database Malware as well, so you might wanna look in that as well.

Speed of Localhost Server

I have built my wordpress/woocommerce and hosted it on Localhost via WAMP.
Since day one, before I had loaded any plugins etc and only had the wordpress CMS installed, it has ran very, very slow.
I have been advised that it should be no where near as slow as it is and could be a variety of reasons for this such as bad coding.
I am very new to web design etc and was wondering if someone would be able to advise as to how to check what might be slowing things down?
I have installed jquery monitor and it shows a few different things but all are plugins which are relatively new and the problem has been there since day one...
I have been looking for a free host to try on but my website exceeds the size as it is at 1.6gb which people have said could be the problem, however the problem as I have mentioned has been there since day one with only the basic CMS shell and no uploads.
My comuter is also relatively fast and I have no issues with how it runs i general.
Any help would be much appreciated.
Do you use http://localhost for accessing the website and "localhost" as MySQL host? If yes, try accessing the website through http://127.0.0.1 and 127.0.0.1 in your wp-config.php for your MySQL host. Depending upon your Windows version and network settings it is possible that your DNS resolution fails.
Do you have Antivirus solutions enabled? Try to disable them temporarily and check if the problem still exists.
Check with tools like Wireshark and procmon which of the components (webserver, network, client) take how long for processing the HTTP requests.
If all directories hosted on your local server are slow then this means your WAMP is the one causing the issue.
Try backing up everything and resolve this by following this instructions here
https://www.devside.net/wamp-server/wamp-is-running-very-slow
This worked for me.

Wordpress slow due to unusual request

My Wordpress is extremely slow due to a request I have. I tried removing some plugins but no luck. I am using WP-rocket for caching.
Here is my analysis on pingdom where it says a request with xxxx/?version=4.7.3 is slowing down everything
How can I resolve this?
Many thanks
Turn off all caching while you are testing. Disable all plugins and see if is still there. If it is still there, it might be from the theme. Switch to another theme and test again. If it was gone after deactivating all plugins, turn them on one by one and test again to see which one adds it.
Another thing to do is to download your whole folder of your site on your computer and then using a free grep program to search for the domain name dentiste-urgence.ca and see if it is mentioned in any files.
This might also be caused by malware. Install the free security plugin WordFence and scan your site for malware.

Wordpress admin cannot publish posts

I have Wordpress installed on my local wamp platform. I used it for a while without any problem. However today without any unusual change I am not able to publish any pages/posts anymore.
I am the only user in wordpress with admin rights.
I thought it might be corrupted, so I installed a fresh Wordpress instance. Did not change anything, no plugins, just went directly to posts to publish, but it is not in the dropdown list, I can select only 'Pending Review' and 'Draft'.
To be even more strange, same time this happened in my live site as well. I am on a shared hosting environment, so totally different space from my localhost. (Though code was copied from localhost to production.)
Has anybody experienced similar in the past?
Please take look into settings - general and check your timezone!
It should be something like UTC+0, NOT e.g. Berlin, Zagreb, etc.
I had the same issue after hours of debugging and at least, I changed the timezone to UTC+0 and it worked.
It's definitly time related. I have the same issue after messing with my php.ini's and timezome's. Also I installed NTPd and changed the hardware clock.

PHP Code stuck in Cache [Memcached] (WordPress)

Been having a bit of a problem with my site regarding our caching method and my php code not refreshing or flushing.
To start, my site is a WordPress site on a dedicated Nginx webserver. I used W3 Total Cache for the initial caching setup. Everything was set up to cache through Memcached.
(I should note, my website is somewhat of a 'guest' on this server, which is bit of a semi-community donation semi-sponsored server that runs some other things. The admins are skilled but also volunteers. I have their full support for fixing things, but they don't have time to troubleshoot my very odd issue (especially because I asked for caching to get turned on for the site myself). If we had some hints on what to go on it would make things easier for us than taking shots in the dark ;) So any suggestions are welcomed.)
At some point we noticed that changes to php pages and Wordpress & Plugin updates were not working at all, while the code on the server reflected updates, the pages still processed through the older php code.
This presented a couple unique issues. W3 Total Cache stores it settings in php files. Other php files, when deleted, stop working, but when they are restored to the server, memcached still insists on using its ultra-old memcached copy. The W3 Total Cache settings, whether i removed or altered the settings php files, would NOT stop running everything through cached memcached data.
The server admin attempt rebooting memcached and then flushing it. Neither of those seemed to have any effect. All the other basic settings seem to be set-up correctly.
We can, of course, still add new plugins, all the data that comes from the database works just fine.
At least one other site on the server that is not wordpress also uses memcached with no issues.
Any help is appreciated, should be able to provide further information if it is needed.
Do you have apc.stat = 0 in your settings? Does restarting php engine help?
This is going to sound really obvious but you didn't mention it so:
Did you try turning off the Total Cache plugin entirely to confirm you can see the changes when caching is disabled?
Until you've done that and made sure you get the results you expect, there's no way to know that memcached is really the problem.

Resources