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
SSL / problem with certificate on the subdomain
« on: August 05, 2020, 09:59:26 AM »
the problem is that I have the subdomain registered in Web Server Setting, SSL certificates, there I have the certificate of a subdomain and it keeps giving me the warning that the certificate is wrong when I enter the web page.
In addition to having registered it and there I really want to make an index.html page to redirect everything to my main domain because it keeps taking me to the page www.domain.com, what solution does it have?
In addition to having registered it and there I really want to make an index.html page to redirect everything to my main domain because it keeps taking me to the page www.domain.com, what solution does it have?
2
CentOS Configuration / Re: I need permanent disable ClamAV because CPU 100%
« on: July 24, 2020, 11:56:18 AM »
Hello, thank you, but I don't repair my problem, I've tryed the script month ago.
[root@mail ~]# systemctl stop clamd
You have new mail in /var/spool/mail/root
[root@mail ~]# systemctl disable clamd
if I execute
[root@mail ~]# sh /scripts/clamd_fix_100_cpu_usage
Redirecting to /bin/systemctl stop clamd.service
Redirecting to /bin/systemctl stop amavisd.service
Redirecting to /bin/systemctl start clamd.service
Redirecting to /bin/systemctl start amavisd.service
but the cpu is set to 100% and the server is not working well.
[root@mail ~]# systemctl stop clamd
You have new mail in /var/spool/mail/root
[root@mail ~]# systemctl disable clamd
if I execute
[root@mail ~]# sh /scripts/clamd_fix_100_cpu_usage
Redirecting to /bin/systemctl stop clamd.service
Redirecting to /bin/systemctl stop amavisd.service
Redirecting to /bin/systemctl start clamd.service
Redirecting to /bin/systemctl start amavisd.service
but the cpu is set to 100% and the server is not working well.
3
CentOS Configuration / I need permanent disable ClamAV because CPU 100%
« on: July 20, 2020, 10:02:03 AM »
I need to disable the clamd or ClamAV forever I have tried it in several ways, for example from the CentOS Web Panel I did it and it does not work, from the CentOS console either.
From the console I did it with:
# systemctl stop clamd
# systemctl disable clamd
and from the control panel also no method works
From the console I did it with:
# systemctl stop clamd
# systemctl disable clamd
and from the control panel also no method works
4
CentOS Configuration / Why configuring this in this way does the service start again?
« on: July 16, 2020, 12:08:45 PM »
Hello I have a problem my vps is set to 100% if I have clamd active or clamAV I have tried with the script that is supposed to solve the problem, but I do not solve the problem that the virtual machine is set to 100%.
you can run this script and wait
sh /scripts/clamd_fix_100_cpu_usage
this script can not fix the problem CPU 100%
There is no way to put the image where you see that I have disabled the clamd or clamav service on the system.
In Services config - Startup services
In the CentOS 7 console:
[root@mail ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; disabled; vendor preset: disabled)
Active: inactive (dead) since Thu 2020-07-16 10:05:19 UTC; 1h 33min ago
Docs: man:clamd(
man:clamd.conf(5)
https://www.clamav.net/documents/
Process: 32257 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/amavisd.conf --foreground=yes (code=killed, signal=TERM)
Main PID: 32257 (code=killed, signal=TERM)
Jul 16 10:05:19 mail.midominio.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Started clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopping clamd scanner () daemon...
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
long ago I put the line:
systemctl disable clamd
What is the solution to the problem? thank you.
you can run this script and wait
sh /scripts/clamd_fix_100_cpu_usage
this script can not fix the problem CPU 100%
There is no way to put the image where you see that I have disabled the clamd or clamav service on the system.
In Services config - Startup services
In the CentOS 7 console:
[root@mail ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; disabled; vendor preset: disabled)
Active: inactive (dead) since Thu 2020-07-16 10:05:19 UTC; 1h 33min ago
Docs: man:clamd(

man:clamd.conf(5)
https://www.clamav.net/documents/
Process: 32257 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/amavisd.conf --foreground=yes (code=killed, signal=TERM)
Main PID: 32257 (code=killed, signal=TERM)
Jul 16 10:05:19 mail.midominio.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Started clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopping clamd scanner () daemon...
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
long ago I put the line:
systemctl disable clamd
What is the solution to the problem? thank you.
5
CentOS Configuration / Re: why can not I configure ClamAV always stop?
« on: July 07, 2020, 09:29:42 AM »
Hello I've tried your solution but I've seen that solution is to disable clamd which is clamav, below I have put the command:
[root@mail ~]# systemctl disable clamd
You have new mail in /var/spool/mail/root
[root@mail ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; disabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2020-07-07 09:08:20 UTC; 18min ago
Docs: man:clamd(
man:clamd.conf(5)
https://www.clamav.net/documents/
Main PID: 9004 (code=killed, signal=TERM)
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: Stopped clamd scanner () daemon.
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: Started clamd scanner () daemon.
Jul 07 09:08:20 mail.liberalaconciencia.com systemd[1]: Stopping clamd scanner () daemon...
Jul 07 09:08:20 mail.liberalaconciencia.com systemd[1]: Stopped clamd scanner () daemon.
[root@mail ~]# systemctl disable clamd
You have new mail in /var/spool/mail/root
[root@mail ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; disabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2020-07-07 09:08:20 UTC; 18min ago
Docs: man:clamd(

man:clamd.conf(5)
https://www.clamav.net/documents/
Main PID: 9004 (code=killed, signal=TERM)
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: Stopped clamd scanner () daemon.
Jul 07 09:08:19 mail.liberalaconciencia.com systemd[1]: Started clamd scanner () daemon.
Jul 07 09:08:20 mail.liberalaconciencia.com systemd[1]: Stopping clamd scanner () daemon...
Jul 07 09:08:20 mail.liberalaconciencia.com systemd[1]: Stopped clamd scanner () daemon.
6
CentOS Configuration / Re: why can not I configure ClamAV always stop?
« on: June 24, 2020, 09:40:35 AM »
thanks but it does not fix the problem, I tried to remove the service from the system startup and as I saw that there was no way then I tried every hour to do a systemctl stop clamd, but it does not work either
7
CentOS Configuration / why can not I configure ClamAV always stop?
« on: June 22, 2020, 10:02:34 AM »
My problem is that the virtual machine with ClamAV is set to 100% and the web pages are not going well, I have to work without ClamAV and I have tried the method both from the control panel to stop ClamAV and to set a task that directly stops the clamd service, every hour, and no method works, how do I solve the problem?
8
CentOS 7 Problems / Re: performance issue using nginx, varnish and apache, why?
« on: April 02, 2020, 01:26:05 PM »
jajajaa, If I could solve this problem I would not be here asking in the forum about the problem that I don't see the way to solve it and it took quite some time.
I do not know how to solve it and the performance I have on my websites is very poor
I do not know how to solve it and the performance I have on my websites is very poor
9
CentOS 7 Problems / performance issue using nginx, varnish and apache, why?
« on: April 02, 2020, 12:29:37 PM »
Hello I have a performance problem using just what they recommend here in this link
https://forum.centos-webpanel.com/index.php?topic=5804.0
but I can't get the desired performance and that the websites are going well in any domain I have for the VPS
I have tried to put nginx with php-fpm but I have not succeeded I think it is the best option for optimal performance but there is no way to do it and make each page work as it should in WordPress. I have simply set up the VPS to run WordPress and am not even a PHP developer.
https://forum.centos-webpanel.com/index.php?topic=5804.0
but I can't get the desired performance and that the websites are going well in any domain I have for the VPS
I have tried to put nginx with php-fpm but I have not succeeded I think it is the best option for optimal performance but there is no way to do it and make each page work as it should in WordPress. I have simply set up the VPS to run WordPress and am not even a PHP developer.
10
Nginx / I want to try nginx with php-fpm but don't run wordpress, could you help me?
« on: April 01, 2020, 03:29:18 PM »
I have seen that the performance tested with all the options that apache enters and it does not go well I want to try with nginx and php-fpm but it fails me to navigate between web pages within WordPress, the issue is that I have read that it is fixed with this command and I have also seen this link and the problem does not fix it
https://forum.centos-webpanel.com/index.php?topic=6548.0
I have seen that the problem can be solved with this line but as I put it in the vhost
location / {
try_files $uri $uri/ /index.php?$args;
}
when trying to put it where it does not matter it does not work for example on this site:
https://forum.centos-webpanel.com/index.php?topic=6548.0
I have seen that the problem can be solved with this line but as I put it in the vhost
location / {
try_files $uri $uri/ /index.php?$args;
}
when trying to put it where it does not matter it does not work for example on this site:
Code: [Select]
nano /etc/nginx/conf.d/vhosts/dominio.com.vhosts
server {
listen 188.166.23.139:80;
server_name quedamosencasa.com www.quedamosencasa.com;
root /home/brujo/public_html;
index index.php index.html index.htm;
access_log /usr/local/apache/domlogs/quedamosencasa.com.bytes bytes;
access_log /usr/local/apache/domlogs/quedamosencasa.com.log combined;
error_log /usr/local/apache/domlogs/quedamosencasa.com.error.log error;
location / {
location ~.*\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
expires max;
}
location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass unix:/opt/alt/php-fpm73/usr/var/sockets/brujo.sock;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}
}
location ~* "/\.(htaccess|htpasswd)$" {deny all;return 404;}
disable_symlinks if_not_owner from=/home/brujo/public_html;
location /.well-known/acme-challenge {
default_type "text/plain";
alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
}
}
11
High Performance / Re: How do i get high performance? Can you help me?
« on: March 25, 2020, 07:55:52 PM »
I've tried the configuration Nginx / Apache / php-fpm but it goes the same as putting varnish in the configuration I do not see any improvement I do not see any way to get, better performance I have tried precisely put nginx with php-fpm and the websites do not look good surely the websites must be configured by hand or something like that , but I can't get them to show fail.
12
High Performance / How do i get high performance? Can you help me?
« on: March 25, 2020, 12:28:22 PM »
Hi, I'm looking for high performance in WordPress and in the server in general.
The server is with CentOS 7 and CentOS Web Panel I have done everything that is explained in the article that by the way you explain very well, but it is clear that something I am not doing well because I can not have high performance, it is worse than in a VPS that I have with Ubuntu Server 18.04 nginx and php-fpm in version 7.2.
I have configured the CentOS Web Panel with:
Nginx -> Varnish -> Apache in select webserver and in the domains I have them all configured like this and I don't get a good performance like in this photo.

I have put the image because I think it is important to put an image so that you can see what I have done. That is the configuration of webserver domain conf
The server is with CentOS 7 and CentOS Web Panel I have done everything that is explained in the article that by the way you explain very well, but it is clear that something I am not doing well because I can not have high performance, it is worse than in a VPS that I have with Ubuntu Server 18.04 nginx and php-fpm in version 7.2.
I have configured the CentOS Web Panel with:
Nginx -> Varnish -> Apache in select webserver and in the domains I have them all configured like this and I don't get a good performance like in this photo.

I have put the image because I think it is important to put an image so that you can see what I have done. That is the configuration of webserver domain conf
13
Postfix / Re: problem with multiple email account in centos web panel
« on: March 02, 2020, 03:04:14 PM »
ok,
could you tell me that I have badly configured or that I have not configured to operate the opendkim in the 2 domains that does not work, added the domains as I explain in the gitlab I have it as it is there.
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem
$ date; dig txt default._domainkey.comoligarbien.com +short
could you tell me that I have badly configured or that I have not configured to operate the opendkim in the 2 domains that does not work, added the domains as I explain in the gitlab I have it as it is there.
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem
$ date; dig txt default._domainkey.comoligarbien.com +short
Code: [Select]
$ date; dig txt default._domainkey.comoligarbien.com
Mon Mar 2 16:00:53 CET 2020
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> txt default._domainkey.comoligarbien.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52724
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;default._domainkey.comoligarbien.com. IN TXT
;; ANSWER SECTION:
default._domainkey.comoligarbien.com. 3565 IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTtO1qRFaK955gz16Y8c1EMCqtaT4exCrwfor2yT438ZVjrUcqo2tPUNR4eqkD+xcKRQnWSw931uVUY6YJWtOrgrXTIrHnTkf5Xtg+jaXr0OhjdeVDIG/Le7oOVWncMf+9J4ZSRybOpb+XZPp/JLjis6pmCLrt5j82yBC9DCbsEPSOVVOC1mr5lq8irQs+qAv" "6M/DnjNcUrdiRBJyNrs2lfuvfs8BFceZAk1AwcVBcYCmZl5OkxZBn8liTC34FPJLLHm6jMp9+c0OaEtxo8zr3QX0ZYEWC3XqZ/p9fo4Pcg+fpyjee79wBVqUzhVAWdzE5+qAIn4e1Dmslyb6IX4mwIDAQAB"
;; Query time: 18 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Mon Mar 02 16:00:53 CET 2020
;; MSG SIZE rcvd: 489
if I put the mail that works the DKIM does exactly the same to meCode: [Select]
$ date; dig txt default._domainkey.despedidasexclusivas.com
Mon Mar 2 16:02:48 CET 2020
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> txt default._domainkey.despedidasexclusivas.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44049
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;default._domainkey.despedidasexclusivas.com. IN TXT
;; ANSWER SECTION:
default._domainkey.despedidasexclusivas.com. 3600 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBUycaDUpr2h1b6CoBFdAPNetxSIU2pAVoJLMdcoYS5xzXm/269QwSiFU+CVMwJtVTL+1YZncf1V1c/AlsqtBZI+dLjxccIaJ9P0GHflY9A3gtpvwhQaYxh6evEZGkgXA1KUc7WTpqfRgFMfdELnybDAY6y+BlXdWl1QxeACSmcQIDAQAB"
;; Query time: 97 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Mon Mar 02 16:02:48 CET 2020
;; MSG SIZE rcvd: 319
I would really like to find the fault. Thank you very much, regards.
14
Postfix / Re: problem with multiple email account in centos web panel
« on: March 02, 2020, 12:46:38 PM »
Ok and as it is fixed because I do not give the solution to the problem, I have been looking for a solution for a long time I need to be able to send emails with the domain that agrees with the server, if not, so I want a VPS.
Besides, where are you seeing that?
He tried many possible solutions searching the Internet and I have not found any that works, the domain of farewellsexclusivas.com works perfectly are the other 2 domains that fail in the DKIM signature, why fails is what I would like to know? and if Amavisd does not use it, it is interfering with the signature in some way.
Besides, where are you seeing that?
He tried many possible solutions searching the Internet and I have not found any that works, the domain of farewellsexclusivas.com works perfectly are the other 2 domains that fail in the DKIM signature, why fails is what I would like to know? and if Amavisd does not use it, it is interfering with the signature in some way.
15
Postfix / Re: problem with multiple email account in centos web panel
« on: March 01, 2020, 12:03:46 PM »
well maybe I explained badly, the problem I have can see here really the problem is that I only signed with a domain that is placed in mydomain in the main.cf file and the file structure I have it here.
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem
I wish someone could help me because I have been with this problem for some time and I can't fix it and I really need it.
To mount postfix and opendkim I have used everything preferably from the control panel centos web panel.
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem
I wish someone could help me because I have been with this problem for some time and I can't fix it and I really need it.
To mount postfix and opendkim I have used everything preferably from the control panel centos web panel.
Pages: [1] 2