Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-07-2006, 07:53 PM
Senior Member
 
Posts: 64
Question I want to learn the UI design

Hi guys,

I want to know the UI of zimbra is included which rpm? Because some rpm packages of final tarball that I built from source codes were not used, and I have to use the binary version rpm to replace them. In the future, I'd like to design some skins for email UI, but if the UI codes are included the rpm that I can't build successfully, then my job doesn't make sense. So, I hope some guys could tell me the rpm package including UI codes.
Reply With Quote
  #2 (permalink)  
Old 09-08-2006, 05:34 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

look at a binary install. find the file you want, do 'rpm -qf <file>'.
Reply With Quote
  #3 (permalink)  
Old 09-08-2006, 05:55 AM
Senior Member
 
Posts: 64
Question

Quote:
Originally Posted by dijichi2
look at a binary install. find the file you want, do 'rpm -qf <file>'.
Thank you very much. I just didn't know which files invovled in the UI design, perhaps it is a hard work for me. But I will try.

BTW, I have to ask another question:
I built my tarball from source code, but the mysql and tomcat can not run (these two third party softare are in store.rpm), if I replaced binary code rpm package to my built rpm package, the mysql and tomcat can run, how should I do? Do I need configure the mysql and tomcat?

Last edited by wildhuman; 09-08-2006 at 06:01 AM..
Reply With Quote
  #4 (permalink)  
Old 09-08-2006, 06:44 AM
Senior Member
 
Posts: 64
Default

This is the error log:
Code:
060907 23:13:39  mysqld started
060907 23:13:39 [Warning] Can't create test file /var/lib/mysql/mail.lower-test
060907 23:13:39 [ERROR] Can't start server : Bind on unix socket: Permission denied
060907 23:13:39 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
060907 23:13:39 [ERROR] Aborting

060907 23:13:39 [Note] /opt/zimbra/mysql/bin/mysqld: Shutdown complete

060907 23:13:39  mysqld ended

060907 23:13:55  mysqld started
060907 23:13:55 [Warning] Can't create test file /var/lib/mysql/mail.lower-test
060907 23:13:55 [ERROR] Can't start server : Bind on unix socket: Permission denied
060907 23:13:55 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
060907 23:13:55 [ERROR] Aborting

060907 23:13:55 [Note] /opt/zimbra/mysql/bin/mysqld: Shutdown complete

060907 23:13:55  mysqld ended

060908 09:22:50  mysqld started
060908  9:22:51 [Warning] Can't create test file /var/lib/mysql/mail.lower-test
060908  9:22:51 [ERROR] Can't start server : Bind on unix socket: Permission denied
060908  9:22:51 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
060908  9:22:51 [ERROR] Aborting

060908  9:22:51 [Note] /opt/zimbra/mysql/bin/mysqld: Shutdown complete

060908 09:22:51  mysqld ended

060908 09:30:24  mysqld started
060908  9:30:24 [Warning] Can't create test file /var/lib/mysql/mail.lower-test
060908  9:30:24 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
060908  9:30:24 [ERROR] Do you already have another mysqld server running on port: 3306 ?
060908  9:30:24 [ERROR] Aborting

060908  9:30:24 [Note] /opt/zimbra/mysql/bin/mysqld: Shutdown complete

060908 09:30:24  mysqld ended
Reply With Quote
  #5 (permalink)  
Old 09-08-2006, 07:12 AM
Senior Member
 
Posts: 64
Default

When I installed the my tarball, the mysql and tomcat can not start, then I executed
# mysql.server start
it displayes missing my.cnf, then I copied this file from other machine which is running the binary code of zimbra,
then I re-executed,the error information displayed like above thread. I checked mysql file, found there are missing many files ( I don't know the reason, I have done every step according to the build_cvs_howto.txt and Building Zimbra on Fedora Core 5 and x86 64), then I created many files by copying files from other machine which is running the binary code of zimbra.

Now, the error information is like this:
Code:
060908 10:00:10  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
060908 10:00:10  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
060908 10:00:10  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 100 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
060908 10:00:15  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 100 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
060908 10:00:20  InnoDB: Started; log sequence number 0 0
060908 10:00:20 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
060908 10:00:20  mysqld ended

060908 10:06:59  mysqld started
060908 10:07:00  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060908 10:07:00  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
060908 10:07:00  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
060908 10:07:00  InnoDB: Flushing modified pages from the buffer pool...
060908 10:07:00  InnoDB: Started; log sequence number 0 43634
060908 10:07:00 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
060908 10:07:00  mysqld ended
I appreciate some guys can tell me the reason. I didn't know why my tarball miss so many files, I believe I have done every step according build_cvs_howto.txt.

Last edited by wildhuman; 09-08-2006 at 07:34 AM..
Reply With Quote
  #6 (permalink)  
Old 09-08-2006, 07:39 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

there's no evidence the rpms or tarball are missing any files. innodb are the database files which are created first time it starts up. looks like your errors are because you didn't run through a full install and setup, thus the mysql config files weren't created and it tried to startup over an existing system mysql.

run the setup, properly, in full. do not mix and match source-built and binary rpms. do not bodge copy config files in.
Reply With Quote
  #7 (permalink)  
Old 09-08-2006, 07:45 AM
Senior Member
 
Posts: 64
Default

Quote:
Originally Posted by dijichi2
there's no evidence the rpms or tarball are missing any files. innodb are the database files which are created first time it starts up. looks like your errors are because you didn't run through a full install and setup, thus the mysql config files weren't created and it tried to startup over an existing system mysql.

run the setup, properly, in full. do not mix and match source-built and binary rpms. do not bodge copy config files in.

Thank you so much. How can I setup in full? I just executed ./install.sh and then accroing the comment to do other steps?
Reply With Quote
  #8 (permalink)  
Old 09-08-2006, 08:44 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

/opt/zimbra/libexec/setup.pl (might be zmsetup.pl, can't remember exactly)
Reply With Quote
  #9 (permalink)  
Old 09-08-2006, 08:46 AM
Senior Member
 
Posts: 64
Default

Quote:
Originally Posted by dijichi2
/opt/zimbra/libexec/setup.pl (might be zmsetup.pl, can't remember exactly)
You means I should exectued this command after ./install.sh or before build the tarball?
Reply With Quote
  #10 (permalink)  
Old 09-09-2006, 08:09 PM
Senior Member
 
Posts: 64
Default

when I executed ./install.sh, then I executed ./zmsetup.pl, many components also can not work:
zmcontrol status:
Code:
antispam                Stopped
                zmamavisdctl is not running
        antivirus               Stopped
                zmamavisdctl is not running
                zmclamdctl is not running
        ldap                    Running
        logger                  Stopped
                logmysql.server is not running
                zmlogswatchctl is not running
        mailbox                 Stopped
                mysql.server is not running
                tomcat is not running
        mta                     Stopped
                zmsaslauthdctl is not running
        snmp                    Running
        spell                   Running
zmsetup.log display:

Code:
Starting servers...
*** Running as zimbra user: /opt/zimbra/bin/zmcontrol start

Host hd-t3948cl.privatedns.com
    Starting logger...Done.
    Starting mailbox...FAILED
Error: assertion '-r /opt/zimbra/conf/my.cnf' failed


    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...FAILED
postmap: fatal: open /opt/zimbra/conf/postfix_header_checks: No such file or directory
saslauthd[11030] :set_auth_mech   : failed to initialize mechanism zimbra
zmsaslauthdctl failed to start


Done.

Initializing Documents...
*** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
*** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount g_1R.bxr@hd-t3948cl.privatedns.com

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
*** Running as zimbra user: /opt/zimbra/bin/zmprov in g_1R.bxr@hd-t3948cl.privatedns.com 'gzXeD4FK2' /opt/zimbra/wiki/Template Template

[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
failed to initialize documents...see logfile for details.

*** Running as zimbra user: /opt/zimbra/bin/zmprov -l mc default zimbraFeatureNotebookEnabled FALSE

*** Running as zimbra user: /opt/zimbra/bin/zmupdateauthkeys

updating hd-t3948cl.privatedns.com
Fetching key for hd-t3948cl.privatedns.com
Updating /opt/zimbra/.ssh/authorized_keys




Operations logged to /tmp/zmsetup.log.7057
in /opt/zimbra/log/zimbra.log, there are many times about "
** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused

STACKTRACE:
" error information.

This is why I said there are missing many files, I have to copy these missing files to system, then error information will be like above information.

BTW, I built my tarball using make allclean all, not using make dev-install, which can cause error
"cp: cannot stat `/home/smartdoctor/zimbra/ZimbraBuild/../ZimbraServer/build/dist/conf/log4j.properties.production': No such file or directory"

Please help me.

Last edited by wildhuman; 09-09-2006 at 08:29 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.