Error message running webinator under FreeBSD - openntexis error

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Error message running webinator under FreeBSD - openntexis error

Post by Thunderstone »



I have downloaded and installed webinator. I told it to retrieve and then
index a site. It seemed to behave. Gave me nice messages about what
database I wanted to write to and how it was collecting data.

Then I tried to perform a search via the url provided in the docs:
http://iceman.filez.com/cgi-bin/texis/webinator/search/

At which time I get an error:

------------------------------------------------------------------
Texis Web Script (Vortex) Copyright =A9 1996-1997 Thunderstone - EPI, Inc.
Free Webinator Version 2.1.874100396 of Sep 12, 1997

Error

000 /usr/local/www/data/webinator/search:96: Could not connect to
/usr/local/www/data/webinator/db in the function openntexis
------------------------------------------------------------------

I tried to be a good net citizen and do my homework and I found one entry
in the archives related to openntexis and is said to check your file
ownerships. So I did and everything seems to be set to root:

1236 root 10 0 488K 580K nanslp 0:00 0.00% 0.00% httpd
^^^^^^

'search' and the 'db' directory are owned by root:
iceman# ls -la
drwxr-xr-x 5 root wheel 512 Dec 7 21:40 .
drwxr-xr-x 3 root wheel 512 Dec 7 20:48 ..
drwxr-xr-x 2 101 100 512 Sep 19 18:15 .master
-rw-r--r-- 1 101 100 68 Jun 25 21:32 0.gif
-rw-r--r-- 1 101 100 68 Jun 25 21:32 1.gif
drwxr-xr-x 2 101 100 512 Dec 7 21:40 bin
-rw-r--r-- 1 101 100 142 Feb 13 1996 ctx.gif
drwxrwxrwx 2 root wheel 1024 Dec 12 15:27 db <<======
===========
-rw-r--r-- 1 101 100 346 Jun 5 1997 defindex.bak
-rw-r--r-- 1 root wheel 346 Dec 7 21:39 defindex.html
-rw-r--r-- 1 root wheel 24028 Dec 7 21:39 defsearch
-rw-r--r-- 1 101 100 24034 Sep 19 18:15 defsearch.bak
-rw-r--r-- 1 root wheel 346 Dec 7 20:48 index.html
-rw-r--r-- 1 101 100 138 Feb 13 1996 lnk.gif
-rw-r--r-- 1 101 100 139 Feb 13 1996 mlt.gif
-rw-r--r-- 1 101 100 102 Feb 13 1996 nolnk.gif
-rw-r--r-- 1 101 100 43 Feb 6 1997 onepix.gif
-rw-r--r-- 1 root wheel 24028 Dec 7 20:48 search <<======
============
-rw-r--r-- 1 101 100 370 Aug 9 1996 wstsbut.gif

And everything in 'db' is owned by root. (It wasn't at first it was owned
by 'Michael" but I changed it to root to be consistent.)

iceman# ls -la
total 2444
drwxrwxrwx 2 root wheel 1024 Dec 12 15:34 .
drwxr-xr-x 5 root wheel 512 Dec 7 21:40 ..
-rw-r--r-- 1 michael wheel 130 Dec 12 15:12 .htaccess
-rw------- 1 root wheel 21172 Dec 12 15:12 SYSCOLUMNS.tbl
-rw------- 1 root wheel 7224 Dec 12 15:13 SYSINDEX.tbl
-rw-rw-rw- 1 root wheel 49488 Dec 12 15:35 SYSLOCKS
-rw-rw-rw- 1 root wheel 8 Dec 12 15:34 SYSLOCKS.SEQ
-rw------- 1 root wheel 3322 Dec 12 15:12 SYSMETAINDEX.tbl
-r--r--r-- 1 root wheel 2259771 Dec 12 15:12 SYSOBJECTS.tbl
-rw------- 1 root wheel 4792 Dec 12 15:12 SYSPERMS.tbl
-rw------- 1 root wheel 8860 Dec 12 15:12 SYSTABLES.tbl
-rw------- 1 root wheel 3322 Dec 12 15:12 SYSTRIG.tbl
-rw------- 1 root wheel 3446 Dec 12 15:12 SYSUSERS.tbl
-rw------- 1 root wheel 3392 Dec 12 15:12 error.tbl
-rw-rw-rw- 1 root wheel 833 Dec 12 15:13 gw.log
-rw------- 1 root wheel 6410 Dec 12 15:13 html.tbl
-rw------- 1 root wheel 5584 Dec 12 15:12 options.tbl
-rw------- 1 root wheel 3322 Dec 12 15:12 querylog.tbl
-rw------- 1 root wheel 6502 Dec 12 15:13 refs.tbl
-rw------- 1 root wheel 4548 Dec 12 15:13 todo.tbl
-rw-rw-rw- 1 root wheel 1170 Dec 12 15:34 vortex.log
-rw------- 1 root wheel 12084 Dec 12 15:13 xhtmlbod_B.btr
-rw------- 1 root wheel 62 Dec 12 15:13 xhtmlbod_D.btr
-rw------- 1 root wheel 642 Dec 12 15:13 xhtmlbod_M.blb
-rw------- 1 root wheel 8260 Dec 12 15:13 xhtmlbod_M.btr
-rw------- 1 root wheel 1359 Dec 12 15:13 xhtmlbod_P.tbl
-rw------- 1 root wheel 62 Dec 12 15:13 xhtmlbod_T.btr
-rw------- 1 root wheel 62 Dec 12 15:13 xhtmlbod_U.btr
-rw------- 1 root wheel 8366 Dec 12 15:13 xhtmlid.btr
-rw------- 1 root wheel 8366 Dec 12 15:13 xhtmlurl.btr
-rw------- 1 root wheel 9408 Dec 12 15:12 xoptname.btr
-rw------- 1 root wheel 168 Dec 12 15:12 xqueryid.btr
-rw------- 1 root wheel 8366 Dec 12 15:13 xrefsref.btr
-rw------- 1 root wheel 8366 Dec 12 15:13 xrefsurl.btr
-rw------- 1 root wheel 9408 Dec 12 15:13 xtodourl.btr

So I don't know what's wrong. Any help from the experts?


-- Michael

michael@filez.com (619) 453-2845

~~ The Z Company ~~
<http://www.filez.com> o Largest software search site - 75M files
<http://www.websitez.com> o Find *any* domain name in seconds!
<http://www.mp3.com> o Listen to CD quality music on your computer!




User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Error message running webinator under FreeBSD - openntexis error

Post by Thunderstone »



..
..

Well... The idling process usually runs as root, but it generally changes
user id when handling a web requests. The web server config files contain
the name of the user the web server really runs as when servicing requests.
If you can't find that, you can make texis and gw setuid to the same
(non-root) userid and make all of the files owned by that user.
e.g.:
chown Michael texis
chmod u+s texis



Post Reply