The Perfect Server - Ubuntu 10.04 [ISPConfig 3]

Discussion in 'HOWTO-Related Questions' started by YbeddyJ, Sep 8, 2010.

  1. YbeddyJ

    YbeddyJ New Member

    I'm using the x86_64 server version and i'm getting the following errors after these cmds

    aptitude install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
    ...
    Setting up clamav-base (0.96.1+dfsg-0ubuntu0.10.04.1) ...
    newaliases: fatal: open /etc/postfix/main.cf: No such file or directory

    ...
    Setting up amavisd-new (1:2.6.4-1ubuntu5) ...
    Creating/updating amavis user account...
    Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
    amavisd-new.
    .....
    Configuring Jailkit
    Configuring SASL
    Configuring PAM
    Configuring Courier
    Configuring Spamassassin
    Configuring Amavisd
    PHP Warning: copy(/etc/postfix/main.cf): failed to open stream: No such file or directory in /tmp/ispconfig3_install/install/lib/installer_base
    .lib.php on line 752
    Configuring Getmail
    Configuring Pureftpd
    Configuring BIND
    Configuring Apache
    Configuring vlogger
    Configuring Apps vhost
    Configuring Firewall
    Installing ISPConfig
    ISPConfig Port [8080]:

    .....

    any ideas


    (i did touch /etc/mailname but i'm not sure of its supposed contents, so i decided to ask here....even though it think it should be{example.com})
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. YbeddyJ

    YbeddyJ New Member

    actually i did do that step...
    i'll copy /paste cmd again

    aptitude install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl getmail4 rkhunter binutils maildrop
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Writing extended state information... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done

    maybe i need to reconfigure postfix then..i'm gonna try that now
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please uninstall (purge) Postfix and then reinstall it.
     
  5. YbeddyJ

    YbeddyJ New Member

    ok i will do that but i did the dpkg-reconfigure and it seem fixed now.


    my new problem is that when i <dig domaint.tld @serverip> i'm not getting any response, i checked /etc/bind/pri.domain.tld ad all seem to be fine. is there a reason for not using mydns?

    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 16572
    ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; WARNING: recursion requested but not available

    ;; QUESTION SECTION:
    ;domain.tld. IN A

    ;; Query time: 9 msec
    ;; SERVER: xx.xx.xx.xx#53(xx.xx.xx.xx)
    ;; WHEN: Fri Sep 10 07:09:34 2010
    ;; MSG SIZE rcvd: 32
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Does
    Code:
    dig @localhost yourdomain.com
    work?

    What's in your named.conf and /etc/bind/pri.domain.tld?
     
  7. YbeddyJ

    YbeddyJ New Member

    # dig @localhost xxx.xxx.xx

    ; <<>> DiG 9.7.0-P1 <<>> @localhost xxx.xxx.xx
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 38883
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;xxx.xxx.xx IN A

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Tue Sep 21 22:32:54 2010
    ;; MSG SIZE rcvd: 32



    # cat /etc/bind/named.conf
    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    // structure of BIND configuration files in Debian, *BEFORE* you customize
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local

    include "/etc/bind/named.conf.options";
    include "/etc/bind/named.conf.local";
    include "/etc/bind/named.conf.default-zones";
     
  8. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/bind/named.conf.options, /etc/bind/named.conf.local, and /etc/bind/named.conf.default-zones?
     
  9. blaisep

    blaisep New Member

    Last edited: Oct 4, 2010
  10. falko

    falko Super Moderator ISPConfig Developer

    That's not important - you can go on with the tutorial. :)
     
  11. YbeddyJ

    YbeddyJ New Member

    actually i think i found the problem, the domain i tried to add was already being served by another provider it seem bind decides not to serve it as a result. This conclusion stems from me creating multiple other dns entries that it resolves, i then edit one of those that it responded for to reflect to one i needed and it resulted in it no responding to that query again.

    could this be a untold(at least to me) feature of bind to not allow you to become authoritative for a domain that exist somewhere else?
    (btw the domain in question will eventually be controlled by my servers, however before this is done my servers will need to be able to resolve for said domain, at this point my domain master will add my ns entries for said domain)
     
  12. falko

    falko Super Moderator ISPConfig Developer

    That'S how it's supposed to be. When you register a domain, you can tell the registrar which nameservers you want to use. These nameserver become the authoritative nameservers for the domain, and it makes no sense to create the zone on other nameservers.
     

Share This Page