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
E-Mail / [Error 450] Can't send emails from a specific domain
« on: January 07, 2021, 06:06:15 AM »

A client of mine which her site is hosted on my CWP Pro server, can't seem to be able to send emails.
When trying to send from her Gmail with all correct SMTP settings, she's getting an error after some time from google saying the email could not be delivered to the recipient.
To troubleshoot the issue, I've tried sending an email from her account with RoundCube, but with this one it's not even being sent. I immediately get the following error:

SMTP Error (450): Failed to add recipient ... (4.7.1 <...>: Recipient address rejected: Access denied).

Link to screenshot:

But the email I'm trying to send to is my own, and I know for a fact it's working. I've tried sending to other emails with other domains, all give the same error.

Any idea what's going on?

Oh, I've already checked - her domain is not blacklisted by any means. So I'm quite lost to what could be the issue.

CentOS 7 Problems / Too many system updates
« on: November 25, 2020, 03:31:45 AM »
Hi there,

My CWP Pro GUI shows I have 176 available yum/rpm updates.
Usually this was moving around 1-10 max and I was updating my system with (almost) no fear.
About 2 weeks ago I all of a sudden got these 176 updates notification, and I'm really afraid to let it update so many updates.

What do you say? I'm running CentOS 7 by the way...

Updates / cluebringer?
« on: November 01, 2020, 10:04:06 AM »
Today I saw on the daily cronjob email the following.
Please advise what that is.

Code: [Select]

Policyd Admin Tool (ClueBringer) v2.1.x-201310261831 - Copyright (c) 2007-2010 AllWorldIT
  => AccessControl: enabled
  => Accounting: enabled
  => Amavis: disabled
  => CheckHelo: enabled
  => CheckSPF: enabled
  => Greylisting: enabled
  => Quotas: enabled
Module: Core
  -> running cleanup...
[CORE] Removed 46 records from session tracking table
Module: Access Control Plugin
Module: HELO/EHLO Check Plugin
  -> running cleanup...
Module: SPF Check Plugin
Module: Greylisting Plugin
  -> running cleanup...
Module: Amavis Plugin
Module: Quotas Plugin
  -> running cleanup...
[QUOTAS] Removed 5
Module: Accounting Plugin

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?

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?

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.

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:

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:
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:

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

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

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?


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]
'' -> '/usr/local/ioncube/'
'' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.                                                                                                                                                             so'
'' -> '/usr/local/ioncube/'
'' -> '/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 and files.
So I had to set this domain to 7.2 again.

How can this be fixed please?

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?


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...

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:; Unknown error
--2019-10-22 03:10:15--
Resolving ( failed: Name or service not known.
wget: unable to resolve host address ‘’
unzip:  cannot find or open, or
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/’: No such file or directory
tr: write error: Broken pipe
tr: write error
sed: can't read /usr/local/cwpsrv/var/services/pma/ No such file or directory
cat: /usr/local/cwpsrv/var/services/pma/README: No such file or directory



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

(Cron Daemon)

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


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:

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.
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);


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:

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

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 [] [P]
                                          db_user2 [xx.xx.xx.xx] [P]
                                          db_user2 [localhost] [P]
                                          db_user2 [] [P]

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

Pages: [1] 2 3