Linux

vzquota : (error) can’t lock quota file, some quota operations are performing for id

if you get error “vzquota : (error) can’t lock quota file, some quota operations are performing for id”

vzquota : (error) can’t lock quota file, some quota operations are performing for id 5000
vzquota on failed [7]

use below commands to check the process which has locked it

[root@server9 lock]# ps ax | grep vzctl
10400 pts/0    T      0:00 vzctl start 5000

#  kill -9 10400

Now restart VPS using vzctl restart 5000  where 5000 is the VEID :)

 

 

Comments Off more...

550 Access denied Invalid HELO name in outlook

If you’re getting the error ” 550 Access denied Invalid HELO” when sending out email in out look . Please double check your email setting to use the following

For outlook

  1. Click Tools then E-mail Accounts…
  2. Select “View or change existing e-mail accounts” and click Next
  3. Select the email account and click Change
  4. Click on “More settings”
  5. Select “Outgoing Server” tab
  6. Tick “My outgoing server (SMTP) requires authentication”
  7. Select “Use same settings as my incoming email server”
  8. Click Ok
  9. Press Next
  10. Lastly, press Finish

 

This will fix the issue and can send mails now :)

 

 

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


Keyboard mapping issues in ubuntu VNC

If you are facing issues with keyboard mapping in ubuntu which is the most common error currently you can use the below solution,

Find your start up script

find / -name xstartup

in file xstartup

You have to add the line export XKL_XMODMAP_DISABLE=1 before /etc/X11/Xsession or gnome-session (in case you use GNOME)

export XKL_XMODMAP_DISABLE=1

restart your vnc and all is fixed :)

Comments Off more...

error: PIX_FMT_RGBA32 undeclared

if you get the error  ” error: PIX_FMT_RGBA32 undeclared”

cd ffmpeg-php-0.x.0

vi ffmpeg_frame.c

:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32

press esc key

:wq

now type

make clean

make distclean

./configure

make && make install

now all is done and  ffmpeg is installed .

Make sure you add  extension=ffmpeg.so in php.ini

restart httpd

Check in phpinfo page and ffmeg is shown.


Comments Off more...

Image::Magick requires another module that is not installed

After installing imagemagick if you get above error in Moveable type

You can resolve it using below steps

!) install perlimagemagick

cd /root/ImageMagick-6.6.5-5/PerlMagick

$ perl Makefile.PL

$  make

$ make install

Once done use below command

/sbin/ldconfig /usr/local/lib

Comments Off more...

Cannot locate configuration program MagickWand-config

If you get the error “Cannot locate configuration program MagickWand-config”

while compiling magickwand

cd Magickwand

run autoconf

then run ./configure

Comments Off more...

error: cannot run C compiled programs

SSH to server as root

Check the mount permissions on your /tmp directory in your server.

You will  need to remount /tmp as executable.

# mount | grep /tmp
/dev/sda1 on /tmp type ext3 (rw)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)

$ mount -o remount,exec,suid /tmp

do your compiling, then

# mount -o remount,noexec,nosuid /tmp

Done now you can compile :) 
Comments Off more...

PPP module in a Openvz VPS

Check the below module on your hardware node

# modprobe ppp_async
# modprobe ppp_deflate

The below command will show the modules if installed.

# lsmod | grep ppp
ppp_deflate            39168  0
zlib_deflate           52760  1 ppp_deflate
ppp_async              45184  0
crc_ccitt               6337  1 ppp_async
ppp_generic            20165  6 ppp_deflate,ppp_async
slhc                   30561  1 ppp_generic

Now, set ppp module  on your vps from the hardware node.

# vzctl set VEID –devices c:108:0:rw –save
# vzctl exec VEID mknod /dev/ppp c 108 0
# vzctl exec VEID chmod 600 /dev/ppp

Now, restart your  VPS using below command

# vzctl restart VEID

Now

vzctl enter VEID

Check the module in vps using below command

# /usr/sbin/pppd

Comments Off more...

Install PAE kernel

If you have a centos 32 bit verison and want to add more then 4 GB of ram 32 bit does not

support more then 4GB.

So what next ?

So well there is a solution you can make 32 bit version to PAE Kernel

You can do this using yum

yum install kernel-PAE

Once installed just reboot your server.

Now your OS supports more then 4GB of RAM.

Comments Off more...

Hillock's Wiki

Unlimited Hosting Solutions
  • Categories

  • Twitter Updates

    • Calendar

      May 2012
      M T W T F S S
      « Apr    
       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