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.
1
Addons / Re: Joomla uninstall remove from addons panel
« on: July 03, 2024, 07:36:24 AM »Try looking here:
/home/account/.conf
For an add-on WordPress install, I have this conf file:
/home/account/.conf/.addons_wp
So maybe you have
/home/account/.conf/.addons_joomla
and can just delete that conf file.
Hello. As Overseer mentioned you can just remove files and database manually and then just remove the Joomla or WordPress installation config file. That should work normally.
2
MySQL / Re: MySQL Remote Connection
« on: April 25, 2024, 09:10:18 AM »
Perfect.
This tutorial worked like a charm.
CWP7 rocks!!!
Thank ozgur
This tutorial worked like a charm.
CWP7 rocks!!!
Thank ozgur
3
Updates / Re: After the last Yum updates user can't login to cpanel
« on: October 27, 2023, 08:47:58 PM »Hi,
Sure it comes from the updates? It is not a general problem, as I can still login to the user Panels (tested from outside my home network)
Do you make backups from your servers? Are you able to restore a point before the update or make a backup of the other server, then make the updates and try if it is the same problem?
Hello Painkiller88. Yes, that was for sure from the latest updates as I can easily compare it with the other servers.
I finally managed to fix the issue by restarting the containers.
That was the last thing I usually tried as I needed to keep my servers up.
Thank you for your reply and feedback as It certainly helped me a lot and will save some time from other administrators.
4
Updates / Re: Aftera the last Yum updates user can't login to cpanel
« on: October 27, 2023, 03:35:13 PM »To the server that I have not run the following updates cpanel still works normally for users.
Code: [Select]
Package Name Version Repository Action
bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind-libs-lite.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind-libs.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind-license.noarch 32:9.11.4-26.P2.el7_9.15 updates Update
bind-utils.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
bind.x86_64 32:9.11.4-26.P2.el7_9.15 updates Update
ca-certificates.noarch 2023.2.60_v7.0.306-72.el7_9 updates Update
kernel-headers.x86_64 3.10.0-1160.102.1.el7 updates Update
kernel-tools-libs.x86_64 3.10.0-1160.102.1.el7 updates Update
kernel-tools.x86_64 3.10.0-1160.102.1.el7 updates Update
kernel.x86_64 3.10.0-1160.102.1.el7 updates Update
libssh2.x86_64 1.8.0-4.el7_9.1 updates Update
nspr.x86_64 4.35.0-1.el7_9 updates Update
nss-softokn-freebl.x86_64 3.90.0-6.el7_9 updates Update
nss-softokn.x86_64 3.90.0-6.el7_9 updates Update
nss-sysinit.x86_64 3.90.0-2.el7_9 updates Update
nss-tools.x86_64 3.90.0-2.el7_9 updates Update
nss-util.x86_64 3.90.0-1.el7_9 updates Update
nss.x86_64 3.90.0-2.el7_9 updates Update
python-perf.x86_64 3.10.0-1160.102.1.el7 updates Update
5
Updates / Re: Aftera the last Yum updates user can't login to cpanel
« on: October 27, 2023, 03:32:24 PM »
Already tested the following solution but the problem remains.
Code: [Select]
cd /scripts
sh generate_hostname_ssl
sh cwpsrv_rebuild_user_conf
6
Updates / After the last Yum updates user can't login to cpanel
« on: October 27, 2023, 03:30:04 PM »
After the latest CWP updates none of my users can login to cpanel.
The error is the same "Failed".
Is there a fast fix for the problem?
Thank you in advance.
The error is the same "Failed".
Is there a fast fix for the problem?
Thank you in advance.
7
CentOS Configuration / Re: How to configure SpamAssassin
« on: May 28, 2023, 10:04:38 AM »@Freespirits_GR_Host
Thank you so much for this easy guide One thing is that the AmaVis service is disabled in my CWP instance by default, does this configuration need that to be enabled? Do I really need ClamAV & AmaVis side by side?
TiA
Hello
AmaVis is a very important tool to the whole implementation as it helps to block spam, viruses and malware. You can find more information to the following links to understand why it is critical to have it installed
https://wiki.archlinux.org/title/Amavis
https://en.wikipedia.org/wiki/Amavis
8
CentOS Configuration / Re: How to configure SpamAssassin
« on: May 21, 2023, 07:25:54 PM »I can't find this line in the master.cf file.
Would you suggest I add it to the bottom?Code: [Select]spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
That is exactly what I suggest. . You should add it to the bottom of the file after the SPF Check.
9
Updates / Re: Bugs at 0.9.8.1156
« on: May 20, 2023, 02:15:24 PM »
One more very important thing to check is the following parameter
It should be empty if your partition is ext4
or it should be
if your partition is xfs
In case you messed up with that the use putty or filezzila and edit the following file
Lastly run the following command to have your server rock again
Hope that will save the day to anyone having such problems
Code: [Select]
Quota Type:
It should be empty if your partition is ext4
or it should be
Code: [Select]
Quota Type:xfs
if your partition is xfs
In case you messed up with that the use putty or filezzila and edit the following file
Code: [Select]
/usr/local/cwp/.conf/quota_type.conf
Lastly run the following command to have your server rock again
Code: [Select]
/scripts/cwp_api account update_diskquota_all
Hope that will save the day to anyone having such problems
10
Updates / Re: Bugs at 0.9.8.1156
« on: May 20, 2023, 12:35:29 PM »
For the user remove error seems like a server configuration as to the other servers I can remove and add users normally.
Solution
1. From putty use the following command
2. Then remove username folder
3. Delete the user from CentOS Web Panel (CWP) so that DNS records and other data can be removed.
Reason why that happened and solution.
Checking the quota to this server I noticed that I had no grace time so I used the following command to set grace time to 7days
And now everything is back to normal.
Solution
1. From putty use the following command
Code: [Select]
cd /home
2. Then remove username folder
Code: [Select]
rm -rf username
3. Delete the user from CentOS Web Panel (CWP) so that DNS records and other data can be removed.
Reason why that happened and solution.
Checking the quota to this server I noticed that I had no grace time so I used the following command to set grace time to 7days
Code: [Select]
edquota -t
And now everything is back to normal.
11
Updates / Re: Bugs at 0.9.8.1156
« on: May 20, 2023, 11:22:21 AM »
After you create any demo account to see the above issues, try to delete it to see the following error
I am running the CWPRo and never had problem with updates but those bugs are critical.
Code: [Select]
User Account Removal FAILED! User account folder still exists!
I am running the CWPRo and never had problem with updates but those bugs are critical.
12
Updates / Bugs at 0.9.8.1156
« on: May 20, 2023, 11:19:02 AM »
Hello
After the latest update, even if I add a new user, the account is not usable.
The FTP created and the cpanel is not working for new users.
It is very easy to recreate the issue. Create a demodomain.com and try to connect with ftp or use the cpanel. (no need to register domain just use the server name for filezilla.)
If I try to delete the same user then I get an error account was not able to delete.
Also clamscan is getting more cpu and ram consumption as it worls always to 100%. That is not a new issue but has to do with previous updates.
Thank you in advance.
After the latest update, even if I add a new user, the account is not usable.
The FTP created and the cpanel is not working for new users.
It is very easy to recreate the issue. Create a demodomain.com and try to connect with ftp or use the cpanel. (no need to register domain just use the server name for filezilla.)
If I try to delete the same user then I get an error account was not able to delete.
Also clamscan is getting more cpu and ram consumption as it worls always to 100%. That is not a new issue but has to do with previous updates.
Thank you in advance.
13
CentOS 7 Problems / Re: Disk Quota
« on: November 04, 2022, 07:04:08 AM »
have you check the reseller part ?
Hello PakPos,
Could you please give me a scenario for your case so that i can test it for you creating the same package and the needed quota?
14
CentOS 7 Problems / Re: Disk Quota
« on: November 03, 2022, 06:23:10 PM »
After testing to a non production VPN I managed to test everything and really the solution for the email disk quota and the packages works as stated to the wiki.
The last mail i got was the following
Thank you guys.
The last mail i got was the following
Quote
<info@fspirits.com>: host testerver.freespirits.gr[private/dovecot-lmtp] said:
552 5.2.2 <info@fspirits.com> Not enough disk quota (in reply to end of
DATA command)
Thank you guys.
15
CentOS 7 Problems / Re: Disk Quota
« on: November 03, 2022, 04:15:28 PM »if you have emails on the same partition as /home then they use the same quota and users can't get over the quota
I have moved all the mails from the /var/vmail directory to /home/vmail according this wiki --> http://wiki.centos-webpanel.com/move-varvmail-to-another-partition but again the user can send and receive mail normally.
Should the mailboxes for every account set to unlimited to follow the rules or have another configuration?
I am struggling to find a solution to this issue as at the same wiki there is the following note
Quote
MAIL DISK QUOTA (postfix vmail)
Please note that if you want quota to work for mail then it needs to be on the same partition as user home files.
Is that really works or this is just a false statement and maybe a future feature?