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
CentOS-WebPanel GUI / cwp to cep migration- firewall issue
« on: May 07, 2020, 01:53:22 PM »
Unable to migrate if the firewall is on.

I have opened 2304 port in both source.

If I turnoff firewall in destination server, migration works.

Please share exactly where i can change settings in firewall?

Default SSH port in source is not 22. Can it be a reason?

MySQL / Mysql backup error during cwp to cwp migration
« on: May 07, 2020, 11:41:15 AM »
Got this error message. not sure how to check and correct

Error while creating DB mysql heritage Error heritage mysqldump: Got error: 1033: Incorrect information in file: ./heritage_herit/cerber_log.frm when using LOCK TABLES

Information / 502 - Service unavailable - SOLVED - for information
« on: May 07, 2020, 09:56:05 AM »
I had selected php-fpm

My CWPPro licence had expired

All websites had started showing 503 error

Unselecting force "PHP-FPM Selector" and rebuilding resolved the issue (CWPPro activation is taking time, so I am forced to take this route)

Hope this will help few newbies like me.

SSL / Unable to issue AutoSSL
« on: May 05, 2020, 08:13:54 AM »
I get following error when I try to add autoSSL

Errors occurred on installation process.
Error Message: [Tue May 5 04:10:42 EDT 2020] Multi domain=',' [Tue May 5 04:10:42 EDT 2020] Getting domain auth token for each domain [Tue May 5 04:10:46 EDT 2020] Getting webroot for domain='' [Tue May 5 04:10:46 EDT 2020] Getting webroot for domain='' [Tue May 5 04:10:46 EDT 2020] Verifying: [Tue May 5 04:10:50 EDT 2020] error:Invalid response from []: [Tue May 5 04:10:50 EDT 2020] Please check log file for more details: /root/

Log details

[Tue May  5 03:57:40 EDT 2020] url=''
[Tue May  5 03:57:40 EDT 2020] payload='{}'
[Tue May  5 03:57:40 EDT 2020] POST
[Tue May  5 03:57:40 EDT 2020] _post_url=''
[Tue May  5 03:57:40 EDT 2020] _CURL='curl -L --silent --dump-header /root/  -g '
[Tue May  5 03:57:41 EDT 2020] _ret='0'
[Tue May  5 03:57:41 EDT 2020] code='400'
[Tue May  5 03:57:41 EDT 2020] url=''
[Tue May  5 03:57:41 EDT 2020] payload='{}'
[Tue May  5 03:57:41 EDT 2020] POST
[Tue May  5 03:57:41 EDT 2020] _post_url=''
[Tue May  5 03:57:41 EDT 2020] _CURL='curl -L --silent --dump-header /root/  -g '
[Tue May  5 03:57:42 EDT 2020] _ret='0'
[Tue May  5 03:57:42 EDT 2020] code='200'

Server IP is is second IP

AutoSSL was working fine on this server. The domains with already assigned AUTOSSL working fine

CentOS-WebPanel Bugs / cpanel restore - MX records
« on: May 04, 2020, 08:33:28 AM »
When i restore a cpanel account using cpanel restore, I see that MX records which were in original server are not created in the new server.

I had few accounts with remote mail servers (ex: G Suite)

But the restored account had DNS record for local mail server.

As i have tested with multiple accounts, it looks like a bug.

CentOS-WebPanel Bugs / CWP to cwp migration
« on: May 03, 2020, 08:50:19 AM »
I have created API key and enabled 2304 port in both servers. (I have successfully used the same source with a different destination)

Test is failing


--> export SSHPASS=************; /usr/bin/sshpass -e /usr/bin/ssh -p [port-no]-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@[ip-addr] test -d /usr/local/cwp/ && echo 'true' || echo 'false' 2>&1

Migration from other control panels / email quotas set to 0/0 MB
« on: May 02, 2020, 06:07:16 AM »
I have been trying to restore cpanel full account backups to cwp throgh cpanel restore option.

Most of the account is working fine except few issues.

One of the issue is all email quotas set to 0/0 MB.

Is this a known issue?

CentOS 7 Problems / File Manager saving 0 bytes files ( No content)
« on: May 01, 2020, 12:15:16 PM »
I have an account which was migrated from cpanel.

When i try to save any file from file manager, all the content in the file gets erased (It becomes 0 byte file)

CentOS-WebPanel Bugs / Cant delete Mysql DB after cpanel restore
« on: May 01, 2020, 05:58:30 AM »
I restored couple of accounts through cpanel backup using cpanel restore option.

Accounts working fine.

But if I try to delete a Mysql database, I get the error duplicate database. (But I am able to delete same database from admin panel)

CentOS-WebPanel Bugs / Cant login to admin after reboot
« on: April 30, 2020, 02:35:50 PM »
I was inside cwp admin.

I saw the message "New cwp ersion available"

i upgraded. it said cwp "up to date"

There was not any issues with CWP.

I rebooted the server.

Now seeing 500 error

Somewhere saw a message that it may be due to ssl and run

sh /scripts/generate_hostname_ssl

Now even SSL error is coming.

Please help

CentOS 7 Problems / Deleting the backups folder is crashing the server
« on: April 23, 2020, 05:58:43 PM »
Is the backup folder an essential part of the cwp system?

1. The space consumed inside is not counted in diskspace.

2. My VPS has got filled with files (I have disabled backups now) with monthly, weekly and daily backups.

CentOS 7 Problems / User group nobody
« on: April 13, 2020, 07:49:01 AM »
I imported a account through cwp to cwp migration.

I saw that all folders and groups had some number (1009 i guess as owner and group)

I used fix permissions for the account.

I looks fixed most folders except 'public_html'

It is showing user correctly but group set to nobody

If I save any file here, file is getting saved as blank 0 byte file


Updates / Packages not getting updated
« on: April 10, 2020, 04:59:10 PM »
I have notifications that there are 2 pending updates

cmake3-data.noarch   3.14.7-1.el7   epel   Update
cmake3.x86_64   3.14.7-1.el7   epel

When I confirm update, I get the message


Package updated successfully.

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package cmake3-data.noarch 0:3.14.6-2.el7 will be updated
--> Processing Dependency: cmake3-data = 3.14.6-2.el7 for package: cmake3-3.14.6-2.el7.x86_64
---> Package cmake3-data.noarch 0:3.14.7-1.el7 will be an update
--> Processing Dependency: /usr/bin/python3 for package: cmake3-data-3.14.7-1.el7.noarch
--> Running transaction check
---> Package cmake3.x86_64 0:3.14.6-2.el7 will be updated
---> Package cmake3.x86_64 0:3.14.7-1.el7 will be an update
---> Package python3.x86_64 0:3.6.8-10.el7 will be installed
--> Processing Dependency: python3-libs(x86-64) = 3.6.8-10.el7 for package: python3-3.6.8-10.el7.x86_64
--> Processing Dependency: python3-setuptools for package: python3-3.6.8-10.el7.x86_64
--> Processing Dependency: python3-pip for package: python3-3.6.8-10.el7.x86_64
--> Running transaction check
---> Package python3-libs.x86_64 0:3.6.8-10.el7 will be installed
---> Package python3-pip.noarch 0:9.0.3-7.el7_7 will be installed
---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                  Arch         Version              Repository     Size
 cmake3-data              noarch       3.14.7-1.el7         epel          1.5 M
Installing for dependencies:
 python3                  x86_64       3.6.8-10.el7         base           69 k
 python3-libs             x86_64       3.6.8-10.el7         base          7.0 M
 python3-pip              noarch       9.0.3-7.el7_7        updates       1.8 M
 python3-setuptools       noarch       39.2.0-10.el7        base          629 k
Updating for dependencies:
 cmake3                   x86_64       3.14.7-1.el7         epel          7.7 M

Transaction Summary
Install             ( 4 Dependent packages)
Upgrade  1 Package  (+1 Dependent package)

Total size: 19 M
Downloading packages:
Running transaction check
Running transaction test

It stops at "Running transaction test"

How to complete these updates

CentOS-WebPanel Bugs / cwp to cwp migration and Mysql
« on: April 05, 2020, 07:17:39 AM »
I have noticed the following issues.

1. For some accounts, my sql doesnt get migrated.

2. In another account, I see the following issues
      a. There were 2 databases and 2 users. In user control panel I see only databses.
      b. In main control panel I see 2 db and 1 user
      c. I am not able to associate any db with any user
3. Now, I am trying to add a new db, I cant see that in phpmyadmin

Some screenshots attached.

2 databased imported from original server

phpmyadmin from main panel shows 2 original DBs. The new DB created from user panel after migration is disassociated (arogyas_com) and not accessible from user panel

Mysql tab from main panel shows all 3 DBs, only 2 users (Other missing user is actually working. Its connected to a wordpress site which is working with password which was set in original server)

mysql manager in user panel. I am able to add DB, users etc. But If I add new users to migrated DB, the users do not show up.

CentOS 7 Problems / Hostname related issue
« on: April 04, 2020, 09:17:41 AM »
I see some hostname related issues

In Change hostname I see

Your Hostname is: and it resolves to IP: (ERROR: You don't have a valid hostname set!)
rDNS/PTR = FAILED, check with your hosting provider! FAILED

But properly resolves to

Because of this, I see errors in BIND DNS status as well

Ex: Checking with google if domain is hosted on this server: FAILED

But websites are working.

Pages: 1 [2] 3