Skip to main content

OnlineSupport4u

How to find the max inode using folder in server in linux ?

By PrasadNaik
September 27, 2013

Inodes are the important feature on any server which can sometimes be overused by clients in shared hostingTo find the user or folder using max inodes , SSH to server as root #cd /home     ; Change directory to /home run below command to see the max using inode account This will show the max inode […]

Read More

Find Brand of Hard disk in Linux server

By PrasadNaik
September 27, 2013

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

By PrasadNaik
September 27, 2013

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

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression

By PrasadNaik
September 3, 2013

Getting this error on Firefox 3.x browser ? Below is the solution for this issue which does fix this issue Clearing cache and cookies solves the problem! (Tools -> Clear Private Data; it is enough to select only cache and cookies)    

Read More

recreate /etc/userdomains in cPanel server

By PrasadNaik
September 2, 2013

Deleted or corrupted  file in cpanel server for /etc/userdomains ?  Use below 2 commands to by logging in as root to  restore the file # /usr/local/cpanel/bin/userdata_update and then run #/scripts/updateuserdomains    

Read More

File Manager Permission in cPanel

By PrasadNaik
August 26, 2013

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

By PrasadNaik
August 25, 2013

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?

By PrasadNaik
August 25, 2013

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

ERROR 1018 (HY000): Can’t read dir of ‘./dbname/’ (errno: 13)

By PrasadNaik
August 20, 2013

When I run the following command at mysql> I get an error which read as follows: mysql> use dbname; mysql> show tables; ERROR 1018 (HY000): Can’t read dir of ‘./dbname/’ (errno: 13) Solution to this is to set right permissions #cd /var/lib/ chown mysql.mysql  mysql -R This fixed the issue and can run any commands […]

Read More
1 23 24 25