Page 1 of 1

How to test that revServer has installed

Posted: Sat Dec 04, 2010 10:48 am
by Clarkey
Hi folks,
I'm trying to install revServer on my company linux (Ubuntu) VPS hosted server and I'm not sure whether revSever is installed and configured correctly.

I have followed the .htaccess method on this lesson http://lessons.runrev.com/spaces/lesson ... -revServer

The revServer distribution is in /cgi-bin/ with revServer itself in /cgi-bin/revserver/ as directed and my .htaccess file is as suggested:
Options ExecCGI
AddHandler irev-script .irev
Action irev-script /cgi-bin/revserver/revserver
DirectoryIndex index.irev index.html index.htm

I have a test page sitting in the /httpdocs/ folder with the following HTML, which I got from http://samples.on-rev.com/irev-engine-notes.txt - and I just added a title to check the page is rendering.

Code: Select all

<html>
<body>
<h1>Title</h1>
<p><?rev put "Hello World, the time is" && the time ?></p>
</body>
</html>
The page renders but I only see the 'Title' - any clues on how to trouble-shoot this?
Best,
Keith..

Re: How to test that revServer has installed

Posted: Sat Dec 04, 2010 11:40 am
by bangkok
Hello,

Perhaps, my experience with RevServer and Ubuntu 10 could help you.

http://forums.runrev.com/phpBB2/viewtop ... =20&t=5543

It was tricky but eventually, there were 2 small problems : missing library and a wrong VirtualHost file.

Re: How to test that revServer has installed

Posted: Sat Dec 04, 2010 1:27 pm
by Clarkey
Thanks for the response bangkok.

The virtual hosts setup is very complicated on my VPS server, as I have multiple live sites (and I can't even find where virtual host configuration files are located). So, as I'm no Linux guru, I'll stick with the (supposedly) simpler .htaccess approach for now, until I can get revServer setup and tested.

Running the command 'ldd revserver' from the Terminal within the /cgi-bin/revserver/ folder, I find 2 missing libraries: libpcre.so.0 and libcurl.so.4

After lots of trawling around, I find that the version of Ubuntu on my hosted VPS has updated/compatible(?) libraries - libpcre3 and libcurl3. So, I've tried creating symlinks from the existing Ubuntu libraries but revserver doesn't seem to like these at all - the ldd command still shows them as not found. I've tried installing via 'apt-get install' but apt-get can't find the packages.

Can any Ubuntu Linux specialists shed any light here?
Best,
Keith..

Re: How to test that revServer has installed

Posted: Tue Dec 07, 2010 9:08 pm
by bangkok
Hi Keith,

I just had a small nightmare... on a VPS with Debian 5. i've tried to install RevServer, and same punishment : those 2 damned missing libraries.

You should check.... your VPS is 32 or 64 bits ?

Revserver is looking into /usr/lib32 and /lib32 directories.

After libpcre and libcurl, in my case, another was missing : libssh2. Here is what I did :

sudo dpkg -x libssh2-1_0.18-1_i386.deb .
cd usr/lib/
/usr/lib# ls
libssh2.so.1.0.0
/usr/lib# mv libssh* /lib32