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

Pages: 1 ... 107 108 [109] 110 111 ... 127
1621
How to / Re: how to secure CentOS server using CWP features
« on: March 18, 2023, 02:54:23 AM »
#Port 22 <-- Here! Remove the # and change 22 to whatever you want
#AddressFamily any
[/quote]
Don't forget to also change the port in /etc/csf/csf.conf under the TCP_IN line:
Code: [Select]
TCP_IN = "20,21,[i][b]2222[/b][/i],25,53,80,110,143,443,465,587,993,995,2030,2031"(not that I recommend port 2222, as FritzFrog scans for that in addition to 22).

1622
Installation / Re: Login after installation
« on: March 18, 2023, 02:48:42 AM »
Are you able to SSH into the server? Try running
Code: [Select]
sudo passed rootand change the roott password to the same as the MySQL root password. This will also have the positive effect of allowing you to login to phpMyAdmin without a password from the CWP Admin panel.

1623
Information / Re: Roundcube version
« on: March 18, 2023, 02:45:59 AM »
IonCube should work in PHP versions up to 7.4. Do you have it enabled in all your installed versions? If not, recompile with IonCube support.

1624
CentOS 7 Problems / Re: Error in trasnfer File
« on: March 14, 2023, 08:38:29 AM »
Can you post a little more of the log? Probably not the whole thing, but the last 20-25 lines so that might help us identify the cause of the error.

1625
Installation / Re: HOME SERVER QUESTION
« on: March 14, 2023, 01:08:06 AM »
Yes -- a Mac mini at a specialized boutique host (MacStadium or MacMiniVault). They will do co-location for $50-60/mo (owing to the small form factor and small power draw). For that, you get symmetric gigabit speeds, unlimited transfer. They offer "remote hands" support and will swap out parts or change out SSDs for you if you want to upgrade. I've had very good success with this route over the past 5+ years. 3 servers running CentOS 7.9 in a data center, on the cheap...

1626
CentOS 7 Problems / Re: Error in trasnfer File
« on: March 14, 2023, 12:59:10 AM »
Have you looked over the migration log?
Code: [Select]
/var/log/cwp/migration_cwptocwp.log
And the dot files look something like this while it is processing:
Code: [Select]
/home/.accountname2023030210162406c06f23df2524dbd24ad6f8dd4027a2
/home/cwpmove-accountname.tar.gz
/home/.CWPTOCWP_20230302090033

1627
CentOS 7 Problems / Re: Error in trasnfer File
« on: March 13, 2023, 09:07:34 AM »
I would think you would need 2x the space of the account for a migration, to allow for an archive file to temporarily exist and be expanded into place before being cleaned up at the end. And if it was interrupted, make sure it is cleaned up (usually a dotfile directory in /home).

1628
CentOS-WebPanel Bugs / Re: CloudFlare (Full strict) Error 426
« on: March 13, 2023, 09:01:44 AM »
You understand that CF Origin Server SSL certs only apply to HTTPS services? It won't do you any good for other services such as mail. So on a CWP LAMP/LEMP server that usually provides mail and FTP it's pretty much a non-starter. Go with LetsEncrypt or get an inexpensive Comodo PositiveSSL certificate. (Speaking as one who has been down this road!)

1629
CentOS 7 Problems / Re: Unable to load dynamic library 'sodium.so'
« on: March 13, 2023, 02:49:04 AM »
...recompiling php fixed it
I think that's the #1 solution for CWP PHP-related problems. For apache problems, rebuild hosts. For mail server problems, rebuild the servers... kind of the nuclear option if you think about it, but it generally works!

1630
Varnish / Re: Varnish problem with woocommerce
« on: March 11, 2023, 10:48:17 PM »
The log file seems clear to me -- the if statement on line 50 (or one line above/below) is at fault:
Code: [Select]
Mar 01 07:55:27 server.ayanlife.com varnishd[4116]: Found: 'if' at
Mar 01 07:55:27 server.ayanlife.com varnishd[4116]: ('/etc/varnish/default.vcl' Line 50 Pos 1)
Comment it out and test...

Pssst -- I would sanitize IP addresses in your posted logs... well, not the Iran one -- that doesn't matter...

1631
I'm running 2.4.55 on my CWP servers... php-fpm here (generally 8.1, but one holdout on 5.6 and one on 7.4 due to a WP theme incompatibility).

1632
Tomcat / Re: Tomcat Server
« on: March 11, 2023, 05:28:56 PM »
You mean it installs and works in the admin panel, but isn't available in the user panel (:2083)?
Have you looked under User Accounts > Features,Themes,Languages (under the section Domains > Tomcat Manager) ?

1633
How to / Re: [Tutorial] How to install SSL on hostname?
« on: March 11, 2023, 05:16:39 PM »
1 - Check that you should have an A record for the hostname. For example if your server hostname is cp.hostinpk.com, then you should have an A record for "cp" pointing to server IP
I think this is the "secret sauce" of this method. For whatever reason, LE or CWP seems to prefer actual A records. CNAME records tend to fail. So for instance, the "service" hostnames such as mail, ftp, cpanel, webmail need to be A records in your DNS setup, NOT CNAME alias records.

1634
CentOS 7 Problems / Re: Unable to load dynamic library 'sodium.so'
« on: March 11, 2023, 05:12:02 PM »
Is it enabled in the build config for php74?
I have sodium.so in 3 places on a CWP server:
Code: [Select]
/opt/alt/php-fpm81/usr/lib/php/extensions/no-debug-non-zts-20210902/sodium.so
/usr/local/lib/php/extensions/no-debug-non-zts-20180731/sodium.so
/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sodium.so

1635
Varnish / Re: Varnish Cache Age 0
« on: March 11, 2023, 05:08:02 PM »
Are you checking HTTP reply headers?
Quote
What is the purpose of the X-Varnish HTTP header?
The X-Varnish HTTP header allows you to find the correct log-entries for the transaction. For a cache hit, X-Varnish will contain both the ID of the current request and the ID of the request that populated the cache. It makes debugging Varnish a lot easier.

Pages: 1 ... 107 108 [109] 110 111 ... 127