How to fix Webmail Roundcube Server Error upon doing the search
Most likely some dovecot files under the email box have been broken
Go ahead and remove them and recheck
cd /home/user/mail/domain.com/info rm -fv dovecot*
Then recheck… Read the rest
Notes
Most likely some dovecot files under the email box have been broken
Go ahead and remove them and recheck
cd /home/user/mail/domain.com/info rm -fv dovecot*
Then recheck… Read the rest
Disable the abrtd service
service abrtd status systemctl stop abrtd systemctl disable abrtd systemctl daemon-reload
At this step you can get when accessing SSH
‘abrt-cli status’ timed out
Check yum:
yum list abrt*
And remove:
yum remove abrt*
Run cagefs update if any:
cagefsctl --force-update… Read the rest
Check Tweak Settings, should be ‘0’
cat /var/cpanel/cpanel.config |grep skipmailman
skipmailman=0
Deprecated scripts
/scripts/reinstallmailman /usr/local/cpanel/bin/mailman-install --force
Deprecated scripts:
/usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.mailman installed /usr/local/cpanel/scripts/check_cpanel_rpms --fix --targets=mailman
The latest way to reinstall mailman on cPanel server:
rpm -e --nodeps cpanel-mailman /usr/local/cpanel/scripts/check_cpanel_rpms --fix --targets=mailman
Run upcp:
/scripts/upcp --force
systemctl start mailman.service… Read the rest
Reduce size using truncate command
Run for a second:
yes "some text" > testfile.txt
Reduce size using truncate:
truncate -s 50M testfile.txt
Create 50M file using fallocate command
fallocate -l 52428800 testfile.txt
To be more exact using inline arithmetic:
fallocate -l $((50*1024*1024)) testfile.txt… Read the rest
Install needful packages if you haven’t yet
yum install wget vim perl-libwww-perl.noarch perl-Time-HiRes -y
Download and install CSF
cd /usr/src/ wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh
Run test:
cd /usr/local/csf/bin/ perl csftest.pl
Disable default Centos 7 firewall if you have it installed
systemctl stop firewalld systemctl disable firewalld
Disable testing mode
cd /etc/csf/ vim csf.conf… Read the rest