libtermcap and Debian 3.1

User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

libtermcap and Debian 3.1

Post by mark »

Make sure "dowalk" and "search" exist in /home/1702/domains/wahiduddin.net/html/webinator
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

libtermcap and Debian 3.1

Post by rjshelq »

The program directory where I unzipped and installed Webinator is:

/home/1702/etc/webinator_dir

I see files named dowalk, search2 and search4 in the directory at:

/home/1702/etc/webinator_dir/webinator

And, I also see dowalk, search and search4 in the directory at:

/home/1702/etc/webinator_dir/texis/scripts/webinator

Which dowalk and search are you referring to?

Then, should I add symlinks in my html directory to those files, or copy them to the html directory, or are they in the wrong place and I should actually move them to the html directory?

When I previously installed Webinator on RedHat, I don't recall having to put copies of the scripts in my html directory. Is this needed because of the setuid changes?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

libtermcap and Debian 3.1

Post by mark »

Sorry, I had a brain fart, scripts/webinator is the correct place. Check the webinator_dir/texis.cnf to ensure that the scriptroot points to /home/1702/etc/webinator_dir/texis/scripts
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

libtermcap and Debian 3.1

Post by rjshelq »

For some reason, the texis.cnf began with these lines:

[Texis]
CGI Debug=1
ScriptRoot=%DOCUMENT_ROOT%
[Texis]
ScriptRoot=%DOCUMENT_ROOT%

I commented out all of those lines, and uncommented the line

ScriptRoot = %INSTALLDIR%/texis/scripts

Now it is up and running perfectly. Thank you for your kind guidance!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

libtermcap and Debian 3.1

Post by mark »

Probably from an aborted install.
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

libtermcap and Debian 3.1

Post by rjshelq »

ok... So, just in case there was anything else messed up from an aborted install, I completely deleted the entire directory that had all of the webinator files, created a new directory, and did a clean install (with the install modified not to setuid).

I worked perfectly. I set up a couple of profiles, indexed my web site with each of the profiles, got all of the walk settings and search settings tweaked. I did a number of searches via html forms, and everything was working flawlessly.

But now, about six hours later, I tried to do another search and all I get is:

Texis Web Script (Vortex) Copyright © 1996-2006 Thunderstone - EPI, Inc.
Unknown Version 5.01.1162154767 20061029 (i686-unknown-linux2.4.9-64-32)

Error
011 Texis Monitor process failed to create license segment
000 Cannot get config settings

I haven't changed anything since the time that it was working. It just seems to have "died".

I checked the texis.cnf file and even uncommented the path for the license, but all I get is that same error message.

Here's the vortex log:

100 2006-11-22 12:56:23 /webinator/dowalk:10452: User PUBLIC has been added without a password.
100 2006-11-22 13:07:38 /home/1702/etc/webinator_5/texis/scripts/webinator/dowalk:2200: User PUBLIC has been added without a password.
002 2006-11-22 13:07:39 /home/1702/etc/webinator_5/texis/scripts/webinator/dowalk:2106: Could not find index xh_TiDsKyMtBy_ViMoDpPp
002 2006-11-22 13:11:37 /home/1702/etc/webinator_5/texis/scripts/webinator/dowalk:2106: Could not find index xh_TiDsKyMtBy_ViMoDpPp
100 2006-11-22 13:36:06 /webinator/dowalk:10452: User PUBLIC has been added without a password.
002 2006-11-22 13:44:47 /home/1702/etc/webinator_5/texis/scripts/webinator/dowalk:2106: Could not find index xh_TiDsKyMtBy_ViMoDpPp
100 2006-11-22 13:45:07 /home/1702/etc/webinator_5/texis/scripts/webinator/dowalk:2200: User PUBLIC has been added without a password.
011 2006-11-22 16:45:15 Texis Monitor process failed to create license segment
000 2006-11-22 16:45:15 Cannot get config settings
011 2006-11-22 16:45:25 Texis Monitor process failed to create license segment
000 2006-11-22 16:45:25 Cannot get config settings

Any ideas??
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

libtermcap and Debian 3.1

Post by rjshelq »

p.s.

The monitor log has not had any entries in the past 6 hours, and doesn' tseem to offer any clues:

200 2006-11-22 12:52:43 (14598) Texis Monitor version 05.01.1162154767 starting
200 2006-11-22 12:52:43 (14598) Generating default Webinator license
200 2006-11-22 12:52:43 (14598) License Violation (License Server Contact)
200 2006-11-22 12:52:43 (14598) Contacting license server
200 2006-11-22 12:52:44 (14598) Successful reply from license server
200 2006-11-22 12:52:44 (14603) Database Monitor on /home/1702/etc/webinator_5/texis/testdb/ starting
200 2006-11-22 12:54:20 (2427) Texis Monitor version 05.01.1162154767 starting
200 2006-11-22 12:54:20 (2429) Database Monitor on /home/1702/etc/webinator_5/texis/testdb/ starting
200 2006-11-22 12:56:24 (4733) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db1/ starting
200 2006-11-22 12:58:24 (4733) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db1/ exiting
200 2006-11-22 13:01:51 (11379) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db1/ starting
200 2006-11-22 13:02:51 (11379) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db1/ exiting

200 2006-11-22 14:52:50 (1130) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db2/ starting
200 2006-11-22 14:53:50 (1130) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db2/ exiting
200 2006-11-22 14:54:05 (3057) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db2/ starting
200 2006-11-22 14:54:24 (3538) Database Monitor on /home/1702/etc/webinator_5/texis/rjs_esoteric/db2/ starting
200 2006-11-22 14:55:06 (3057) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db2/ exiting
200 2006-11-22 14:55:17 (4933) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db2/ starting
200 2006-11-22 14:55:24 (3538) Database Monitor on /home/1702/etc/webinator_5/texis/rjs_esoteric/db2/ exiting
200 2006-11-22 14:56:17 (4933) Database Monitor on /home/1702/etc/webinator_5/texis/mv/db2/ exiting
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

libtermcap and Debian 3.1

Post by rjshelq »

ahh.. the monitor log had some binary characters that my editor was choking on.. here is the current tail of the monitor log.

200 2006-11-22 20:55:52 (6980) Texis Monitor exiting due to error
200 2006-11-22 21:00:07 (11576) Texis Monitor version 05.01.1162154767 starting
011 2006-11-22 21:00:07 (11576) Could not create license segment: No space left on device/No such file or directory
200 2006-11-22 21:00:07 (11576) Texis Monitor exiting due to error
200 2006-11-22 21:10:17 (22860) Texis Monitor version 05.01.1162154767 starting
011 2006-11-22 21:10:17 (22860) Could not create license segment: No space left on device/No such file or directory
200 2006-11-22 21:10:17 (22860) Texis Monitor exiting due to error

When I run ipcs -a , there are no shared memory segments at all. I know there were two shared memory segments right after the install.. but they're gone now. So something killed my shared memory. Is there any way other than a re-install to re-establish the shared memory allocations?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

libtermcap and Debian 3.1

Post by mark »

Sounds like maybe the webserver is running CGI programs as a different user than you did the install as?

As for the license shared mem segment disappearing you'll need to consult your system admin because it should stay around forever until deleted by hand.

From the shell try running
INSTALLDIR/bin/texis -license
to see if that helps at all.
rjshelq
Posts: 82
Joined: Thu Nov 17, 2005 3:25 pm

libtermcap and Debian 3.1

Post by rjshelq »

Running

INSTALLDIR/bin/texis -license

did create the two shared memory segments. But I'm still unable to run a search via the web or login to admin (both of which worked perfectly before the mysterious disappearance of the shared memory segments).

Here's the result of /bin/texis -license

Texis Web Script (Vortex) Copyright (c) 1996-2006 Thunderstone - EPI, Inc.
Free Webinator Version 5.01.1162154767 20061029 (i686-unknown-linux2.4.9-64-32)

License Information

Current time is: Nov 23 2006 07:58:42 PST
Init since boot: Nov 23 2006 07:58:41 PST
License created: Nov 22 2006 12:52:43 PST
License expires: Dec 22 2006 12:53:09 PST
License verified: Nov 22 2006 12:52:43 PST
Maximum version: unlimited
Serial number: 74416
Current hits a day: 0 since Nov 23 2006 07:58:41 PST
Previous days:
Highest hits a day: unknown
Maximum hits a day: 10000
Current table rows: 0
Maximum table rows: 10000
Flags: Non-intranetable
Texis flags: Index Trig Del Upd Ins Sel Grant Revoke Viol. no create No anytotx SSL Schema-restricted
Vortex flags: Texis name Env check Comment (c) Visible (c) Create Webinator tables Web server
Texis monitor process: pid 23383

But the monitor log still says:

011 2006-11-23 08:13:09 (16802) Could not create license segment: No space left on device/No such file or directory
200 2006-11-23 08:13:09 (16802) Texis Monitor exiting due to error

The new shared memory segments now have different pid and different shmid than what the program originally created.. is there a way to tell Webinator about the current shared memory?
Post Reply