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 / How to add add_header Access-Control on conf generation file.
« on: May 29, 2024, 09:46:00 AM »
Hi to all, I have an problem on one website where ttf file is blocked by CORS policy
The error is follow: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have solved it adding this line
Now I want to know how I can set it into nginx or cwp conf file?
I want this line of code to be inserted automatically every time a vhost.conf file is regenerated
Anyone can tell me where add this line of code?
The error is follow: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have solved it adding this line
Code: [Select]
add_header Access-Control-Allow-Origin *;
into the vhost conf gfile of related domainNow I want to know how I can set it into nginx or cwp conf file?
I want this line of code to be inserted automatically every time a vhost.conf file is regenerated
Anyone can tell me where add this line of code?
2
PHP / Re: Xdebug on php-fpm enabled but not work
« on: February 06, 2024, 02:17:34 PM »
Ohhh, I have to recompile it?
I think that is only necessary to enable it.
Yes, it works. I have recompiled the phpfpm version and now work good.
Thank you so much guy
I think that is only necessary to enable it.
Yes, it works. I have recompiled the phpfpm version and now work good.
Thank you so much guy
3
PHP / Xdebug on php-fpm enabled but not work
« on: February 06, 2024, 09:28:52 AM »
Hi guys, I have enabled xdebug into option list of phpfpm 8.1 and 8.2 but not work on both.
Anyone can help me how to enable xdebug on phpfpm?
Latest version of cwp.
Webserver Apache + Nginx as reverse proxy
Anyone can help me how to enable xdebug on phpfpm?
Latest version of cwp.
Webserver Apache + Nginx as reverse proxy
4
CentOS 7 Problems / Re: Cant'access to cwp pro admin
« on: March 03, 2023, 07:45:24 AM »
I have tried to remove 2FA, and I do this command
sh /usr/local/src/cwp_2fa/uninstall.sh
and get this
and now when I try to open cwp panel get 404 error
sh /usr/local/src/cwp_2fa/uninstall.sh
and get this
Code: [Select]
[root@srv2 cwp_2fa]# ./uninstall.sh
setenforce: SELinux is disabled
0.9.8.1151
username
user1
user2
user3
user4
user5
user6
sed: -e expression #1, char 1: unknown command: `,'
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login//design
tail: cannot open ‘/usr/local/cwpsrv/htdocs/admin/login/index.php’ for reading: No such file or directory
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services/users/login//cwp_theme
tail: cannot open ‘/usr/local/cwpsrv/var/services/users/login/login.php’ for reading: No such file or directory
/////Uninstalling User Panel Files/////
and now when I try to open cwp panel get 404 error
5
CentOS 7 Problems / Re: Cant'access to cwp pro admin
« on: March 03, 2023, 07:21:30 AM »
I think the problem is 2FA plugin for cwp.
Because when login I inser root username and password, then ask me the 2fa code, I put the code and will get many redirect error.
I have tryed to uninstall cwp 2FA plugin and get this error
After that I have tryed to exec update admin script via sh /scripts/cwp_update_admin
and get this other error
Could it be a token issue? Because I get an token error?
Because when login I inser root username and password, then ask me the 2fa code, I put the code and will get many redirect error.
I have tryed to uninstall cwp 2FA plugin and get this error
Code: [Select]
setenforce: SELinux is disabled
uninstall.sh: line 7: syntax error near unexpected token `>'
uninstall.sh: line 7: `exec > >(tee -ia $logFile)'
After that I have tryed to exec update admin script via sh /scripts/cwp_update_admin
and get this other error
Code: [Select]
cat: /usr/local/cwpsrv/htdocs/resources/admin/version.txt: No such file or directory
/scripts/cwp_update_admin: line 14: [[: 0.9.8.1140: syntax error: invalid arithmetic operator (error token is ".9.8.1140")
Could it be a token issue? Because I get an token error?
6
CentOS 7 Problems / Re: Cant'access to cwp pro admin
« on: March 02, 2023, 10:53:40 PM »
Anyone can help me???
Users access to control panel, and root/admin can't accesso to cwp..
Users access to control panel, and root/admin can't accesso to cwp..
7
CentOS 7 Problems / Re: Cant'access to cwp pro admin
« on: March 02, 2023, 02:29:56 PM »
Cookie is allowed, and adblock is not activated.
I rebuild it via cli
I rebuild it via cli
8
CentOS 7 Problems / Cant'access to cwp pro admin
« on: March 02, 2023, 01:50:28 PM »
Hi to all, I can't access more to my Admin/root panel of CWP.
I do the login and get many redirects error.
I have tryed many cli command but nothing solve this error.
Reinstalled cwp, reloaded and restarted... nothing
Rebuilded apache too, but nothing.
Anyone can help me?
I do the login and get many redirects error.
I have tryed many cli command but nothing solve this error.
Reinstalled cwp, reloaded and restarted... nothing
Rebuilded apache too, but nothing.
Anyone can help me?
9
CentOS-WebPanel Bugs / Re: export database error in phpmyadmin
« on: November 04, 2021, 02:29:40 PM »
Have you soloved in any mode?
I have the same problem and still is there
I have the same problem and still is there
10
DKIM / Re: DKIM & SPF Manager
« on: October 22, 2021, 09:15:54 AM »
Anyone know how do the DKIM+SFP for all account via CLI?
I want set a cron command to add DKIM+SFP to all account/domain because many times I find them removed from domains.
I set the DKIM and SPF and then after a few days they are no longer in the domain records.
I want set a cron command to add DKIM+SFP to all account/domain because many times I find them removed from domains.
I set the DKIM and SPF and then after a few days they are no longer in the domain records.
11
CentOS 7 Problems / Re: Wrong calculation for user quota
« on: April 10, 2020, 02:30:09 PM »
No anyone have the same problem or know how help me?
12
CentOS 7 Problems / Wrong calculation for user quota
« on: April 09, 2020, 08:16:59 AM »
Hi guys is write haere because I ask your help.
I can't understand why accounts increase the occuped space by 1/2 GB every night.
I have enabled the user quota following the forum guide here: https://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/
According to some analyzes, the problem is not the space reallyoccupied on the hard disk but the real problem is the calculation of the user quota.
Also in the CWP panel, in one page I see 4gb occupied space, in another I see 1.2gb occupied space...
I am attaching 4 screenshots on Gdrive with the system configuration too.
Gdrive dir url: https://drive.google.com/drive/folders/1WCVIZxbiUgeYzRygeWU88jpMU6Fsh6GD?usp=sharing
Can any of you tell me why this problem and how to correct it?
I reported an example of the user (same user)
Thanks
I can't understand why accounts increase the occuped space by 1/2 GB every night.
I have enabled the user quota following the forum guide here: https://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/
According to some analyzes, the problem is not the space reallyoccupied on the hard disk but the real problem is the calculation of the user quota.
Also in the CWP panel, in one page I see 4gb occupied space, in another I see 1.2gb occupied space...
I am attaching 4 screenshots on Gdrive with the system configuration too.
Gdrive dir url: https://drive.google.com/drive/folders/1WCVIZxbiUgeYzRygeWU88jpMU6Fsh6GD?usp=sharing
Can any of you tell me why this problem and how to correct it?
I reported an example of the user (same user)
Thanks
13
CentOS 7 Problems / Many error mail from lfd and monit
« on: February 28, 2020, 07:45:10 AM »
Hi to all guys,
I hope some of you can help me.
I receive continuous emails from monit with the following message:
And othe some email from lfd for postfix service:
Can anyone give me information about these messages?
Does postfix concern the sending of emails by the user, right?
I hope some of you can help me.
I receive continuous emails from monit with the following message:
Code: [Select]
monit alert -- Resource limit succeeded root
Resource limit succeeded Service root
Date: Wed, 19 Feb 2020 04:32:22
Action: alert
Host: srv.f3biz.com
Description: read rate test succeeded [current read = 0 B/s]
Your faithful employee,
Monit
And othe some email from lfd for postfix service:
Code: [Select]
lfd on srv.******.com: Excessive resource usage: username (1990 (Parent PID:1988))
Time: Fri Feb 28 07:58:33 2020 +0100
Account: username
Resource: Process Time
Exceeded: 1825 > 1800 (seconds)
Executable: /usr/sbin/sendmail.postfix
Command Line: /usr/sbin/sendmail -t -i
PID: 1990 (Parent PID:1988)
Killed: No
Can anyone give me information about these messages?
Does postfix concern the sending of emails by the user, right?
14
Backup / Backup to G.Drive
« on: January 20, 2020, 09:43:55 AM »
Hi guys,
anyone know any way for transfer backup from CWP to Google drive?
Every days my CWP do a full backup and I want move it to Google Drive.
Thanks in advance for your reply
anyone know any way for transfer backup from CWP to Google drive?
Every days my CWP do a full backup and I want move it to Google Drive.
Thanks in advance for your reply
15
DNS / CWP.PRO - DNS good configuration but ns2 not responding
« on: December 12, 2019, 07:48:56 AM »
Hi to all guys, I am a new member in the forum and cwp user.
I have buyed a new dedicated server and I have installed on it the cwp pro on latest version.
I have configured the DNS zones as you can see on attached images below, but I have a problems with the ns2. resolving.
If I check the dns configuration (with intodns - dnsqueries - dns-check.nic.it) I get error for ns2 resolving.
So ns1 not present any problems, but on ns2 no one services can resolve/responding the ns2.
Can you help me?
Anyone know why that?
Thank you in advance
I have buyed a new dedicated server and I have installed on it the cwp pro on latest version.
I have configured the DNS zones as you can see on attached images below, but I have a problems with the ns2. resolving.
If I check the dns configuration (with intodns - dnsqueries - dns-check.nic.it) I get error for ns2 resolving.
So ns1 not present any problems, but on ns2 no one services can resolve/responding the ns2.
Can you help me?
Anyone know why that?
Thank you in advance
Pages: [1]