Archive for March, 2011

Repair all Mysql database at one go in Linux server

To repair all database at one go you need to run below commands,

mysqlcheck –all-databases -r #repair
mysqlcheck –all-databases -a #analyze
mysqlcheck –all-databases -o #optimize

Comments Off more...

Manager of pid-file quit without updating fi

Error   “Manager of pid-file quit without updating fi”

If you get this error.

# ps -ef | grep mysql

# killall  mysql

go to cd /var/lib/mysql/mysql

myisamchk -r *.MYI

Once done  /etc/init.d/mysql restart

 

Comments Off more...

/bin/sh: bad interpreter: Permission denied

If you receive the above error while compiling any package , it means  that the /tmp partition is mounted in “noexec” mode and that you do not have permissions to execute anything under /tmp partition.

Execute the “mount” command and you will see something like:

root@server [~]# mount
/dev/sdax on /tmp type ext3 (rw,noexec,nosuid)

To mount the /tmp partition in rw mode, execute:

root@server [~]# mount -o remount rw /tmp

Now, you can execute the “pecl” command to install the package you like. Once done, you can remount /tmp with noexec mode again:

root@server [~]# mount -o remount rw,noexec,nosuid /tmp


Hillock's Wiki

Unlimited Hosting Solutions
  • Categories

  • Twitter Updates

    • Calendar

      March 2011
      M T W T F S S
      « Jan   Jun »
       123456
      78910111213
      14151617181920
      21222324252627
      28293031  
    • SMS Text Message

      Phone number

      Carrier

      *Standard text messaging rates may apply from your carrier*
    • © 2011 Hillock Hosting. All rights reserved
      Jarrah theme by Templates Next | Powered by WordPress