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] 2
1
PHP / Re: PHP-selector instalation problem
« on: June 04, 2025, 05:33:51 PM »Did you look under /usr/local/src?
Also look under /usr/local/cwpsrv/htdocs/resources/conf/el*/php_switcher/ for more.
What OS are you running? CWP Pro?
Code: [Select]
[root@cwp01 src]# ls
acme.sh build-dir imagick.tgz libavif-0.11.1.zip package.xml xcache-3.2.0
apcu-5.1.19 cwp-el7-latest intl-3.0.0 libsodium-2.0.23 pcre2-10.39 xcache-3.2.0.tar.gz
apcu-5.1.19.tgz dkim-spf.sh intl-3.0.0.tgz libsodium.tgz pcre2.zip zendopcache-7.0.5
build imagick-3.8.0 libavif-0.11.1 mod_rpaf-0.8.4 v0.8.4.tar.gz zendopcache-7.0.5.tgz
[root@cwp01 src]#
There are no files inside build either.There are files inside build-dir but config.log does not exist.
Inside of /usr/local/cwpsrv/htdocs/resources/conf/el7/php_switcher/
Code: [Select]
[root@cwp01 build-dir]# ll /usr/local/cwpsrv/htdocs/resources/conf/el7/php_switcher/
5.2.ini 5.5.ini 7.1.ini 7.4.ini 8.2.ini info/
5.3.ini 5.6.ini 7.2.ini 8.0.ini 8.3.ini pre_run/
5.4.ini 7.0.ini 7.3.ini 8.1.ini external_modules/ versions.ini
But there is also no config.log2
PHP / Re: PHP-selector instalation problem
« on: June 04, 2025, 01:32:24 PM »
I can't find the config.log
Can you tell me where I can find it?
Can you tell me where I can find it?
3
PHP / PHP-selector instalation problem
« on: June 04, 2025, 11:54:46 AM »
Hello.
I am trying to install PHP 7.4 using PHP selector, but an error is displayed in the log and the installation does not complete.
I am trying to install PHP 7.4 using PHP selector, but an error is displayed in the log and the installation does not complete.
Code: [Select]
configure: error: There is something wrong. Please check config.log for more information.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Build Completed
###################
Error:Can't add notification!
4
CentOS 7 Problems / Re: Problems with webmail
« on: November 19, 2024, 06:26:38 PM »
the log repeats several times just this
Code: [Select]
[Tue Nov 19 15:19:10.351878 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2105): AH00927: initializing worker http://127.0.0.1:2095/ local
[Tue Nov 19 15:19:10.351901 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2137): AH00930: initialized pool in child 97782 for (127.0.0.1) min=0 max=25 smax=25
[Tue Nov 19 15:19:10.351909 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2040): AH00924: worker http://localhost:2095/ shared already initialized
[Tue Nov 19 15:19:10.351913 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2105): AH00927: initializing worker http://localhost:2095/ local
[Tue Nov 19 15:19:10.351946 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2137): AH00930: initialized pool in child 97782 for (localhost) min=0 max=25 smax=25
[Tue Nov 19 15:19:10.351953 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2045): AH00925: initializing worker http://127.0.0.1:2095/ shared
[Tue Nov 19 15:19:10.351968 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2105): AH00927: initializing worker http://127.0.0.1:2095/ local
[Tue Nov 19 15:19:10.351991 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2137): AH00930: initialized pool in child 97782 for (127.0.0.1) min=0 max=25 smax=25
[Tue Nov 19 15:19:10.352017 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2040): AH00924: worker http://localhost:2095/ shared already initialized
[Tue Nov 19 15:19:10.352021 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2105): AH00927: initializing worker http://localhost:2095/ local
[Tue Nov 19 15:19:10.352066 2024] [proxy:debug] [pid 97782:tid 140596737591168] proxy_util.c(2137): AH00930: initialized pool in child 97782 for (localhost) min=0 max=25 smax=25
5
CentOS 7 Problems / Re: Problems with webmail
« on: November 18, 2024, 04:39:54 PM »When it happens run:Code: [Select]csf -g XXX.XXX.XXX.XXX
iptables -L -n | grep XXX.XXX.XXX.XXX
as root in shell of your server. Replace XXX.XXX.XXX.XXX with your WAN IP address and check if you get your WAN IP in output. If the WAN IP is there then it means your IP is blocked by the firewall for some reason.
csf -g XXX.XXX.XXX.XXX
Returns:
Code: [Select]
Table Chain num pkts bytes target prot opt in out source destination
No matches found for serverip in iptables
IPSET: No matches found for serverip
ip6tables:
Table Chain num pkts bytes target prot opt in out source destination
No matches found for serverip in ip6tables
and the command iptables -L -n | grep
does not return anything
6
CentOS 7 Problems / Re: Problems with webmail
« on: November 18, 2024, 11:55:19 AM »
here is the webmail part of my vhosts
Code: [Select]
<VirtualHost serverip:443>
ServerName webmail.domain.com.br
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/domain.com.br.cert
SSLCertificateKeyFile /etc/pki/tls/private/domain.com.br.key
SSLCertificateChainFile /etc/pki/tls/certs/domain.com.br.bundle
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPreserveHost On
ProxyVia Full
ProxyPass / http://127.0.0.1:2095/
ProxyPassReverse / http://127.0.0.1:2095/
<Proxy *>
AllowOverride All
</Proxy>
</IfModule>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</VirtualHost>
7
CentOS 7 Problems / Re: Problems with webmail
« on: November 18, 2024, 11:47:16 AM »I'm having a problem on my server where webmail is becoming inaccessible from time to time.
What error message does your browser show when the problem appears ?
The error is:
ERR_CONNECTION_RESET
If I restart the apache service it will work, but after a few minutes it stops
8
CentOS 7 Problems / Re: Problems with webmail
« on: November 14, 2024, 11:06:44 AM »
Yes, I am using the standard ports for both http and https.
One thing I noticed today is that only webmail.domain.com access stops working. If I access it via
domain.com/webmail, it continues to work.
Every time this problem occurs, I just have to restart httpd and it starts working again. The problem is that it happens very frequently, almost every hour, and no error log is generated.
One thing I noticed today is that only webmail.domain.com access stops working. If I access it via
domain.com/webmail, it continues to work.
Every time this problem occurs, I just have to restart httpd and it starts working again. The problem is that it happens very frequently, almost every hour, and no error log is generated.
9
CentOS 7 Problems / Problems with webmail
« on: November 13, 2024, 07:23:36 PM »
Hello everyone,
I'm having a problem on my server where webmail is becoming inaccessible from time to time.
I've checked the logs and services several times, and it only starts working again after I restart the http service.
Does anyone have any ideas of something that could help me?
I'm having a problem on my server where webmail is becoming inaccessible from time to time.
I've checked the logs and services several times, and it only starts working again after I restart the http service.
Does anyone have any ideas of something that could help me?
10
SSL / Re: Problem with auto SSL
« on: February 06, 2024, 01:34:36 PM »
My rnds is ok.
Follow the tests below
Using the website provided previously:
IP: 198.49.71.199

IP: 198.49.71.200

Using nslookup with google dns servers

Or is there some other way to check rDNS that I don't know about?
Follow the tests below
Using the website provided previously:
IP: 198.49.71.199

IP: 198.49.71.200

Using nslookup with google dns servers

Or is there some other way to check rDNS that I don't know about?
11
SSL / Re: Problem with auto SSL
« on: February 06, 2024, 01:17:05 PM »
I did what you said, but the problem continues.
When generating certificates for other domains on the same server, the certificate is generated without a problem.
Regarding rDNS/ptr it is shown as:
rDNS/PTR = FAILED, check with your hosting provider!
However my rnds is configured correctly
cwp02.ht.inf.br -> 198.49.71.200
cwp02.ht.inf.br -> 198.49.71.199
198.49.71.200 -> cwp02.ht.inf.br
198.49.71.199 -> cwp02.ht.inf.br
Carrying out the tests using nslookup, I already identify that both are ok.
To ensure I still used the website https://mail.terra.com.br/postmaster/ inserting my server addresses.
The certificate used when accessing the server cwp02.ht.inf.br:2087 is presented correctly, without any problems.
When generating certificates for other domains on the same server, the certificate is generated without a problem.
Regarding rDNS/ptr it is shown as:
rDNS/PTR = FAILED, check with your hosting provider!
However my rnds is configured correctly
cwp02.ht.inf.br -> 198.49.71.200
cwp02.ht.inf.br -> 198.49.71.199
198.49.71.200 -> cwp02.ht.inf.br
198.49.71.199 -> cwp02.ht.inf.br
Carrying out the tests using nslookup, I already identify that both are ok.
To ensure I still used the website https://mail.terra.com.br/postmaster/ inserting my server addresses.
The certificate used when accessing the server cwp02.ht.inf.br:2087 is presented correctly, without any problems.
12
SSL / Re: Problem with auto SSL
« on: February 06, 2024, 11:31:57 AM »
Firstly, thank you very much!
And here is the answer to the questions:
The domain is casaautomacao.com.br
Yes, it is a machine with two public addresses linking directly to it.
I am generating the certificate directly in 'SSL Certificates -> AutoSSL [FREE]'
When generating it, it is generated without any problem, even displaying the completed message without errors.
Signed by Let's Encrypt
And here is the answer to the questions:
The domain is casaautomacao.com.br
Yes, it is a machine with two public addresses linking directly to it.
I am generating the certificate directly in 'SSL Certificates -> AutoSSL [FREE]'
When generating it, it is generated without any problem, even displaying the completed message without errors.
Signed by Let's Encrypt
13
SSL / Re: Problem with auto SSL
« on: February 05, 2024, 06:23:27 PM »
Log off /usr/local/apache/domain.logs/domain.com.br.error.log
Code: [Select]
[ssl:warn] [pid 113854:tid 139925367125888] AH01909: domain.com.br:443:0 server certificate does NOT include an ID which matches the server name
14
SSL / Problem with auto SSL
« on: February 05, 2024, 06:12:31 PM »
Hello, I'm having problems when trying to generate a new certificate, in the panel it is generated normally, but even after restarting the http services it continues to be an invalid certificate when accessing the website.
in the log /root/.acme.sh/acme.sh.log the following is displayed:
in the log /root/.acme.sh/acme.sh.log the following is displayed:
Code: [Select]
[Mon Feb 5 15:07:08 -03 2024] Cert success.
[Mon Feb 5 15:07:08 -03 2024] Your cert is in: /root/.acme.sh/cwp_certs/www.domainname.com.br_ecc/www.domainname.com.br.cer
[Mon Feb 5 15:07:08 -03 2024] Your cert key is in: /root/.acme.sh/cwp_certs/www.domainname.com.br_ecc/www.domainname.com.br.key
[Mon Feb 5 15:07:08 -03 2024] The intermediate CA cert is in: /root/.acme.sh/cwp_certs/www.domainname.com.br_ecc/ca.cer
[Mon Feb 5 15:07:08 -03 2024] And the full chain certs is there: /root/.acme.sh/cwp_certs/www.domainname.com.br_ecc/fullchain.cer
[Mon Feb 5 15:07:09 -03 2024] Installing cert to: /etc/pki/tls/certs/domainname.com.br.cert
[Mon Feb 5 15:07:09 -03 2024] Installing key to: /etc/pki/tls/private/domainname.com.br.key
[Mon Feb 5 15:07:09 -03 2024] Installing full chain to: /etc/pki/tls/certs/domainname.com.br.bundle
[Mon Feb 5 15:07:09 -03 2024] _on_issue_success
[Mon Feb 5 15:07:09 -03 2024] '' does not contain 'dns'
15
CWP API / Re: Error API 404
« on: January 08, 2024, 05:48:17 PM »
Thanks for your help in solving this problem!
You're using GET variables with a POST command. The PHP example clearly shows how to do this.Code: [Select]Example in PHP:
$data = array("key" => "MYKEY","action"=>'list');
$url = "https://IPSERVERAPI:2304/v1/account";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt ($ch, CURLOPT_POST, 1);
$response = curl_exec($ch);
curl_close($ch);
For the command line
curl -k -X POST -d "key=my_key&action=list" "https://my_server_ip:2304/v1/account"
Pages: [1] 2