Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: I want to learn the UI design

  1. #1
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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
    11

    Default

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

  3. #3
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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
    11

    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
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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?

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

    Default

    /opt/zimbra/libexec/setup.pl (might be zmsetup.pl, can't remember exactly)

  9. #9
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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?

  10. #10
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. spamassassin not learn, zmtrainsa ignores junked mail
    By lukefilewalker in forum Administrators
    Replies: 0
    Last Post: 11-20-2006, 09:36 AM
  2. Current design of the database
    By rengolin in forum Developers
    Replies: 3
    Last Post: 11-10-2005, 02: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
  •