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.
1
CentOS-WebPanel Bugs / 502 Bad Gateway - FIX
« on: April 03, 2024, 06:35:37 AM »
I suspended a client account. After few days, I unsuspended the account.
but client user panel started giving 502 bad gateway error.
I got a suggestion to run
But I got following error/warnings
Even running
Gave
Now saw another suggession to fix this WARNING as
And then
Solved the issue
but client user panel started giving 502 bad gateway error.
I got a suggestion to run
Quote
systemctl restart php-fpm.service
But I got following error/warnings
Quote
** (pkttyagent:5436): WARNING **: 08:19:01.450: Unable to register authenticatio n agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine u ser of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.E rror.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Failed to restart php-fpm.service: Unit not found.
Even running
Quote
sh /scripts/restart_cwpsrv
Gave
Quote
** (pkttyagent:9067): WARNING **: 08:22:24.617: Unable to register authenticatio n agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine u ser of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.E rror.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Now saw another suggession to fix this WARNING as
Quote
mount proc -o remount,hidepid=0
Quote
systemctl restart polkit.service
And then
Quote
sh /scripts/restart_cwpsrv
Solved the issue
2
CentOS-WebPanel Bugs / folder permissions - re adding an account
« on: July 21, 2023, 07:45:46 AM »
Hi
I deleted an user account
Later I added the same account/domain back
Now the var/vmail/domainname.com permission is not set to user vmail but instead to 1074
When I login to webmail, I get check server logs
When I check server logs I get error
I deleted an user account
Later I added the same account/domain back
Now the var/vmail/domainname.com permission is not set to user vmail but instead to 1074
When I login to webmail, I get check server logs
When I check server logs I get error
Quote
Jul 21 09:29:36 imap-login: Info: Login: user=<accounts@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=28279, secured, session=<VAgZOvoAssx/AAAB>
Jul 21 09:29:36 imap(accounts@domain.com): Info: Namespace '': stat(/var/vmail/domain.com/accounts) failed: Permission denied (euid=1129(user) egid=12(mail) missing +x perm: /var/vmail/domain.com, we're not in group 1074, dir owned by 101:1074 mode=0770) in=0 out=376
3
Backup / Re: Restore backup
« on: June 18, 2023, 03:42:29 AM »
Hi
Is there a guide on how to restore full account backup generated in CWP? I see there is cpanel account restore. But how to restore a CWP backup?
Is there a guide on how to restore full account backup generated in CWP? I see there is cpanel account restore. But how to restore a CWP backup?
4
CentOS-WebPanel Bugs / Re: Emails screen not loading
« on: April 28, 2023, 10:54:25 AM »
Correct.
Login to cwp admin and edit.
User cant do this as the screen doesnt load.
A bug (Either on validation side while adding an email/forward or while loading)
Login to cwp admin and edit.
User cant do this as the screen doesnt load.
A bug (Either on validation side while adding an email/forward or while loading)
This is what i got on my side regarding this issue.
Look like a special char in front of a mailbox or a forwarder.
5
CentOS-WebPanel Bugs / Email and email forwarders
« on: April 27, 2023, 05:28:04 PM »
If by mistake you create a forwarder which has an email I'd like abc@@xyz.com (@@), the customer email IDs, email forward screen will not load the list/emais
You have to login as root and correct this in order to fix this
Validation for a @@ in emails seperated by , will fix this
You have to login as root and correct this in order to fix this
Validation for a @@ in emails seperated by , will fix this
6
CentOS-WebPanel Bugs / Re: Emails screen not loading
« on: February 17, 2023, 08:13:27 AM »Quote
Uncaught SyntaxError: Bad control character in string literal in JSON at position 743
at JSON.parse (<anonymous>)
at ?module=email_accounts:2955:28
This is the error I see when I do inspect
7
CentOS-WebPanel Bugs / Emails screen not loading
« on: February 17, 2023, 08:09:39 AM »
I have a cwp setup with around 25 client accounts
In one of the client logins, Email scree and Email forwarder scree just keeps loading. The list of emails or forwarders never gets loaded.
Where can I look for possible issues?
:2083/cwp_93cb45dd01cbe276/agspower/?module=email_accounts
:2083/cwp_a60cebb21f1ae172/pknco/?module=forwarders_email
In one of the client logins, Email scree and Email forwarder scree just keeps loading. The list of emails or forwarders never gets loaded.
Where can I look for possible issues?
:2083/cwp_93cb45dd01cbe276/agspower/?module=email_accounts
:2083/cwp_a60cebb21f1ae172/pknco/?module=forwarders_email
8
MySQL / MySQL Database Server - Failed
« on: November 29, 2022, 07:39:57 AM »
In cwp, I see that MySQL Database Server is in Failed state
I am unable to start/restart the same
But all websites with mysql are working fine
I am unable to start/restart the same
But all websites with mysql are working fine
Quote
● mariadb.service - MariaDB 10.2.44 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: failed (Result: exit-code) since Tue 2022-11-29 08:26:45 CET; 10min ago
Docs: man:mysqld(
https://mariadb.com/kb/en/library/systemd/
Process: 13492 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS --basedir=/usr $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: 13480 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 13478 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 13492 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
Nov 29 08:26:43 server.name.tld mysqld[13492]: 2022-11-29 8:26:43 140005889595584 [ERROR] Plugin 'Aria' init function returned error.
Nov 29 08:26:43 server.name.tld mysqld[13492]: 2022-11-29 8:26:43 140005889595584 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
Nov 29 08:26:43 server.name.tld mysqld[13492]: 2022-11-29 8:26:43 140005889595584 [Note] Plugin 'FEEDBACK' is disabled.
Nov 29 08:26:43 server.name.tld mysqld[13492]: 2022-11-29 8:26:43 140005889595584 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
Nov 29 08:26:43 server.name.tld mysqld[13492]: 2022-11-29 8:26:43 140005889595584 [ERROR] Aborting
Nov 29 08:26:45 server.name.tld mysqld[13492]: Warning: Memory not freed: 520
Nov 29 08:26:45 server.name.tld systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Nov 29 08:26:45 server.name.tld systemd[1]: Failed to start MariaDB 10.2.44 database server.
Nov 29 08:26:45 server.name.tld systemd[1]: Unit mariadb.service entered failed state.
Nov 29 08:26:45 server.name.tld systemd[1]: mariadb.service failed.
9
CentOS-WebPanel Bugs / cpanel restore - removed email accounts
« on: November 09, 2022, 06:04:49 AM »
I observed a bug in this feature
I tried importing a cpanel full backup
cPanel had 11 email accounts
After import I saw that 50 emails were created.
I guess these are deleted email ids or something similar in the old cpanel
I tried importing a cpanel full backup
cPanel had 11 email accounts
After import I saw that 50 emails were created.
I guess these are deleted email ids or something similar in the old cpanel
11
Updates / cwp quota issues
« on: June 13, 2022, 01:55:23 PM »
The userpanel shows correct usage stats
Reseller panel dont show correct value
As a reseller, I have to login to each user panel, to check over usage.
Any help?
https://ibb.co/QkpzYmk
https://ibb.co/pPGCKvn
Reseller panel dont show correct value
As a reseller, I have to login to each user panel, to check over usage.
Any help?
https://ibb.co/QkpzYmk
https://ibb.co/pPGCKvn
12
CentOS Configuration / Re: How to setup user quotas ?
« on: June 13, 2022, 12:13:00 PM »Note: If you want emails and user home to be under the same quota then /var/vmail and /home need to be on the same partition.
I have my /var/vmail and /home on same partition.
This is not working
Any suggestions?
13
DKIM / Re: How to setup DKIM for domain using remote DNS servers
« on: April 27, 2022, 11:14:25 AM »admin/index.php?module=dns_list_zones
Find the domain you want the records for, then click edit recoreds.
For DKIm, you are looking for the record "default._domainkey"
I think I was not clear in my question. I will post my question as well as the solution for the benefit of others.
In CWP, there is a bug or an issue.
When I go to DKIM Manager and add DKIM to a domain or all domains, I get a success message
https://freeimage.host/i/VsUFWX
When I see the DNS records of that domain, we will not find default._domainkey
https://ibb.co/3F9Q0Db
Solution
Go to admin/codeEditor.php?filename=/etc/opendkim/userkeys/yourdomain.com/default.txt
You will find text like this
Quote
default._domainkey IN TXT ( "v=DKIM1; k=rsa; "
"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUVp1DFRbVNGXrPDxosl5Verdq6BP/bfXTrlSgOP18jhtlGXbni4o3GOFAG8UTYaz+lol0A5fFAjmgROj3ZJ4bj480UzKa4Ez/NQB76jN6zY3TsW+JH4EPGXae3pJiKGAHJa+gIksQdQ/CioLL27+D0K/CTfyYAGyQS56rkyctFQIDAQAB" ) ;
Use this data to create the DNS record.
I was expecting cwp to create this record automatically. May be a bug which will get fixed in next releases.
14
DKIM / Re: How to setup DKIM for domain using remote DNS servers
« on: April 20, 2022, 05:39:03 AM »
Thank you. But where will be the record data to copy from? Particularly DKIM
You need to copy the records over to godaddy, who hosts your actual DNS. You should create the TXT records for SPF, DKIM and any other pertinent records, and give them the same values as the ones on your CWP server.
15
DKIM / How to setup DKIM for domain using remote DNS servers
« on: April 19, 2022, 01:17:07 PM »
Hi
I have a domain using email services only from my server.
Domain DNS and hosting is in GoDaddy
When I try to add DKIM to this domain using DKIM manager, I get a success message.
But I dont know what record to add in DNS? If I check the local DNS record for that domain, I dont see any DKIM record added.
Please help
I have a domain using email services only from my server.
Domain DNS and hosting is in GoDaddy
When I try to add DKIM to this domain using DKIM manager, I get a success message.
But I dont know what record to add in DNS? If I check the local DNS record for that domain, I dont see any DKIM record added.
Please help