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.


Messages - cyberspace

Pages: [1] 2 3 ... 30
1
MySQL / Re: MariaDB Password Reset Script Doesn't Work
« on: October 29, 2025, 09:35:29 AM »
Try following:

1. Edit the file:
/scripts/mysql_pwd_reset
2. Find and change the line:
Code: [Select]
EL_VER=`rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux" | cut -d"-" -f3`to
Code: [Select]
EL_VER=`rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux|epel"| head -n 1 | cut -d"-" -f3`
then run the script /scripts/mysql_pwd_reset to change the password.

2
CentOS-WebPanel Bugs / Re: Can't update linux OS because of mysql-common
« on: October 28, 2025, 10:27:51 PM »
When you try to update OS tries to update various system packages and seems some package requires the package MariaDB-common but it conflicts with mysql-common. I do believe you installed MySQL manually.

In order to perform update I recommend the following route:

1. Make backups of the databases
2. Remove packages related with MySQL.
3. Install MariaDB
4. Restore databases if necessary (if you see some errors associated with databases in logs).

Please note you do it on your own risk.

3
1. There are no errors. Please show us the whole log of the php compilation process.

2. To fix uploadprogress try to do following:
Code: [Select]
cd /usr/local/src/
rm -rf uploadprogress*
wget https://pecl.php.net/get/uploadprogress
tar -xvzf uploadpogress-2*
cd uploadpogress*
phpize
configure
make
make install

4
PostgreSQL / Re: Error starting postgres
« on: October 10, 2025, 06:06:20 PM »
Did you run the following commands ?

Code: [Select]
rm -f /usr/lib/systemd/system/postgresql.service
systemctl enable postgresql.service
systemctl start postgresql.service

5
PostgreSQL / Re: Error starting postgres
« on: October 09, 2025, 09:28:21 PM »
Check if the folder:
/usr/lib/systemd/system/
contains other files named like "postgre*.service".

If there is nothing then:
Code: [Select]
rm -f /usr/lib/systemd/system/postgresql.service
systemctl enable postgresql.service
systemctl start postgresql.service

In other case show us the list of other "postgre*.service" files.

6
Information / Re: Is CWP still maintained?
« on: October 09, 2025, 07:58:49 PM »
CWP isn't maintained by huge number of people. If you want to make CWP more reliable then I recommend you invest more than $1/month into the CWP project or offer some other help for CWP or run your own similar project  You will find it is more expensive than $1/month.


The last "update" in what was really changed was in version 0.9.8.1188, released in 13/11/2024.
After that there is updates, but no one knows in what.

And this is the OFFICIAL WEBSITE of CWP. Is not me, is not made up. You CANNOT provide any info about what was updated after 13/11/2024 besides numbers that increase in the CWP panel.


If you don't like it then why do you use CWP and not cPanel/DirectAdmin/Plesk ? Do you like to pay nothing and get everything ? Seems so...

7
PostgreSQL / Re: Error starting postgres
« on: October 09, 2025, 06:07:11 PM »
Show the output of:

Code: [Select]
ls -l /usr/lib/systemd/system/postgresql.service

cat /usr/lib/systemd/system/postgresql.service

8
Information / Re: Is CWP still maintained?
« on: October 09, 2025, 03:24:09 PM »
CWP did not disclosure that. They prefer hide it under a "update", that you don't even know what is. Or do you have a changelog for the versions lauch?

Hire the CWP team, pay them wage and set your rules how they must act. In other case you accept their rules and how they support their product.

If their rules aren't acceptable for you then you need to use another product.

9
Information / Re: Is CWP still maintained?
« on: October 09, 2025, 12:57:52 PM »
Guys, the annual Pro license of CWP costs $12 ($1/month). You can consider it as donation because no one can provide high quality support service for such price. So just expect as much as much you pay.

So if you run serious business and care about your product then consider to use the enterprise level control panel like cPanel, DirectAdmin, Plesk, etc. However, cPanel has some mail vulnerabilities/security breaches and their team doesn't care to fix it.

"Every program (control panel) has vulnerabilities, if the program (control panel) doesn't have vulnerabilities then it means no one uses this program or it is useless."

10
Updates / Re: Yum Updates
« on: October 07, 2025, 10:05:36 AM »
Starburst is correct. The problem can be caused if you use some unsupported OS like CentOS 7 or similar.

Additionally, the error can appear if you installed some packages (RPMs) from a 3rd party repositories.

11
CentOS-WebPanel Bugs / Re: PHP Switcher won't switch to PHP 8.x in el9
« on: October 07, 2025, 09:55:16 AM »
It looks like the problem is caused by the incorrect options. I think the commands should be:

Code: [Select]
rpm -ivh http://repo.centos-webpanel.com/repo/9/x86_64/libc-client-2007f-30.el9.remi.x86_64.rpm
rpm -ivh http://repo.centos-webpanel.com/repo/9/x86_64/uw-imap-devel-2007f-30.el9.remi.x86_64.rpm

Also, does CWP installs REMI repo on EL9 systems ? If not then it is better to disable REMI at least while you install/compile PHP.

Additionally, I recommend you to disable "BZ2" support in PHP settings and check if PHP can be compiled with BZ2 disabled.

12
E-Mail / Re: upgrade spamassassin
« on: August 18, 2025, 02:12:31 PM »
You need to switch Centos' repos to Vault:

To do it:

1. Disable the vanilla Centos' repositories:
Code: [Select]
cd /etc/yum.repos.d/
mv CentOS-Base.repo  CentOS-Base.repo_orig
2. Create and open the file /etc/yum.repos.d/CentOS-Base.repo
using favorite text editor and put following content into the file:
Code: [Select]
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[updates]
name=CentOS-$releasever - Updates baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[extras]
name=CentOS-$releasever - Extras baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7   

3. Clean yum's cache
Code: [Select]
yum clean all       
4. Update outdated binary packages to the latest version provided by repository Centos' valut repository
Code: [Select]
yum update
Please note you do it your own risk.

13
Apache / Re: Issues with image displaying
« on: August 18, 2025, 09:41:46 AM »


Above is a screenshot of the same logo image, one on the left is the correct color the one on the right which is in the previewer in WP shows the "2" in black.

Do you have some optimization plugins installed for your WP website ? Such plugins could create lightweight samples of the original images by reducing the size (height/weight), color palette, etc of the original images and then display the created sample images on the website to make it loading faster.

So I think there is such problem.

14
Apache / Re: Issues with image displaying
« on: August 16, 2025, 09:41:26 AM »
If you access the image over the direct link and it looks bad but if the image is downloaded from your server/vps on your local computer then opened using some image viewer and it looks good then it sounds very very strange.

I think you missed something.

15
CSF Firewall / Re: How to add *.domain.com to CSF Firewall
« on: August 15, 2025, 09:38:59 PM »
Just minor changes:

1.Open the file:
/etc/csf/csf.allow
2. Put the following line into the file:
Code: [Select]
Include /etc/csf/csf.hetrixtools.allow3. Create and open the file /etc/cron.daily/hetrixtools_whitelist using your favorite text editor (vi,ee,nano, etc).
4. Put the following content into the file:
Code: [Select]
#!/bin/bash

wget -O /tmp/uptime-monitor-ips.txt https://hetrixtools.com/resources/uptime-monitor-ips.txt > /dev/null 2>&1
if [ $? -ne 0 ]
then
        echo "Can't download the file"
        exit 1
fi
cat /tmp/uptime-monitor-ips.txt | awk '{print $2 ,"#", $1}' > /tmp/hetrixtools.ips
diff  /etc/csf/csf.hetrixtools.allow /tmp/hetrixtools.ips > /dev/null 2>&1
error=$?
if [ $error -ne 0 ]
then
   echo "files are different or some file absents"
   cat /tmp/hetrixtools.ips > /etc/csf/csf.hetrixtools.allow
   rm -f /tmp/hetrixtools.ips /tmp/uptime-monitor-ips.txt
   csf -r
fi

5. Make the file executable:

Code: [Select]
chmod 755 /etc/cron.daily/hetrixtools_whitelist
The idea is the same. Additionally the script checks the exit code of "wget" to avoid strange behavior if the file can't be downloaded.

Pages: [1] 2 3 ... 30