Some errors while upgrading

Post Reply
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Some errors while upgrading

Post by Faiz »

Hi,
I got some following errors when I was upgrading TEXIS to the latest version.
000 /usr/local/morph3/webinator/sandr: Could not unschedule /usr/local/morph3/we
binator/sandr via monitor: Can't connect to host
000 /usr/local/apache/htdocs/webinator/newsearch: connect() failed: Connection r
efused in the function ezclientsocknblk
002 /usr/local/apache/htdocs/webinator/newsearch: Can't connect to 127.0.0.1:100
05: Connection refused
000 /usr/local/apache/htdocs/webinator/newsearch: Could not unschedule /usr/loca
l/apache/htdocs/webinator/newsearch via monitor: Can't connect to host

And whenever I update index, I get the same error. What could be the reason? Has semaphore anything to do with this?

Thanx,
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Some errors while upgrading

Post by Kai »

The old version of the monitor is probably still running, which doesn't know <SCHEDULE>; script compiles try to de-schedule scripts if there's no <SCHEDULE> tag in the new versions. These errors are benign; if you kill and restart the monitor with the following command line commands the errors should go away:

monitor -k
monitor
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Some errors while upgrading

Post by Faiz »

Yeah, its gone. Thanx.
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Some errors while upgrading

Post by Faiz »

I am getting the same errors again today morning. I killed the monitor and started again. The errors are going for while and then appear again. I get the monitor failed error even on the search result page. I even tried to re-install everything. It still gave me the same errors.
When I did a texis -license, it said,
Monitor error: Can't write license file
Previous versions of TEXIS were installed without any errors. This is the one which is giving error. Please let me know, what to do.
Thanx,
User avatar
Kai
Site Admin
Posts: 1271
Joined: Tue Apr 25, 2000 1:27 pm

Some errors while upgrading

Post by Kai »

Texis and its programs must always be run as the same user to avoid permissions issues; this same user should own and be able to write to /usr/local/morph3 (or wherever you installed) and everything in it, and be the CGI user for your web server. You should setuid the programs in morph3/bin to this Texis user, ie.:

cd /usr/local/morph3/bin
chown YourTexisUser monitor rmlocks texisd gw
chmod u+s monitor rmlocks texisd gw

The install program does this if run as root. Make morph3/license.key writable by the Texis user, and restart the monitor while logged in as the Texis user.
Post Reply