Whenever I try to run the zmd-based "Install Software" shortcut in SUSE Linux 10.1 final, the program will freeze at "Getting List...". I have found the corresponding log (/var/log/zmd-messages.log) and here is the pertinent block of errors:
12 May 2006 21:08:20 INFO ServiceManager Adding service (keeping if fail):
ftp://204.152.191.39/%2fopensuse/dis...0060512-150448
12 May 2006 21:08:20 INFO UnixWebServer Unix server listening for connections.
12 May 2006 21:08:20 WARN Daemon Not starting remote web server
12 May 2006 21:08:20 INFO DaemonHealth Current RSS size is 17776 KB
12 May 2006 21:10:01 INFO Daemon Starting ZMD version 7.1.1
12 May 2006 21:10:01 INFO Daemon Using Mono 1.1.13.7
12 May 2006 21:10:01 INFO WebCache Expiring cached files...
12 May 2006 21:10:02 INFO Daemon Loading trusted certificates...
12 May 2006 21:10:02 WARN NetworkManagerModule Failed to connect to NetworkManager
12 May 2006 21:10:07 INFO ModuleLoader Loaded 'NetworkManager' - 'NetworkManager support'
12 May 2006 21:10:07 INFO ModuleLoader Loaded 'Package Management' - 'Package Management module for Linux'
12 May 2006 21:10:07 INFO ModuleLoader Loaded 'ZENworks Server' - 'SOAP methods used by a ZENworks server'
12 May 2006 21:10:07 INFO ModuleLoader Loaded 'XML-RPC interface' - 'Export ZMD public interfaces over XML-RPC'
12 May 2006 21:10:07 INFO ServiceManager Mounting Initial Services
12 May 2006 21:10:07 INFO ServiceManager Adding service (keeping if fail):
ftp://204.152.191.39/%2fopensuse/dis...0060512-150448
12 May 2006 21:10:07 WARN Daemon Not starting remote web server
12 May 2006 21:10:07 INFO UnixWebServer Unix server listening for connections.
12 May 2006 21:10:07 INFO DaemonHealth Current RSS size is 17408 KB
12 May 2006 21:10:36 INFO ZenThread Unhandled exception: System.ApplicationException: database disk image is malformed
in <0x000e5> Mono.Data.SqliteClient.SqliteDataReader:.ctor (Mono.Data.SqliteClient.SqliteCommand cmd, IntPtr pVm, Int32 version)
in (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteDataReader:.ctor (Mono.Data.SqliteClient.SqliteCommand,intptr,int)
in <0x00064> Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (CommandBehavior behavior)
in <0x00013> Mono.Data.SqliteClient.SqliteCommand:ExecuteReader ()
in <0x00010> Mono.Data.SqliteClient.SqliteCommand:System.Data.IDbCommand.ExecuteReader ()
in <0x000e5> Novell.Zenworks.Zmd.Packaging.SqlPackage:GetPackages (System.Type type, System.String wherePart)
in <0x00054> Novell.Zenworks.Zmd.Packaging.SqlPackage:GetPackagesByCatalog (System.Type type, Novell.Zenworks.Zmd.Catalog catalog)
in <0x0004d> Novell.Zenworks.Zmd.Packaging.RedCarpetBackend:LoadFromDatabase (System.Type type, Novell.Zenworks.Zmd.Packaging.ResolvableCatalog catalog)
in <0x00176> Novell.Zenworks.Zmd.Packaging.RedCarpetBackend:ParseMetadata (System.String type, System.Type resolvableType, System.String uri, System.String path, Novell.Zenworks.Zmd.Catalog catalog)
in <0x0004c> Novell.Zenworks.Zmd.Packaging.ZyppService:DoRefresh ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
in <0x002ca> Novell.Zenworks.Zmd.ZenThread:WorkerLoop ()
12 May 2006 21:17:25 INFO Daemon Received signal SIGTERM
12 May 2006 21:17:48 INFO Daemon Received signal SIGTERM
I have tried deleting the source with 'rug service-delete' and also removing my user with 'rug user-delete' and adding both back in, but the service fails to add because the "database disk image is malformed".
Is there a way I can delete this SQLite database and rebuild it? rpm --rebuilddb did not fix this problem. YaST still works for managing packages just fine. Thanks in advance.