Failed updates from main marrior dns

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

  1. budgierless

    budgierless Member


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


    2. dns2 will not get updated from main dns.

    please advise
  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
    and this is one of many repeated outputs in the terminal:
    PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'ispcsrv2'@'' (using password: YES) in /usr/local/ispconfig/server/lib/classes/ 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.

    the /etc/hosts file looks like this on master server: server1 localhost server1
    81.XXX.XXX.X09 server1

    because the dns server in in server via virtualbox should i change the local address like this? server1 localhost server1
    81.XXX.XXX.X09 server1

    or without fqdn first? server1 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: server1 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: localhost.localdomain localhost localhost.localdomain localhost
    81.XXX.XXX.X09 server1
    81.XXX.XXX.X10 server2
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    and the result of:



    hostname -f

    matches the hostnames in that file?
  11. budgierless

    budgierless Member

    fixed, thanks.

Share This Page