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 ... 16 17 [18] 19 20 ... 34
256
How to / Re: Increase /root Partition in CWP?
« on: December 14, 2024, 08:40:08 AM »
Your system uses LVM. Therefore you need to follow the steps from the tutorial marked as "With LVM". However, I don't recommend you to make any changes on the production server if you resize the partitions the first time.

It is better to setup a VPS for testing purposes and try to resize partitions there. You must understand what you do before you make any changes. It is very very danger operation.

257
How to / Re: Increase /root Partition in CWP?
« on: December 13, 2024, 08:39:51 PM »
CWP is webhosting control panel. It doesn't have any tools to manage disk partitions because in most cases such tasks can be done in "rescue mode"/"single user mode". If you need to resize partitions then use linux tools like parted, lvm, etc. However, I recommend you to read docs and tutorials before you make any changes because you could kill the system and make it unbootable.

258
Postfix / Re: Can not send E-mail unless gmail
« on: December 12, 2024, 01:52:27 PM »
Pal, you are experiencing the problem not associated with CWP at all because you disabled firewall but it hasn't solved the problem. You can't establish the connection from the command prompt (shell) either. Therefore it means the problem is caused by you network settings or your ISP.

259
Postfix / Re: Can not send E-mail unless gmail
« on: December 12, 2024, 11:09:14 AM »
It looks like you try to connect to the remote servers from LAN. Is my guess correct ? If so then contact your ISP and ask to unblock the port 25 for you.

260
Postfix / Re: Can not send E-mail unless gmail
« on: December 11, 2024, 04:31:28 PM »
Disable csf firewall, make sure there are no blocked IPs and routing to the hosts (IPs) listed in your post is fine. Try to connect to the port 25 of the hosts manually using "telnet" to diagnose the problem.

261
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: December 10, 2024, 11:13:06 PM »
I recommend you to do it using the file:

/etc/my.cnf.d/server.cnf

in the section [mariadb].

262
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: December 10, 2024, 10:54:15 PM »
Check the files in:

/root/.my.cnf
/etc/my.cnf
/etc/my.cnf.d/*

and disable "sql_mode" in every section except [mariadb], [server] then restart mariadb and run mariadb-upgrade (not mysql_upgrade) again.

263
CentOS-WebPanel GUI / Re: Document Root of Main Domain
« on: December 10, 2024, 08:52:57 PM »
If you use Apache webserver (not Nginx+Apache, OpenLiteSpeed, Nginx, etc) only then just put the following into .htaccess file located in public_html of the website:

Code: [Select]
<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

In this case you don't need to edit the webserver's config or make any other changes in the config files.

264
Problems on other RedHat linux servers / Re: Packages not found for install
« on: December 09, 2024, 10:27:01 PM »
Remove it using "rpm -e --nodeps".

Make sure your system upgraded totally and it doesn't have packages installed for outdated/previous OS. Run:

Code: [Select]
rpm -qa | grep el7
to find outdated packages. Reinstall/upgrade such packages.

265
Problems on other RedHat linux servers / Re: Packages not found for install
« on: December 09, 2024, 08:25:56 PM »
Remove "epel" repo for Centos 7 and install epel for Alamlinux 8.

266
PHP / Re: readline not being installed with the php compilation
« on: December 09, 2024, 07:32:46 PM »
Yes, `configure` is necessary to perform the installation. Sorry for that. I was in hurry. Updated my previous post.

Also, in case you update PHP using php switch then make sure to update readline if it isn't updated automatically by php switch.

267
PHP / Re: readline not being installed with the php compilation
« on: December 09, 2024, 06:34:00 PM »
Then try to install the extension readline manually:

Code: [Select]
cd /usr/local/src/
wget https://www.php.net/distributions/php-8.3.14.tar.gz
tar -xvzf php-8.3.14.tar.gz
cd php-8.3.14/ext/readline
phpize
./configure
make
make install
echo "extension=readline.so" > /usr/local/php/php.d/readline.ini

Make sure there are no errors and the file readline.so exists in /usr/local/lib/php/extensions/no-debug-non-zts-XXXXXXXX/

If everything is ok then check 'php -a' again.

If you get some errors then show us the errors.

268
PHP / Re: readline not being installed with the php compilation
« on: December 09, 2024, 12:09:21 PM »
Try to install libedit, libedit-devel:

Code: [Select]
yum install libedit-devel libedit
and then compile php again.

269
Then install some SMTP plugin for Wordpress like "WordPress Mail SMTP" and configure it to send emails using SMTP with authorization.

270
Other / Re: CWP to CWP Website Migration - Unexpected Syncing Behavior
« on: December 06, 2024, 08:42:58 PM »
CWP doesn't have some option to sync user data between the servers automatically. It can be configured manually. Anyway, it is better to contact the guy who moved the data for you and ask if he enabled traffic forwarding or FS synchronization, etc.

Pages: 1 ... 16 17 [18] 19 20 ... 34