Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've a question concerning a weird issue I never ran into before even though I am working with many servers for quite a long time.

So there is the cherokee web server that I compiled and installed with

./configure --prefix=/usr
make install

Before this 'upgrade' I deleted the old version completely (also checked with finding tools) and backed up the existing configuration which I upgraded and copied back to its original folder later.

But the basic problem are two files: cherokee-worker and cherokee-admin. Those files were not copied into /usr/sbin/ correctly. To prove my suspicion I executed some commands:

/home/paul/build/cherokee/cherokee-1.2.1/cherokee/cherokee-worker -i
  >> Version: 1.2.1

cp /home/paul/build/cherokee/cherokee-1.2.1/cherokee/cherokee-worker /usr/sbin/cherokee-worker

/usr/sbin/cherokee-worker -i
  >> Vesion: 1.0.8

The same issue happens with cherokee-admin. The most weird thing is that if I replace the actual copy of cherokee-worker in /usr/sbin/ with a symbolic link to the working file in /.../build/../cherokee-1.2.1 it works!

rm /usr/sbin/cherokee-worker
ln -s /home/paul/build/cherokee/cherokee-1.2.1/cherokee/cherokee-worker /usr/sbin/cherokee-worker
/usr/sbin/cherokee-worker -i
  >> Version: 1.2.1

It seems like a hard copy of cherokee-worker/-admin isn't working properly. But how come?

Do you know what happens? I have absolutely no clue what's going on.

Thanks for your help in advance!


share|improve this question
There is a PPA repo for Cherokee. Makes installing and updating much easier. Just look at their mailing list. –  Oli Mar 1 '11 at 20:58

2 Answers 2

You need to be root to run make install. From your question it is not clear whether you have the correct permissions when running it.

You should compile as a normal user, and install as root (also, you should use /usr/local as a prefix for everything that doesn't come from your distribution's package manager, but that's another debate):

sudo make install
share|improve this answer
I know because otherwise it had printed out an error within the make install command. Sorry but this didn't help me at all. –  Paul Engstler Mar 1 '11 at 18:13

If you have previously installed cherokee from the ubuntu repositories, then that version was installed in /usr/sbin, and your manually compiled version will probably interfere badly with that 'official' installation. Make sure to remove the packaged version before trying to install a custom built copy.

apt-get remove cherokee

As far as it goes, I would recommend always using the version in the repositories unless you have a very good reason. That way, you will get updates automatically and won't have to fight with upstream bugs yourself. http://packages.ubuntu.com/maverick/cherokee

share|improve this answer
This also didn't help me because I compiled cherokee from scratch since I am using it. I never installed it via dpkg or apt-get. –  Paul Engstler Mar 1 '11 at 18:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.