Groups | Blog | Home
all groups > sql server full text search > december 2003 >

sql server full text search : Microsoft Search Service Fails on Boot--!


Russ
12/30/2003 9:56:44 AM
I have been having a problem with the microsoft sesarch service failing on
boot up. All that I get from the event logs is: Event ID: 7009-"Timeout
(30000 milliseconds) waiting for the Microsoft Search Service to connect."
and Event ID: 7000-"The Microsoft Search service failed to start due to the
following error: The service did not respond to the start or control request
in a timely fashion.". The box has SQL 2000 w/SP3a on it and is running
Small business server 2003. I have reregistered several of the .dll files
associated with the search service. If I manually start after being logged
in it starts fine with no errors. Is there any type of detailed debugging
that can be run along side this? I have already tried posting in the SBS
Newsgroup with no success. Any help would be greatly appreciated.

Thanks,

Russ Grotewold

John Kane
12/30/2003 10:30:34 AM
Russ,
The timeout errors *might* be a symptom that is "hiding" the real
problems... Have you or anyone else recently changed the MSSQLServer startup
account &.or password? IF so, checkout the following KB article 317746
(Q317746) PRB: SQL Server Full-Text Search Does Not Populate Catalogs
[800705b4 timeout] at
http://support.microsoft.com/default.aspx?scid=kb;en-us;317746 and 277549
(Q277549) PRB: Unable to Build Full-Text Catalog After You Modify
MSSQLServer Logon Account Through [NT4.0) Control Panel [or Win2K Component
Services] at http://support.microsoft.com/default.aspx?scid=KB;EN-US;277549

Does the SQL Server login BUILTIN\Administrators exist? If so, does it have
master as the default database and sysadmin privileges? If not, then either
add this login back or use the following code:

exec sp_grantlogin N'NT Authority\System'
exec sp_defaultdb N'NT Authority\System', N'master'
exec sp_defaultlanguage N'NT Authority\System','us_english'
exec sp_addsrvrolemember N'NT Authority\System', sysadmin

see also KB article: 263712 (Q263712) INF: How to Impede Windows NT
Administrators from Administering a Clustered SQL Server
http://support.microsoft.com/default.aspx?scid=KB;EN-US;263712

What dll's did you register? Could you list them in your reply as you might
of missed one or two. If the above does not resolve the timeout errors, the
problem *might* also exist in one or more registry keys that are missing
&/or have incorrect information. Could you post your SearchSetup.log
(usually under\windows or \winnt folders) and sqlsp.log.

FYI, debugging the MSSearch service is a non-trivial effort and if you want
to do this, then I'd recommend that you open a support case with Microsoft
PSS SQL Server support...

Regards,
John



[quoted text, click to view]

John Kane
12/30/2003 12:03:16 PM
You're welcome, Russ,
Hmm... several possible issues here... First of all, Exchange 2003 as well
as install it on the same machine as SQL Server 2000 and both products use
the "Microsoft Search" (mssearch.exe) service. Additionally, installing both
product on a DC can be problematic too... Exchange 2003 *might* of upgraded
the MSSearch service and cause problems for SQL Server or the upgrade of the
MSSearch by Exchange might of failed for some reason. Could you provide the
MSSearch.exe version info?

Is this a clustered environment? If so, is this a active/passive or
active/active (multi-instance) environment? Yes, it is possible the startup
sequence is incorrect. Please review the "Dependencies" of the "Microsoft
Search" service as it should depend upon NT LM Security Support provider and
Remote Procedure Call (RPC) services, if yours is different, please post
what is the difference.

As for your NTBackup question, "non-simple recovery mode", indicates that
your database has the Recovery model of either "Full" (default) or
"Bulk-Logged". This is most likely a warning by NTBackup and a
recommendation to use SQL Server Agent to schedule your Database backup as
well as Transaction log backups. See SQL Server Books Online (BOL) titles
"Database Maintenance Plan Wizard" and "Handling Multiple Job Steps".
However, if you want, you can stop the MSSQLServer service and the MSSearch
service (optional) via NET STOP <service_name> and use NTBackup to backup
your database files as "file level" back, if you must have a file level
backup vs. a database & transaction log backup.

Thanks,
John
PS: Yes, I recognize the list of dll's from previous post I made...



[quoted text, click to view]

Russ
12/30/2003 2:02:12 PM

John,
Thank you for the reply. The service is set to run under the local
system account and the builtin\administrators still exists under SQL. The
machine is a domain controller and previously had exchange 2003 installed.
When exchnage was installed the system attendant service would fail along
with the microsoft search service at boot up. Just like now, once logged in
you can manually start the services and all works well. Is it possible that
the startup order of services is incorrect? If that is even possible. These
are the .dlls that I reregistered. They were pulled from a previous post by
you. Also while I have your time, I get an error when trying to do a
ntbackup on a database that we have installed from another company to
support my clients dental software. When it tries to do a back-up it
displays this in the back-up log:

MSDEWriter has reported a VSS error 0x800423f4.
NtBackup does not support backing up SQL databases which are configured in
non-simple recovery mode.
If the database has been backed up, it is likely corrupted. Please do not
restore this database.
The recommended way of backing up non-simple SQL database is to use the
backup solution that comes with SQL Server.

I do know how to do the SQL back-up if needed to be, I was just curious if
you understood why this happens?

in ..\MSSearch\Bin
==================
ftsqlpar.dll
mssadmin.dll
msscntrs.dll
mssmmcsi.dll
mssmsg.dll
mssmulpi.dll
mssph.dll
mssrch.dll
msstools.dll
nlhtml.dll
objcreat.dll
offfilt.dll
propdefs.dll
srchadm.dll
srchidx.dll
tquery.dll

in ..\MSSearch\Common
=====================
mssitlb.dll


in ..WINNT\System32\
====================
athprxy.dll

Thanks again John,

Russ Grotewold

[quoted text, click to view]

John Kane
1/2/2004 9:00:01 AM
Russ,
Yep, I'm not a big fan of SBS as well, but when in Rome... as with SBS
everything must be on the sam box...
MSSearch startup does a number of checks to registry keys, some that are
available and others that are in the Secrets (Win2K) or the Security
(Win2003) hive and not accessible. If you want you can use Regmon.exe from
http://www.sysinternals.com/ntw2k/source/regmon.shtml and monitor the
MSSearch.exe service for the registry keys it accesses, but this kind of
troubleshooting can and does take time to determine the problem reg key &/or
value...

Short of re-installing the SQL FTS/MSSearch components, this *could* (but
most likely not) be resolved by increasing the Microsoft
Search connect timeout parameter via:

use master
go
sp_fulltext_service 'connect_timeout', <value_in_seconds> -- default = 20
seconds.
go

You can set this value to 120 (2 minutes) and while it did resolved this
error for some customers, however for others it did NOT resolve this error.

You most likely will have to "re-install" the "Full-text Search" components
via deleting (or renaming) the below "tracking key" and re-install (If
you're not using a named instance, remove "<Instance_Name>\".)

NOTE: be sure to be logged on to the server as either Administrator or as a
member of the server's Admin Group!

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\<Instance_Name>\Tracking\
{E07FDDA7-5A21-11d2-9DAD-00C04F79D434}

Once you've done removed (renamed) the above tracking key, then delete the
MSSearch directory from either:

drive_letter:\Program Files\Common Files\Microsoft Shared\
or
drive_letter::\Program Files\Common Files\System\

Then using your SQL Server 2000 installation CD re-install via "Custom
Installation" the Full-Text Search component (it should be un-checked). When
this completes find and save these files: SearchSetup.log (usually under
\windows or \winnt folders) and sqlsp.log. If any problems, please post
these files.

Re-install SQL Server 2000 SP3a, so that the newly installed MSSearch
components are upgraded to SP3a levels.
Re-boot &/or restart the MSSearch and MSSQLServer services.

Note, if the method above fails (and there are other methods) you might need
to open a support case with Microsoft PSS SQL Server Support...
Regards,
John
PS: I was not aware of the other post, but it's best to post SQL FTS issues
here in this fulltext newsgroup!




[quoted text, click to view]
Russ
1/2/2004 9:30:09 AM
John,
Unfortunately this is on a small business server install(not a big fan)
so I had to install all of it on the same box. Typically I usually separate
the roles. The mssearch.exe version is 9.107.8320.1. It is not a clustered
environment. The service dependencies look good also. Thanks for the back-up
info I took care of it. Do you by chance know what steps mssearch takes as
it is starting.?Maybe an interface error somewhere in the registry or
another bad value? The one thing that continues to stump me is why it will
start manually without a hitch.

BTW, I found this post from a couple months ago in this newsgroup and was
wondering if you had any knowledge of it
http://www.mcse.ms/message83908.html

Thanks Again for your help,

Russ
[quoted text, click to view]
AddThis Social Bookmark Button