Installation on Linux problem - installtest not found

dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

Texis Web Script (Vortex) Copyright © 1996-2003 Thunderstone - EPI, Inc.
Commercial Webinator Version 4.03.1055405049 of Jun 12, 2003 (i686-unknown-linux2.4.2-64-32)

Error
002 /installtest: Can't open source file: No such file or directory

Where is this sposed to be? I don't see it in my installation directories anywhere?
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Installation on Linux problem - installtest not found

Post by Kai »

It doesn't exist: it's part of the URL that is fetched by the install script, and is used just to verify that the CGI environment is as expected. Evidently Texis attempted to run the script instead; a debug flag is supposed to be set by the install script first to prevent this.

Can you post the entire transcript of your install session (mark private if desired)? Then we can try to determine what happened.
dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

rubiconx root /home/dwaters cd webinator
rubiconx root /home/dwaters/webinator sh ./install
===============================================================================
Webinator Version 4.03 Installation v1.63
===============================================================================

Checking install script...Ok
If you already have full Texis or an older version of Webinator installed
you should read the upgrade notes.
View the upgrade notes (y/n)? [ENTER for n]: n
Examining your system...done

------------------------------ NOTE: ---------------------------------
This installation should preferably be run as the user that will actually run the software, not as root. The user should be the same user that your web server runs CGI programs as. For this installation you should have permission to place and move files in the install directory and the web server tree.

You appear to be root. What (non-privileged) user will be running the software? Webinator files will be owned and setuid to this user. Either:
o Enter the CGI user below, or
o Enter "none" to skip the chown (YOU will have to do it later), or
o Press Ctrl-C/Del to quit, and re-start install as the CGI user.

Web user [ENTER for www]:

-----------------------------------------------------------------------
What directory would you like to install Webinator in? Webinator executables and other files will be placed under here. It should be OUTSIDE (inaccessible to) your web server tree. NOTE: This directory
should be /usr/local/morph3 unless you are unable to install there.
Install dir [ENTER for /usr/local/morph3]:
Checking install dir...Ok
Checking tar file...Ok
Unpacking Webinator files...Ok
Checking for existing version............Ok
Checking files...Ok
Configuring and installing Webinator files:
INFO: 2 patches made
INFO: 2 patches made
INFO: 2 patches made
Existing default database /usr/local/morph3/texis/testdb preserved.
Cleaning up temp files...done

---------------------------------------------------------------------
Where is your web server's CGI directory? This is the full path to the file system (*not* URL) directory on this machine containing your CGI programs. Usually this is under the top directory for the web server. For Apache servers, it is probably the second argument to ScriptAlias in your conf file.

This installation will install some programs (symlinks) in the CGI directory you specify. Programs there must be executable by the web server. The install will verify this with a web fetch.
CGI dir [ENTER for /etc/httpd/cgi-bin]:

-------------------------------------------------------------------------
What is the prefix for CGI URLs (the part of the URL before the program)?
o You may enter a URL, such as http://rubiconx.off-road.com/cgi-bin
if your site uses virtual hosts or a port other than 80. The site
must reside on this machine (the one running the install).
o Or you can enter just a URL path such as /cgi-bin (assumes host above)
o Or enter /newdir to start over with a new CGI directory instead.

CGI URL prefix [ENTER for http://rubiconx.off-road.com/cgi-bin]: http://66.209.6
5.23/cgi-bin

---------------------------------------------------------------------------
What is the extension for CGI URLs (the filename extension of the program)?
This may be .cgi if your CGI programs are named like "mysearch.cgi" in URLs. Or it may be "none" if you have a dedicated CGI dir and URL instead.

CGI extension [ENTER for none]:
Stopping monitor processes.....done
Checking dir with a web fetch...Ok
Verifying version...Ok
Verifying variables...*** Failed ***
$urlroot was instead of /cgi-bin/texis/installtest.
$pathroot was instead of /installtest.
Document root dir does not exist.
$sourcepath was .

One or more variables were not set as expected by the URL:
http://66.209.65.23/cgi-bin/texis/insta ... html?-dump
The web server may not be running Texis for that URL, or it may be
incorrectly setting CGI variables. Netscape-Enterprise/3.6 is known to have such a bug. Your web server appears to be Apache/2.0.40 (Red Hat Linux).

Make sure you are running a web server that sets CGI environment variables, such as $SCRIPT_NAME, $PATH_TRANSLATED, $PATH_INFO, and $DOCUMENT_ROOT, correctly. Without them Vortex cannot run correctly
on a web server. View web server reply (y/n)? [ENTER for n]: y
HTTP/1.1 200 OK
Date: Wed, 09 Jul 2003 20:16:56 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Set-Cookie: offroad01=66.209.65.23.1057781816047655; path=/; expires=Fri, 01-Jul
-33 20:16:56 GMT
Content-Length: 419
Connection: close
Content-Type: text/html; charset=ISO-8859-1



<HTML>
<HEAD>
<TITLE>Thunderstone: Error</TITLE>
</HEAD>

<BODY>
<H4 ALIGN=left> Texis Web Script (Vortex) Copyright &copy; 1996-2003 <A HREF="ht
tp://www.thunderstone.com/">Thunderstone - EPI, Inc.</A><BR>
Commercial Webinator Version 4.03.1055405049 of Jun 12, 2003 (i686-unknown-linux
2.4.2-64-32) </H4>

<P>
<H2>Error</H2>

002 /installtest: Can't open source file: No such file or directory <BR>
</BODY>
</HTML>
Press ENTER to continue:

*** Aborting installation due to above error ***
rubiconx root /home/dwaters/webinator
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Installation on Linux problem - installtest not found

Post by Kai »

Edit /usr/local/morph3/texis.cnf with a text editor (create it if it does not exist) and add the following two lines at the top of the file:

[Texis]
CGI Debug=1

Then re-run the install.
dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

That is already in there. I added it again but still get the same response.

By the way, it does seem like it is working but not sure what might be missing since installation is not completing.
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Installation on Linux problem - installtest not found

Post by Kai »

There are more installation steps that should be completed by the install script after this. By working do you mean that you can create a profile from the Web admin interface? Another thing to try is deleting /etc/httpd/cgi-bin/texis before running the install; it may be left over from a previous failed install and not be patched correctly.
dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Installation on Linux problem - installtest not found

Post by Kai »

That sounds normal; the cgi-bin texis is either a symlink to the installed texis or a copy of it.

Copy /usr/local/morph3/bin/monitor to /etc/httpd/cgi-bin/texis, and make sure the owner (www), group, and perms are the same. Is www the same user your Apache server is configured to run CGI programs as? Are any files in /usr/local/morph3 *not* owned by www? That could indicate a file perms problem preventing the CGI run from accessing files.
dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

Still not there. The texis.cnf files were owned by root and were 600. I changed them to be owned by wwww but it still did not work. It is now asking me about replacing texis each time. It was not doing that before.
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Installation on Linux problem - installtest not found

Post by Kai »

Make sure everything in /usr/local/morph3 and its subdirs is owned and writable by www: chown -R www /usr/local/morph3 and chmod -R u+rw /usr/local/morph3. Let it replace texis in cgi-bin during install; that's just a result of manually copying it earlier.
Post Reply