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 - Wonder

Pages: [1] 2
Installation / Backup cpanel to CWP?
« on: February 09, 2022, 02:29:31 PM »
I transfer some sites from cpanel to CWP trough cPanel-->CWP Migration, in this case, CWP contact direct with server with cpanel.

But now, I have a old backup of a old site and I want re open this site, I have a backup of this old account of cpanel, but not have this format: cpmove-{USER}.tar.gz

The format are:

This format is valid for option cpanel account restore?

Thanks and regards.

Since 2 days ago, I have this problem, if execute manually /scripts/update_cwp or simple, wait to anacron execute this, my conf files of my vhosts are revert to default, exact that, If I rebuilt configuration.

This cause to me the lost trafic in 2 nights, because, in my DNS (I use vpn) I have set the ipv6 and in my conf file of vhost I set ipv4 and ipv6 but the dns to my site point to ipv6.

When this update are execute, this files return to stock files and lost all changes, include, my ipv6 add configuration.

A big problem for me because I don't want point to ipv4, I want point to ipv6 like this lasts months...

E-Mail / spamassassin.service: Failed with result 'start-limit-hit'
« on: August 01, 2021, 08:46:35 PM »
I put this post here, mail section, because although it is from spamassassin, it is the most suitable section that I see.

I have this problem, for a long time, spamassassin only lasts a few hours, the most I have managed to work has been 3 or 4 days in a row.
At the moment that, for whatever reason, it stops working (according to the line of the subject and log that I will put below) I can no longer solve it in any way, if I do a restart, it takes just a few minutes.

I have done many tests, even another vps that I have without use, I have transferred the entirety of this server, so they have exactly the same accounts, same mails ... everything is the same, even both vps are the same (same cores, same ram) except that one is intel, the other epyc (it is the one that fails).
I have even transferred this account to another vps that has 2 accounts and added the server epyc (which are 2 accounts) in total 4, and it does not fail either.

To understand us:
Server1: Epyc (two accounts, is the one that gives me the problems).
Server2: Intel: Not used, I have transferred the whole of server1 and it does not fail.
Server3: Intel: With use of 2 accounts, I have added by transfer the 2 accounts of server1, and this does not fail.

So that they always have the same mails, through rsync I transfer the mails from server1 to server2 and server3.

I have followed the spamassassin installation wiki, also in rebuild from cwp, with Amavis / Clamd and without it.
Always, sooner or later, it ends up failing.

The other difference between server1 and server2 and server3 is that server1 is with php-fpm, the other two are not.

As I comment, same cores, same ram, same s.o. all equal.

I doubt that the cause is because it is an Epyc instead of an Intel ...

This is the log (I put 3 logs).

Code: [Select]
● spamassassin.service - Spamassassin daemon
   Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit-hit) since Thu 2021-07-15 14:00:49 CEST; 6h ago
  Process: 390132 ExecStart=/usr/bin/spamd $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 390132 (code=exited, status=0/SUCCESS)

Jul 15 14:00:49 systemd[1]: spamassassin.service: Succeeded.
Jul 15 14:00:49 systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Jul 15 14:00:49 systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 9444.
Jul 15 14:00:49 systemd[1]: Stopped Spamassassin daemon.
Jul 15 14:00:49 systemd[1]: spamassassin.service: Start request repeated too quickly.
Jul 15 14:00:49 systemd[1]: spamassassin.service: Failed with result 'start-limit-hit'.
Jul 15 14:00:49 systemd[1]: Failed to start Spamassassin daemon.

● spamassassin.service - Spamassassin daemon
   Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit-hit) since Sun 2021-08-01 09:02:50 CEST; 1min 33s ago
  Process: 3493 ExecStart=/usr/bin/spamd $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 3493 (code=exited, status=0/SUCCESS)

Aug 01 09:02:50 systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Aug 01 09:02:50 systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 115.
Aug 01 09:02:50 systemd[1]: Stopped Spamassassin daemon.
Aug 01 09:02:50 systemd[1]: spamassassin.service: Start request repeated too quickly.
Aug 01 09:02:50 systemd[1]: spamassassin.service: Failed with result 'start-limit-hit'.
Aug 01 09:02:50 systemd[1]: Failed to start Spamassassin daemon.

● spamassassin.service - Spamassassin daemon
   Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit-hit) since Sun 2021-08-01 20:26:21 CEST; 2h 6min ago
  Process: 57453 ExecStart=/usr/bin/spamd $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 57453 (code=exited, status=0/SUCCESS)

Aug 01 20:26:21 systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Aug 01 20:26:21 systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 5916.
Aug 01 20:26:21 systemd[1]: Stopped Spamassassin daemon.
Aug 01 20:26:21 systemd[1]: spamassassin.service: Start request repeated too quickly.
Aug 01 20:26:21 systemd[1]: spamassassin.service: Failed with result 'start-limit-hit'.
Aug 01 20:26:21 systemd[1]: Failed to start Spamassassin daemon.

If when this happens, I run this statement:
Code: [Select]
systemctl reset-failed spamassassinWorks again for a few hours, then crashes again.

Any ideas?

Thanks in advance.

E-Mail / What best way for enabled and configure spamassasin.
« on: June 29, 2021, 11:19:04 AM »
I have enabled and auto start SpamAssasin like servide, but view that, I received a lot spam.
I search for the forum, I view this link:
But I think is some old.

I view this guide / article in the wiki cwp:
Is from 2019, is good this guide or better made some modification about this?

Thanks in advance.

E-Mail / Transfer server from cPanel, problems with mail-SSL
« on: June 20, 2021, 01:07:18 AM »
I know the post is long, but for me it is important.

I have been using CWP for a few months, in principle, on test servers, by the time this day arrives.
Yesterday I started a transfer from cPanel to CWP Pro, this server is no longer testing, it is in production.
All good except the mail ...
The dns are in cloudflare, but both the hostname and the mail field are grayed out, that is, not proxy and they point directly to my VPS.
I create A register with the name "mail" and the ip of my VPS.
In MX Record I indicate:
I ping and it returns the ip of my VPS.
I use Thunderbird, I open it and .... it does not connect, no error but it stays connecting all the time ....
I check SSL, despite enabling LetsTry in mail service, it keeps crashing.
If I try to send an email it tells me that the self-signed server is invalid and shows me the CWP ...
Through the CWP panel I make a change of hostname, I indicate exactly the same as before.
Everything remains the same...
I want to change my mail server in Thunderbird from to (which is the hostname), voila, then it works !!
Return to ... stops working ...

The strange thing about all this is that, in cPanel it works, I just change the ip in the cloudflare dns records and it works perfectly through
(Right now I have the two VPS's, one with cPanel the other with CWP Pro).

The answer would be: Leave the hostname configured.

But no, I need it to work with, I manage the VPS, the web is not mine, and the owners of the web need it to work this way.

Apart from that, I do not understand where the problem is, the SSL generated by Lets is only for the hostname?
I have activated the mail in SSL Admin services and it keeps failing.

Where is the problem? I'm starting to go crazy ... and I need to fix it relatively quickly or else you'll have to follow that site in cPanel ...

The fact is that, in one of the test VPS with CWP if I tried this and if I remember correctly, it worked.

I have read some threads, confirm me if I am not mistaken, CWP does not allow it? Doesn't allow SSL with, only with the hostname?

Thanks and regards.

Installation / Restore cPanel account / transfer mails
« on: June 14, 2021, 06:27:32 PM »
At the moment, I have 4 servers with CWP and I am going to move a client from a cPanel to CWP.
I have performed the restoration of the other cPanel accounts and I saw that it was better not to select the database and thus everything else was restored well (then I restored the database manually) since the database was large.

Well, this account of a client of mine, their email accounts occupy ... I estimate that about 75 gigabytes in total, an outrage.

And here my question, would it be possible to restore cPanel account, excluding email accounts, then create them by hand, and with rsync transfer all emails from the server with cpanel to the new one with CWP?

Thanks in advance.

E-Mail / Problem mails from server / postfix.
« on: June 05, 2021, 11:38:38 PM »
For a few days I have detected that my server does not send me emails from root (ssh access, firewall warning) ... after reviewing several things I find that, if I execute:
postconf -m
Mysql does not appear (in other servers that I have it does appear, I see this after executing tail -n 30 / var / log / maillog and looking for info online).
So I install postfix-mysql and after restarting postfix, it works again but .... now I have a different version of postfix than in the other servers that I have.
If I run the cwp update script:
sh / usr / local / cwpsrv / htdocs / resources / scripts / update_cwp
I get this error:
Redirecting to / bin / systemctl restart cwpsrv.service
Redirecting to / bin / systemctl restart httpd.service
Redirecting to / bin / systemctl reload httpd.service
curl: (22) The requested URL returned error: 404 Not Found
error: skipping - transfer failed
Redirecting to / bin / systemctl reload httpd.service

On the other servers, of course, I don't have that error.

If I run yum remove postfix-mysql on the other servers it tells me that it is not installed, but in this one if I uninstall it, after that, I have the mail problems again.

It is as if it had been installed through a different channel than the others (channel other than cwp).

All my servers are the same, same characteristics, same centos version, they are identical in everything, and I have not done anything about it.

Thanks in advance.


After install cwp, always, when I go to access to phpmyadmin from cwp, automatic made login without need insert password root.

A few hours, cwp was updated phpmyadmin to 5.0.4, after this update, after 1440 seconds need insert password root when access to phpmyadmin.

After search info, are a file we can edit for this, but if...after install cwp I don't was need login every time, now I think its possible not for this config...


Backup / How change the time of backups?
« on: December 16, 2020, 11:29:47 PM »

I search info about this, the backups (old module, not new beta backup) its executed at the same time.

I view this:
crons jobs for backup are here :

you can modify according to your needs.
0 3 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
0 3 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php
If I edit the file /etc/cron.daily/cwp and add at the start line like above, not execute at the time and received, in the anacron info, a error in the lines of this file.

Any suggestion?

Thanks and regards!

Updates / Anacron / system update / notifications disabled modules.
« on: December 16, 2020, 11:26:40 PM »
I asked the question in another subforum and I think that it was the wrong subforum and my question was wrongly formulated.

Anacron is executed every day at the same time, when it is executed, we receive a notification email, and here I have a couple of doubts:

Is it possible to change this schedule? It just takes when there is more influx of people in one of the sites.

The other, and more important for me, performs a check / notification of updates and not enabled modules (in my case, mod_security for example), every day I have to close those windows in the CWP GUI, it is possible to avoid this check of modules not activated or not appearing every day? I am aware that they are not enabled and for now, I want to leave it that way.

Thanks in advance and best regards!


For start, sorrys, I don't know how indicate this :)

In one of my server I have configured mail notification in Email Alerts (module=notifications).

Well I view that, this send the email at the same time in all servers that I have configured this, more or less about 03:41 AM (this notification indicate warnings of Security Issue like I have disabled ModSecurity or Hidden Processess).

-Its possible disabled this notifications of Hidden Processes, monit monitoring...? But not in mail ( I can disabled this mails ) but in the cwp, because, all days, appears again the box with this notification and I need close this all days...

I view that, Anacron job, also send mail at the same time, I deduce, correct me if I'm wrong, that just at that moment, CWP performs a check and restarts httpd, I view in the mail that, restart and reload httpd service.

Its possible disabled the restart httpd servide? Or if not, change this time for this operation. At this time, I have some persons in site, the restart is quickly but I preferer set other time for this action.

Sorry, I know are 2 doubts in this post, but I post in same post because have relation.

PHP Selector / PHP Selector not work
« on: December 09, 2020, 12:04:42 AM »
Recently, yesterday, I install 3 cwp's and I can swtich to php 7.1.33 (main php version, not for differents domains).

Since a few hours ago, I install a new centos (same version than the other 3) and reinstall cwp some times, but never I can change my main php version 5.6.3 to 7.1.3.

I know that, I can download and install manually but...I don't need more than 1 version of php, in this days I try this new panel for me for transfer all my vps to this panel, for me, its strange, yesterday, I can change my main version in 3 vps, today, I try about 3, 4 o 5 times (fresh installs always of centos) and I can't.



After my various problems to be able to have the web operational through ipv6 and to be able to solve it, I have decided to make this small mini guide.

After installing Centos 7 or 8, in my case it comes in a configuration file that ipv6 is disabled, a priori, in a clean installation of centos 8 it is activated by default, but it does not hurt, perform these checks / adjustments.

Code: [Select]
nano /etc/sysctl.confAnd add at the end of file:
Code: [Select]
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.all.disable_ipv6 = 0
Its possible you view some line like the above about net.ipv6.... delete and replace for this.

Save the file.

Code: [Select]
nano /etc/sysconfig/networkAnd add this line:
Code: [Select]
NETWORKING_IPV6=yesAnd now, restart:
Code: [Select]
shutdown -r now
After this, we need add ipv6 AAAA record, in my case, in main panel (ip:2031) I can't, impossible for me.
I can add this ipv6 record in control panel (ip:2083), in this panel, I can add ipv6 record without problem.
We add the ipv6 record.

After this, we go to edit vhost for accept connection via ipv6.

WebServer Settings-Webservers Conf Editor.

Then, click in edit in the

Search the lines (are 4) that start with:
Code: [Select]
<VirtualHost THE IP4:80>And just add this:
Code: [Select]
<VirtualHost [THE IP6]:80 THE IP4:80>Note, important enter the ipv6 with []
In this file, are 4 lines for add this.


Now, the same with the file
In this case, we add:
Code: [Select]
<VirtualHost [THE IP6]:443 THE IP4:443>Also, in my case, are 4 lines for add the ipv6.

Then, restart apache:
Code: [Select]
systemctl restart httpd
This is all, I wait can help to some user.


It is strange (at least for me) what happens to me. I did installation under centos 7 and cwp for centos 7, all correct.

I have done the same but, centos 8 (and cwp for centos 8), after configuring everything, maybe I missed something, I don't know, but the site cannot be accessed.
When I try to access, it tells me this message:

The request URL ( and / or ( was not found on this server

I have set permissions for my domain user, it has not solved anything.

Webserver - Domain Conf, selected for my domain.

Nothing solves.

I have accessed via ftp, the only "strange" thing I see are the properties of the public_html folder, user 1000 group 65534.

I should point out that it was an import from a cPanel account (but I also did it like this in centos 7 with cwp for centos 7 and it worked fine).

Can you think of something?

Thanks in advance.

Today, I install centos 8 and CWP for centos 8, I upload my cpmove file, select cPanel Account Restore and select public_html files and mails accounts.
At the finish indicate all ok but when access to mail accounts are empty.
If I enter via SSH, in /VAR/VBMAIL are all mails accounts.
I try to connect, but not connect, I create one account then, I connect and appears all mails.

This procedure is the same that I use with centos 7, and with this, restore well all mail accounts.

Thanks and regards.

Pages: [1] 2