Serious Bugs on Usage & Logs [SOLVED]
Serious Bugs on Usage & Logs
1) Firewall - Completely confusing and resets during migration. Option to disable firewall is needed, since now all cloud providers have network level firewalls which is sufficient enough.
2) Log Rotation - How could log files (error.log) under each domain can occupy 12GB etc., This has to be fixed.
3) Quota and Disk size calculation - Even after resize, new disk size is not reflecting in dashboard. After installing WordPress in a domain, file size remains at 1.4 MB which is wrong. Tried manually update through crons listed in dashboard. still no luck.
4) Keyhelp is not catching public IP. It always displays and locks private IP. Incase of migration, the firewalls not allowing newly assigned ip and the instance becomes completely inaccesible except serial ports, which is a big headache. (Solution for this has been suggested here for GCP VM) viewtopic.php?f=12&t=9840
I like the way keyhelp was designed and functioning. If theses things are fixed keyhelp is the best CPANEL alternative. Sadly moving back to serverpilot panel. Thank You keyhelp team. Looking forward.
Re: Serious Bugs on Usage & Logs
Which operating system does the server use?
The answer depends on which OS you are running.Firewall - Completely confusing and resets during migration. Option to disable firewall is needed, since now all cloud providers have network level firewalls which is sufficient enough.
However I plan to release a new firewall system for the upcoming KeyHelp release. The current system will therefor not receive much love anymore.
The file normally not grow that big, they are rotated after beeing above 500KB in size each day. So there must be something strange happen on your server to let them grow that big. Can have a look which messages are listened and send me a few lines?Log Rotation - How could log files (error.log) under each domain can occupy 12GB etc., This has to be fixed.
Have you installed Wordpress as the user itself or with a root user - asking because it is a common mistake to install or copy files while being root. KeyHelp uses quotas, so every file have to belong to the corresponding user to get calculated.Quota and Disk size calculation - Even after resize, new disk size is not reflecting in dashboard. After installing WordPress in a domain, file size remains at 1.4 MB which is wrong. Tried manually update through crons listed in dashboard. still no luck.
Disk space is calculated once per hour (by default), you may want to have a look into the corresponding log (System status -> Logs -> diskspace.log)
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Serious Bugs on Usage & Logs
2) I created new instance with fresh Keyhelp. The server is up and running for past 2 weeks.
3) Faced the same out of space error. Disk was suddenly full. Unable to access instance via SSH too. The issue happened around 9.00 to 10.00 am ETC.
4) Since I create snapshots of instance, I was fortunate to restore latest good working instance and now running smoothly.
5) I am waiting for the disk full problem to occur again. Unable to identify the cause.
Now I am using Keyhelp for my production server with lot of snapshot backups.
The panel is fantastic by the way. Hope this unknown disk full issue will be fixed soon. (I have doubled disk size for safety purpose).
Re: Serious Bugs on Usage & Logs
You could also check for what is consuming the disk. This command will output the top 10:
Code: Select all
du -ahx / | sort -rh | head -10
Re: Serious Bugs on Usage & Logs
Even though I have enabled under attack mode in cloud flare dns, the site is still receiving bruteforce attack. Now I need to find someway to protect the website from bruteforce attacks. Screenshot attached for reference.
Is there any way to limit log file size? Help needed. Thank You.
Re: Serious Bugs on Usage & Logs
Code: Select all
du -ahx / | sort -rh | head -10
Re: Serious Bugs on Usage & Logs
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: Serious Bugs on Usage & Logs
have you checked the content of the "error.log". It should not even raise that large and errors appearing there should become resolved.
If the error.log does increase due the effect of the incomming bruteforce attack, you could temporary disable the error logging at all for this vhost.
Code: Select all
ErrorLog /dev/null
Daniel Marckardt
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
https://www.keyweb.de - https://www.keyhelp.de
**************************************************************
Re: Serious Bugs on Usage & Logs
Re: Serious Bugs on Usage & Logs
I have a question. Is there any way to disable error logging for all vhosts / domains? I never used this error logs for any purposes. Help needed.
Re: Serious Bugs on Usage & Logs
you do not need to download the whole file. You can even display it at the terminal through ssh with a short simple command.
Code: Select all
tail -n30 /home/users/tasteofsouthindia/logs/error.log
To answer your question correct: No, there is no possibility available to disable logging in Keyhelp.
Daniel Marckardt
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
https://www.keyweb.de - https://www.keyhelp.de
**************************************************************
Re: Serious Bugs on Usage & Logs
defined function is_shop() in /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-content/th ... 112\nStack trace:\n#0 /home/users/tasteofsouthindia/www/www.tas
teofsouthindia.com/wp-includes/template.php(730): require_once()\n#1 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-includes/template.php(676): load_template('/home/users/tas.
..', true, Array)\n#2 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-includes/g ... te.php(48): locate_template(Array, true, true, Array)\n#3 /home/users/tasteofsouthi
ndia/www/www.tasteofsouthindia.com/wp-content/th ... ive.php(8): get_header()\n#4 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-includes/t ... r.php(106)
: include('/home/users/tas...')\n#5 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-blog-header.php(19): require_once('/home/users/tas...')\n#6 /home/users/tasteofsouthindia/ww
w/www.tasteofsou...\n'
[Tue Sep 29 09:31:46.518830 2020] [proxy_fcgi:error] [pid 6573:tid 140449155102464] [client 162.158.79.189:10664] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to un
defined function is_shop() in /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-content/th ... 112\nStack trace:\n#0 /home/users/tasteofsouthindia/www/www.tas
teofsouthindia.com/wp-includes/template.php(730): require_once()\n#1 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-includes/template.php(676): load_template('/home/users/tas.
..', true, Array)\n#2 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-includes/g ... te.php(48): locate_template(Array, true, true, Array)\n#3 /home/users/tasteofsouthi
ndia/www/www.tasteofsouthindia.com/wp-content/th ... ive.php(8): get_header()\n#4 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-includes/t ... r.php(106)
: include('/home/users/tas...')\n#5 /home/users/tasteofsouthindia/www/www.tasteofsouthindia.com/wp-blog-header.php(19): require_once('/home/users/tas...')\n#6 /home/users/tasteofsouthindia/ww
w/www.tasteofsou...\n'
This is the error.log. Again the error.log file has shootup to 34.7 GB. Help needed to solve this issue.
Re: Serious Bugs on Usage & Logs
Good luck!
Re: Serious Bugs on Usage & Logs
If you don´t expirience any issues on your website you might add this little snipplet in your functions.php which is located in the theme-directory.
Code: Select all
function is_shop(){
return;
}
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser