Aarvi

Linux

Find Brand of Hard disk in Linux server

Want to fine the find the band name or serial number of the hard disk in Linux sever ?           You just need one package called  hdparm which can be installed using below command #yum -y install hdparm                                                                                                                  To check hard disk specification run below command # hdparm -I /dev/sda Below is the result […]
Read more

Fine spammer account in cpanel server

Getting sick of spammers in server and IP blacklisting ?  To find the spammer account in server you need to SSH to server and run below command awk ‘$3 ~ /^cwd/{print $3}’ /var/log/exim_mainlog | sort | uniq -c | sed “s|^ *||g” | sort -nr This will show the the path of the user account […]
Read more

File Manager Permission in cPanel

Having issues with cpanel Filemanager where you can write on a file with 444 permissions ? The issue is with X3 theme . You need to modify below line in file vi  /usr/local/cpanel/base/frontend/x/files/changeperm.html And see if you see the line: cpanelFileman= change it to  without space cpanelFileman=      
Read more

Error from Park wrapper: Sorry, you do not control the domain

Are you getting below error ?? Unable to remove add-on domain from cPanel – Error from Park wrapper: Sorry, you do not control the domain Remove the entries for the domain from the following files. ==================== /var/cpanel/users/username                                                                                        Run Script — /scripts/updateuserdomains /scripts/killdns  domain.db /usr/local/apache/conf/httpd.conf /etc/localdomains /etc/userdomains /etc/trueuserdomains /etc/trueuserowners /etc/valiases/domain.com /etc/vdomainaliases/domain.com /etc/vfilters/domain.com  /var/cpanel/userdata/username – Remove the parked […]
Read more

Change the time zone for my webmail?

If you want to change the timezone for your webmail as per your region onn your server, please follow the below steps: 1. Log into SquirrelMail/Horde/Roundcube webmail client with the user that you would like to change the time zone for. 2. Access the following option: In SquirrelMail: Click on “Options” ->  “Personal Information” In […]
Read more

/bin/rm invalid number of arguments

Getting error in invalid number of arguments when deleting large number of files in directory ? The error is due to bash shell has a limit of 2621440 to the number of arguments you can pass to a command.  This can be verified by, [root@hostab ~]# getconf ARG_MAX 2621440 Solution to this problem is to use […]
Read more

Restart a Linux Machine

If you have entered command reboot and machine is not rebooting even after extended time You can use below command to restart the server immediately which is equivalent to pressing a restart button physically.   #  echo 1 > /proc/sys/kernel/sysrq #echo b > /proc/sysrq-trigger
Read more

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service