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

Pages: [1]
1
How to / Re: how to change cwp php version via command line
« on: July 22, 2021, 07:19:35 PM »
Report a Problem :
PHP Selector and PHP FPM keeps loading in User Host managment panel when you try to select installed php versions for php selector.
when i select a domain and try to select php version from list, selector Stocks on Loading State...
Any Suggestions?

2
How to / Re: how to change cwp php version via command line
« on: July 19, 2021, 05:32:41 PM »
Unfortunately there is no routin method to solve this problem and after reviewing many forums and posts and guidences i Solved This Problem in this method :
Problem Resolution:
1- installed php v8 on cwp and changed server`s main php version from php switcher to 8
2- activated ioncube loader from php module list.
cwp admin panel and all the hosts and websites went down and out of rich showing this message :
"No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube restart"
then i tried to fix ioncube loader problem and updated to the last version and many other actions but the problem did`nt solved. because there where no any php v8 compatible ioncube loader configuration file.
my best practice to solve the problem :
1- i tried php -v to find out current running  of php on my server :
Code: [Select]
php -vthe result was php v8.0.8 so i decided delet all installed php versions on the server and reinstall them to fix this issue :
A-find out all installed php versions on server:
Code: [Select]
yum list installed | grep phpShowed up :
cwp-suphp.x86_64                     0.7.2-3                         @cwp
cwpphp.x86_64                        7.2.30-3                        @cwp

B- Removed all installed php packages via :
Code: [Select]
sudo yum remove --setopt=clean_requirements_on_remove=1 php php-pear php-mysql php-cli php-common mod-phpalso :
Code: [Select]
yum remove cwp-suphp.x86_64and :
Code: [Select]
yum remove cwpphp.x86_64then i Rebooted the server and and checked admin panel in browser then i faced "502 Bad Gateway Error.
C: Reinstalled cwpphp.x86_64 via :
Code: [Select]
yum install cwp-suphp.x86_64and
Code: [Select]
yum install cwp-suphp.x86_64Rebooted server again and everything was fixed and i was able to login to admin panel and remove PHP v8 from php switcher and reinstall php-fpm versions.


3
How to / how to change cwp php version via command line
« on: July 18, 2021, 09:01:41 PM »
hey guys,
i have changed my php version to 8 and now i have serious error with Ioncube loader, The loader fails to start and now admin panel is out of access returning this error : "No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube restart", i tried to fix ioncube loader problem but no chances...now i need to change default php version to 7.3 that is installed befor.please help me do that from terminal and command line.

4
recently we faced a problem in Outlook Client Send mail process,sending message will fail with this error :
Code: [Select]
Client host rejected: cannot find your hostnamei did rebuild mail server, restarting All mail services and Update ClamAV.. rebooting server and...So many times with no luck.
Here is the last line of MailLog :
Code: [Select]
Aug 10 14:02:21 serv postfix/smtpd[13894]: connect from localhost[::1]
Aug 10 14:02:21 serv postfix/smtpd[13894]: NOQUEUE: reject: RCPT from localhost[::1]: 450 4.7.1 : Recipient address rejected: Access denied; from= to= proto=ESMTP helo=
Aug 10 14:02:21 serv postfix/smtpd[13894]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
Aug 10 14:02:21 serv postfix/smtpd[13894]: connect from localhost[::1]
Aug 10 14:02:21 serv postfix/smtpd[13894]: NOQUEUE: reject: RCPT from localhost[::1]: 450 4.7.1 <51vero@live.fr>: Recipient address rejected: Access denied; from= to=<51vero@live.fr> proto=ESMTP helo=
Aug 10 14:02:21 serv postfix/smtpd[13894]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
Please Help us With this issue.

5
DNS / Re: How to Setup DNS (BIND) on server
« on: August 10, 2020, 09:11:11 AM »
This Standard fix process was useful and fixed my problem also,when i Controlled Named.conf i found out that there where some incomplete records in this file out of standard format like :
Code: [Select]
tahead.biz
zone "datahead.biz" {type master; file "/var/named/datahead.biz.db";};
// zone_end datahead.biz
and these kind of records made bind server fail to start.as i deleted and corrected this records in file, Bind Server Started normally.
for experience and addressing the issue :
problem started when i changed Host name,and deleted former host name record in DNS Zone, Bind Sever started to fail.
Thanks for Sharing knowledge.

6
DNS / Re: BIND DNS Server FAILD
« on: August 10, 2020, 07:15:09 AM »
I have the same problem :
 
Code: [Select]
zone io/IN: loading from master file /var/named/io.db failed: file not found :-\

7
Fixed - Solution was :
https://wiki.centos-webpanel.com/letsencrypt-free-ssl-on-cwp
New Menu address is : left menu -> WebServer Settings->SSL Certificates and from there you can install Letsencrypt certificate for any domain/subdomain by using AutoSSL.
if you select a domain for SSL Cert installation, it will install Letsencrypt Cert by default for you.

8
All The Ways Written in Forums and Wikis are out of date because there is no options for Letsencrypt in Apache Settings or CWP settings and Change Domain and etc...
All we have in new version is : SSL Certificates in CWP Panel...and there is No options associated with Letsencrypt server.
Please Help with Letsencrypt SSL Cert installation for all Domains and also for the main CWP admin Panel.
Thanks.

Pages: [1]