Database connection error: RoundCube in cPanel

DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator. You’ve to check number of things for troubleshooting this. Please do follow the steps below: 1, Check your MySQL is running or not. From the command-line you can follow the below pasted command: /etc/init.d/mysqld status If it’s running the output should […]

See More

Mass ownership and permission change – Linux – Find command

How to change the permission of files and folders? Use chmod along with -exec to change the permissions. # find ./ -type f -exec chmod 777 {} \; this command changes all files permission to 777 in PWD. Use “-type d” for directory! How to change ownership? That’s simple. Use the chown command within the […]

See More

Su: Cannot set user id: Resource temporarily unavailable

Error details:    # su – Password: su: cannot set user id: Resource temporarily unavailable Solution: Edit (add) or change the following values in /etc/security/limits.conf # vi /etc/security/limits.conf ————- * soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard nofile 65536 ————- It should be okay now!

See More