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
1
CentOS-WebPanel Bugs / User login - errors
« on: November 06, 2024, 07:54:53 AM »
I am unable to login as a user.

When I use https://server:2083/user/ I get "502 Bad Gateway cwpsrv" (Admin - List Accounts - User auto login)

When I use https://server:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)

When I use https://domain:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)

Please suggest. Also where can I check the logs? I tried looking at

/usr/local/apache/logs (main logs)
/usr/local/apache/domlogs


2
Information / Missing Items - CWP To CWP Migration
« on: November 01, 2024, 02:03:56 PM »
I have come across the following items which gets missed out during CWP to CWP migration

1. MX records (If external mail services have been used)
2. Contacts of roundcube

I manually copied MX records
and
logged in to roundcube email (each) and used import-export option to transfer contacts (Any better method like an SQL query on roundcube DB?)

Are there any other items which gets missed out during this CWP-CWP migration?

3
CSF Firewall / Cant start firewall
« on: November 01, 2024, 04:04:25 AM »
When I try starting in cwp, i get the error

Quote
Status: You have an unresolved error when starting csf:
Error: FASTSTART: (DROP no logging IPv4) [] [iptables-restore v1.4.21: iptables-restore: unable to initialize table 'filter']. Try restarting csf with FASTSTART disabled, at line 5790 in /usr/sbin/csf

You need to restart csf successfully to remove this warning, or delete /etc/csf/csf.error


4
CentOS-WebPanel Bugs / CWP - CWP Migration - DNS Records
« on: October 31, 2024, 05:37:58 PM »
When you do a CWP - CWP migration, all records like sub domain A records, MX records (Like GSuite) gets lost.

Is it a known bug or a not solvable technical issue? Or is it related to some API permission selection?

5
Updates / The Future of CentOS Stream with CWP
« on: October 22, 2024, 08:25:05 AM »
I saw a wiki article "The Future of CentOS Stream with CWP" at https://wiki.centos-webpanel.com/the-future-of-centos-stream-with-cwp

Is this article still relevant or its outdated?

I have few servers on centos stream

6
E-Mail / Roundcube attachement size
« on: October 19, 2024, 05:52:43 AM »
When I login to

server/webmail

I am able to attach big files

For same email id, if I login to

domain/webmail

I get connection error while attaching big files (same files which works in above case)

Please suggest

7
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

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


9
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

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



https://ibb.co/rcmfFFP

Please help

10
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

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

11
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

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

12
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

13
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

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

15
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

Pages: [1] 2 3 ... 5