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

Pages: 1 ... 39 40 [41] 42 43 ... 55
601
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 12:27:47 PM »
That's a new one lol.  Definately open a ticket on that one :)

Thought thinking about it. Try deleteing the schedule in CWP and recreating it, and see if it fixes the issue.

602
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 26, 2020, 12:18:30 PM »
This may be the solution if you made changes to the phpfpm configuration.   Unlinke regular PHP, FPM has to be restarted after changes are made.  Hence why I said try it.

If you want to tell me I'm wrong without attempting what I'm asking, then I wish you luck getting it fixed. 

With that said, have you tried restarting the services.  If Yes, we move on.  If No, then I'll save my time for someone who want's help.

603
PHP / Re: PHP.INI - to manage user or / and folder level?
« on: April 26, 2020, 12:10:08 PM »
.user.ini files is a configurable option of PHP.  It can be turned on/off via the main php.ini file for your specific version your using.

https://www.php.net/manual/en/configuration.file.per-user.php

604
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 12:05:26 PM »
Troubleshooting Steps:
Log in via SSH as root
crontab -l
(You Should see "/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/{Whichever backup}")

test by removing the "-q" from the command.  (EX of new backup)
/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000  /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

If you don't receive any errors, then it should be working.  IF your recieve an error about ioncube, there are at least 10 topics on the forum about how to fix that issue recently.  It involves manually updating your cwp files, as something failed in the last update.

605
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 26, 2020, 12:00:46 PM »
try
systemctl restart cwpsrv-phpfpm
systemctl restart cwp-phpfpm

606
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 02:11:57 AM »
Glad you got it working.

I just finally got my test enviro to work, and modifying /usr/local/php/php.ini worked for me, so somethings odd with yours.

607
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 01:34:42 AM »
possibly /etc/php.ini

to find all instances of php.ini, you would use " locate php.ini "

608
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 12:33:47 AM »
cd /usr/local/php/php.d
grep upload *

609
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 12:15:49 AM »
More information is needed to answer that question.

What setup do you have?  (APache Only, NGINX+APACHE, ETC)
CWP Pro?  If Yes, PHP FPM enabled


To try to help:

php-fpm has user files
EX: php-fpm73
/opt/alt/php-fpm73/usr/etc/php-fpm.d/users/user.conf

you can define any php variable here. EX
php_admin_value[post_max_size] = 20M
php_admin_value[upload_max_filesize] = 20M

systemctl restart php-fpm73  after editing

-----------------------------------------
Non fpm version, you'll have to look at phpinfo() to find the correct php.ini to modify.

It's alwasy best to restart all servers after making modifications.

610
Nginx / Re: 504 Gateway Time-out nginx/1.18.0
« on: April 25, 2020, 09:42:47 PM »
make sure all of the services are running, and ports are configured appropriately

systemctl status nginx
systemctl status php-fpm
systemctl status httpd
//Below are possibly used/notused//   " systemctl " by itself will list all services
systemctl status php72-php-fpm << If that's what the user account is setup to use

611
The issue is that "cron_newbackup.php" is encoded under a old version of ionCube (before PHP 5.x).
If you check the error log, the script outputs that error.

if you select in "PHP Version Switcher" the PHP version 5.6.40, the script runs fine.
If you update to a new version - PHP 7.x - then the script doesn't work.

PHP Version Switcher changes the PHP of CWP, that is where the cron_newbackup.php is running...

Then you probably have to follow the instruction on the 500 error posts.  My version of the backup script is working perfectly fine running on php72 ioncube.  Guessing that file did not get updated in your update..

612
check "crontab -l" as root and make sure

15 23 * * * /usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

is there

(NOTE: Times may be different)

613
CentOS 7 Problems / Re: Error with DNS and Clusters.
« on: April 25, 2020, 06:50:01 PM »
After you update the serial, you need to rndc reload {zone}

614
Apache / Re: 408 HTTP error
« on: April 25, 2020, 06:47:26 PM »
Something is left over from ModSecurity.  I didn't necessarily want you to uninstall it, but there should be a log file or a debug file you could look at to see if it was stopping the upload.

615
CentOS 7 Problems / Re: Error with DNS and Clusters.
« on: April 25, 2020, 06:46:00 PM »
Code: [Select]
ser=$(grep -o "20[0-9][0-9]\{7\}" /var/named/$dominio.db)
fir="${ser::-3}"
las="${ser:7:3}"
las=$(( $((10#$las)) + 1 ))
if [ ${#las} -lt 3 ]
then
las="00$las"
fi
las=${las: -3}
ser2="$fir$las"
sed -i "s/20[0-9][0-9]\{7\}/$ser2/g" /var/named/$dominio.db

Pages: 1 ... 39 40 [41] 42 43 ... 55