Linux redhat installation problem

harold@dovesystems
Posts: 35
Joined: Tue Oct 03, 2000 7:45 pm

Linux redhat installation problem

Post by harold@dovesystems »

I changed the day of week of all walks by 1 (Sunday to Monday, Monday to Tuesday, etc.) and hit update. FccCsb was supposed to walk this morning at 1am. Looking at the walk summary, I see:

/usr/local/morph3/texis/FccCsb/db1
Last complete walk: 2002-01-01 19:11:08 (took 53 minutes 10 seconds)

Looking at monitor.log, I see:

200 Jan 3 22:47:42 Database Monitor on /usr/local/morph3/texis/FccCcb/db1/ exiting (pid 13374)
000 Jan 4 01:45:05 gethostbyname: No such file or directory in the function ezshostnum
000 Jan 4 01:47:42 gethostbyname: No such file or directory in the function ezshostnum
000 Jan 4 01:48:04 gethostbyname: No such file or directory in the function ezshostnum
200 Jan 4 03:04:35 Database Monitor on /usr/local/morph3/texis/FccWtb/db1/ starting (pid 20723)
200 Jan 4 03:07:35 Database Monitor on /usr/local/morph3/texis/FccWtb/db1/ exiting (pid 20723)
200 Jan 4 03:09:13 Database Monitor on /usr/local/morph3/texis/FccWtb/db1/ starting (pid 20891)
200 Jan 4 03:12:13 Database Monitor on /usr/local/morph3/texis/FccWtb/db1/ exiting (pid 20891)
200 Jan 4 03:12:30 Database Monitor on /usr/local/morph3/texis/FccWtb/db1/ starting (pid 20951)
200 Jan 4 03:16:30 Database Monitor on /usr/local/morph3/texis/FccWtb/db1/ exiting (pid 20951)
200 Jan 4 08:51:04 Database Monitor on /usr/local/morph3/texis/hi/db1/ starting (pid 12768)
200 Jan 4 08:51:28 Database Monitor on /usr/local/morph3/texis/FccMmb/db2/ starting (pid 12809)
200 Jan 4 08:51:43 Database Monitor on /usr/local/morph3/texis/FccCsb/db1/ starting (pid 12833)
200 Jan 4 08:54:04 Database Monitor on /usr/local/morph3/texis/hi/db1/ exiting (pid 12768)
200 Jan 4 08:54:28 Database Monitor on /usr/local/morph3/texis/FccMmb/db2/ exiting (pid 12809)
200 Jan 4 08:54:43 Database Monitor on /usr/local/morph3/texis/FccCsb/db1/ exiting (pid 12833)

Looks like nothing started at 1am. Perhaps the gethostbyname error is a problem? This is probably due to my unusual install procedure (install on RH7.2 machine, copy files over to RH7.1 machine).

I noticed last night when making the changes to the walk days that the rewalk schedule shows up at the top of the walk summary screen. Going back to Profiles, selecting the same profile again, then going to walk summary, the schedule is not at the top of the screen (though it is still correct in the select box). Is this a clue?

Finally, there WAS another SLOW walk in progress that I started manually. Will Webinator start another walk while one is running? If not, does it start when the previous one ends?

THANKS! (I sent in my order for commercial webinator with plugin last night... You really aren't doing all this work for free...)

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

Linux redhat installation problem

Post by mark »

When you change the schedule, it will print the new schedule in a gray bar at the top of the settings page. It will not print the schedule otherwise, except in the settings boxes.

The gethostbyname would seem to indicate that the machine doesn't know it's own name or it's name does not resolve to an IP address. It's not related to the install procedure. Use the system's "hostname" command to find the machine's idea of it's own name. Then use the system's "host" command to see if can be looked up. Or see if the name is listed in /etc/hosts. At the very least a machine's own name as printed by hostname should appear in /etc/hosts.

From a shell prompt run
texis -LS
to see what's scheduled and the status. If it says nothing is scheduled the problem is the registration process. Check your vortex.log file and/or the source of the resulting page when you change the schedule to find any related errors.

If it shows the schedule, the details there might be illustrative.

If a walk on the same profile is in progress it will not start a new one. An active walk of a different profile will not prevent it.
harold@dovesystems
Posts: 35
Joined: Tue Oct 03, 2000 7:45 pm

Linux redhat installation problem

Post by harold@dovesystems »

Here's /etc/hosts:

[harold@kauko /etc]$ cat hosts
192.168.1.8 kauko.hallikainen.org
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
63.194.113.64 kauko.hallikainen.org
192.168.1.2 margaret.hallikainen.org
192.168.1.5 sony.hallikainen.org

Webinator is running on kauko.hallikainen.org which has a local ip of 192.168.1.8 . The router translates this to 63.194.113.64 for the outside world.

[harold@kauko /etc]$ hostname
kauko

[harold@kauko /etc]$ host kauko.hallikainen.org
kauko.hallikainen.org. has address 63.194.113.64
[harold@kauko /etc]$ host 63.194.113.64
64.113.194.63.in-addr.arpa. domain name pointer adsl-63-194-113-64.dsl.snlo01.pacbell.net.

[harold@kauko harold]$ texis -LS
Script: /home/harold/public_html/webinator/dowalk/dispatch.txt
Vars: profile=FccCsb what=sched
Schedule: weekly on fri at 1
Next run: 2002-01-11 01:00 (in 6d 14h)
Last run: never
First run: never
Status: runnable, 0 executions, first last, id 3c35e33a9
<H6 ALIGN=right><A HREF="http://www.thunderstone.com/" TARGET="_top"><IMG SRC="/copy.gif" BORDER
=0 WIDTH=304 HEIGHT=11 ALIGN=top ALT="Texis & Webinator Copyright (C) 2001 THUNDERSTONE - EP
I, Inc."></A></H6>


Looks like the one scheduled to run this morning is scheduled to run next week. There are LOTS of other walks scheduled that are not showing up here.


Here's today's vortex.log

000 Jan 4 07:30:24 /webinator/search:1109: (7269) Terminated (signal 15); will exit ASAP
000 Jan 4 07:30:24 /webinator/search:1109: (7269) exiting due to previous signal 15
000 Jan 4 07:41:31 /webinator/search:1109: (7898) Terminated (signal 15); will exit ASAP
000 Jan 4 07:41:31 /webinator/search:1109: (7898) exiting due to previous signal 15
000 Jan 4 07:41:39 /webinator/search:1109: (7911) Terminated (signal 15); will exit ASAP
000 Jan 4 07:41:39 /webinator/search:1109: (7911) exiting due to previous signal 15
000 Jan 4 07:47:50 /webinator/search:1109: (8298) Terminated (signal 15); will exit ASAP
000 Jan 4 07:47:50 /webinator/search:1109: (8298) exiting due to previous signal 15
000 Jan 4 07:52:58 /webinator/search:1109: (8680) Terminated (signal 15); will exit ASAP
000 Jan 4 07:52:58 /webinator/search:1109: (8680) exiting due to previous signal 15
000 Jan 4 07:54:11 /webinator/search:1109: (8749) Terminated (signal 15); will exit ASAP
000 Jan 4 07:54:11 /webinator/search:1109: (8749) exiting due to previous signal 15
000 Jan 4 07:56:46 /webinator/search:1121: (8931) Terminated (signal 15)
000 Jan 4 07:59:12 /webinator/search:1109: (9108) Terminated (signal 15); will exit ASAP
000 Jan 4 07:59:12 /webinator/search:1109: (9108) exiting due to previous signal 15
000 Jan 4 08:01:01 /webinator/search:1109: (9263) Terminated (signal 15); will exit ASAP
000 Jan 4 08:01:01 /webinator/search:1109: (9263) exiting due to previous signal 15
000 Jan 4 08:02:33 /webinator/search:1109: (9364) Terminated (signal 15); will exit ASAP
000 Jan 4 08:02:33 /webinator/search:1109: (9364) exiting due to previous signal 15
000 Jan 4 08:09:44 /webinator/search:1109: (9880) Terminated (signal 15); will exit ASAP
000 Jan 4 08:09:44 /webinator/search:1109: (9880) exiting due to previous signal 15
000 Jan 4 08:10:36 /webinator/search:1109: (9952) Terminated (signal 15); will exit ASAP
000 Jan 4 08:10:36 /webinator/search:1109: (9952) exiting due to previous signal 15
000 Jan 4 08:11:27 /webinator/search:1109: (10028) Terminated (signal 15); will exit ASAP
000 Jan 4 08:11:27 /webinator/search:1109: (10028) exiting due to previous signal 15
000 Jan 4 08:15:35 /webinator/search:1109: (10314) Terminated (signal 15); will exit ASAP
000 Jan 4 08:15:35 /webinator/search:1109: (10314) exiting due to previous signal 15
000 Jan 4 08:20:19 /webinator/search:1109: (10682) Terminated (signal 15); will exit ASAP
000 Jan 4 08:20:19 /webinator/search:1109: (10682) exiting due to previous signal 15
000 Jan 4 08:32:49 /webinator/search:1109: (11532) Terminated (signal 15); will exit ASAP
000 Jan 4 08:32:49 /webinator/search:1109: (11532) exiting due to previous signal 15
000 Jan 4 08:36:28 /webinator/search:1109: (11795) Terminated (signal 15); will exit ASAP
000 Jan 4 08:36:28 /webinator/search:1109: (11795) exiting due to previous signal 15
002 Jan 4 10:15:13 /x: Can't open source file /home/harold/public_html/x: No such file or directory
002 Jan 4 10:16:02 /x: Can't open source file /home/harold/public_html/x: No such file or directory

By the way (perhaps from an earlier installation of an earlier version), I also have vortex.log in

locate vortex.log
/home/harold/webinator/texis/vortex.log
/usr/local/morph3/texis/vortex.log

A quick look through the source of dowalk after changing the schedule does not reveal any error messages (but there's a lot of stuff there, so I could have missed it).

Thanks for all your efforts on this. I am obviously able to start walks manually, so this is not a fatal problem. It would be nice to find out what went wrong, though.

Thanks!

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

Linux redhat installation problem

Post by mark »

As evidenced by hostname your machine thinks it is called kauko, not kauko.hallikainen.org . Set the hostname to kauko.hallikainen.org or add kauko to your /etc/hosts on the same line as kauko.hallikainen.org . See if that eliminates the gethostbyname errors.

It would appear that scheduling from the admin interface is only respecting the last thing scheduled. We'll have to look into that get back to you with a script fix.

BTW, you are supposed to look at the source of the page dowalk generates when you update your settings, not the source of dowalk itself. Errors should fairly easy to spot because they will look like they do in vortex.log but be inside HTML comments. eg:
<!-- 000 Jan 4 01:45:05 gethostbyname: No such file or directory in the function ezshostnum -->
harold@dovesystems
Posts: 35
Joined: Tue Oct 03, 2000 7:45 pm

Linux redhat installation problem

Post by harold@dovesystems »

Thanks! I'll watch for the script fix on scheduling. Meanwhile I'll start walks by hand.

Harold
Post Reply