Error: fsck error on boot: /dev/sda2: UNEXPECTED INCONSISTENCY; Use fsck command for above Ubuntu bootable Issue. fsck -y /dev/sda2
How To Release Samba Connection In Windows
net use * /delete -y
How do I flush Postfix mail queue
1)To list all mail of queue, use one of the following commands. postqueue -p or mailq 2)To delete or flush all emails from Postfix mail queue using the following command. [ … ]
How to know Public IP Address
Displaying the public IP address If you want to know the public IP address of a Linux server, you can send an HTTP request to one of the following web [ … ]
Ports
In Total of 65,536 TCP and UDP ports Some of them are classified as “privileged”, those ports are below 1024, and “unprivileged”, ports are 1024 and above. Most servers use [ … ]
How to login without password in phpMyAdmin
Error: Login without a password is forbidden by configuration (see AllowNoPassword) This error occurs because phpMyAdmin is normally configured to disable passwordless login due to security reasons. Solution for this [ … ]
General Mysql Server Settings
Check below Mysql settings for several MySQL process to run without any interruption. cat /etc/httpd/conf.modules.d/00-mpm.conf LoadModule mpm_prefork_module modules/mod_mpm_prefork.so StartServers 11 MinSpareServers 20 MaxSpareServers 50 ServerLimit 1500 MaxClients 1500 MaxRequestsPerChild 10000 [ … ]
Rsync
To copy from one server to other server with incremental based we can go with rsync as shown below. rsync -avz username@IP:/var/www/html/Foldername/* 2019bkp/ &
SVN Issue [Server sent unexpected return value (500 Internal Server Error)]
Server sent unexpected return value (500 Internal Server Error) in response to POST request It was due to being added to the wrong access group in the svn server. Hope [ … ]
Manual Log Rotation
Info: With the -f, –force option the logrotate will force the rotation of files even if they do not meet the specified criteria such as minsize, age, etc. logrotate –force [ … ]