search engine

Hello,

I have a problem with my search engine on a Portal Server 2005q4. The robot is in a unknow state!

when i try to start it by the console (robot overview), it makes a very long time (more than 5 minutes) to respond and I got this :

The Robot is: Unknown

If i try with the command line

/var/opt/SUNWps/https-<myservername>/portal/StartRobot

it says : Success ... but still no effect

Nothing in the logs files :

==> robot.log <==

[27/Jun/2007:11:31:00] 26901@001:Workload complete.

[27/Jun/2007:11:47:33] 1963@001:Starting Robot...

[27/Jun/2007:11:47:33] 1963@001:Process Settings:

[27/Jun/2007:11:47:33] 1963@001:CSID:x-catalog://<myservername>:80/<myservername>

[27/Jun/2007:11:47:33] 1963@001:Policy:fifo

[27/Jun/2007:11:47:33] 1963@001:Server-Delay:0

[27/Jun/2007:11:47:33] 1963@001:Max Network Concurrency: 8

[27/Jun/2007:11:47:33] 1963@001:Enumeration Filter:enumeration-default

[27/Jun/2007:11:47:33] 1963@001:Generation Filter:generation-default

[27/Jun/2007:11:47:34] 1963@001:Robot is idle...

==> rdmgr.log <==

[27/Jun/2007:10:51:35] Starting rdmgr

[27/Jun/2007:10:51:35] PartitionedDb: Creating root dabatase

[27/Jun/2007:10:51:35] Indexed 4 RDs in 0 seconds (4800000 per hour)

[27/Jun/2007:10:51:36] Finished 4 RDs

[27/juin/2007:10:54:11] Starting rdmgr

[27/juin/2007:10:54:11] Dumping database: root

[27/juin/2007:10:54:11] Finished dump

[27/juin/2007:10:58:28] Starting rdmgr

[27/juin/2007:10:58:28] Dumping database: root

[27/juin/2007:10:58:28] Finished dump

==> searchengine.log <==

[27/Jun/2007:10:51:35] PM Init /var/opt/SUNWps/https-<myservername>/portal/db/default AWord 365771381

[27/juin/2007:10:54:11] PM Init /var/opt/SUNWps/https-<myservername>/portal/db/root AWord 591714425

[27/juin/2007:10:58:28] PM Init /var/opt/SUNWps/https-<myservername>/portal/db/root AWord 170330910

[27/juin/2007:10:58:28] IS 0 documents, 0,00 MB, 0,15 s, 0,00 MB/h

[27/juin/2007:10:58:28] PM Waitingfor housekeeper to finish

[27/juin/2007:10:58:29] PM Shutdown /var/opt/SUNWps/https-<myservername>/portal/db/root AWord 170330910

and, of course, the search engine doesn't work

if I try the url

http://myservername:80/search, the error message is :

no collection found on the server.

Is there anyone that can tell me what i must search for ? I'm a little bit lost in this misfunction !

some more information : i have 2 portal server, with load balancing. Few weeks ago, the search engine was allwrigth on both servers, now, they are both "broken" :-(

thanks for any help.

Philippe

[2986 byte] By [beutina] at [2007-11-27 9:00:11]
# 1

If the robot is really idle you should be able to find its process and kill it if necessary. Or try StopRobot first to see if that will end the process - to see if that gets it back on track. If you get really stuck, try restarting the portal server instance. And if really, really, really, stuck try:

stop server and any rdmgr processes that might be stuck

cd search_instance

./run-cs-cli rdmgr -R

start server

rdmgr -R recovers the search database in case it has any stale locks on it due to incorrectly killed processes.

The URL http://server/search is probably a web server search URL and has nothing to do with portal server. You can access the search server using something like /search1/testrdm.html (assuming search1 is the instance name as seen under /var/opt/SUNWportal/searchservers/instance_name). Or just access the search channel in the portal desktop.

mrawlinga at 2007-7-12 21:28:34 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

Hello and thanks,

I restarted my portal server, the robot and all so much times :-)

but, no changes.

the command run-cs-cli changes nothing at all...

i don't think the database is corrupted or invalid, i really think it comes from the robot itself.

I know some one change the user who the files under /var/opt/SUNWps belong and i think it comes from somethin g like this...

i can also try to remove the search engine and install it again... but i'm not sure the way to do it...

the commands Startrobot and StopRbot works fine, it's only when i try to see the state of the robot in the amconsole (i'm using 2005Q4) that it breaks down (the tab "robot") and, also when i use the searchprovider in the portal.

so : how to re-install ? or which file to restore...

thanks a lot for any help

Philippe

beutina at 2007-7-12 21:28:34 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
I found why !!!We had to change the IP Adress sometimes but the file /etc/hosts wasn't modified.i put it right and it works fine now !thanls for helpPhilippe
beutina at 2007-7-12 21:28:34 > top of Java-index,Web & Directory Servers,Portal Servers...