Results 1 to 10 of 17

Thread: I want to learn the UI design

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    9

    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.

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    look at a binary install. find the file you want, do 'rpm -qf <file>'.

  3. #3
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    9

    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.

  4. #4
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    9

    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

  5. #5
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    9

    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.

  6. #6
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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.

  7. #7
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    If you're building from source, and the install doesn't run, you should probably read the install scripts from the binary version, especially zmsetup.pl

    ESPECIALLY ZMSETUP.PL
    and make sure you replicate every command in there, unless you know that you don't need to. (And, if you don't know, then you should probably run the command...)
    Bugzilla - Wiki - Downloads - Before posting... Search!

  8. #8
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    and make sure you replicate every command in there, unless you know that you don't need to. (And, if you don't know, then you should probably run the command...)
    In fact, I used binary version install scripts (install.sh) to replace of my install scripts of tarball. Of course, I will compare the binary zmsetup.pl with the source zmsetup.pl. And I will also use binary version zmsetup.pl instead of source version zmsetup.pl.

  9. #9
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    9

    Unhappy

    Although I used zmsetup.pl and install.sh of binary version, there are the same errors

  10. #10
    Join Date
    Apr 2006
    Posts
    4
    Rep Power
    9

    Unhappy

    Could any one help? I have the same problem. I built the tarball from Zimbra source code, but I have to replace logger.rpm and store.rpm with that from Zimbra binary release to have the server setup and run properly. Where in the source code (or somewhere eles) should I check? Is something wrong with any make file, configuration file, or sourc code?

    Plz help!!! Thank you very much in advance!

Similar Threads

  1. spamassassin not learn, zmtrainsa ignores junked mail
    By lukefilewalker in forum Administrators
    Replies: 0
    Last Post: 11-20-2006, 08:36 AM
  2. Current design of the database
    By rengolin in forum Developers
    Replies: 3
    Last Post: 11-10-2005, 01:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •