Steps to find the Installation date of a Operating system installed Linux CentOS and Red Hat

Steps to find the Installation date of a Operating system installed Linux CentOS and Red Hat

Steps to find the Installation date centos of a Operating system installed Linux CentOS and Red Hat On a CentOS or RedHat based Operation system You can easily find the date and time of the Server is installed. Method 1 :  Using, rpm command to find the basesystem and using the basesystem information we can … Read moreSteps to find the Installation date of a Operating system installed Linux CentOS and Red Hat

sar command usage and details examples

sar command usage and details examples sar command usage and details examples System Activity Report – SAR used to report on various system loads, including CPU activity, memory/paging, device load, network. Linux distributions provide sar through the sysstat package. Usage: sar [ options ] [ <interval> [ <count> ] ] Main options and reports: -b … Read moresar command usage and details examples

spamd crashed, cpanel spamd re-installation on the server

spamd crashed, cpanel spamd re-installation on the server spamd crashed, cpanel spamd re-installation on the server When you see the exim panic log @ /var/log/exim_paniclog you will see the below errors 2015-05-16 0225:49 [373954] 1YuIfl-ZHW-GP spam acl condition: error reading from spamd socket: Connection timed out 2015-05-16 0225:53 [373790] 1YuIfm-ZEs-27 spam acl condition: error reading … Read morespamd crashed, cpanel spamd re-installation on the server

/scripts/upcp /scripts/upcp logs

Its worth sharing, i was searching for this for long time. cPanel update logs are stored in the following directory path: Code: /var/cpanel/updatelogs/ The following command will display the log files in order from oldest to newest, with the most recently-modified files at the end or bottom of the list: Code: # /bin/ls -Altr /var/cpanel/updatelogs … Read more/scripts/upcp /scripts/upcp logs

Now to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery

how-resolve-error-failchk-DB_RUNRECOVERY-Fatal-error-run-database-recovery

Now to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery Now to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery When trying to install an application through yum [Yellowdog Updater, Modified] You may get an error message saying from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error message is shown below. root@server [/home]# … Read moreNow to resolve error failchk DB_RUNRECOVERY Fatal error run database recovery

Using grep command to find single and multiple words pattern

how-using-grep-egrep-command- find-single-multiple-words-pattern-linux-os

Using grep command to find single and multiple words pattern Using grep command to find single and multiple words pattern Using the simple grep command, you can able to search for a single word. but, how to search multiple words or parern of words using grep command on lunux Operating Systems. For an example,  search … Read moreUsing grep command to find single and multiple words pattern

How to disable root access to server and add another user to sudo in CentOs Ubuntu Debian

disable-root-access-server-add-another-user-to-sudo-centos-ubuntu-debian

How to disable root access to server and add another user to sudo in CentOs Ubuntu Debian How to disable root access to server and add another user to sudo in CentOs Ubuntu Debian Default administrator username is root on Linux Based Operating Systems. its easy to remember the name (root) but sometimes this default … Read moreHow to disable root access to server and add another user to sudo in CentOs Ubuntu Debian

Creating ssh user and provide permission only to a specific folder

creating-ssh-user-provide-permission-only-a-specific-folder

Creating ssh user and provide permission only to a specific folder Creating ssh user and provide permission only to a specific folder This process is simple and easy. First You need to login to your vps or dedicated server. Once logged in, create a user by the below command and set password for the created … Read moreCreating ssh user and provide permission only to a specific folder