I have Kubuntu 7.10 (Gutsy Gibbon). I've tried installing zdesktop 0.53 as my own login in my home directory, as well as via sudo and as root itself into /root/zimbra/zdesktop/
During the install, I get an error: "Failed to inject zimlets. Some features may be missing."
Here's the output from the install (the first command is necessary as compiz is standard with Gutsy):
[QUOTE]
$ export AWT_TOOLKIT=MToolkit
$ sudo ./zdesktop_unix_intel_0_53.sh
Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
Warning: Cannot convert string "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
ij version 10.2
ij> CONNECT 'jdbc:derby:/root/zimbra/zdesktop/derby;create=true';
ij> RUN '/root/zimbra/zdesktop/db/db.sql';
ij> --
-- ***** BEGIN LICENSE BLOCK *****
-- Version: MPL 1.1
--
-- The contents of this file are subject to the Mozilla Public License
-- Version 1.1 ("License"). You may not use this file except in
-- compliance with the License. You may obtain a copy of the License at
-- http://www.zimbra.com/license">http://www.zimbra.com/license
--
-- Software distributed under the License is distributed on an "AS IS"
-- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
-- the License for the specific language governing rights and limitations
-- under the License.
--
-- The Original Code is: Zimbra Collaboration Suite Server.
--
-- The Initial Developer of the Original Code is Zimbra, Inc.
-- Portions created by Zimbra are Copyright (C) 2006, 2007 Zimbra, Inc.
-- All Rights Reserved.
--
-- Contributor(s):
--
-- ***** END LICENSE BLOCK *****
--
CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.storage.pageSize', '16384');
0 rows inserted/updated/deleted
ij> CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.storage.pageCacheSize', '1000');
0 rows inserted/updated/deleted
ij> CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.language.logQueryPlan', 'true');
0 rows inserted/updated/deleted
ij> CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.language.logStatementText', 'true');
0 rows inserted/updated/deleted
ij> CREATE SCHEMA zimbra;
0 rows inserted/updated/deleted
ij> SET SCHEMA zimbra;
0 rows inserted/updated/deleted
ij> -- -----------------------------------------------------------------------
-- volumes
-- -----------------------------------------------------------------------
-- list of known volumes
CREATE TABLE volume (
id SMALLINT NOT NULL GENERATED BY DEFAULT AS IDENTITY,
type SMALLINT NOT NULL, -- 1 = primary msg, 2 = secondary msg, 10 = index
name VARCHAR(255) NOT NULL,
path VARCHAR(32672) NOT NULL,
file_bits SMALLINT NOT NULL,
file_group_bits SMALLINT NOT NULL,
mailbox_bits SMALLINT NOT NULL,
mailbox_group_bits SMALLINT NOT NULL,
compress_blobs SMALLINT NOT NULL,
compression_threshold BIGINT NOT NULL,
CONSTRAINT pk_volume PRIMARY KEY (id),
CONSTRAINT ui_volume_name UNIQUE (name),
CONSTRAINT ui_volume_path UNIQUE (path)
);
0 rows inserted/updated/deleted
ij> -- This table has only one row. It points to message and index volumes
-- to use for newly provisioned mailboxes.
CREATE TABLE current_volumes (
message_volume_id SMALLINT NOT NULL,
secondary_message_volume_id SMALLINT,
index_volume_id SMALLINT NOT NULL,
next_mailbox_id INTEGER NOT NULL,
CONSTRAINT fk_current_volumes_message_volume_id FOREIGN KEY (message_volume_id) REFERENCES volume(id),
CONSTRAINT fk_current_volumes_secondary_message_volume_id FOREIGN KEY (secondary_message_volume_id) REFERENCES volume(id),
CONSTRAINT fk_current_volumes_index_volume_id FOREIGN KEY (index_volume_id) REFERENCES volume(id)
);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_message_volume_id ON current_volumes(message_volume_id);
0 rows inserted/updated/deleted
WARNING 01504: The new index is a duplicate of an existing index: SQL071121012252320.
ij> CREATE INDEX i_secondary_message_volume_id ON current_volumes(secondary_message_volume_id);
0 rows inserted/updated/deleted
WARNING 01504: The new index is a duplicate of an existing index: SQL071121012252321.
ij> CREATE INDEX i_index_volume_id ON current_volumes(index_volume_id);
0 rows inserted/updated/deleted
WARNING 01504: The new index is a duplicate of an existing index: SQL071121012252322.
ij> -- -----------------------------------------------------------------------
-- mailbox info
-- -----------------------------------------------------------------------
CREATE TABLE mailbox (
id INTEGER NOT NULL,
group_id INTEGER NOT NULL, -- mailbox group
account_id CHAR(36) NOT NULL, -- e.g. "d94e42c4-1636-11d9-b904-4dd689d02402"
index_volume_id SMALLINT NOT NULL,
item_id_checkpoint INTEGER NOT NULL DEFAULT 0,
contact_count INTEGER DEFAULT 0,
size_checkpoint BIGINT NOT NULL DEFAULT 0,
change_checkpoint INTEGER NOT NULL DEFAULT 0,
tracking_sync INTEGER NOT NULL DEFAULT 0,
tracking_imap SMALLINT NOT NULL DEFAULT 0,
last_backup_at INTEGER, -- last full backup time, UNIX-style timestamp
comment VARCHAR(255), -- usually the main email address originally associated with the mailbox
last_soap_access INTEGER NOT NULL DEFAULT 0,
new_messages INTEGER NOT NULL DEFAULT 0,
CONSTRAINT pk_mailbox PRIMARY KEY (id),
CONSTRAINT ui_mailbox_account_id UNIQUE (account_id),
CONSTRAINT fk_mailbox_index_volume_id FOREIGN KEY (index_volume_id) REFERENCES volume(id)
);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_mailbox_index_volume_id ON mailbox(index_volume_id);
0 rows inserted/updated/deleted
WARNING 01504: The new index is a duplicate of an existing index: SQL071121012252572.
ij> CREATE INDEX i_last_backup_at ON mailbox(last_backup_at, id);
0 rows inserted/updated/deleted
ij> -- -----------------------------------------------------------------------
-- deleted accounts
-- -----------------------------------------------------------------------
CREATE TABLE deleted_account (
email VARCHAR(255) NOT NULL,
account_id CHAR(36) NOT NULL,
mailbox_id INTEGER NOT NULL,
deleted_at INTEGER NOT NULL, -- UNIX-style timestamp
CONSTRAINT pk_deleted_account PRIMARY KEY (email)
);
0 rows inserted/updated/deleted
ij> -- -----------------------------------------------------------------------
-- mailbox metadata info
-- -----------------------------------------------------------------------
CREATE TABLE mailbox_metadata (
mailbox_id INTEGER NOT NULL,
section VARCHAR(64) NOT NULL, -- e.g. "imap"
metadata CLOB,
CONSTRAINT pk_metadata PRIMARY KEY (mailbox_id, section),
CONSTRAINT fk_metadata_mailbox_id FOREIGN KEY (mailbox_id) REFERENCES mailbox(id) ON DELETE CASCADE
);
0 rows inserted/updated/deleted
ij> -- -----------------------------------------------------------------------
-- out-of-office reply history
-- -----------------------------------------------------------------------
CREATE TABLE out_of_office (
mailbox_id INTEGER NOT NULL,
sent_to VARCHAR(255) NOT NULL,
sent_on TIMESTAMP NOT NULL,
CONSTRAINT pk_out_of_office PRIMARY KEY (mailbox_id, sent_to),
CONSTRAINT fk_out_of_office_mailbox_id FOREIGN KEY (mailbox_id) REFERENCES mailbox(id) ON DELETE CASCADE
);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_out_of_office_sent_on ON out_of_office(sent_on);
0 rows inserted/updated/deleted
ij> -- -----------------------------------------------------------------------
-- etc.
-- -----------------------------------------------------------------------
-- table for global config params
CREATE TABLE config (
name VARCHAR(255) NOT NULL,
value CLOB,
description CLOB,
modified TIMESTAMP,
CONSTRAINT pk_config PRIMARY KEY (name)
);
0 rows inserted/updated/deleted
ij> -- Tracks scheduled tasks
CREATE TABLE scheduled_task (
class_name VARCHAR(255) NOT NULL,
name VARCHAR(255) NOT NULL,
mailbox_id INTEGER NOT NULL,
exec_time TIMESTAMP,
interval_millis INTEGER,
metadata CLOB,
CONSTRAINT pk_scheduled_task PRIMARY KEY (name, mailbox_id, class_name),
CONSTRAINT fk_st_mailbox_id FOREIGN KEY (mailbox_id)
REFERENCES mailbox(id) ON DELETE CASCADE
);
0 rows inserted/updated/deleted
ij> RUN '/root/zimbra/zdesktop/db/directory.sql';
ij> --
-- ***** BEGIN LICENSE BLOCK *****
-- Version: MPL 1.1
--
-- The contents of this file are subject to the Mozilla Public License
-- Version 1.1 ("License"). You may not use this file except in
-- compliance with the License. You may obtain a copy of the License at
-- http://www.zimbra.com/license">http://www.zimbra.com/license
--
-- Software distributed under the License is distributed on an "AS IS"
-- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
-- the License for the specific language governing rights and limitations
-- under the License.
--
-- The Original Code is: Zimbra Collaboration Suite Server.
--
-- The Initial Developer of the Original Code is Zimbra, Inc.
-- Portions created by Zimbra are Copyright (C) 2006, 2007 Zimbra, Inc.
-- All Rights Reserved.
--
-- Contributor(s):
--
-- ***** END LICENSE BLOCK *****
--
-- -----------------------------------------------------------------------
-- directory
-- -----------------------------------------------------------------------
CREATE TABLE directory (
entry_id INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY,
entry_type CHAR(4) NOT NULL,
entry_name VARCHAR(128) NOT NULL,
zimbra_id CHAR(36),
modified SMALLINT NOT NULL,
CONSTRAINT pk_directory PRIMARY KEY (entry_id),
CONSTRAINT ui_directory_entry_type_name UNIQUE(entry_type, entry_name)
);
0 rows inserted/updated/deleted
ij> CREATE UNIQUE INDEX ui_directory_zimbra_id ON directory(zimbra_id);
0 rows inserted/updated/deleted
ij> CREATE TABLE directory_attrs (
entry_id INTEGER NOT NULL,
name VARCHAR(255) NOT NULL,
value VARCHAR(10240) NOT NULL,
CONSTRAINT fk_dattr_entry_id FOREIGN KEY (entry_id) REFERENCES directory(entry_id)
ON DELETE CASCADE
);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_dattr_entry_id_name ON directory_attrs(entry_id, name);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_dattr_name ON directory_attrs(name);
0 rows inserted/updated/deleted
ij> CREATE TABLE directory_leaf (
entry_id INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY,
parent_id INTEGER NOT NULL,
entry_type CHAR(4) NOT NULL,
entry_name VARCHAR(128) NOT NULL,
zimbra_id CHAR(36) NOT NULL,
CONSTRAINT pk_dleaf PRIMARY KEY (entry_id),
CONSTRAINT ui_dleaf_zimbra_id UNIQUE (zimbra_id),
CONSTRAINT ui_dleaf_parent_entry_type_name UNIQUE (parent_id, entry_type, entry_name),
CONSTRAINT fk_dleaf_entry_id FOREIGN KEY (parent_id) REFERENCES directory(entry_id)
ON DELETE CASCADE
);
0 rows inserted/updated/deleted
ij> CREATE TABLE directory_leaf_attrs (
entry_id INTEGER NOT NULL,
name VARCHAR(255) NOT NULL,
value VARCHAR(10240) NOT NULL,
CONSTRAINT fk_dleafattr_entry_id FOREIGN KEY (entry_id) REFERENCES directory_leaf(entry_id)
ON DELETE CASCADE
);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_dleafattr_entry_id_name ON directory_leaf_attrs(entry_id, name);
0 rows inserted/updated/deleted
ij> CREATE INDEX i_dleafattr_name ON directory_leaf_attrs(name);
0 rows inserted/updated/deleted
ij> RUN '/root/zimbra/zdesktop/db/versions-init.sql';
ij> -- AUTO-GENERATED .SQL FILE - Generated by the Derby versions tool
INSERT INTO zimbra.config(name, value, description) VALUES
('db.version', '46', 'db schema version'),
('index.version', '2', 'index version'),
('redolog.version', '1.18', 'redolog version');
3 rows inserted/updated/deleted
ij> INSERT INTO volume (id, type, name, path, file_bits, file_group_bits,
mailbox_bits, mailbox_group_bits, compress_blobs, compression_threshold)
VALUES (1, 1, 'message1', '/root/zimbra/zdesktop/store', 12, 8, 12, 8, 0, 4096);
1 row inserted/updated/deleted
ij> INSERT INTO volume (id, type, name, path, file_bits, file_group_bits,
mailbox_bits, mailbox_group_bits, compress_blobs, compression_threshold)
VALUES (2, 10, 'index1', '/root/zimbra/zdesktop/index', 12, 8, 12, 8, 0, 4096);
1 row inserted/updated/deleted
ij> INSERT INTO current_volumes (message_volume_id, index_volume_id, next_mailbox_id) VALUES (1, 2, 1);
1 row inserted/updated/deleted
ij> EXIT;
ij version 10.2
ij> CONNECT 'jdbc:derby:/root/zimbra/zdesktop/derby';
ij> UPDATE zimbra.config set value='46' where name='db.version';
1 row inserted/updated/deleted
ij> COMMIT;
ij> EXIT;
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).
log4j:WARN Please initialize the log4j system properly.
[/QUOTE]
Here's what mailbox.log shows immediately after the install completes:
[QUOTE]
2007-11-21 13:23:02,726 INFO [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2007-11-21 13:23:03,211 INFO [main] log - jetty-6.1.5
2007-11-21 13:23:03,433 INFO [main] log - No Transaction manager found - if your webapp requires one, please configure one.
[/QUOTE]
Here's what zdesktop err shows immediately after the install completes:
[QUOTE]
Zimbra server process is running as uid=0 euid=0 gid=0 egid=0
Fatal error: terminating: can not start server with uid of 0
[/QUOTE]
There are no other files in log after the install completes.
The daemon is apparently running, but going to http://localhost:7633/zimbra/mail has my firefox running an eternal cartwheel.
Help????
Various errors during install and initial startup
Various errors during install and initial startup
The problem is you are running as root. Shutdown and delete everything, then reinstall as a regular user. I know the error messages are not very intuitive at the moment :)
Various errors during install and initial startup
[quote user="jjzhuang"]The problem is you are running as root. Shutdown and delete everything, then reinstall as a regular user. I know the error messages are not very intuitive at the moment :)[/QUOTE]
Hi jjzhuang. You might want to note that in the ZDesktop wiki:
Zimbra Desktop - Zimbra :: Wiki
Hi jjzhuang. You might want to note that in the ZDesktop wiki:
Zimbra Desktop - Zimbra :: Wiki
Who is online
Users browsing this forum: No registered users and 1 guest