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.
61
CentOS Configuration / Anacron & Notifications security / time restart httpd
« on: December 14, 2020, 12:25:43 AM »
Hi,
For start, sorrys, I don't know how indicate this
In one of my server I have configured mail notification in Email Alerts (module=notifications).
Well I view that, this send the email at the same time in all servers that I have configured this, more or less about 03:41 AM (this notification indicate warnings of Security Issue like I have disabled ModSecurity or Hidden Processess).
-Its possible disabled this notifications of Hidden Processes, monit monitoring...? But not in mail ( I can disabled this mails ) but in the cwp, because, all days, appears again the box with this notification and I need close this all days...
I view that, Anacron job, also send mail at the same time, I deduce, correct me if I'm wrong, that just at that moment, CWP performs a check and restarts httpd, I view in the mail that, restart and reload httpd service.
Its possible disabled the restart httpd servide? Or if not, change this time for this operation. At this time, I have some persons in site, the restart is quickly but I preferer set other time for this action.
Sorry, I know are 2 doubts in this post, but I post in same post because have relation.
For start, sorrys, I don't know how indicate this

In one of my server I have configured mail notification in Email Alerts (module=notifications).
Well I view that, this send the email at the same time in all servers that I have configured this, more or less about 03:41 AM (this notification indicate warnings of Security Issue like I have disabled ModSecurity or Hidden Processess).
-Its possible disabled this notifications of Hidden Processes, monit monitoring...? But not in mail ( I can disabled this mails ) but in the cwp, because, all days, appears again the box with this notification and I need close this all days...
I view that, Anacron job, also send mail at the same time, I deduce, correct me if I'm wrong, that just at that moment, CWP performs a check and restarts httpd, I view in the mail that, restart and reload httpd service.
Its possible disabled the restart httpd servide? Or if not, change this time for this operation. At this time, I have some persons in site, the restart is quickly but I preferer set other time for this action.
Sorry, I know are 2 doubts in this post, but I post in same post because have relation.
62
Information / Re: How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 11, 2020, 11:54:55 PM »Yes, all its ok, the person who think in ipv6...its for kill...hehehe.QuoteIn the ifcfg-eth0 file I had to add:This is just that you was need for work with ipv6, config in ifcfg-eth0, only in this.
IPV6ADDR_SECONDARIES="2605:a140:2045:8941::2 2605:a140:2045:8941::3 2605:a140:2045:8941::4 2605:a140:2045:8941:0:30:40b7:f60d"
(Just to start)
In the vhost files, with /64 I think its sufficient for work.
I'm very glad it works for you, and if I could be of help, all the better.
For some reason, if the address isn't listed there, the server doesn't ressond to it, and in turn CWP doesn't.
In my case / tests, I don't have added in this config/file, but I have only one ipv6 per server.
When I was read your problem, I was made a ping6 to your ipv6 and not respond, its possible, in your isp your need add like you indicate, when I don't was have configured my ipv6, the ping6 respond to my ipv6 (only install centos).
Maybe, some about the isp...its very possible...
63
Information / Re: How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 11, 2020, 10:04:13 AM »
Yes, all its ok, the person who think in ipv6...its for kill...hehehe.
In the vhost files, with /64 I think its sufficient for work.
I'm very glad it works for you, and if I could be of help, all the better.
Quote
In the ifcfg-eth0 file I had to add:This is just that you was need for work with ipv6, config in ifcfg-eth0, only in this.
IPV6ADDR_SECONDARIES="2605:a140:2045:8941::2 2605:a140:2045:8941::3 2605:a140:2045:8941::4 2605:a140:2045:8941:0:30:40b7:f60d"
(Just to start)
In the vhost files, with /64 I think its sufficient for work.
I'm very glad it works for you, and if I could be of help, all the better.
64
Information / Re: How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 10, 2020, 11:43:13 AM »@Wonder did everything you suggested, but still not working.
I have a /64 allocation, and used a tool for a certain IP (Just copied the IPv4 into the IPv6 - lol)
Specified that IP [2605:a140:2045:8941:0:30:40b7:f60d]:80 and :443
You have the port's outside the IP bracket.
Created the AAAA record.
Restarted Apache.
But when I try to connect, just using the IP [2605:a140:2045:8941:0:30:40b7:f60d], it isn't working.
Also when I look at the .conf files, the IPv6 is gone.
Do I need to rebuild the webserver?
Any suggestions?
Thanks.
Hi @Starburst.
Some doubts about your issue / problem.
For know the ipv6, after made the changes in the files /etc/sysctl.conf and /etc/sysconfig/network and restart the server, you know the ipv6 with the command ifconfig, you need view the line that end in global, not with link.
This is your ipv6.
About:
Quote
Specified that IP [2605:a140:2045:8941:0:30:40b7:f60d]:80 and :443You need indicate the ipv6 with por 80 in the "normal" domain.com.conf and the 443 in the ssl file.
If you have csf firewall you need enable ipv6 (not open the ports, just only enabled ipv6, this point I forgot in my first post).
Created the AAAA records is before edit the vhost files.
You don't need rebuild webservers, only restart httpd or server.
But other point, if you are created the AAAA records you need point or configure the ipv6 records in your domain registrar.
In my case, my isp (of my house) not have ipv6 and I'm in cloudflare, for view all work fine, I deleted the A record in cloudflare, and only have the AAAA record in cloudflare, then view how connect well to the site.
But if you aren't in cloudflare, you need create the AAAA records in you domain registrar and need to wait 12/24 for propagation this dns records.
I made a ping to your ipv6 and indicate 100% packet loss.
In this page: http://ipv6now.com.au/pingme.php
Are you sure this is your ipv6 this: 2605:a140:2045:8941:0:30:40b7:f60d ?
Regards.
65
Information / Re: How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 09, 2020, 11:51:36 AM »66
PHP Selector / Re: PHP Selector not work
« on: December 09, 2020, 10:02:41 AM »
Solved.
After search I view the problem.
When go to enable this repo indicate not exist, for enable searh for PowerTools, if I try with powertools then work.
View this, I rename her name from powertools to PowerTools.
This change, before install cwp, then, the rest work fine.
After search I view the problem.
When go to enable this repo indicate not exist, for enable searh for PowerTools, if I try with powertools then work.
View this, I rename her name from powertools to PowerTools.
This change, before install cwp, then, the rest work fine.
67
Information / Re: How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 09, 2020, 09:39:35 AM »@admin, I can't edit the post, edit and fix my last code, I don't end my last code.
Hi, what do you want to edit?
This:
Now, the same with the file domain.com.ssl.conf
In this case, we add:
Code: [Select]
<VirtualHost [THE IP6]:443 THE IP4:443>[/coded]
Also, in my case, are 4 lines for add the ipv6.
Then, restart apache:
[code]systemctl restart httpd
For this:
Now, the same with the file domain.com.ssl.conf
In this case, we add:
Code: [Select]
<VirtualHost [THE IP6]:443 THE IP4:443>
Also, in my case, are 4 lines for add the ipv6.Then, restart apache:
Code: [Select]
systemctl restart httpd
68
PHP Selector / Re: PHP Selector not work
« on: December 09, 2020, 08:38:38 AM »you will need powertools repo as that is required for building PHP from sourceYes, I view this, but all my searches indicate that, the Repo powetools is enabled when add epel repo, and in this case, not add this repo.
Continue searching for add this repo...
Regards.
Edit: Adding info:
I view the problem, in the last version of Centos 8, this repo is called with other name, I made a fresh install of CWP and in the installation appears a error that indicate, not view or recognice PowerTools repo.
The name now for this repo is:
CentOS-Linux-PowerTools.repo
I don't know how solved this...
69
Information / Re: How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 09, 2020, 08:36:19 AM »
@admin, I can't edit the post, edit and fix my last code, I don't end my last code.
70
PHP Selector / Re: PHP Selector not work
« on: December 09, 2020, 02:03:59 AM »
I view the problem, I search in:
/var/log/php-rebuild.log
and I view this error:
Error: Unknown repo: 'PowerTools'
For some reasson the last installations of this centos 8 no contain this repo, I installed epel repo, of course, for install cwp, but in my others vps I have PowerTool repo, but in this not...
/var/log/php-rebuild.log
and I view this error:
Error: Unknown repo: 'PowerTools'
For some reasson the last installations of this centos 8 no contain this repo, I installed epel repo, of course, for install cwp, but in my others vps I have PowerTool repo, but in this not...
71
PHP Selector / PHP Selector not work
« on: December 09, 2020, 12:04:42 AM »
Hi,
Recently, yesterday, I install 3 cwp's and I can swtich to php 7.1.33 (main php version, not for differents domains).
Since a few hours ago, I install a new centos (same version than the other 3) and reinstall cwp some times, but never I can change my main php version 5.6.3 to 7.1.3.
I know that, I can download and install manually but...I don't need more than 1 version of php, in this days I try this new panel for me for transfer all my vps to this panel, for me, its strange, yesterday, I can change my main version in 3 vps, today, I try about 3, 4 o 5 times (fresh installs always of centos) and I can't.
Regards.
Recently, yesterday, I install 3 cwp's and I can swtich to php 7.1.33 (main php version, not for differents domains).
Since a few hours ago, I install a new centos (same version than the other 3) and reinstall cwp some times, but never I can change my main php version 5.6.3 to 7.1.3.
I know that, I can download and install manually but...I don't need more than 1 version of php, in this days I try this new panel for me for transfer all my vps to this panel, for me, its strange, yesterday, I can change my main version in 3 vps, today, I try about 3, 4 o 5 times (fresh installs always of centos) and I can't.
Regards.
72
Information / Re: Did CWP support IPV6?
« on: December 08, 2020, 11:59:46 PM »
Finally, I solved the problem and create a little guide for configure ipv6 and enabled in apache:
http://forum.centos-webpanel.com/index.php?topic=9935.0
http://forum.centos-webpanel.com/index.php?topic=9935.0
73
Information / How enabled and configure ipv6 for work with apache / cwp / centos 7 & 8
« on: December 08, 2020, 11:58:51 PM »
Hi,
After my various problems to be able to have the web operational through ipv6 and to be able to solve it, I have decided to make this small mini guide.
After installing Centos 7 or 8, in my case it comes in a configuration file that ipv6 is disabled, a priori, in a clean installation of centos 8 it is activated by default, but it does not hurt, perform these checks / adjustments.
Save the file.
Now:
After this, we need add ipv6 AAAA record, in my case, in main panel (ip:2031) I can't, impossible for me.
I can add this ipv6 record in control panel (ip:2083), in this panel, I can add ipv6 record without problem.
We add the ipv6 record.
After this, we go to edit vhost for accept connection via ipv6.
WebServer Settings-Webservers Conf Editor.
/usr/local/apache/conf.d/vhosts.
Then, click in edit in the domain.com.conf.
Search the lines (are 4) that start with:
In this file, are 4 lines for add this.
Save.
Now, the same with the file domain.com.ssl.conf
In this case, we add:
Then, restart apache:
This is all, I wait can help to some user.
After my various problems to be able to have the web operational through ipv6 and to be able to solve it, I have decided to make this small mini guide.
After installing Centos 7 or 8, in my case it comes in a configuration file that ipv6 is disabled, a priori, in a clean installation of centos 8 it is activated by default, but it does not hurt, perform these checks / adjustments.
Code: [Select]
nano /etc/sysctl.conf
And add at the end of file:Code: [Select]
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.all.disable_ipv6 = 0
Its possible you view some line like the above about net.ipv6.... delete and replace for this.Save the file.
Now:
Code: [Select]
nano /etc/sysconfig/network
And add this line:Code: [Select]
NETWORKING_IPV6=yes
And now, restart:Code: [Select]
shutdown -r now
After this, we need add ipv6 AAAA record, in my case, in main panel (ip:2031) I can't, impossible for me.
I can add this ipv6 record in control panel (ip:2083), in this panel, I can add ipv6 record without problem.
We add the ipv6 record.
After this, we go to edit vhost for accept connection via ipv6.
WebServer Settings-Webservers Conf Editor.
/usr/local/apache/conf.d/vhosts.
Then, click in edit in the domain.com.conf.
Search the lines (are 4) that start with:
Code: [Select]
<VirtualHost THE IP4:80>
And just add this:Code: [Select]
<VirtualHost [THE IP6]:80 THE IP4:80>
Note, important enter the ipv6 with []In this file, are 4 lines for add this.
Save.
Now, the same with the file domain.com.ssl.conf
In this case, we add:
Code: [Select]
<VirtualHost [THE IP6]:443 THE IP4:443>
Also, in my case, are 4 lines for add the ipv6.Then, restart apache:
Code: [Select]
systemctl restart httpd
This is all, I wait can help to some user.
74
Information / Re: Did CWP support IPV6?
« on: December 08, 2020, 11:30:46 AM »hi, you can manually configure or create vhosts templates for websites with ipv6 configs.
Sandeep,
If you could post an example that would be great.
Allot of use want IPv6 support, and are just running Apache and not Nginx.
In a few hours I post a little guide for configure ipv6 in vhost for apache (not nginx), also, I use only apache.
75
Information / Re: Did CWP support IPV6?
« on: December 06, 2020, 05:54:16 PM »hi, you can manually configure or create vhosts templates for websites with ipv6 configs.
Sorry for bumpt this thread.
I'm try CWP from severals days ago, if can configure all, I think in transfer all my vps to CWP.
Well, I don't use nginx, I use apache only, I view today that, my site, have not access with ipv6 (I have configure ipv6 and add dns records).
I view that this thread, you indicate that, we can manually configure or create vhosts templates for websites with ipv6 configs, can you indicate how made this?
Because I view the vhosts I think the best option is edit for add ipv6 but...how made this?
Sorry for the question.
Thanks and regards.