Results 1 to 10 of 10

Thread: ZCS 5.0.7 Install

  1. #1
    clarky2k3 is offline Intermediate Member
    Join Date
    Jul 2008
    Location
    Northumberland, England
    Posts
    24
    Rep Power
    6

    Default ZCS 5.0.7 Install

    Hi, after an install of ZCS 5.0.7 I ran zmcontrol status and i get this -
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    logmysql.server is not running
    mailbox Stopped
    mysql.server is not running
    mta Running
    snmp Running
    spell Running
    stats Stopped
    Any ideas why mysql isnt running? Thanks

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    WHat errors do you see in the log files? This type of problem has been covered many times in the forums, please do a search and see what you find.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    clarky2k3 is offline Intermediate Member
    Join Date
    Jul 2008
    Location
    Northumberland, England
    Posts
    24
    Rep Power
    6

    Default

    This is my mailbox.log but it means nothing to me being a complete n00b.
    2008-07-08 08:34:35,331 INFO [main] [] soap - Servlet SoapServlet starting up
    2008-07-08 08:34:35,366 INFO [main] [] soap - Adding service AccountService to SoapServlet
    2008-07-08 08:34:35,849 INFO [main] [] soap - Adding service MailService to SoapServlet
    2008-07-08 08:34:35,980 INFO [main] [] soap - Adding service IMService to SoapServlet
    2008-07-08 08:34:35,988 INFO [main] [] misc - version=5.0.7_GA_2444.F7 release=20080626020039 builddate=20080626-0202 buildhost=build20.re.zimbra.com
    2008-07-08 08:34:35,990 INFO [main] [] misc - LANG environment is set to: C
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property java.home=/opt/zimbra/jdk1.5.0_15/jre
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property java.runtime.version=1.5.0_15-b04
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property java.version=1.5.0_15
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property java.vm.info=mixed mode
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property java.vm.name=Java HotSpot(TM) Client VM
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property java.vm.version=1.5.0_15-b04
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property os.arch=i386
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property os.name=Linux
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property os.version=2.6.23.17-88.fc7
    2008-07-08 08:34:35,990 INFO [main] [] misc - System property sun.arch.data.model=32
    2008-07-08 08:34:35,991 INFO [main] [] misc - System property sun.cpu.endian=little
    2008-07-08 08:34:35,991 INFO [main] [] misc - System property sun.cpu.isalist=
    2008-07-08 08:34:35,991 INFO [main] [] misc - System property sun.os.patch.level=unknown
    2008-07-08 08:34:36,020 INFO [main] [] system - Setting mysql connector property: maxActive=100
    2008-07-08 08:34:36,020 INFO [main] [] system - Setting mysql connector property: maxActive=100
    2008-07-08 08:34:40,204 WARN [main] [] misc - Could not establish a connection to the database. Retrying in 5 seconds.
    com.zimbra.common.service.ServiceException: system failure: getting database connection
    ExceptionId:main:1215502480200:7a015c3d784a60c9
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 231)
    at com.zimbra.cs.util.Zimbra.waitForDatabase(Zimbra.j ava:114)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:154)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:129)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 114)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:612)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:139)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1222)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:501)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:449)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:161)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
    at org.mortbay.jetty.Server.doStart(Server.java:217)
    at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:100)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:979)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.mortbay.start.Main.invokeMain(Main.java:183)
    at org.mortbay.start.Main.start(Main.java:497)
    at org.mortbay.start.Main.main(Main.java:115)
    Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnect ionException: Server connection failure during transaction. Due to underlying exception: 'java.net.UnknownHostException: localhost'.

    ** BEGIN NESTED EXCEPTION **

    java.net.UnknownHostException
    MESSAGE: localhost

    STACKTRACE:

    java.net.UnknownHostException: localhost
    at java.net.InetAddress.getAllByName0(InetAddress.jav a:1150)
    at java.net.InetAddress.getAllByName(InetAddress.java :1072)
    at java.net.InetAddress.getAllByName(InetAddress.java :1008)
    at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:137)
    at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276)
    at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2769)
    at com.mysql.jdbc.Connection.(Connection.java:1531)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:140)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
    at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:140)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 222)
    at com.zimbra.cs.util.Zimbra.waitForDatabase(Zimbra.j ava:114)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:154)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:129)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 114)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:612)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:139)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1222)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:501)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:449)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:161)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
    at org.mortbay.jetty.Server.doStart(Server.java:217)
    at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:100)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:979)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.mortbay.start.Main.invokeMain(Main.java:183)
    at org.mortbay.start.Main.start(Main.java:497)
    at org.mortbay.start.Main.main(Main.java:115)


    ** END NESTED EXCEPTION **


    Attempted reconnect 3 times. Giving up.
    at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:888)
    at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2838)
    at com.mysql.jdbc.Connection.(Connection.java:1531)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:140)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:97)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:300)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:816)
    at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:140)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 222)
    ... 33 more
    2008-07-08 08:34:49,212 WARN [main] [] misc - Could not establish a connection to the database. Retrying in 5 seconds.
    com.zimbra.common.service.ServiceException: system failure: getting database connection
    ExceptionId:main:1215502489212:7a015c3d784a60c9
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 231)
    at com.zimbra.cs.util.Zimbra.waitForDatabase(Zimbra.j ava:114)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:154)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:129)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 114)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:433)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:256)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:612)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:139)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1222)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:501)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:449)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:161)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:147)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117)
    at org.mortbay.jetty.Server.doStart(Server.java:217)
    at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:100)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:979)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.mortbay.start.Main.invokeMain(Main.java:183)
    at org.mortbay.start.Main.start(Main.java:497)
    at org.mortbay.start.Main.main(Main.java:115)
    Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnect ionException: Server connection failure during transaction. Due to underlying exception: 'java.net.UnknownHostException: localhost: localhost'.

    ** BEGIN NESTED EXCEPTION **

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Do you actually have valid DNS A & MX records plus a correct /etc/hosts file?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    clarky2k3 is offline Intermediate Member
    Join Date
    Jul 2008
    Location
    Northumberland, England
    Posts
    24
    Rep Power
    6

    Default

    This is my mysql_error.log it also applies to logger_mysql_error.log
    080707 13:51:29 mysqld started
    080707 13:51:29 [ERROR] Can't start server: cannot resolve hostname!: Success
    080707 13:51:29 mysqld ended

    080707 13:57:00 mysqld started
    080707 13:57:00 [ERROR] Can't start server: cannot resolve hostname!: Success
    080707 13:57:00 mysqld ended

    080708 08:34:01 mysqld started
    080708 8:34:01 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 08:34:01 mysqld ended

    080708 08:52:19 mysqld started
    080708 8:52:19 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 08:52:19 mysqld ended

    080708 08:55:01 mysqld started
    080708 8:55:01 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 08:55:01 mysqld ended

    080708 09:01:25 mysqld started
    080708 9:01:25 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 09:01:25 mysqld ended

    080708 09:09:53 mysqld started
    080708 9:09:54 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 09:09:54 mysqld ended

    080708 09:17:14 mysqld started
    080708 9:17:14 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 09:17:14 mysqld ended

    080708 09:18:01 mysqld started
    080708 9:18:01 [ERROR] Can't start server: cannot resolve hostname!: Success
    080708 09:18:01 mysqld ended

    080708 10:15:02 mysqld started
    InnoDB: The first specified data file ./ibdata1 did not exist:
    InnoDB: a new database to be created!
    080708 10:15:02 InnoDB: Setting file ./ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    080708 10:15:03 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
    080708 10:15:03 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
    080708 10:15:05 InnoDB: Started; log sequence number 0 0
    080708 10:15:05 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
    080708 10:15:05 mysqld ended

    080708 10:23:59 mysqld started
    InnoDB: Log scan progressed past the checkpoint lsn 0 36808
    080708 10:24: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...
    InnoDB: Doing recovery: scanned up to log sequence number 0 43655
    080708 10:24:00 InnoDB: Starting an apply batch of log records to the database...
    InnoDB: Progress in percents: 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 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
    080708 10:24:01 InnoDB: Started; log sequence number 0 43655
    080708 10:24:01 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
    080708 10:24:01 mysqld ended
    Last edited by clarky2k3; 07-08-2008 at 03:12 AM.

  6. #6
    clarky2k3 is offline Intermediate Member
    Join Date
    Jul 2008
    Location
    Northumberland, England
    Posts
    24
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    Do you actually have valid DNS A & MX records plus a correct /etc/hosts file?
    To my knowledge i do yes.

    DNS -
    mail.coqueths.internal 192.168.9.187
    MX Record points to mail.coqueths.internal

    hosts file -
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.9.187 mail.coqueths.internal mail

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Just for confirmation, run the following on the zimbra server:

    Code:
    host `hostname`  <- type as-is with backticks not single quotes
    dig coqueths.internal mx
    dig coqueths.internal any
    and post the output.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    clarky2k3 is offline Intermediate Member
    Join Date
    Jul 2008
    Location
    Northumberland, England
    Posts
    24
    Rep Power
    6

    Default

    hostname
    [root@mail ~]# host mail.coqueths.internal
    mail.coqueths.internal has address 192.168.9.187
    mail.coqueths.internal mail is handled by 10 mail.coqueths.internal.
    mx
    [root@mail ~]# dig mail.coqueths.internal mx

    ; <<>> DiG 9.4.2 <<>> mail.coqueths.internal mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40709
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mail.coqueths.internal. IN MX

    ;; ANSWER SECTION:
    mail.coqueths.internal. 3600 IN MX 10 mail.coqueths.internal.

    ;; ADDITIONAL SECTION:
    mail.coqueths.internal. 3600 IN A 192.168.9.187

    ;; Query time: 0 msec
    ;; SERVER: 192.168.8.8#53(192.168.8.8)
    ;; WHEN: Tue Jul 8 11:18:59 2008
    ;; MSG SIZE rcvd: 72
    any
    [root@mail ~]# dig mail.coqueths.internal mx

    ; <<>> DiG 9.4.2 <<>> mail.coqueths.internal mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40709
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mail.coqueths.internal. IN MX

    ;; ANSWER SECTION:
    mail.coqueths.internal. 3600 IN MX 10 mail.coqueths.internal.

    ;; ADDITIONAL SECTION:
    mail.coqueths.internal. 3600 IN A 192.168.9.187

    ;; Query time: 0 msec
    ;; SERVER: 192.168.8.8#53(192.168.8.8)
    ;; WHEN: Tue Jul 8 11:18:59 2008
    ;; MSG SIZE rcvd: 72

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    The correct command for the host should be exactly as I typed it:

    Code:
    host `hostname`  <- do not replace it with your hostname
    The dig commands should be as follows:

    Code:
    dig coqueths.internal mx
    dig coqueths.internal any
    We're doing a dig for the domain name not a subdomain and not using the FQDN of your server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    clarky2k3 is offline Intermediate Member
    Join Date
    Jul 2008
    Location
    Northumberland, England
    Posts
    24
    Rep Power
    6

    Default

    host
    [zimbra@mail root]$ host 'hostname'
    Host hostname not found: 2(SERVFAIL)
    mx
    [root@mail ~]# dig coqueths.internal mx

    ; <<>> DiG 9.4.2 <<>> coqueths.internal mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56405
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;coqueths.internal. IN MX

    ;; AUTHORITY SECTION:
    coqueths.internal. 3600 IN SOA chs-sr-dc1.coqueths.internal. hostmaster.coqueths.internal. 2252 900 600 86400 3600

    ;; Query time: 0 msec
    ;; SERVER: 192.168.8.8#53(192.168.8.8)
    ;; WHEN: Tue Jul 8 11:17:10 2008
    ;; MSG SIZE rcvd: 93
    any
    [root@mail ~]# dig coqueths.internal any

    ; <<>> DiG 9.4.2 <<>> coqueths.internal any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15397
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;coqueths.internal. IN ANY

    ;; ANSWER SECTION:
    coqueths.internal. 600 IN A 192.168.8.8
    coqueths.internal. 600 IN A 192.168.8.1
    coqueths.internal. 3600 IN A 129.168.8.0
    coqueths.internal. 3600 IN NS chs-sr-dc2.coqueths.internal.
    coqueths.internal. 3600 IN NS chs-sr-dc1.coqueths.internal.
    coqueths.internal. 3600 IN SOA chs-sr-dc1.coqueths.internal. hostmaster.coqueths.internal. 2252 900 600 86400 3600

    ;; ADDITIONAL SECTION:
    chs-sr-dc2.coqueths.internal. 3600 IN A 192.168.8.1
    chs-sr-dc1.coqueths.internal. 3600 IN A 192.168.8.8

    ;; Query time: 0 msec
    ;; SERVER: 192.168.8.8#53(192.168.8.8)
    ;; WHEN: Tue Jul 8 11:18:05 2008
    ;; MSG SIZE rcvd: 212

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  3. Replies: 21
    Last Post: 09-27-2007, 11:49 AM
  4. ZCS 4.5.4 install failed on openSUSE 10.2
    By ardiederich in forum Installation
    Replies: 1
    Last Post: 04-17-2007, 09:46 AM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 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
  •