Webinator help

quentin.smith0
Posts: 22
Joined: Thu Feb 05, 2004 11:45 am

Webinator help

Post by quentin.smith0 »

The logs indicate the walks completed, and can you please explain the searches.
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Webinator help

Post by mark »

See message 14.
quentin.smith0
Posts: 22
Joined: Thu Feb 05, 2004 11:45 am

Webinator help

Post by quentin.smith0 »

All the searches are working.
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Webinator help

Post by mark »

Since gw doesn't background itself or linger after completion the zombies must be the result of shell or system defects. I'm not sure what to suggest if the system won't release the executables when they finish. I guess you'll just have to kill them at the end of the run. You could add something like this to the end of your shell script:

ps -ef | grep webinator/bin/gw | nawk '{system("kill " $2);}'
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Webinator help

Post by mark »

One interesting thing to note however is that the system seems to be ignoring the setuid bits in the perms because gw is setuid to steve but the zombie procs are owned by root.
quentin.smith0
Posts: 22
Joined: Thu Feb 05, 2004 11:45 am

Webinator help

Post by quentin.smith0 »

Is it because the script is run by root in the crontab.
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Webinator help

Post by mark »

The setuid bit should make the programs run as steve, not root. You could try running the script as steve instead of root though.
quentin.smith0
Posts: 22
Joined: Thu Feb 05, 2004 11:45 am

Webinator help

Post by quentin.smith0 »

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

Webinator help

Post by mark »

It appears you pasted it incorrectly. The "Rewalking database" would be the first line, not the last. But otherwise, yes that appears complete. It only walked one page, but that's a different issue altogether.
Post Reply