Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ring_c

Pages: [1] 2 3
1
CentOS-WebPanel Bugs / Backups for removed users are kept
« on: September 22, 2020, 09:33:04 AM »
Hi There,


I've just noticed that backups for users that were removed already a few months ago, are still showing under the daily, weekly and monthly folders under backup folder.
Why isn't the system clearing these when the user is being deleted?
Is it safe to delete those manually now?

2
CSF Firewall / SSH being constantly probed
« on: September 09, 2020, 05:26:25 PM »
For the last 2 weeks, someone (apparently some bot automatically running) is trying to log into SSH with different ports, IPs and usernames.
Apart from the annoying emails every 5 minutes telling me an IP was blocked - is there anything I can do to block this guy?
I've reduced the wrong tries to get blocked to 2 and the period increased to 120 minutes.


Anything else you might advise?

3
SSL / iOS devices can't access SSL sites
« on: September 08, 2020, 01:49:58 PM »
Well, this was a hard one...
Generally all the hosted sites on my CWP server are going through CloudFlare.
A few days ago I've tried to check something in one of the sites, hence grayed out the CloudFlare cloud, meaning the user is reaching the site directly. Then it seemed that iOS devices (I've tried iPhones and iPad) can't reach the site at all, getting a ERR_FAILED (This site can't be reached).



Ok... I've tried the same for other sites - all with the same symptoms - iOS can't reach the site.
I've suspected there's something with the SSL, so I've deleted the SSL and launched the site using HTTP - and it worked!
Recreating the SSL (using the built in Let's Encrypt mechanism) and access the site through HTTPS caused the same error again.


Can any one check this issue with one of his sites?
Do anyone has any clue where the problem can be?
I'm hopeless... already sitting on this for 2 days and no solution!


PS: I'm using CWP Pro.

4
CentOS-WebPanel GUI / Error 520 from Cloudflare
« on: September 07, 2020, 02:38:44 PM »
Ok, first I hope I'm in the right forum to post this.


For the last days I'm getting complaints from my customer hosting their site on my server that they're getting Error 520 from Cloudflare when loading their site, but refreshing the page loads the site normally.
So at start I thought they were imaging these. But when more clients complained, I went into one of them and simply clicking links. And after 20-30 clicks I got a 520 error myself.

Here's a screenshot of the error: https://pasteboard.co/JpZsAZG.png

So I've tried lowering PHP versions, rebuilding the webservers, looking at the logs (couldn't find something relevant) and more... but it didn't help. Yesterday I rebooted the server and I could swear the issue was gone.
But just a few minutes again a client complained about this again. I've went to the site an encountered it myself.


By the way, yesterday before rebooting I've simply paused the use of CF for those complaining customers (coloring the cloud Gray instead of Orange) and it seemed to have fixed the issue. BUT! Then we've found out that iOS based devices got a can't load site permanently, so that wasn't a good solution either.

Trying to search some information, I've found on CF's forums the following solution:
Quote
My host had to whitelist cloudflares IP address range in order for everything to work, after they did this everything functioned normally


Any idea if that might be the solution for CWP too and how to do it? If not, any idea what might be wrong with my CWP?

FYI, my system information is (taken from CWP Pro dashboard):
Hosted on: Hetzner
CPU Model: AMD EPYC Processor (with IBPB)
CPU Details: 4 Core (2495 MHz)
Distro Name: CentOS Linux release 7.8.2003 (Core) [updated all updates]
Kernel Version: 3.10.0-1127.19.1.el7.x86_64
Platform: x86_64
CWPpro version: 0.9.8.1006

Apache version: Apache/2.4.39
PHP version: 7.3.18
MySQL version: 10.1.46-MariaDB

5
CentOS-WebPanel GUI / cron_notificate_user
« on: July 03, 2020, 04:30:36 AM »
Hello,


I didn't really know where to post this question. I hope I'm in the right forum.
Anyway, every day I'm getting a few emails with errors from cron jobs. One of them is the following:



Email subject:
Cron <root@cwp> /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php


Email content:
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php on line 0
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php on line 0
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php on line 0
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_notificate_user.php on line 0


The funny thing is that I'm not actually running php 7.1 and I can't figure out why cron/CWP are using it.
In php version switcher v2 the version used it 7.3.18.
In php selector v2 version 7.1 is not even installed. Version 7.2 is installed.
In php-fpm selector it is installed, but there are many other php version installed too.


To make a long story short - how can I get rid of these errors, and how can I make sure cron/cwp are using the latest php version installed/defined?


TIA.


6
CentOS-WebPanel Bugs / IONCUBE LOADER PHP 7.3
« on: June 08, 2020, 01:49:04 AM »
I've just compiled PHP 7.3.18 (after long time on 7.2.9). Once finished, one of my site refused to load as it was missing ioncube loader.
So I went back to the compiler and ticked the ioncube module to be installed. When finished I saw it ended with an error for 7.3:


Code: [Select]
'ioncube_loader_lin_7.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1.so'
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.                                                                                                                                                             so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.                                                                                                                                                             so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error


Checking the /use/local/incube folder indeed shows that there's no ioncube_loader_lin_7.3_ts.so and ioncube_loader_lin_7.3.so files.
So I had to set this domain to 7.2 again.


How can this be fixed please?

7
E-Mail / Huge amount of emails under "new email accounts"
« on: May 22, 2020, 07:57:30 AM »
Hi there,


First of all - I'm not using CWP for email.
Thus, when I check this morning for large files on my server, I was shocked to see the following:

Code: [Select]
/var/log/messages: 892M
So I went to CWP's email panel and under Mail Explorer I've found hundreds if not thousands of email (see attached 1st screenshot). Clicking on each doesn't give much (see 2nd screenshot). Seems to me like empty emails with no details whatsoever.
A. Why is this happening?
B. What should I do with them?
C. Can I delete them and how?





TIA.

8
CentOS-WebPanel Bugs / Default page changed to index.html on all sites!
« on: November 21, 2019, 10:16:20 AM »
CWP falks, I assume you've made some kind of update that caused all my wordpres' hosted sites to show CWP's default index.html instead of using index.php to load wordpress.


I've fixed it by moving index.php before index.html in httpd.conf.


I don't really know how it was configured before, but I guess you've changed the httpd.conf with a wrong order of index pages.
BUT! I can I make sure this won't happen again in the future? Please advise what was the change you've made to the panel.


By the way, I didn't access the panel for at least a week, so it's not something I did.
I wonder if others had the same issue...

9
CentOS-WebPanel Bugs / Anacron errors in daily email
« on: October 23, 2019, 06:14:25 AM »

Are you aware of this?

Code: [Select]

######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
curl: (6) Could not resolve host: static.cdn-cwp.com; Unknown error
--2019-10-22 03:10:15--  http://static.cdn-cwp.com/files/mysql/phpMyAdmin--all-languages.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... failed: Name or service not known.
wget: unable to resolve host address ‘static.cdn-cwp.com’
unzip:  cannot find or open phpMyAdmin--all-languages.zip, phpMyAdmin--all-languages.zip.zip or phpMyAdmin--all-languages.zip.ZIP.
mv: cannot stat ‘phpMyAdmin--all-languages’: No such file or directory
chown: cannot access ‘pma’: No such file or directory
mv: cannot stat ‘/usr/local/cwpsrv/var/services/pma/config.sample.inc.php’: No such file or directory
tr: write error: Broken pipe
tr: write error
sed: can't read /usr/local/cwpsrv/var/services/pma/config.inc.php: No such file or directory
cat: /usr/local/cwpsrv/var/services/pma/README: No such file or directory

10

Hi,


I'm receiving an error from cron daemon (received daily by email the last since last update) as follows:

From:
(Cron Daemon)


Topic:
Cron <root@cwp> /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php

Message:

PHP Notice:  Undefined index: domain in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php on line 0
PHP Notice:  Undefined variable: autoSslResult in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php on line 0


CWP version: 0.9.8.907


Looking into the file mentioned, it looks like this (I have no idea if this is how it should be) [I didn't include the whole encoded text as it's long]:


Code: [Select]
<?php //00423
// Copyright CentOS WebPanel, Decoding is FORBIDDEN
// All Rights Reserved. www.centos-webpanel.com
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube');exit(199);
?>

HR+cPsfvdZuTys8ng9yB7L3/WWtj2VtDsoYsrz0HNXGo5SH0kqiEuSq73QX80M6vjax1ivhaKYxE
1AXwY7c7bt6cFbrnZzyXqFLnGE7I0NvgnGe90rSuGkhBSCQhuuJoZdIzi75ZlxDmkE2zMTCK+s5a
Kket5Opq0P2HKOAZ1dFMCIql3CfE2ju7xrbjXPQze8BjFyl2kQnDsiwbxJkr1BgFd3Z/GmYM9n8S
NuGtdrBTy2gqW/vv9nuSNusLUHQLY22eivE1KswXYMwS0eI3y4S68J2g9wNAX8tPNRNx+yo39Sft
0wjWQ6+IGmTJ8LvlFVfADwVrGsOw/M9Mq6i2uaXLw1MVlcAXrdnxAbcibPL6FizV++SoAE/hJhjc
/Xhmbefja+t+OVFZbulbcYyzhQkBeeRxOCG9kAKsTqmuHWkXY1kVHYr0NLifFe5PyqqK8ZcRi0KT
ZWcToVjQLJHty3T3byxa6XJ0NNbBsiB95VPCcnmhibgrZUqQfrnznhdONsk8cYlUfI4G6QDDiNpf
t8qkSOUdKX5r59F3NLoBFvzKZ7Kk6uqec+MhlQm+pIOkfeAwGWHLPrK89IC3HUagVsgfmViqlArO
5AU18XFSyOxBSRZuzxLCNwC1IFb8ezcfYhIq3kRJdcWPqNq+UyHGes42uyXQPZQ003P+M1Y/46Xj

11
Nginx / Old version of Nginx?
« on: September 24, 2019, 02:19:06 PM »
I ran sucuri scan on one of my sites, and got a critical error about nginx version being too old (1.14.2, while it wants 1.17.3).
But I have not yum updates.


Checking the nginx website, it seems 1.14.2 is the most recent legacy version, while the mainline version is 1.17.3.
When will we get the newest nginx version?


Screenshot of Sucuri:


https://ibb.co/M6VVknQ

12
MySQL / Why do I have 6 users for each DB?
« on: September 23, 2019, 12:41:28 PM »
Hi,


I've just noticed that I have a few DBs with 6 users. I believe the common thing between them all is that they were imported from a different hosting company.
So I have something like that:

Code: [Select]
db_name [O] [C] [R] [B]      db_user1 [xx.xx.xx.xx] [P]
                                          db_user1 [localhost] [P]
                                          db_user1 [old.hosting.com] [P]
                                          db_user2 [xx.xx.xx.xx] [P]
                                          db_user2 [localhost] [P]
                                          db_user2 [old.hosting.com] [P]

Any idea if this is normal? Should I remove the users which are not localhost?

13
CentOS-WebPanel GUI / Cpanel migration stuck in the process
« on: August 29, 2019, 02:38:52 AM »

I was using today the new cpanel migration tool, now called cpanel account restore, and the process is stuck for the last hour in the db creation. This site is very small, so it can't be that it is really working on something.
Also, couldn't find any log showing any info on the process.


How can I fix this?

PS: using cwp pro 0.9.8.873


14
MySQL / PhpMyAdmin 404 error
« on: August 29, 2019, 02:32:11 AM »
I'm using cwp pro latest version (0.9.8.873) and trying to use PMA either from the admin or user panel results in 404 error.
[/size]The URL I'm being sent to is my.domain.com:2031/pma for the user panel or my.domain.com:2087/pma from the admin panel.[/color]
[/size][/color]
[/size]Is that a known bug? Is there a way to fix this?[/color]

15
PHP / How to compile PHP with support for webp in gd?
« on: June 03, 2019, 08:18:26 PM »
I'v already installed it using:
Code: [Select]
yum install libwebp-develBut how can I compile php-fpm with it?

Pages: [1] 2 3