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.
151
CentOS-WebPanel Bugs / CWP - CWP Migration. Missing roundcube contacts and identities
« on: October 14, 2024, 05:04:03 AM »
Hi
I migrated an account from 1 server to another using "CWP_CWP Migration" option
Everything seems to be working except that
In roundcube login of every email account, I do not see
1. Contacts
2. Additional identities created by that user
I migrated an account from 1 server to another using "CWP_CWP Migration" option
Everything seems to be working except that
In roundcube login of every email account, I do not see
1. Contacts
2. Additional identities created by that user
152
DNS / Re: More than 2 name servers
« on: October 12, 2024, 12:45:29 PM »
I am looking at creating cwppro VPS with 2 sets of name servers
Like a domain pointing to
ns1 & ns2 should work at n3 & ns4 also
Currently my VPS nameservers are
ns1.domain1.com
ns2.domain1.com
I want to make this VPS work with
ns1.domain2.com
ns2.domain2.com
while
ns1.domain1.com
ns2.domain1.com
continue to work
Like a domain pointing to
ns1 & ns2 should work at n3 & ns4 also
Currently my VPS nameservers are
ns1.domain1.com
ns2.domain1.com
I want to make this VPS work with
ns1.domain2.com
ns2.domain2.com
while
ns1.domain1.com
ns2.domain1.com
continue to work
Try to edit the default DNS zone template:
https://wiki.centos-webpanel.com/custom-dns-zone-template
Actually you need to remove the records (make backup of the default template before you edit it):Code: [Select]@ 86400 IN NS %ns1%.
@ 86400 IN NS %ns2%.
from the template and add the records like:Code: [Select]@ 86400 IN NS NS1.NAMESERVER.COM.
@ 86400 IN NS NS2.NAMESERVER.COM.
@ 86400 IN NS NS3.NAMESERVER.COM.
@ 86400 IN NS NS4.NAMESERVER.COM.
153
Installation / Re: Try Install 8 and 9 all stuck in middlle
« on: October 12, 2024, 04:35:25 AM »I have the same issue
https://ibb.co/rcmfFFP
Strangely I retried the whole process (Starting from reinstall of alma linux 8.10). Everything went smooth and CWP is up and running now.
154
DNS / More than 2 name servers
« on: October 12, 2024, 04:33:17 AM »
I would like to have 4 name servers on same server. Current CWP GUI gives option for 2 name servers. Can anyone guide?
Background: I am migrating my VPS. Now migration is mostly done and most of the domain name servers are updated to new server.
I want to make sure that if some domain which may be still using old name servers continue to work once I suspend the old VPS.
Background: I am migrating my VPS. Now migration is mostly done and most of the domain name servers are updated to new server.
I want to make sure that if some domain which may be still using old name servers continue to work once I suspend the old VPS.
155
Installation / Re: Try Install 8 and 9 all stuck in middlle
« on: October 07, 2024, 03:49:58 PM »156
Installation / CWP installation on Alma Linux 8 - Stuck
« on: October 07, 2024, 03:20:26 PM »
I am following the steps at https://control-webpanel.com/installation-instructions
I failed and realised that I need to install MariaDB first.
Again reinstalled alma linux 8
Installed MariaDB
Started with the steps at https://control-webpanel.com/installation-instructions
Now after
The installation was running smoothly untill
Installing phpmyadmin came
Now the screen is stuck (2nd time - started from reinstalling alma linux

https://ibb.co/rcmfFFP
Please help
I failed and realised that I need to install MariaDB first.
Again reinstalled alma linux 8
Installed MariaDB
Started with the steps at https://control-webpanel.com/installation-instructions
Now after
Quote
sh cwp-el8-latest
The installation was running smoothly untill
Installing phpmyadmin came
Now the screen is stuck (2nd time - started from reinstalling alma linux

https://ibb.co/rcmfFFP
Please help
157
CentOS Configuration / Re: How to setup user quotas ?
« on: September 21, 2024, 11:25:09 AM »
User panel shows account using 38GB (With -855MB in file system) while admin panel shows 18GB usage

158
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
159
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
160
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?
161
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.
162
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
163
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
164
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
165
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.

