Failed updates from main marrior dns

Discussion in 'ISPConfig 3 Priority Support' started by budgierless, Apr 16, 2016.

  1. budgierless

    budgierless Member

    hi

    I have two issues,
    1. ispconfig says ftp is offline on other server but, the other server is only a dns?

    offline.jpg

    2. dns2 will not get updated from main dns.
    jobscue.jpg

    please advise
    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. budgierless

    budgierless Member

    1. this was already done, was only using dns and database
    2. Used server script manually to get detailed debug output
    (/usr/local/ispconfig/server/server.sh)
    and this is one of many repeated outputs in the terminal:
    PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'ispcsrv2'@'host81-XXX-XXX-XXX.in-addr.btopenworld.com' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. and the dns updates worked before? If yes, did you changed anything in your setup like ip change or change of hostname?
     
  5. budgierless

    budgierless Member

    not that i remember, but i dont check the dns server that often, so not sure when the issues started.

    update:
    the /etc/hosts file looks like this on master server:

    127.0.0.1 server1.domain.com server1 localhost
    127.0.1.1 server1.domain.com server1
    81.XXX.XXX.X09 server1.domain.com server1

    because the dns server in in server via virtualbox should i change the local address like this?

    127.0.0.1 server1.domain.com server1 localhost
    127.0.1.1 server2.domain.com server1
    81.XXX.XXX.X09 server1.domain.com server1


    or without fqdn first?

    127.0.0.1 server1 server1.domain.com localhost
     
    Last edited: Apr 18, 2016
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The localhost line shall only contain "localhost" and not the fqdn.

    But both hosts files should contain lines for the external IP addresses of both server with the hostnames of bot servers.

    example:

    1.2.3.4 server1.domain.com server1
    1.2.3.5 server2.domain.com server2

    this ensures that both servers agree on the Ip and hostname of the thers so that there can not be any problems with mysql authentication.

    Then you can try to run an ispconfig update on the slave where you choose to reconfigure permissions in the master database, this should update the ispcsrv user and set the correct hostname and password.
     
  7. budgierless

    budgierless Member

    thanks, its works after adjusting host file and ispconfig update on both servers.

    new issues im having is with: (apache2: Could not reliably determine the server's fully qualified domain name) I don't know why because i have not changed the hostname, it is all working but i see this message in the logs alot.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    do you have the fqdn and the short name in the hosts file?
     
  9. budgierless

    budgierless Member

    yes, here is the new config:
    127.0.0.1 localhost.localdomain localhost
    127.0.1.1 localhost.localdomain localhost
    81.XXX.XXX.X09 server2.domain.com server1
    81.XXX.XXX.X10 server2.domain.com server2
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    and the result of:

    hostname

    and

    hostname -f

    matches the hostnames in that file?
     
  11. budgierless

    budgierless Member

    fixed, thanks.
     

Share This Page