Hi, this morning i noticed a subdomain not being reachable. Then I found out BIND service wasn't running and I couldn't get it to restart. I figured I might upgrade ispconfig. I'm running ubuntu 6.06 (I backed up the 'old' ispconfig database) When I did as explained on this page: http://www.ispconfig.org/manual_installation.htm I never got a 'upgrading' message or so, everything looked as if it was a new install. At the end, I got this as address to login to: http://88.208.xx.xx:81 doesn't work, neither does the 'old' one. I can still reach the server using putty. The sites are still there, but when I try to start apache it gives me a 'fail' message. What do I do apart from freaking out completely? Thanks!
Now, I've been retrying several times to upgrade, learning about the settings as I went, and somehow it now works. ispconfig has even picked up the old sites, no need to restore the database or so. However, BIND-Server is still 'offline'. What could cause that? (Now off to a relax-clinic)
netstat -tap: Code: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:imaps *:* LISTEN 4002/couriertcpd tcp 0 0 *:mysql *:* LISTEN 4096/mysqld tcp 0 0 *:pop3 *:* LISTEN 4317/dovecot tcp 0 0 *:imap2 *:* LISTEN 5138/couriertcpd tcp 0 0 server2.penghost.co:www *:* LISTEN 5028/apache2 tcp 0 0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60054 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60094 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60091 SYN_RECV - tcp 0 0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60052 SYN_RECV - tcp 0 0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60041 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60085 SYN_RECV - tcp 0 0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60053 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60092 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60095 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60086 SYN_RECV - tcp 0 0 server2.penghost.co:www a88-113-69-245.el:60093 SYN_RECV - tcp 0 0 localhost:www *:* LISTEN 5028/apache2 tcp 0 0 *:81 *:* LISTEN 4489/ispconfig_http tcp 0 0 *:ftp *:* LISTEN 4381/proftpd: (acce tcp 0 0 *:ssh *:* LISTEN 4271/sshd tcp 0 0 *:smtp *:* LISTEN 31269/master tcp 0 0 server2.penghost.c:smtp smtp1.sbb.co.yu:40075 ESTABLISHED16976/smtpd tcp 0 0 server2.penghost.co:www dsl-roibrasgw1-fe:21568 TIME_WAIT - tcp 0 0 server2.penghost.co:www server2.penghost.:42779 TIME_WAIT - tcp 0 0 server2.penghost.co:www dsl-roibrasgw1-fe:21573 TIME_WAIT - tcp 0 0 server2.penghost.co:www 193.34.231.234:53051 TIME_WAIT - tcp 0 0 server2.penghost.co:www 84-104-176-117.cab:1209 TIME_WAIT - tcp 0 0 server2.penghost.co:www 84-104-176-117.cab:1206 TIME_WAIT - tcp 0 0 server2.penghost.co:www 62.140.137.30:51968 ESTABLISHED18816/apache2 tcp 0 0 server2.penghost.co:www 84-104-176-117.cab:1207 TIME_WAIT - tcp 0 0 server2.penghost.co:www 62.140.137.30:51990 ESTABLISHED19020/apache2 tcp 0 0 server2.penghost.co:www 193.34.231.234:53059 TIME_WAIT - tcp 0 0 server2.penghost.co:www dsl-roibrasgw1-fe:21565 TIME_WAIT - tcp 0 0 server2.penghost.co:www dsl-roibrasgw1-fe:21553 TIME_WAIT - tcp 0 0 server2.penghost.co:www 62.140.137.30:53314 ESTABLISHED18136/apache2 tcp 0 0 server2.penghost.co:www dsl-roibrasgw1-fe:21559 TIME_WAIT - tcp 0 0 server2.penghost.co:www dsl-roibrasgw1-fe:21547 TIME_WAIT - tcp 0 0 server2.penghost.c:smtp muzinda.com:3032 ESTABLISHED19073/smtpd tcp 0 0 server2.penghost.co:www 62.140.137.30:49565 ESTABLISHED19358/apache2 tcp 0 0 server88-208-232-:55800 hsphere.cc:www TIME_WAIT - tcp 0 0 server88-208-232-:55801 hsphere.cc:www TIME_WAIT - tcp 0 0 server88-208-232-:55795 hsphere.cc:www TIME_WAIT - tcp 0 0 server88-208-232-:55793 hsphere.cc:www TIME_WAIT - tcp 0 0 server88-208-232-:55799 hsphere.cc:www TIME_WAIT - tcp 0 0 server88-208-232-:55796 hsphere.cc:www TIME_WAIT - tcp 0 0 localhost:34040 localhost:www TIME_WAIT - tcp 0 0 server2.penghost.co:www 62.140.137.30:51967 ESTABLISHED19444/apache2 tcp 0 0 server2.penghost.co:www llf320046.crawl.y:45970 ESTABLISHED17967/apache2 tcp 0 0 server2.penghost.co:www ip4da21b3c.direct:63042 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:32947 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:60859 TIME_WAIT - tcp 0 0 server2.penghost.co:www 212.159.198.12:24425 FIN_WAIT2 - tcp 0 13141 server2.penghost.co:www a163151.upc-a.che:49546 FIN_WAIT1 - tcp 0 0 server2.penghost.co:www host86-156-127-251:1122 TIME_WAIT - tcp 0 0 server2.penghost.co:www dh112.public.mod.:38337 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1121 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1120 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:35326 TIME_WAIT - tcp 0 1688 server2.penghost.co:ssh 12.Red-88-28-226.s:1176 ESTABLISHED19663/0 tcp 0 0 server2.penghost.co:www host86-156-127-251:1115 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1114 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:60608 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1119 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1118 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1117 TIME_WAIT - tcp 0 0 server2.penghost.co:www host86-156-127-251:1116 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:60366 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:59962 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:59690 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:60163 TIME_WAIT - tcp 0 0 server2.penghost.co:www dh108.public.mod.:26173 TIME_WAIT - tcp 0 0 server2.penghost.co:www llf520177.crawl.y:59473 TIME_WAIT - When I try to start bind manually: Code: root@server2:~# /etc/init.d/bind9 start /etc/default/bind9: line 1: -t: command not found * Starting domain name service... [ ok ] But if I then go to ispconfig - services, BIND still shows as offline. Thanks for replying by the way!
Just this: OPTIONS="-u bind" -t /var/lib/named # Set RESOLVCONF=no to not run resolvconf RESOLVCONF=yes ~
Change Code: OPTIONS="-u bind[B][COLOR="Red"]"[/COLOR][/B] -t /var/lib/named to Code: OPTIONS="-u bind -t /var/lib/named[B][COLOR="Red"]"[/COLOR][/B]
Thanks for that. Made the change, tried starting manually, got the 'ok' message again, went to ispconfig, DNS Service still showing as offline, and can't get it to work...
Do you get any other errors now? What's in /var/log/syslog when you start BIND? What's the output of Code: netstat -tap ?