web analytics

Category Troubleshooting

configure: error: Cannot find libsphinxclient headers ERROR: `/tmp/pear/temp/sphinx/configure –with-sphinx’ failed

Installing SphinxClient
———————————
In a linux machine, you can install sphinx client using pecl install sphinx

But when I tried, it was hitting the error as follows:

configure: error: Cannot find libsphinxclient headers
ERROR: `/tmp/pear/temp/sphinx/configure –with-sphinx’ failed

After a lot of googling, I was about to solve it which is explained below.

1) Download sphinx source from sphinx site
    cd /usr/local/src/
    wget http://sphinxsearch.com/downloads/accept.php?file=sphinx-2.0.4-release.tar.gz

2) Untar it
   tar -xzvf sphinx-2.0.4-release.tar.gz

3) cd sphinx-2.0.4-release/api/libsphinxclient

4) ./configure

5) Once ./configure succeeds it is a common procedure to run make, make install to build the binaries. But here, don’t do it.

6) Instead, install a package named check...

Read More

Ubuntu Error: “No init found. Try passing init= bootarg”

It was my work time and I was all set to login. I logged in to my ubuntu 10.04 and took the applications one by one and soon the machine was all stuck. I waited some time to see if it corrects itself, but there was no luck. I then rebooted the machine and thought of taking everything again. To my surprise and making me tensed, was a black screen with the following error.

mount: mounting /dev/disk/by-uuid/***************************** on /root
failed: Invalid argument
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target file system doesn’t have /sbin/init
No init f...

Read More

OS Template not found in rebuild list

Sometimes, in hypervm, when you click on rebuild option, all available OS templates may not be listed. Here is what you can do to correct it.

1) Login to hypervm

2) Search the VPS and enter into its controlpanel

3) Click on OSTemplate list

It will list all available templates and you can select the required one and move it to the box right to it. After that when you click on rebuild option, that template will be listed there.

Read More