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.
Pages: [1]
1
SSL / SSL certicate on add on domain error
« on: March 14, 2017, 03:35:12 AM »
On a user account primary domain example.com with it's own ip address for account (working 100% fine) with add-on domain add-on-domain.com, generated self signed ssl cert (with built in generator and with XCA in case there was a problem with cert) for add-on-domain.com. The cert installed OK, but while it would operate fine on port 443 for example.com (after authorising in browser of course) and on https://ip-address, when attempting to access https://add-on-domain.com it throws this error on browser :
An error occurred during a connection to add-on-domain.com SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
I would suspect a problem with setup but for the fact main url works ok.
port 80 http works as expected - no problems
I have checked entry in vhosts-ssl.conf looks fine
got me beat, can anyone suggest what might be going on here please ?
An error occurred during a connection to add-on-domain.com SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
I would suspect a problem with setup but for the fact main url works ok.
port 80 http works as expected - no problems
I have checked entry in vhosts-ssl.conf looks fine
got me beat, can anyone suggest what might be going on here please ?
2
CentOS-WebPanel Bugs / Problem with PHP version switcher in latest
« on: February 26, 2017, 01:01:35 PM »
1. Bug - soap does not enable when selected, an examination of the generated php-config file shows --enable-soaps instead of --enable-soap, so would appear to be a typo in the generating script.
2. with new format of selection by checkbox, there does not appear to be a way of adding more options that are not on list, for instance I could not find a way to enable "shmop" ie --enable-shmop
Is there a work around for these two issues please ?
2. with new format of selection by checkbox, there does not appear to be a way of adding more options that are not on list, for instance I could not find a way to enable "shmop" ie --enable-shmop
Is there a work around for these two issues please ?
3
Information / Add additional IP addresses to CWP 7
« on: February 20, 2017, 05:07:43 AM »
For CWP 7 adding additional IP addresses using method in WIKI will give you a headache!
Try this, it worked for me.
Depending on the amount of IPs you’re configuring, it may be easier to just add them manually. Adding a small number of IPs can be completed by adding them to your main network interface configuration file. Let’s cover the permanent method by updating our network interface configuration using the following command (replacing enp3s0 if different with your interface name):
[root@localhost ]# vi /etc/sysconfig/network-scripts/ifcfg-enp3s0
Assuming that you already have at least one IP address configured (eg: 192.168.1.2) from for example your 192.168.1.0/29 range as IPADDR=, you can append the following lines to your configuration file to enable additional usable IP addresses from your /29 CIDR:
IPADDR0=192.168.1.3
IPADDR1=192.168.1.4
IPADDR2=192.168.1.5
IPADDR3=192.168.1.6
PREFIX0=29
PREFIX1=29
PREFIX2=29
PREFIX3=29
Restart the network for the changes to take effect:
[root@localhost]# systemctl restart network
Lastly, check that they’re working as expected:
[root@localhost ]# ping -c 4 192.168.1.3
[root@localhost ]# ping -c 4 192.168.1.4
[root@localhost ]# ping -c 4 192.168.1.5
[root@localhost ]# ping -c 4 192.168.1.6
Make sure to substitute the relevant CIDR for your requirements ie 24 for 253 IPs etc in PREFIXes .
Restart apache ( I did - may not be necessary )
Additional IP address will then be visible in admin panel for new user setup.
Hope this helps somebody....
Try this, it worked for me.
Depending on the amount of IPs you’re configuring, it may be easier to just add them manually. Adding a small number of IPs can be completed by adding them to your main network interface configuration file. Let’s cover the permanent method by updating our network interface configuration using the following command (replacing enp3s0 if different with your interface name):
[root@localhost ]# vi /etc/sysconfig/network-scripts/ifcfg-enp3s0
Assuming that you already have at least one IP address configured (eg: 192.168.1.2) from for example your 192.168.1.0/29 range as IPADDR=, you can append the following lines to your configuration file to enable additional usable IP addresses from your /29 CIDR:
IPADDR0=192.168.1.3
IPADDR1=192.168.1.4
IPADDR2=192.168.1.5
IPADDR3=192.168.1.6
PREFIX0=29
PREFIX1=29
PREFIX2=29
PREFIX3=29
Restart the network for the changes to take effect:
[root@localhost]# systemctl restart network
Lastly, check that they’re working as expected:
[root@localhost ]# ping -c 4 192.168.1.3
[root@localhost ]# ping -c 4 192.168.1.4
[root@localhost ]# ping -c 4 192.168.1.5
[root@localhost ]# ping -c 4 192.168.1.6
Make sure to substitute the relevant CIDR for your requirements ie 24 for 253 IPs etc in PREFIXes .
Restart apache ( I did - may not be necessary )
Additional IP address will then be visible in admin panel for new user setup.
Hope this helps somebody....
4
CentOS-WebPanel Bugs / Script reset mysql password fails cwp on centos 7
« on: February 17, 2017, 05:31:31 AM »
Installed CWP latest on centos 7, ran cwp update latest.
Ran script to update mysql password, and then login to panel failed with error message, obfuscated and check mysql password etc, so I edited a copy of script to put original password back (which I fortunately had) ran it and then was able to log in normally.
This script worked on my centos 6 previous install on same hardware (and still does) but not on latest centos 7 install with mariadb, there appears to be something in the script that is not operating correctly with this CWP (ver 241), I have tried it out several times and it happens consistently.
Ran script to update mysql password, and then login to panel failed with error message, obfuscated and check mysql password etc, so I edited a copy of script to put original password back (which I fortunately had) ran it and then was able to log in normally.
This script worked on my centos 6 previous install on same hardware (and still does) but not on latest centos 7 install with mariadb, there appears to be something in the script that is not operating correctly with this CWP (ver 241), I have tried it out several times and it happens consistently.
Pages: [1]