hi 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 thanks
1) Disable the sile server checkbox for this server under System > Server services. 2) Please use debug instructions here: http://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/ Loglevel debug has to be enabled in the ispconfig interface and the server.sh has to be run on the slave that is not working.
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
Ok. and the dns updates worked before? If yes, did you changed anything in your setup like ip change or change of hostname?
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
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.
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.
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