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

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

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

4
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

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

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

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

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

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

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

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

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

13
According to:

https://docs.phpmyadmin.net/en/latest/setup.html#upgrading-from-an-older-version

Code: [Select]
cd /usr/local/cwpsrv/var/services
mv pma pma_old
wget https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.zip
unzip phpMyAdmin-5.2.2-all-languages.zip
rm -rf phpMyAdmin-5.2.2-all-languages.zip
mv phpMyAdmin-5.2.2-all-languages pma
cp pma_old/config.inc.php pma
chown -R cwpsvc:cwpsvc pma

if phpMyAdmin doesn't work after upgrade then:

Code: [Select]
cd /usr/local/cwpsrv/var/services
rm -rf pma
mv pma_old pma

14
CSF Firewall / Re: How to add *.domain.com to CSF Firewall
« on: August 15, 2025, 10:27:59 AM »
Here is a simple solution to block access to the server from the networks used by AhrefBot:

1.Open the file:
/etc/csf/csf.deny
2. Put the following line into the file:
Code: [Select]
Include /etc/csf/csf.ahrefbot.deny3. Create and open the file /etc/cron.daily/ahrefbot_blocker using your favorite text editor (vi,ee,nano, etc).
4. Put the following content into the file:

Code: [Select]
#!/bin/bash

wget -O /tmp/crawler-ip-ranges https://api.ahrefs.com/v3/public/crawler-ip-ranges > /dev/null 2>&1
cat /tmp/crawler-ip-ranges |grep "/" | awk -F\" '{print $4}' > /tmp/ahrefbot.ips
diff  /etc/csf/csf.ahrefbot.deny /tmp/ahrefbot.ips > /dev/null 2>&1
error=$?
if [ $error -ne 0 ]
then
   echo "files are different or some file absents"
   cat /tmp/ahrefbot.ips > /etc/csf/csf.ahrefbot.deny
   rm -f /tmp/ahrefbot.ips /tmp/crawler-ip-ranges
   csf -r
fi

5. Make the file executable:

Code: [Select]
chmod 755 /etc/cron.daily/ahrefbot_blocker
What does it do ?

The script /etc/cron.daily/ahrefbot_blocker will be executed by the server every day. The script downloads the list of IPs used by the ahrefbot and compares it with the list of networks/ips in the file /etc/csf/csf.ahrefbot.deny. If the files have some difference then content of /tmp/ahrefbot.ips is copited into /etc/csf/csf.ahrefbot.deny and csf is reloaded. If no difference then nothing happens.

15
Apache / Re: Issues with image displaying
« on: August 15, 2025, 09:31:07 AM »
Do the images look bad when they are accessed over the direct links as demonstrated below ?

example:
https://domain.com/images/pic.png
https://domain.com/images/pic2.png

Or does some PHP script handles the images ?

example:
https://domain.com/img.php?pic=image.png
https://domain.com/img.php?pic=image2.png

Is there some nginx/apache module like mod_pagespeed ?

Pages: [1] 2 3 ... 30