Webinator not shuting down after completing indaxting the database. The process are still running and not kill after the script is completing. Can someone help with this one.
Webinator help
Webinator help
Need more specifics. What's your precise version and OS? What's your procedure? Where does it get "stuck"?
-
- Posts: 22
- Joined: Thu Feb 05, 2004 11:45 am
Webinator help
I am new to Webinator, is there a command to find out the version of Webinator. The OS versions are 5.1 and 4.3, but will be moving to 5.2 on a new server. This is just a copy of some of the process that will not die after completion.
example:
window1:/window/htdocs/webinator/bin#ps -ef|grep gw
root 11504 1 24 07:06:27 - 25:18 /window/htdocs/webinator/bin/gw -d/window/htdocs/webinato
r/db -index
root 13834 1 24 07:25:49 - 6:23 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/
webinator/sandb -recall=san
I do not have all of the script that are exacutied I will have to send them to you tomorrow. These process start up but do not die and the server CPU pegs out.
example:
window1:/window/htdocs/webinator/bin#ps -ef|grep gw
root 11504 1 24 07:06:27 - 25:18 /window/htdocs/webinator/bin/gw -d/window/htdocs/webinato
r/db -index
root 13834 1 24 07:25:49 - 6:23 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/
webinator/sandb -recall=san
I do not have all of the script that are exacutied I will have to send them to you tomorrow. These process start up but do not die and the server CPU pegs out.
Webinator help
To get the gw version and release use
gw -version
You say os version 5.1 and 4.3. What OS?
I don't want your scripts, just the gw commands that are executed. Most importantly the one that sticks. And how do you know they are done if they don't go away?
If you're new to webinator perhaps you should be using version 4 with the web interface instead of version 2 gw.
gw -version
You say os version 5.1 and 4.3. What OS?
I don't want your scripts, just the gw commands that are executed. Most importantly the one that sticks. And how do you know they are done if they don't go away?
If you're new to webinator perhaps you should be using version 4 with the web interface instead of version 2 gw.
-
- Posts: 22
- Joined: Thu Feb 05, 2004 11:45 am
Webinator help
Okay this is happing on to different servers, one is 5.1 and the other is 4.3. The commands are being run in a ksh script. Here is the script:
#!/bin/ksh
# Index Window-on-State-Gov Site, includes deletes for server-side include text
# This will re-walk the database for new or deleted pages
# To rebuild the database completely, use /window/htdocs/webinator/bin/newwinidx
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/db \
-recall=window > /tmp/rewalk.window
date=`date +%Y-%m-%d`
sleep 10
#
# Delete SSI Text
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Electronic Reporting'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Sales Tax'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Tax Forms'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Job Postings'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Unclaimed Property'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Franchise Tax Account Status'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Agency Directory'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Links'"
#
# Rebuild indexes
#
/window/htdocs/webinator/bin/gw -d/window/htdocs/webinator/db -index
#
# Index www.seco.cpa.state.tx.us (now included in recall=window)
#
#/window/htdocs/webinator/bin/gw -rewalk -fasp -d/window/htdocs/webinator/db \
#-recall=seco >/tmp/rewalk.seco
#
# Index notes school district info
#
#/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/db \
#-recall=notes >/tmp/rewalk.notes
#
# Index Notices to State Agencies separately
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/sandb \
-recall=san >/tmp/rewalk.san
#
# Index Surplus Properties separately
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/srpdb \
-recall=srp >/tmp/rewalk.srp
#
# Index Statewise Newsletter separately
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/swndb \
-recall=swn >/tmp/rewalk.swn
#
# Mail notice of bad links
/usr/local/bin/gwdailybadlinks|mail -s "Bad Links $date" \
drew.scherz@cpa.state.tx.us, ginger.buehler@cpa.state.tx.us
# Index separate sites
All of commands seem to be sticking. I will need to send you the out information after doing a ps -ef|grep gw in the morning and all the process are running once again inthe morning. We think the indexer is completing from looking at the gw.logs in the directiers that show in the out put form the winidx script.
#!/bin/ksh
# Index Window-on-State-Gov Site, includes deletes for server-side include text
# This will re-walk the database for new or deleted pages
# To rebuild the database completely, use /window/htdocs/webinator/bin/newwinidx
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/db \
-recall=window > /tmp/rewalk.window
date=`date +%Y-%m-%d`
sleep 10
#
# Delete SSI Text
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Electronic Reporting'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Sales Tax'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Tax Forms'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Job Postings'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Unclaimed Property'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Franchise Tax Account Status'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Agency Directory'"
#
/web/window/cgi-bin/texis -s -d /window/htdocs/webinator/db -u _SYSTEM -p '' "update html set Body = Body -'Links'"
#
# Rebuild indexes
#
/window/htdocs/webinator/bin/gw -d/window/htdocs/webinator/db -index
#
# Index www.seco.cpa.state.tx.us (now included in recall=window)
#
#/window/htdocs/webinator/bin/gw -rewalk -fasp -d/window/htdocs/webinator/db \
#-recall=seco >/tmp/rewalk.seco
#
# Index notes school district info
#
#/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/db \
#-recall=notes >/tmp/rewalk.notes
#
# Index Notices to State Agencies separately
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/sandb \
-recall=san >/tmp/rewalk.san
#
# Index Surplus Properties separately
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/srpdb \
-recall=srp >/tmp/rewalk.srp
#
# Index Statewise Newsletter separately
#
/window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/swndb \
-recall=swn >/tmp/rewalk.swn
#
# Mail notice of bad links
/usr/local/bin/gwdailybadlinks|mail -s "Bad Links $date" \
drew.scherz@cpa.state.tx.us, ginger.buehler@cpa.state.tx.us
# Index separate sites
All of commands seem to be sticking. I will need to send you the out information after doing a ps -ef|grep gw in the morning and all the process are running once again inthe morning. We think the indexer is completing from looking at the gw.logs in the directiers that show in the out put form the winidx script.
Webinator help
To get the gw version and release use
gw -version
You say os version 5.1 and 4.3. What OS?
To get the license info use
texis -license
gw -version
You say os version 5.1 and 4.3. What OS?
To get the license info use
texis -license
-
- Posts: 22
- Joined: Thu Feb 05, 2004 11:45 am
Webinator help
Okay the verstion is
Webinator WWW Site Indexer Version 2.52 (Commercial)
Copyright(c) 1995,1996,1997,1998 Thunderstone EPI Inc.
Release: 19990212
can you provide me on the location of the texis exe. Also here is the information on the webinator processes.
window1:/window/htdocs/webinator/bin#ps -ef|grep gw
root 14838 26168 1 09:03:18 pts/0 0:00 grep gw
root 18898 1 35 07:19:20 - 20:09 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_sandb -recall=san
root 21560 1 35 07:19:18 - 20:38 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/sandb -recall=san
root 21778 1 33 07:19:18 - 20:14 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_sandb -create
root 22450 1 33 07:19:23 - 20:22 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/srpdb -recall=srp
root 23098 1 35 07:19:29 - 20:14 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/swndb -recall=swn
root 25232 1 32 07:19:32 - 20:03 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_swndb -recall=swn
root 28298 1 32 07:19:29 - 20:22 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_swndb -create
root 29038 1 33 07:19:26 - 20:09 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_srpdb -recall=srp
root 29802 1 35 07:19:24 - 20:19 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_srpdb -create
root 30956 1 35 07:00:11 - 38:50 /window/htdocs/webinator/bin/gw -d/window/htdocs/webinator/db -index
if you look at the times process have been running for some time.
Webinator WWW Site Indexer Version 2.52 (Commercial)
Copyright(c) 1995,1996,1997,1998 Thunderstone EPI Inc.
Release: 19990212
can you provide me on the location of the texis exe. Also here is the information on the webinator processes.
window1:/window/htdocs/webinator/bin#ps -ef|grep gw
root 14838 26168 1 09:03:18 pts/0 0:00 grep gw
root 18898 1 35 07:19:20 - 20:09 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_sandb -recall=san
root 21560 1 35 07:19:18 - 20:38 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/sandb -recall=san
root 21778 1 33 07:19:18 - 20:14 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_sandb -create
root 22450 1 33 07:19:23 - 20:22 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/srpdb -recall=srp
root 23098 1 35 07:19:29 - 20:14 /window/htdocs/webinator/bin/gw -rewalk -d/window/htdocs/webinator/swndb -recall=swn
root 25232 1 32 07:19:32 - 20:03 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_swndb -recall=swn
root 28298 1 32 07:19:29 - 20:22 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_swndb -create
root 29038 1 33 07:19:26 - 20:09 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_srpdb -recall=srp
root 29802 1 35 07:19:24 - 20:19 /window/htdocs/webinator/bin/gw -v2 -d/window/htdocs/webinator/_srpdb -create
root 30956 1 35 07:00:11 - 38:50 /window/htdocs/webinator/bin/gw -d/window/htdocs/webinator/db -index
if you look at the times process have been running for some time.
Webinator help
texis would be in your webserver's CGI directory. Use your system's find utility if you can't find it.
What operating system are you on? (use uname -a if you don't know).
Those processes appear to be orphaned by the caller (your shell script presumably). You might try /bin/sh instead of /bin/ksh. Interesting that the first rewalk and the sql updates don't stick. Are there any error messages in the output files from the stuck ones? Do the searches work?
As a general rule, you should not be running webinator as root. Do an ls -l on texis, gw, /window/htdocs/webinator/db , and /window/htdocs/webinator/sandb to find and compare ownerships and permissions.
What operating system are you on? (use uname -a if you don't know).
Those processes appear to be orphaned by the caller (your shell script presumably). You might try /bin/sh instead of /bin/ksh. Interesting that the first rewalk and the sql updates don't stick. Are there any error messages in the output files from the stuck ones? Do the searches work?
As a general rule, you should not be running webinator as root. Do an ls -l on texis, gw, /window/htdocs/webinator/db , and /window/htdocs/webinator/sandb to find and compare ownerships and permissions.
-
- Posts: 22
- Joined: Thu Feb 05, 2004 11:45 am
Webinator help
Okay, after locating the texis exe. The first server is a 5.1
window1:/web/window/cgi-bin#texis -license
Texis Web Script (Vortex) Copyright (c) 1996-1999 Thunderstone - EPI, Inc.
Commercial Webinator Version 2.6.918854341 of Feb 12, 1999
License Information
Current time: Feb 06 2004 10:33:47
Initialization (since boot): Jan 31 2004 02:00:03
Highest concurrent users since init: 1 at Jan 31 2004 02:00:03
Concurrent users in the past minute: 0
Current license threshold: 0 users
Web/command line hits since license approval: 0 / 373
Last known license verification attempt: Feb 06 2004 06:44:38
Last successful license verification: never
and for the 4.3
window2:/web/window/cgi-bin>texis -license
Texis Web Script (Vortex) Copyright (c) 1996-1999 Thunderstone - EPI, Inc.
Commercial Webinator Version 2.6.918854341 of Feb 12, 1999
License Information
Current time: Feb 06 2004 10:35:48
Initialization (since boot): Dec 11 2003 22:50:48
Highest concurrent users since init: 13 at Jan 21 2004 14:50:53
Concurrent users in the past minute: 5 (0 allowed)
Current license threshold: 5 users
Web/command line hits since license approval: 26,290 / 670
Last known license verification attempt: Feb 06 2004 10:34:46
Last successful license verification: Jan 24 2004 15:42:12
window1:/web/window/cgi-bin#texis -license
Texis Web Script (Vortex) Copyright (c) 1996-1999 Thunderstone - EPI, Inc.
Commercial Webinator Version 2.6.918854341 of Feb 12, 1999
License Information
Current time: Feb 06 2004 10:33:47
Initialization (since boot): Jan 31 2004 02:00:03
Highest concurrent users since init: 1 at Jan 31 2004 02:00:03
Concurrent users in the past minute: 0
Current license threshold: 0 users
Web/command line hits since license approval: 0 / 373
Last known license verification attempt: Feb 06 2004 06:44:38
Last successful license verification: never
and for the 4.3
window2:/web/window/cgi-bin>texis -license
Texis Web Script (Vortex) Copyright (c) 1996-1999 Thunderstone - EPI, Inc.
Commercial Webinator Version 2.6.918854341 of Feb 12, 1999
License Information
Current time: Feb 06 2004 10:35:48
Initialization (since boot): Dec 11 2003 22:50:48
Highest concurrent users since init: 13 at Jan 21 2004 14:50:53
Concurrent users in the past minute: 5 (0 allowed)
Current license threshold: 5 users
Web/command line hits since license approval: 26,290 / 670
Last known license verification attempt: Feb 06 2004 10:34:46
Last successful license verification: Jan 24 2004 15:42:12
Webinator help
5.1 WHAT? 4.3 WHAT? What operating system are we talking about? Please provide the full output of
uname -a
uname -a