Show Posts

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.

Topics - anandmys

Pages: [1] 2 3 ... 5
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

systemctl restart php-fpm.service

But I got following error/warnings

** (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

sh /scripts/restart_cwpsrv


** (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

mount proc -o remount,hidepid=0
systemctl restart polkit.service

And then

sh /scripts/restart_cwpsrv

Solved the issue

CentOS-WebPanel Bugs / folder permissions - re adding an account
« on: July 21, 2023, 07:45:46 AM »

I deleted an user account

Later I added the same account/domain back

Now the var/vmail/ 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

Jul 21 09:29:36 imap-login: Info: Login: user=<>, method=PLAIN, rip=, lip=, mpid=28279, secured, session=<VAgZOvoAssx/AAAB>
Jul 21 09:29:36 imap( Info: Namespace '': stat(/var/vmail/ failed: Permission denied (euid=1129(user) egid=12(mail) missing +x perm: /var/vmail/, we're not in group 1074, dir owned by 101:1074 mode=0770) in=0 out=376

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 (@@), 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

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?


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

● 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
   Active: failed (Result: exit-code) since Tue 2022-11-29 08:26:45 CET; 10min ago
     Docs: man:mysqld(8)
  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 mysqld[13492]: 2022-11-29  8:26:43 140005889595584 [ERROR] Plugin 'Aria' init function returned error.
Nov 29 08:26:43 mysqld[13492]: 2022-11-29  8:26:43 140005889595584 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
Nov 29 08:26:43 mysqld[13492]: 2022-11-29  8:26:43 140005889595584 [Note] Plugin 'FEEDBACK' is disabled.
Nov 29 08:26:43 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 mysqld[13492]: 2022-11-29  8:26:43 140005889595584 [ERROR] Aborting
Nov 29 08:26:45 mysqld[13492]: Warning: Memory not freed: 520
Nov 29 08:26:45 systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Nov 29 08:26:45 systemd[1]: Failed to start MariaDB 10.2.44 database server.
Nov 29 08:26:45 systemd[1]: Unit mariadb.service entered failed state.
Nov 29 08:26:45 systemd[1]: mariadb.service failed.

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

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?

DKIM / How to setup DKIM for domain using remote DNS servers
« on: April 19, 2022, 01:17:07 PM »

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

E-Mail / huge number of emails being sent
« on: February 26, 2022, 07:46:29 AM »
A particular user is sending many emails as per mailserver stats.

This is not a regular emails. The actual emails hardly send few emails every week.

I see user@server email id sending many many emails.

How to identify the compromised program? Where can I see the logs

CentOS-WebPanel Bugs / New user login issue
« on: February 23, 2022, 05:42:39 AM »
Whenever I create a new user (new account), and user tries to login with the credentials, the screen shows as login success for a second and logs out.

I have been seeing this issue since almost 2 years (Since I started using cwp)

I have found a method to get through this. If I change the package (I use List Accounts screen and package edit icon), the user is able to login smoothly. So I assign a wrong package and later edit and select the correct package so that user can login.

Hope someone will check this issue and fix.

CentOS-WebPanel Bugs / File upload limit
« on: February 23, 2022, 05:38:31 AM »
The file upload feature says max file upload limit is 500MB

As seen in screenshot, I am trying to upload a 148MB file. Getting error.

I understand that I can fix this by modifying some file. But is this not a bug? (Shows 500MB file can be uploaded but we cant upload 500MB file?)

Updates / Yum manager - unable to update packages
« on: February 10, 2022, 01:14:21 PM »
I am getting the message

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

"List of available packages for update" still shows the same list of products to update.

SSL / SSL issues
« on: December 28, 2021, 05:05:53 AM »
I am trying to renew autoSSL of a particular domain. It says its renewed for 89 days. But browser shows it as expired (Even the online tools).

I tried renewing all domains auto SSL. I get a message "errored"

Please help.

MySQL / Inward connection to mySL DB from remote
« on: December 02, 2021, 07:19:57 AM »
I have created a mySQL DB in CWP

Have set an user with password for the DB

Selected %Any for host

When I try to connect to this DB from remote, connection fails.

I have tried adding port 3306 for both IN and Out in firewall. It doesnt help

MySQL / Unable to change mySQL password
« on: December 02, 2021, 07:08:26 AM »
I am trying to change the password of a MySQL DB. I am getting error. Screenshot bellow. What may be the issue

Pages: [1] 2 3 ... 5