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 »

Finally back to working on this again. We have now moved all of our data to the new server and it is called rubicon.off-road.com. I deleted everything and started all over again. It STILL fails. I went back through the steps above again and STILL the same thing????
dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

Here is what I get:

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://rubicon.off-road.com/cgi-bin/tex ... 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/1.3.28 (Unix).

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]: n

*** Aborting installation due to above error ***
20:58:24 rubicon root /home/dwaters/webinator

If I say yes I get this:

View web server reply (y/n)? [ENTER for n]: y
HTTP/1.1 200 OK
Date: Tue, 16 Sep 2003 04:04:25 GMT
Server: Apache/1.3.28 (Unix)
Connection: close
Content-Type: text/html



<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:
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Installation on Linux problem - installtest not found

Post by Kai »

It's possible the CGI environment can't access /usr/local/morph3 for some reason (chroot?). Copy the following shell script to your CGI directory, as /etc/httpd/cgi-bin/envtest. Make sure it is executable (chmod a+rx /etc/httpd/cgi-bin/envtest). Then access this URL and post the output here:

http://rubicon.off-road.com/cgi-bin/envtest/?x=y

This is the script to copy:

#!/bin/sh
echo "Content-Type: text/plain"
echo ""
echo "DOCUMENT_ROOT=$DOCUMENT_ROOT"
echo "args = $0 $*"
echo "current dir is `pwd`"
if [ -f /usr/local/morph3/texis.cnf ]; then
echo "got texis.cnf"
fi
grep -i "CGI Debug" /usr/local/morph3/texis.cnf 2>/dev/null
set
echo "ls -al /:"
ls -al /
echo "ls -al /usr/local/.:"
ls -al /usr/local/.
echo "ls -alR /usr/local/morph3:"
ls -alR /usr/local/morph3
dwaters0
Posts: 9
Joined: Tue Jul 17, 2001 6:55 pm

Installation on Linux problem - installtest not found

Post by dwaters0 »

DOCUMENT_ROOT=/usr/local/www/
args = /etc/httpd/cgi-bin/envtest
current dir is /etc/httpd/cgi-bin
got texis.cnf
BASH=/bin/sh
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-pc-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
DIRSTACK=()
DOCUMENT_ROOT=/usr/local/www/
EUID=48
GATEWAY_INTERFACE=CGI/1.1
GROUPS=()
HOSTNAME=rubicon.off-road.com
HOSTTYPE=i686
HTTP_ACCEPT='*/*'
HTTP_ACCEPT_ENCODING='gzip, deflate'
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_CONNECTION=Keep-Alive
HTTP_COOKIE=jtrack=2003-09-16_20:07:52_204.110.225.254
HTTP_HOST=rubicon.off-road.com
HTTP_REFERER='http://thunderstone.master.com/texis/ma ... =3a22a2833'
HTTP_USER_AGENT='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)'
IFS='
'
MACHTYPE=i686-pc-linux-gnu
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
PATH_INFO=/
PATH_TRANSLATED=/usr/local/www/
PIPESTATUS=([0]="2")
POSIXLY_CORRECT=y
PPID=17209
PS4='+ '
PWD=/etc/httpd/cgi-bin
QUERY_STRING=x=y
REMOTE_ADDR=204.110.225.254
REMOTE_PORT=47249
REQUEST_METHOD=GET
REQUEST_URI='/cgi-bin/envtest/?x=y'
SCRIPT_FILENAME=/etc/httpd/cgi-bin/envtest
SCRIPT_NAME=/cgi-bin/envtest
SERVER_ADDR=66.209.65.23
SERVER_ADMIN=webmaster@off-road.com
SERVER_NAME=www.off-road.com
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.1
SERVER_SIGNATURE='<ADDRESS>Apache/1.3.28 Server at www.off-road.com Port 80</ADDRESS>
'
SERVER_SOFTWARE='Apache/1.3.28 (Unix)'
SHELL=/sbin/nologin
SHELLOPTS=braceexpand:hashall:interactive-comments:posix
SHLVL=1
TERM=dumb
UID=48
_=/usr/local/morph3/texis.cnf
ls -al /:
total 212
drwxr-xr-x 19 root root 4096 Sep 15 17:42 .
drwxr-xr-x 19 root root 4096 Sep 15 17:42 ..
-rw-r--r-- 1 root root 0 Sep 15 17:42 .autofsck
drwxr-xr-x 2 root root 4096 Sep 15 21:01 bin
drwxr-xr-x 3 root root 4096 Sep 15 21:01 boot
drwxr-xr-x 20 root root 118784 Sep 15 17:43 dev
drwxr-xr-x 56 root root 4096 Sep 15 21:02 etc
drwxr-xr-x 643 root root 12288 Sep 15 08:09 home
drwxr-xr-x 2 root root 4096 Jun 21 2001 initrd
drwxr-xr-x 7 root root 4096 Apr 15 04:11 lib
drwx------ 2 root root 16384 Mar 5 2003 lost+found
drwxr-xr-x 2 root root 4096 Aug 26 2002 misc
drwxr-xr-x 4 root root 4096 Mar 6 2003 mnt
drwxr-xr-x 2 root root 4096 Aug 23 1999 opt
dr-xr-xr-x 193 root root 0 Sep 15 10:41 proc
drwxr-x--- 5 root root 4096 Sep 16 13:18 root
drwxr-xr-x 2 root root 8192 Sep 15 21:01 sbin
drwxrwxrwt 2 root root 4096 Sep 16 13:19 tmp
drwxr-xr-x 16 root root 4096 Mar 5 2003 usr
drwxr-xr-x 23 root root 4096 Mar 13 2003 var
ls -al /usr/local/.:
total 80
drwxr-xr-x 15 root root 4096 Sep 15 20:48 .
drwxr-xr-x 16 root root 4096 Mar 5 2003 ..
drwxr-xr-x 12 root root 4096 Sep 15 17:08 apache
drwxr-xr-x 2 root root 4096 Sep 15 13:48 bin
drwxr-xr-x 2 root root 4096 Feb 6 1996 doc
drwxr-xr-x 2 root root 4096 Feb 6 1996 etc
drwxr-xr-x 2 root root 4096 Feb 6 1996 games
drwxr-xr-x 2 root root 4096 Jun 22 2001 include
drwxr-xr-x 2 root root 4096 Feb 6 1996 lib
drwxr-xr-x 2 root root 4096 Jun 22 2001 libexec
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 morph3
drwxr-xr-x 2 root root 4096 Feb 6 1996 sbin
drwxr-xr-x 4 root root 4096 Mar 5 2003 share
drwxr-xr-x 3 root root 4096 Sep 15 20:44 src
drwxr-xr-x 178 root root 24576 Sep 15 16:34 www
ls -alR /usr/local/morph3:
/usr/local/morph3:
total 68
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 .
drwxr-xr-x 15 root root 4096 Sep 15 20:48 ..
-rw-r--r-- 1 apache apache 151 Sep 15 20:48 .htaccess
-rw-r--r-- 1 apache apache 958 Jun 12 01:10 Readme.txt
drwx------ 2 apache apache 4096 Sep 15 21:04 bin
drwx------ 2 apache apache 4096 Sep 15 20:48 conf
drwxr-xr-x 2 apache apache 4096 Sep 15 20:48 etc
-rw-r--r-- 1 apache apache 402 Sep 15 21:04 license.did
-rw------- 1 apache apache 656 Sep 16 13:19 license.key
drwxr-xr-x 4 apache apache 4096 Sep 15 21:04 texis
-rw------- 1 root root 5156 Sep 15 21:04 texis.cnf
-rw------- 1 root root 5148 Sep 15 20:57 texis.cnf.org
-rw------- 1 apache apache 5201 Sep 15 21:04 texis.cnf.sample
drwx------ 2 apache apache 4096 Sep 15 21:04 webinator

/usr/local/morph3/bin:
total 14876
drwx------ 2 apache apache 4096 Sep 15 21:04 .
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 ..
-rw------- 1 apache apache 0 Sep 15 21:04 .tmpdir
-rwsrwxr-x 1 apache apache 4987172 Sep 15 21:04 anytotx
-rw-r--r-- 1 apache apache 3323 Jun 12 01:10 anytotx.txt
-rwxrwxr-x 1 apache apache 23544 Jun 12 01:10 geturl
-rwsrwxr-x 1 apache apache 3679536 Sep 15 21:04 gw
-rwxrwxr-x 1 apache apache 33404 Jun 12 01:10 gwpatch
-rwxr-xr-x 1 apache apache 1152613 Jun 12 01:11 libcrypto.so.0.9.7
-rwxr-xr-x 1 apache apache 210458 Jun 12 01:11 libssl.so.0.9.7
-rwxr-xr-x 1 apache apache 528819 Jun 12 01:10 libtxjs.so
-rwsr-xr-x 1 apache apache 4499480 Sep 15 21:04 monitor
-rwxrwxr-x 1 apache apache 41896 Jun 12 01:10 rex
lrwxrwxrwx 1 apache apache 7 Sep 15 21:04 texis -> monitor

/usr/local/morph3/conf:
total 24
drwx------ 2 apache apache 4096 Sep 15 20:48 .
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 ..
-rw-r--r-- 1 apache apache 3314 Jun 12 01:10 formats.rule
-rw-r--r-- 1 apache apache 8325 Jun 12 01:10 mime.types

/usr/local/morph3/etc:
total 140
drwxr-xr-x 2 apache apache 4096 Sep 15 20:48 .
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 ..
-rwxr-xr-x 1 apache apache 10548 Jun 12 01:10 rtf2html
-rw-r--r-- 1 apache apache 6968 Jun 12 01:11 ssl.txt
-rwxr-xr-x 1 apache apache 104404 Jun 12 01:10 unzip
-rw-r--r-- 1 apache apache 3656 Jun 12 01:10 unzip.txt

/usr/local/morph3/texis:
total 572
drwxr-xr-x 4 apache apache 4096 Sep 15 21:04 .
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 ..
-rw-rw-rw- 1 apache apache 529 Sep 15 21:04 monitor.log
drwxr-xr-x 2 apache apache 4096 Sep 15 20:48 scripts
drwxrwxrwx 2 apache apache 4096 Sep 15 20:58 testdb
-rw-r--r-- 1 apache apache 112640 Sep 15 21:04 txjs.tar
-rw-rw-rw- 1 apache apache 438601 Sep 16 13:19 vortex.log

/usr/local/morph3/texis/scripts:
total 24
drwxr-xr-x 2 apache apache 4096 Sep 15 20:48 .
drwxr-xr-x 4 apache apache 4096 Sep 15 21:04 ..
-rw-r--r-- 1 apache apache 867 Sep 15 20:48 errorfile
-rw-r--r-- 1 apache apache 2844 Sep 15 20:48 errorscript
-rw-rw-rw- 1 apache apache 4292 Sep 15 20:48 errorscript.vtx

/usr/local/morph3/texis/testdb:
total 176
drwxrwxrwx 2 apache apache 4096 Sep 15 20:58 .
drwxr-xr-x 4 apache apache 4096 Sep 15 21:04 ..
-rw------- 1 apache apache 0 Sep 15 20:48 .tmpdir
-rw------- 1 apache apache 30874 Jun 12 01:10 SYSCOLUMNS.tbl
-rw------- 1 apache apache 5806 Jun 12 01:10 SYSINDEX.tbl
-rw-rw-rw- 1 apache apache 8 Sep 15 21:04 SYSLOCKS.SEQ
-rw------- 1 apache apache 3322 Jun 12 01:10 SYSMETAINDEX.tbl
-rw------- 1 apache apache 4862 Jun 12 01:10 SYSPERMS.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 SYSSCHEDULE.tbl
-rw------- 1 apache apache 1390 Sep 15 20:58 SYSSTATS.tbl
-rw------- 1 apache apache 10990 Jun 12 01:10 SYSTABLES.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 SYSTRIG.tbl
-rw------- 1 apache apache 3446 Jun 12 01:10 SYSUSERS.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 categories.tbl
-rw------- 1 apache apache 3344 Jun 12 01:10 counts.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 error.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 html.tbl
-rw-r--r-- 1 apache apache 1294 Jun 12 01:10 index
-rw-r--r-- 1 apache apache 4016 Jun 12 01:10 index.vtx
-rw------- 1 apache apache 3322 Jun 12 01:10 options.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 querylog.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 refs.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 todo.tbl
-rw------- 1 apache apache 3322 Jun 12 01:10 vortex.tbl
-rw------- 1 apache apache 168 Jun 12 01:10 xcatno.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xerrorurl.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xhtmlhash.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xhtmlid.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xhtmlurl.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xoptname.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xoptstr.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xqueryid.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xtodourl.btr
-rw------- 1 apache apache 168 Jun 12 01:10 xvid.btr

/usr/local/morph3/webinator:
total 1000
drwx------ 2 apache apache 4096 Sep 15 21:04 .
drwxr-xr-x 7 apache apache 4096 Sep 16 13:19 ..
-rw------- 1 apache apache 0 Sep 15 21:04 .tmpdir
-rw-rw-r-- 1 apache apache 83 Jun 12 01:10 bar0.gif
-rw-rw-r-- 1 apache apache 83 Jun 12 01:10 bar1.gif
-rw-rw-r-- 1 apache apache 172 Jun 12 01:10 button0.gif
-rw-rw-r-- 1 apache apache 172 Jun 12 01:10 button1.gif
-rw-rw-r-- 1 apache apache 163271 Jun 12 01:10 dowalk
-rw-r--r-- 1 apache apache 245692 Jun 12 01:10 dowalk.vtx
-rw-rw-r-- 1 apache apache 76562 Jun 12 01:10 gw25.pdf
-rw-rw-r-- 1 apache apache 1772 Jun 12 01:10 newindex.html
-rw-r--r-- 1 apache apache 20808 Jun 12 01:10 search2
-rw-r--r-- 1 apache apache 26940 Jun 12 01:10 search2.vtx
-rw-rw-r-- 1 apache apache 46378 Jun 12 01:10 search4
-rw-r--r-- 1 apache apache 49100 Jun 12 01:10 search4.vtx
-rw-rw-r-- 1 apache apache 4885 Jun 12 01:10 swdrmlog.gif
-rw-rw-r-- 1 apache apache 680 Jun 12 01:10 tstonebut.gif
-rw-rw-r-- 1 apache apache 180623 Jun 12 01:10 webinator4man.pdf
-rw-rw-r-- 1 apache apache 139078 Jun 12 01:10 webinatoradmin
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Installation on Linux problem - installtest not found

Post by mark »

Your texis.cnf is only readable by root. It should be owned and readable by the same user (apache) as everything else webinator/texis related.
Post Reply