missing .vtx file and no admin interface

Post Reply
legedza.henry
Posts: 142
Joined: Wed Jul 24, 2002 11:52 pm

missing .vtx file and no admin interface

Post by legedza.henry »

Someone was fiddling with the dowalk script and as a result the dowalk.vtx has disappeared and now when we try to acces the normal admin interface we get

Vortex Error
Webinator was unable to process the requested URL:

http://decssearch.sa.edu.au/scripts/tex ... lectw.html
Please ask the site administrator of decssearch.sa.edu.au to check vortex.log for problems.

When we look at the vortex log we see lots of these errors:

002 2009-09-28 11:33:18 /webinator/dowalk: Cannot open source file: Permission denied
100 2009-09-28 11:33:18 [Error Script]: Bad/non-exported var #0 in URL state in the function url2state
002 2009-09-28 11:35:59 /webinator/dowalk: Cannot open source file: Permission denied
100 2009-09-28 11:35:59 [Error Script]: Bad/non-exported var #0 in URL state in the function url2state

Please help....
legedza.henry
Posts: 142
Joined: Wed Jul 24, 2002 11:52 pm

missing .vtx file and no admin interface

Post by legedza.henry »

I changed the permissions to match the other files and the admin interface is back as the .vtx file.

But I can't seem to kill two profiles which started indexing just after the dowalk file was modified. I have tried the web admin STOP as well as entering the command via the command prompt as well as rebooting the machine...

The Walks Status shows: Dispatcher Initializing and launching walk...

And the profile setting shows:

Walk already running. Ignoring second walk start request.
legedza.henry
Posts: 142
Joined: Wed Jul 24, 2002 11:52 pm

missing .vtx file and no admin interface

Post by legedza.henry »

Ignore previous 2 messages as I have now sorted the issue out.

BUT - the cause of the original problem was this change was made to the dowalk script:

<if $SSc_walking ne ""><!-- walk in progress -->
<write append $summaryfile>
<b>Walk already running. Ignoring second walk start request.</b><br>
</write>
<exit><!-- quit -->
</if>
<strfmt "F:/Webinator/querylog/querylog%at.txt" "%Y%m%d%H%M%S" now>
<write $ret>
<db=$dblive>
<sql row "SELECT CONVERT(id, 'date') id, Client, Query, Info FROM querylog">
$id $Client $Query $Info
</sql>
<db=$SS_db>
</write>


Should making the above change to the dowalk script cause any problems? It all worked fine in the past; simply creating a log file of the queries that were done.
User avatar
John
Site Admin
Posts: 2595
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

missing .vtx file and no admin interface

Post by John »

It could have caused the problems if the dowalk script was saved with different permissions that the web server or Texis CGI could not read.
John Turnbull
Thunderstone Software
Post Reply