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.


Messages - anandmys

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

47
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

48
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

49
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

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(8)
           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.

50
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

51
How to / Re: Resize Swap File
« on: June 23, 2022, 06:42:30 AM »
Any views on this topic?

52
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

53
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?

54
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.

55
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.

56
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

57
CentOS Configuration / Re: How to setup user quotas ?
« on: March 16, 2022, 12:43:55 PM »
Hi

See the 2 images. In list packages (Reseller login), usage is almost correct. In user login there is a different usage story.

Any help?




58
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

59
CentOS-WebPanel Bugs / Re: File upload limit
« on: February 23, 2022, 05:55:20 AM »
The above is a bug report.

Solution to fix this manually available at

http://wiki.centos-webpanel.com/big-file-upload-via-file-manager

60
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.

Pages: 1 2 3 [4] 5 6 ... 12