Cpanel::Exception::Database::Error/(XID uzrgjm) The system received an error from the “SQLite” database “/var/cpanel/modsec/modsec.sqlite”: SQLITE_CORRUPT (database disk image is malformed)
at /usr/local/cpanel/Cpanel/DBI.pm line 200...
Failed to serialize zone file. Error was “There was an error while loading the zone for DOMAIN.com. Please correct any errors in this zone manually and try again. The exact error from the parser was: expected valid serial, line 4
Check that email address use a dot “.” inplace of “@”...
Login into WHM
Go to Plugins > ConfigServer Security & Firewall
Now click on “Firewall Configuration” button
Search for "LF_EMAIL_ALERT " & “LF_PERMBLOCK_ALERT”
Click turn "Off" buttons
Click “Change” at bottom of the page
On next screen click “Restart csf+lfd” to restart CSF & LFD services
You are receiving following error messages on your server with CSF installed:
Check that rsyslog is running
# service rsyslog status
If rsyslog is not running then try to restart it
# service rsyslog start
You can manage rsyslog at WHM >> Service Configuration >> Service Manager"
Other Usage in the cpanel Disk Space (Quota) is calculated by files that are located outside of the /home directory and are owned by that user.
Files can be in /tmp directory, cache files, mailman or backups etc.
Change USERNAME with your user
# find / -user USERNAME
# find / -user $USER >...
Cpanel error :
The response from the remote server was:
550 The mail server could not deliver mail to firstname.lastname@example.org. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
- Where the domain and MX records are pointing?
Run in shell : dig mx...
If you are on the cpanel server
chown -R username:username /home/<username>/public_html
It will give the ownership to your user.
Also check the /uploads folder permission, try it with 755 then 777.
In PLESK you have to check read/write permission at
Plesk > Domains > example.com >...
You can delete the user without deleting any of their files and folders, as root run:
# userdel username
username is the user you have created.
You can delete the user's files with the user account by running this command as root:
# userdel -r username
Steps to Create a New Sudo User on Centos
Log into the server as the root user.
# ssh root@server_ip_address
Add New System User in CentOS, replace username with name of new user.
# adduser username
Use the passwd command to update the New User's password.
# passwd username
Add User to...
When you open WHM >> Security Center »ModSecurity Tools »Hits List and gets the following issue :
"/var/cpanel/modsec/modsec.sqlite”: SQLITE_BUSY (database is locked)
Try to run in SSH
If problem persists then run :
# /scripts/restartsrv_tailwatchd --stop
To view the current hostname, enter the following command:
In CentOS 7 to change the hostname and use the command hostnamectl
Manual method to setup a CentOS 7 hostname is to edit the /etc/hostname file and type your new hostname
System reboot is necessary to apply new hostname.
If you would like to find the files greater then 100mb in current directory run :
Command to find top 5 directories in /home directory :
Command to find top 5 directories and files in /home directory :