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
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
2
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
3
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>
4
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
5
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.
6
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?
7
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?
8
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.
9
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
10
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
11
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'
12
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"
13
CWP API / Error API 404
« on: January 05, 2024, 07:34:33 PM »
When I make a post using curl the API returns a 404 error page to me.
I'm trying to list all cwp accounts but only the error is returned, checking the logs in /usr/local/cwpsrv/logs/2304_error_log it shows me the following
Can anyone shed some light on what this problem could be?
I am using the following command to get the information
I'm trying to list all cwp accounts but only the error is returned, checking the logs in /usr/local/cwpsrv/logs/2304_error_log it shows me the following
Quote
2024/01/05 16:31:01 [notice] 79020#0: *7119 "^/v1/([^/]+)/?$" matches "/v1/account", client: my_ip, server: localhost, request: "POST /v1/account?key=my_key&action=list HTTP/1.1", host: "my_server_ip:2304"
2024/01/05 16:31:01 [notice] 79020#0: *7119 rewritten data: "/v1/index.php", args: "method=", client: my_ip, server: localhost, request: "POST /v1/account?key=my_key&action=list HTTP/1.1", host: "my_server_ip:2304"
2024/01/05 16:31:01 [info] 79020#0: *7119 client my_ip closed keepalive connection
Can anyone shed some light on what this problem could be?
I am using the following command to get the information
Quote
curl -k -X POST "https://my_server_ip:2304/v1/account?key=my_key&action=list"
14
MySQL / Re: problem with database creation
« on: October 27, 2023, 11:18:55 AM »
Solved✅
Thanks for the reply!
Thanks for the reply!
This may happen when the account comes from a cpanel or cwp migration.
To solve it, run the following command cat /usr/local/cwp/.conf/mysql_user_prefix.conf and only leave in that file the users whose name has more than 8 characters, the rest must be eliminated
This will solve the problem
15
MySQL / problem with database creation
« on: October 26, 2023, 05:17:17 PM »
Hello everybody,
I'm having a problem with creating mysql databases.
When trying to create banks using the panel, the banks are created without the username preceding them, just being
_database
when it should be
user_database
This causes the database to not be displayed on the panel to the user.
The same happens when trying to create users.
I'm having a problem with creating mysql databases.
When trying to create banks using the panel, the banks are created without the username preceding them, just being
_database
when it should be
user_database
This causes the database to not be displayed on the panel to the user.
The same happens when trying to create users.
Pages: [1]