PDA

View Full Version : ZWCservice Doesnt Start!!!!



bnaranjo
June 12th, 2009, 08:45 AM
Helllo
i've tried to installed w32 client in 5 win xp machines, 3 are working perfect
but in two im getting this error from the service ZWCservice

i did the exact same process in the working machine and in the non-working machine (set up password for amandabackup user, set the server name, changed the locale to match my language (Administrators=Administradores).

Error 0xca, error code 202, when i started from services.msc (the service doesnt start automatically).

In the Amanda Logs in the client machine i found these:
Zmanda Windows Client Version 2.6
Zmanda Windows Client, Copyright 2006-2007 Zmanda Inc.
-------------------------------Log file header--------------------------------
Process Id: 3300

-------------------------------Log file debug info----------------------------
3300:2716:11:34:772:Start of 'Zmanda Client for Windows' Installation--------------------------------
3300:2716:11:34:881:[Installation::SearchForOpenPort]:Found unbound port : 3307 for ZWC-MySQL Installation
3300:2716:11:34:881:[Installation::WriteToMySQLIni]:Wrote port information onto MySQL.INI
3300:2716:11:34:975:[Installation::CreateAmandaMySQLService]:Installation of ZWC-MySQL Service succeeded !!
3300:2716:11:34:100:[Installation::CreateAmandaMySQLService]:Installation of ZWC-MySQL Service succeeded !!
3300:2716:11:34:710:[Installation::CreateMySQLUser]:Successfully created the 'amandabackup' user for ZWC-MySQL
3300:2716:11:34:70:Catalog:GetStatementHandle: sql specific error
3300:2716:11:34:70:Catalog: IsConnected: Reconnecting
3300:2716:11:34:85:Catalog: IsConnected: Freeing connection handles
3300:2716:11:34:195:Catalog: IsConnected: Reconnecting to database
3300:2716:11:34:195:Catalog: IsConnected: Connected to database
3300:2716:11:34:226:Catalog:DropSchema: SQL specific error
3300:2716:11:34:257:[MySQL][ODBC 5.1 Driver][mysqld-5.0.41-community-nt]Can't drop database 'zwccatalog'; database doesn't exist
3300:2716:11:34:273:[Installation::CreateNewUser]:Successfully created the 'amandabackup' user for ZWC
3300:2716:11:34:617:[Installation::AddUserToGroup]:Successfully added user : amandabackup to group : Operadores de copia
3300:2716:11:34:804:[Installation::AddUserToGroup]:Successfully added user : amandabackup to group : Administradores
3300:2716:11:34:992:[Installation::AddUserToGroup]:Successfully added user : amandabackup to group : Usuarios
3300:2716:11:34:461:[Installation::AssignServiceLogonRights]:Successfully assigned the LogonAsService right to user : 'amandabackup'
3300:2716:11:34:773:[Installation::CreateZWCService]:Installation of "ZWCService" Service succeeded !!
3300:2716:11:35:135:[Installation::CreateZWCService]:Starting the service "ZWCService" failed !!
3300:2716:11:35:135:If you are running Windows XP,This might be due to a blank password entered for amandabackup.For this please change your security ppolicy for allowing non-console logon using blank passwords
3300:2716:11:35:135:Or else,this could be due to the service "ZWCService" being in the disabled state before installation.Please make sure that ZWCService is not in the disabled state before installation.
3300:2716:11:35:760:[Installation::WriteEncryptedPasswords]:Writing of encrytped password to registry succeeded!
3300:2716:11:35:760:End Of 'Zmanda Client for Windows' Installation----------------------------------
ador de controladores ODBC] No se encuentra el nombre del origen de datos y no se especificó ningún controlador predeterminado
5480:5752:11:35:165:Catalog: IsConnected: Reconnecting to database
5480:5752:11:35:165:Catalog:ConnectToDb: sql specific error
5480:5752:11:35:165:[Microsoft][Administrador de controladores ODBC] No se encuentra el nombre del origen de datos y no se especificó ningún controlador predeterminado
5480:5752:11:35:165:CZWCJobHandler : Failed to connect to Database
5480:5752:11:35:168:Catalog:GetStatementHandle: sql specific error
5480:5752:11:35:168:Catalog: IsConnected: Reconnecting
5480:5752:11:35:168:Catalog: IsConnected: Freeing connection handles
5480:5752:11:35:168:Catalog:DisconnectDb: sql specific error
5480:5752:11:35:168:[Microsoft][Administrador de controladores ODBC] Conexión no abierta
5480:5752:11:35:168:Catalog:ConnectToDb: sql specific error
5480:5752:11:35:168:[Microsoft][Administrador de controladores ODBC] No se encuentra el nombre del origen de datos y no se especificó ningún controlador predeterminado
5480:5752:11:35:168:Catalog: IsConnected: Reconnecting to database
5480:5752:11:35:168:Catalog:ConnectToDb: sql specific error
5480:5752:11:35:168:[Microsoft][Administrador de controladores ODBC] No se encuentra el nombre del origen de datos y no se especificó ningún controlador predeterminado


Any help? it would be greatly appreciated
Thanks

bnaranjo
June 12th, 2009, 08:48 AM
I've forgot to mention that i've already done these:

3300:2716:11:35:135:If you are running Windows XP,This might be due to a blank password entered for amandabackup.For this please change your security ppolicy for allowing non-console logon using blank passwords
3300:2716:11:35:135:Or else,this could be due to the service "ZWCService" being in the disabled state before installation.Please make sure that ZWCService is not in the disabled state before installation.

but still doesnt work, and i dont have any clue

gokul
June 14th, 2009, 07:17 AM
Hello,
This is what the logfile revealed (translated to English)

"Can not find the data source name was not specified and no default driver".

This means that the ODBC driver for the internal MySQL database was not installed properly, or might have had some ODBC localization issues during Installation. Can you please check if the MySQL ODBC driver is installed properly by looking up the registry at :

HKLM\Software\ODBC\ODBCINST.INI. This should contain a hive for your installed ODBC. (example: MySQL ODBC 5.1 (in english)) .

Gokul.

bnaranjo
June 15th, 2009, 06:25 AM
Hi Gokul
I went there in the windows registry
and found this:

My SQL ODBC 5.1
Driver REG_SZ C:\windows\system32\myodbc5.dll
Setup REG_SZ C:\windows\System32\myodbc55.dll
Usage Count REG_DB 0X00000006 (6)

i check it in both working and no working computers and its almost exactly the same (the diference is the usage count).

I downloaded and reinstalled de MySQL ODBC connector from http://dev.mysql.com/downloads/connector/odbc/, and then reinstalled the zmanda w32 client but still no luck.

thx anyway. if you know something else that can be done, i would gladly try it

bnaranjo
June 15th, 2009, 07:07 AM
I've forgot to mention that the ZWCservice indeed started when i changed the running account to LOCAL SYSTEM, i dont know what i've to change in the amanda key's in the registry to make it work with de LOCAL SYSTEM account.

it just doesnt start when i use a local or a domain account, not even with a NETWORK SERVICE ACCOUNT, only with LOCAL SYSTEM